This commit is contained in:
刘亚磊 2022-07-19 11:49:01 +08:00
parent 9392a181a8
commit 788d2ae88d
1 changed files with 25 additions and 7 deletions

View File

@ -16,9 +16,9 @@
<view class="main" >
<view class="art_act_itm" v-for="(item,i) in orderList" :key="i" @click="goActDeat(item.id,1)" v-if="tabNum==1">
<view class="art_act_itm" v-for="(item,i) in orderList" :key="i" v-if="tabNum==1">
<!-- <image src="../../static/icon12.jpg" mode=""></image> -->
<image :src="item.enclosure" mode=""></image>
<image :src="item.enclosure" mode="" @click="goActDeat(item.id,1)"></image>
<view class="bottom_part" style="padding: 0 12px;">
<view class="ddd" style="display: flex; justify-content: space-between; align-items: center;">
<view class="title">
@ -70,8 +70,8 @@
</view>
</view>
<view class="art_act_itm" v-for="(item,i) in orderList" :key="i" @click="goActDeat(item.id)" v-if="tabNum==2">
<image :src="item.enclosure" mode=""></image>
<view class="art_act_itm" v-for="(item,i) in orderList" :key="i" v-if="tabNum==2">
<image @click="goActDeat(item.id)" :src="item.enclosure" mode=""></image>
<view class="bottom_part" style="padding: 0 12px;">
<view class="ddd" style="display: flex; justify-content: space-between; align-items: center;">
<view class="title">
@ -329,9 +329,27 @@
},
toUpimgPage(id) {
uni.navigateTo({
url: `/pages/my/imgUpload?id=` + id
})
this.http.request('/hallUser/pjList?hallId=' + id, {}, "GET").then(res => {
if (res.code == 200) {
console.log("reg", res.data)
if(res.data.length>0){
uni.navigateTo({
url: `/pages/my/imgUpload?id=` + id
})
}else{
uni.showToast({
title: "无人接单",
icon: "none",
});
}
}
}).catch(e => {
uni.showToast({
title: e.data.message,
icon: "none",
});
})
},
touploadedimg(imgstr) {
uni.navigateTo({