Merge branch 'master' of https://e.coding.net/boss-01/yxx/app
This commit is contained in:
commit
e825f9e895
|
@ -15,8 +15,8 @@
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
||||||
<view class="main" >
|
<view class="main">
|
||||||
<view class="art_act_itm" v-for="(item,i) in orderList" :key="i" 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="../../static/icon12.jpg" mode=""></image> -->
|
||||||
<image :src="item.enclosure" mode="" @click="goActDeat(item.id,1)"></image>
|
<image :src="item.enclosure" mode="" @click="goActDeat(item.id,1)"></image>
|
||||||
<view class="bottom_part" style="padding: 0 12px;">
|
<view class="bottom_part" style="padding: 0 12px;">
|
||||||
|
@ -28,6 +28,12 @@
|
||||||
<view class="tag_sta_end" v-if='item.state=="3"'>
|
<view class="tag_sta_end" v-if='item.state=="3"'>
|
||||||
已完成
|
已完成
|
||||||
</view>
|
</view>
|
||||||
|
<view class="tag_sta_fail" v-if='item.state=="4"'>
|
||||||
|
未接单
|
||||||
|
</view>
|
||||||
|
<!-- <view class="tag_sta_fail" v-if='item.state=="3"'>
|
||||||
|
已结束
|
||||||
|
</view> -->
|
||||||
|
|
||||||
<view class="tag_sta_going" v-if='item.state=="1"||item.state=="0"'>
|
<view class="tag_sta_going" v-if='item.state=="1"||item.state=="0"'>
|
||||||
进行中
|
进行中
|
||||||
|
@ -40,7 +46,7 @@
|
||||||
|
|
||||||
活动时间: {{item.createdAt}}
|
活动时间: {{item.createdAt}}
|
||||||
</view>
|
</view>
|
||||||
<view class="but_box" style="margin-top: 20rpx;">
|
<view class="but_box" style="margin-top: 20rpx;" v-if="!(item.state=='4')">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -58,7 +64,8 @@
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view style="width: 190rpx;margin: 0 10rpx; " v-if='item.state== "2" '>
|
<view style="width: 190rpx;margin: 0 10rpx; " v-if='item.state== "2" '>
|
||||||
<u-button plain color="#99241B" shape="circle" text="评价" @click="pingjia(i,item.id)"></u-button>
|
<u-button plain color="#99241B" shape="circle" text="评价" @click="pingjia(i,item.id)">
|
||||||
|
</u-button>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view style="width: 190rpx;margin: 0 10rpx; " v-if='item.state== "3"'>
|
<view style="width: 190rpx;margin: 0 10rpx; " v-if='item.state== "3"'>
|
||||||
|
@ -70,7 +77,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="art_act_itm" v-for="(item,i) in orderList" :key="i" v-if="tabNum==2">
|
<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>
|
<image @click="goActDeat(item.id)" :src="item.enclosure" mode=""></image>
|
||||||
<view class="bottom_part" style="padding: 0 12px;">
|
<view class="bottom_part" style="padding: 0 12px;">
|
||||||
<view class="ddd" style="display: flex; justify-content: space-between; align-items: center;">
|
<view class="ddd" style="display: flex; justify-content: space-between; align-items: center;">
|
||||||
|
@ -156,8 +163,8 @@
|
||||||
</u-modal>
|
</u-modal>
|
||||||
|
|
||||||
|
|
||||||
<view v-if="!(orderList.length>0)" >
|
<view v-if="!(orderList.length>0)">
|
||||||
<u-empty mode="data" icon="http://cdn.uviewui.com/uview/empty/data.png" >
|
<u-empty mode="data" icon="http://cdn.uviewui.com/uview/empty/data.png">
|
||||||
</u-empty>
|
</u-empty>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -316,39 +323,39 @@
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
goActDeat(id,typEnum) {
|
goActDeat(id, typEnum) {
|
||||||
if(typEnum){
|
if (typEnum) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url:`/pages/orderHall/orderHallDetails?id=${id}&isCheck=${typEnum}`
|
url: `/pages/orderHall/orderHallDetails?id=${id}&isCheck=${typEnum}`
|
||||||
})
|
})
|
||||||
}else{
|
} else {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url:`/pages/orderHall/orderHallDetails?id=${id}`
|
url: `/pages/orderHall/orderHallDetails?id=${id}`
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
toUpimgPage(id) {
|
toUpimgPage(id) {
|
||||||
this.http.request('/hallUser/pjList?hallId=' + id, {}, "GET").then(res => {
|
this.http.request('/hallUser/pjList?hallId=' + id, {}, "GET").then(res => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
console.log("reg", res.data)
|
console.log("reg", res.data)
|
||||||
if(res.data.length>0){
|
if (res.data.length > 0) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/my/imgUpload?id=` + id
|
url: `/pages/my/imgUpload?id=` + id
|
||||||
})
|
})
|
||||||
}else{
|
} else {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: "无人接单",
|
title: "无人接单",
|
||||||
icon: "none",
|
icon: "none",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: e.data.message,
|
title: e.data.message,
|
||||||
icon: "none",
|
icon: "none",
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
touploadedimg(imgstr) {
|
touploadedimg(imgstr) {
|
||||||
|
@ -405,9 +412,11 @@
|
||||||
margin: 0rpx 32rpx; */
|
margin: 0rpx 32rpx; */
|
||||||
background-color: #F5F5F5 !important;
|
background-color: #F5F5F5 !important;
|
||||||
}
|
}
|
||||||
.main{
|
|
||||||
|
.main {
|
||||||
padding: 0rpx 32rpx;
|
padding: 0rpx 32rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
image {
|
image {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 60%;
|
height: 60%;
|
||||||
|
@ -458,6 +467,18 @@
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tag_sta_fail {
|
||||||
|
width: 100rpx;
|
||||||
|
height: 48rpx;
|
||||||
|
background: #F5F5F5;
|
||||||
|
;
|
||||||
|
border-radius: 8rpx;
|
||||||
|
line-height: 48rpx;
|
||||||
|
color: #7A7A7A;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 24rpx;
|
||||||
|
}
|
||||||
|
|
||||||
.act_time {
|
.act_time {
|
||||||
height: 34rpx;
|
height: 34rpx;
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
|
|
Loading…
Reference in New Issue