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