|
|
@ -34,69 +34,68 @@ |
|
|
|
<!-- <view class="tag-item-y tag">网站建设</view> |
|
|
|
<!-- <view class="tag-item-y tag">网站建设</view> |
|
|
|
<view class="tag-item-p tag">APP开发</view> --> |
|
|
|
<view class="tag-item-p tag">APP开发</view> --> |
|
|
|
<view class="tag-item-p tag">{{item.cname}}</view> |
|
|
|
<view class="tag-item-p tag">{{item.cname}}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="time-end-t line1">{{item.resourceEndTime}}截止报名</view> |
|
|
|
<view class="time-end-t line1">{{item.resourceEndTime}}截止报名</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="enterprise-info acea-row row-middle"> |
|
|
|
<view class="enterprise-info acea-row row-middle"> |
|
|
|
<image :src="item.enterpriseDto.enterpriseLogo" mode="aspectFill" class="head-logo"></image> |
|
|
|
<image :src="item.enterpriseDto.enterpriseLogo" mode="aspectFill" class="head-logo"></image> |
|
|
|
<view class="user-name">{{item.enterpriseName}}</view> |
|
|
|
<view class="enterprise-name line1">{{item.enterpriseName}}</view> |
|
|
|
|
|
|
|
<view class="todetails">查看详情</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="todetails">查看详情</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<LoadStatus :loadStatus="loadStatus"></LoadStatus> |
|
|
|
<LoadStatus :loadStatus="loadStatus"></LoadStatus> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- 资源列表 --> |
|
|
|
<!-- 供应广场 --> |
|
|
|
<view class="company-box" v-if="active == 1"> |
|
|
|
<view class="company-box" v-if="active == 1"> |
|
|
|
<view class="enterprise-list" v-for="(item, index) in list" :key="index" @tap="toResourDetail" :data-id="item.id"> |
|
|
|
<view class="enterprise-list" v-for="(item, index) in list" :key="index" @tap="toResourceDetail" |
|
|
|
<view :class="'tips-item' + (item.enterpriseType == 2 ? ' bg2' : '' )"> |
|
|
|
:data-id="item.id"> |
|
|
|
{{item.enterpriseType == 1 ? '企业' : '个人'}} |
|
|
|
<view :class="'tips-item' + (item.enterpriseType == 2 ? ' bg2' : '' )"> |
|
|
|
</view> |
|
|
|
{{item.enterpriseType == 1 ? '企业' : '个人'}} |
|
|
|
<view class="enterprise-con acea-row"> |
|
|
|
</view> |
|
|
|
<image :src="item.resourceImgs[0]" class="enterprise-img"></image> |
|
|
|
<view class="enterprise-con acea-row"> |
|
|
|
<view class="content-right acea-row row-column-between"> |
|
|
|
<image :src="item.resourceImgs[0]" class="enterprise-img"></image> |
|
|
|
<view class="line2">{{item.title}}</view> |
|
|
|
<view class="content-right acea-row row-column-between"> |
|
|
|
<view class="category-box acea-row"> |
|
|
|
<view class="line2">{{item.title}}</view> |
|
|
|
<view class="tag-item-b tag">{{item.cname}}</view> |
|
|
|
<view class="category-box acea-row"> |
|
|
|
<!-- <view class="tag-item-y tag">场地租赁</view> --> |
|
|
|
<view class="tag-item-b tag">{{item.cname}}</view> |
|
|
|
</view> |
|
|
|
<!-- <view class="tag-item-y tag">场地租赁</view> --> |
|
|
|
<view class="e-price">¥{{item.totalMoney}}</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="e-price">¥{{item.totalMoney}}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="enterprise-info acea-row row-middle mt20"> |
|
|
|
</view> |
|
|
|
<image :src="item.enterpriseDto.enterpriseLogo" mode="" class="head-logo"></image> |
|
|
|
<view class="enterprise-info acea-row row-middle mt20"> |
|
|
|
<view class="user-name">{{item.enterpriseName}}</view> |
|
|
|
<image :src="item.enterpriseDto.enterpriseLogo" mode="" class="head-logo"></image> |
|
|
|
</view> |
|
|
|
<view class="enterprise-name line1">湖北知音动漫有限公司</view> |
|
|
|
<view class="todetails">查看详情</view> |
|
|
|
<view class="todetails">查看详情</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<LoadStatus :loadStatus="loadStatus"></LoadStatus> |
|
|
|
</view> |
|
|
|
<!-- </view> --> |
|
|
|
<LoadStatus :loadStatus="loadStatus"></LoadStatus> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="mask-box" v-if="showScreenDialog"> |
|
|
|
<view class="mask-box" v-if="showScreenDialog"> |
|
|
|
<view :class="'screen-dialog-box ' + (showScreenDialog ? 'move' : '')"> |
|
|
|
<view :class="'screen-dialog-box ' + (showScreenDialog ? 'move' : '')"> |
|
|
|
<view class="screen-list"> |
|
|
|
<view class="screen-list"> |
|
|
|
<view class="screen-item"> |
|
|
|
<view class="screen-item"> |
|
|
|
<view class="screen-title">所有服务</view> |
|
|
|
<view class="screen-title">所有服务</view> |
|
|
|
<view class="acea-row"> |
|
|
|
<view class="acea-row"> |
|
|
|
<view v-for="(item, index) in cagetoryList" :key="index" |
|
|
|
<view v-for="(item, index) in cagetoryList" :key="index" |
|
|
|
:class="'item ' + (cagetoryActive == index ? 'item-active' : '')" |
|
|
|
:class="'item ' + (cagetoryActive == index ? 'item-active' : '')" @tap="cagetoryClick" |
|
|
|
@tap="cagetoryClick" :data-i="index" :data-item="item">{{item.cagetoryName}}</view> |
|
|
|
:data-i="index" :data-item="item">{{item.cagetoryName}}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="screen-item"> |
|
|
|
<view class="screen-item"> |
|
|
|
<view class="screen-title">商家身份<text class="fz20">(所有商家均实名认证)</text></view> |
|
|
|
<view class="screen-title">商家身份<text class="fz20">(所有商家均实名认证)</text></view> |
|
|
|
<view class="acea-row"> |
|
|
|
<view class="acea-row"> |
|
|
|
<view :class="'item ' + (enterpriseType == 2 ? 'item-active' : '')" |
|
|
|
<view :class="'item ' + (enterpriseType == 2 ? 'item-active' : '')" @tap="businessChange" |
|
|
|
@tap="businessChange" data-name="个人认证" data-type="2">个人认证</view> |
|
|
|
data-name="个人认证" data-type="2">个人认证</view> |
|
|
|
<view :class="'item ' + (enterpriseType == 1 ? 'item-active' : '')" |
|
|
|
<view :class="'item ' + (enterpriseType == 1 ? 'item-active' : '')" @tap="businessChange" |
|
|
|
@tap="businessChange" data-name="企业认证" data-type="1">企业认证</view> |
|
|
|
data-name="企业认证" data-type="1">企业认证</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="submit-box acea-row"> |
|
|
|
|
|
|
|
<view class="btn reset" @tap="resetClick">重置</view> |
|
|
|
|
|
|
|
<view class="btn finish" @tap="finishClick">完成</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="submit-box acea-row"> |
|
|
|
|
|
|
|
<view class="btn reset" @tap="resetClick">重置</view> |
|
|
|
|
|
|
|
<view class="btn finish" @tap="finishClick">完成</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -108,7 +107,9 @@ |
|
|
|
const app = getApp(); |
|
|
|
const app = getApp(); |
|
|
|
import LoadStatus from "@/components/LoadStatus.vue" |
|
|
|
import LoadStatus from "@/components/LoadStatus.vue" |
|
|
|
export default { |
|
|
|
export default { |
|
|
|
components:{ LoadStatus }, |
|
|
|
components: { |
|
|
|
|
|
|
|
LoadStatus |
|
|
|
|
|
|
|
}, |
|
|
|
data() { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
return { |
|
|
|
active: 2, |
|
|
|
active: 2, |
|
|
@ -217,7 +218,13 @@ |
|
|
|
url: '/pages/demandHall/needsDetail/index?id=' + id |
|
|
|
url: '/pages/demandHall/needsDetail/index?id=' + id |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
// 供应广场 |
|
|
|
|
|
|
|
toResourceDetail(e) { |
|
|
|
|
|
|
|
let id = e.currentTarget.dataset.id; |
|
|
|
|
|
|
|
uni.navigateTo({ |
|
|
|
|
|
|
|
url: '/pages/demandHall/resourcesDetail/index?id=' + id |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}, |
|
|
|
getPageData() { |
|
|
|
getPageData() { |
|
|
|
if (this.loading) { |
|
|
|
if (this.loading) { |
|
|
|
this.loadStatus = '正在加载中...' |
|
|
|
this.loadStatus = '正在加载中...' |
|
|
@ -231,11 +238,11 @@ |
|
|
|
if (res.data.data.content.length < this.pageSize) { |
|
|
|
if (res.data.data.content.length < this.pageSize) { |
|
|
|
this.loading = false; |
|
|
|
this.loading = false; |
|
|
|
this.loadStatus = '没有更多了...' |
|
|
|
this.loadStatus = '没有更多了...' |
|
|
|
} else{ |
|
|
|
} else { |
|
|
|
this.loadStatus = '上拉加载更多...' |
|
|
|
this.loadStatus = '上拉加载更多...' |
|
|
|
} |
|
|
|
} |
|
|
|
this.list = this.list.concat(res.data.data.content) |
|
|
|
this.list = this.list.concat(res.data.data.content) |
|
|
|
|
|
|
|
|
|
|
|
// if (this.pageNumber > 0) { |
|
|
|
// if (this.pageNumber > 0) { |
|
|
|
// this.list = this.list.concat(res.data.data.content) |
|
|
|
// this.list = this.list.concat(res.data.data.content) |
|
|
|
// } else { |
|
|
|
// } else { |
|
|
@ -255,9 +262,10 @@ |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<style lang="less"> |
|
|
|
<style lang="less"> |
|
|
|
image{ |
|
|
|
image { |
|
|
|
border-radius: 8rpx; |
|
|
|
border-radius: 8rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.supplyHall-page { |
|
|
|
.supplyHall-page { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
min-height: 100vh; |
|
|
|
min-height: 100vh; |
|
|
@ -439,10 +447,12 @@ |
|
|
|
font-weight: 600; |
|
|
|
font-weight: 600; |
|
|
|
margin: 10rpx 0; |
|
|
|
margin: 10rpx 0; |
|
|
|
} |
|
|
|
} |
|
|
|
.category-box{ |
|
|
|
|
|
|
|
|
|
|
|
.category-box { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
height: 36rpx; |
|
|
|
height: 36rpx; |
|
|
|
overflow: hidden; |
|
|
|
overflow: hidden; |
|
|
|
|
|
|
|
|
|
|
|
.tag { |
|
|
|
.tag { |
|
|
|
width: auto; |
|
|
|
width: auto; |
|
|
|
height: 36rpx; |
|
|
|
height: 36rpx; |
|
|
@ -453,23 +463,23 @@ |
|
|
|
text-align: center; |
|
|
|
text-align: center; |
|
|
|
padding: 0 10rpx; |
|
|
|
padding: 0 10rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.tag-item-b { |
|
|
|
.tag-item-b { |
|
|
|
border: 1rpx solid #3A9EFA; |
|
|
|
border: 1rpx solid #3A9EFA; |
|
|
|
color: #3A9EFA; |
|
|
|
color: #3A9EFA; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.tag-item-y { |
|
|
|
.tag-item-y { |
|
|
|
border: 1px solid #FFAA00; |
|
|
|
border: 1px solid #FFAA00; |
|
|
|
color: #FFAA00; |
|
|
|
color: #FFAA00; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.tag-item-p { |
|
|
|
.tag-item-p { |
|
|
|
color: #FC9367; |
|
|
|
color: #FC9367; |
|
|
|
border: 1px solid #FC9367; |
|
|
|
border: 1px solid #FC9367; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.time-end { |
|
|
|
.time-end { |
|
|
|
height: 34rpx; |
|
|
|
height: 34rpx; |
|
|
@ -518,7 +528,8 @@ |
|
|
|
font-size: 28rpx; |
|
|
|
font-size: 28rpx; |
|
|
|
color: #FF5100; |
|
|
|
color: #FF5100; |
|
|
|
} |
|
|
|
} |
|
|
|
.enterprise-name{ |
|
|
|
|
|
|
|
|
|
|
|
.enterprise-name { |
|
|
|
max-width: 382rpx; |
|
|
|
max-width: 382rpx; |
|
|
|
height: 40rpx; |
|
|
|
height: 40rpx; |
|
|
|
color: #1D1D1D; |
|
|
|
color: #1D1D1D; |
|
|
@ -529,11 +540,13 @@ |
|
|
|
width: 72rpx; |
|
|
|
width: 72rpx; |
|
|
|
height: 72rpx; |
|
|
|
height: 72rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
.wd37{ |
|
|
|
|
|
|
|
|
|
|
|
.wd37 { |
|
|
|
width: 370rpx; |
|
|
|
width: 370rpx; |
|
|
|
height: 36rpx; |
|
|
|
height: 36rpx; |
|
|
|
overflow: hidden; |
|
|
|
overflow: hidden; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.time-end-t { |
|
|
|
.time-end-t { |
|
|
|
width: 250rpx; |
|
|
|
width: 250rpx; |
|
|
|
height: 34rpx; |
|
|
|
height: 34rpx; |
|
|
@ -541,7 +554,10 @@ |
|
|
|
color: #707070; |
|
|
|
color: #707070; |
|
|
|
text-align: right; |
|
|
|
text-align: right; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.enterprise-info { |
|
|
|
|
|
|
|
width: 100%; |
|
|
|
|
|
|
|
height: auto; |
|
|
|
|
|
|
|
} |
|
|
|
.enterprise-con { |
|
|
|
.enterprise-con { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
height: 192rpx; |
|
|
|
height: 192rpx; |
|
|
@ -651,7 +667,7 @@ |
|
|
|
border: 2rpx solid #FF6E33; |
|
|
|
border: 2rpx solid #FF6E33; |
|
|
|
color: #FE7D26; |
|
|
|
color: #FE7D26; |
|
|
|
background: #FDEFE6; |
|
|
|
background: #FDEFE6; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.across-line { |
|
|
|
.across-line { |
|
|
|