Browse Source

云生态

zys
kk_888 3 years ago
parent
commit
dab4aef90a
  1. 20
      pages/demandHall/supplyHall/index.vue

20
pages/demandHall/supplyHall/index.vue

@ -17,9 +17,9 @@
</view> </view>
</view> </view>
</view> </view>
</view> </view>
<view class="supplyHall-box"> <view class="supplyHall-box">
<!-- 需求广场 -->
<view class="resource-box" v-if="active == 1"> <view class="resource-box" v-if="active == 1">
<!-- 个人 --> <!-- 个人 -->
<!-- <view class="personal-list" v-for="(item,index) in 2" :key="index"> <!-- <view class="personal-list" v-for="(item,index) in 2" :key="index">
@ -58,8 +58,8 @@
<view class="time-end-t">{{item.resourceEndTime}}截止报名</view> <view class="time-end-t">{{item.resourceEndTime}}截止报名</view>
</view> </view>
<view class="enterprise-info acea-row row-middle"> <view class="enterprise-info acea-row row-middle">
<image src="../../../static/images/cart.png" mode="" class="head-logo"></image> <image :src="item.resourceImgs" mode="" class="head-logo"></image>
<view class="user-name">湖北知音动漫有限公司</view> <view class="user-name">{{item.enterpriseName}}</view>
</view> </view>
</view> </view>
@ -162,7 +162,6 @@
cName: "", cName: "",
// //
list: [], list: [],
pageNumber: 0, pageNumber: 0,
pageSize: 10, pageSize: 10,
loading: true, loading: true,
@ -172,6 +171,9 @@
onShow: function() { onShow: function() {
this.getPageData(); this.getPageData();
}, },
onLoad: function(options) {
this.getCagetoryList();
},
onPullDownRefresh: function() { onPullDownRefresh: function() {
this.setData({ this.setData({
loading: true, loading: true,
@ -204,6 +206,15 @@
showScreenDialog: true, showScreenDialog: true,
}); });
}, },
getCagetoryList() {
app.http('get', 'ResourcesCagetory/listResourcesCagetory').then(res => {
if (res.data.success) {
this.setData({
cagetoryList: res.data.data
});
}
});
},
cagetoryClick(e) { cagetoryClick(e) {
let item = e.currentTarget.dataset.item; let item = e.currentTarget.dataset.item;
let i = e.currentTarget.dataset.i; let i = e.currentTarget.dataset.i;
@ -653,6 +664,7 @@
border: 2rpx solid #FF6E33; border: 2rpx solid #FF6E33;
color: #FE7D26; color: #FE7D26;
background: #FDEFE6; background: #FDEFE6;
} }
.across-line { .across-line {

Loading…
Cancel
Save