master
lion 2 years ago
parent e4e05fd339
commit e5a4ba1099

@ -68,9 +68,9 @@
</view>
<u-icon name="arrow-right"></u-icon>
</view>
<view class="exhibit_list" @click='todetail(exhibitObj.id)'>
<img :src="exhibitObj.head_upload.url" alt="">
<span>{{exhibitObj.name}}</span>
<view class="exhibit_list" v-for="item in exhibitList" @click='todetail(item.id)'>
<img :src="item.head_upload.url" alt="">
<span>{{item.name}}</span>
</view>
</view>
</view>
@ -220,7 +220,7 @@
//
statusBarHeight: 0,
navBarBoxHeight:0,
exhibitObj:{},
exhibitList:[],
showBook: false,
minDate: `${year}-${month}-${date + 1}`,
maxDate: `${year}-${month}-${date + 7}`,
@ -518,7 +518,7 @@
api: '/api/mobile/exhibit-hall/index',
data:{
page:1,
page_size:1,
page_size:2,
state:1,
sort_name:'state',
sort_name_tow:'release_time',
@ -526,8 +526,7 @@
sort_type_tow:'DESC'
},
utilSuccess: function(res) {
console.log(res.data[0])
that.exhibitObj = res?.data[0]
that.exhibitList = res.data
},
utilFail: function(res) {

Loading…
Cancel
Save