|
|
@ -18,55 +18,55 @@ |
|
|
|
v-if="row.highChildOrderList[0].goodsType == 1"> |
|
|
|
v-if="row.highChildOrderList[0].goodsType == 1"> |
|
|
|
<image src="../../../static/img/order2.png" class="marglerig" |
|
|
|
<image src="../../../static/img/order2.png" class="marglerig" |
|
|
|
style="width: 50rpx;height: 50rpx;"></image> |
|
|
|
style="width: 50rpx;height: 50rpx;"></image> |
|
|
|
卡券订单 |
|
|
|
卡券订单 <view class="unread" v-if="row.orderStatus == 3 && !row.whetherCheck"></view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="width50 flleft aliitem fotlt font16" |
|
|
|
<view class="width50 flleft aliitem fotlt font16" |
|
|
|
v-if="row.highChildOrderList[0].goodsType == 2"> |
|
|
|
v-if="row.highChildOrderList[0].goodsType == 2"> |
|
|
|
<image src="../../../static/img/order2.png" class="marglerig" |
|
|
|
<image src="../../../static/img/order2.png" class="marglerig" |
|
|
|
style="width: 50rpx;height: 50rpx;"></image> |
|
|
|
style="width: 50rpx;height: 50rpx;"></image> |
|
|
|
积分充值 |
|
|
|
积分充值<view class="unread" v-if="row.orderStatus == 3 && !row.whetherCheck"></view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="width50 flleft aliitem fotlt font16" |
|
|
|
<view class="width50 flleft aliitem fotlt font16" |
|
|
|
v-if="row.highChildOrderList[0].goodsType == 7"> |
|
|
|
v-if="row.highChildOrderList[0].goodsType == 7"> |
|
|
|
<image src="../../../static/img/order9.png" class="marglerig" |
|
|
|
<image src="../../../static/img/order9.png" class="marglerig" |
|
|
|
style="width: 50rpx;height: 50rpx;"></image> |
|
|
|
style="width: 50rpx;height: 50rpx;"></image> |
|
|
|
优惠券包 |
|
|
|
优惠券包<view class="unread" v-if="row.orderStatus == 3 && !row.whetherCheck"></view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="width50 flleft aliitem fotlt font16" |
|
|
|
<view class="width50 flleft aliitem fotlt font16" |
|
|
|
v-if="row.highChildOrderList[0].goodsType == 3"> |
|
|
|
v-if="row.highChildOrderList[0].goodsType == 3"> |
|
|
|
<image src="../../../static/img/order4.png" class="marglerig" |
|
|
|
<image src="../../../static/img/order4.png" class="marglerig" |
|
|
|
style="width: 50rpx;height: 50rpx;"></image> |
|
|
|
style="width: 50rpx;height: 50rpx;"></image> |
|
|
|
团油订单 |
|
|
|
团油订单<view class="unread" v-if="row.orderStatus == 3 && !row.whetherCheck"></view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="width50 flleft aliitem fotlt font16" |
|
|
|
<view class="width50 flleft aliitem fotlt font16" |
|
|
|
v-if="row.highChildOrderList[0].goodsType == 5"> |
|
|
|
v-if="row.highChildOrderList[0].goodsType == 5"> |
|
|
|
<image src="../../../static/img/order5.png" class="marglerig" |
|
|
|
<image src="../../../static/img/order5.png" class="marglerig" |
|
|
|
style="width: 50rpx;height: 50rpx;"></image> |
|
|
|
style="width: 50rpx;height: 50rpx;"></image> |
|
|
|
电影票 |
|
|
|
电影票<view class="unread" v-if="row.orderStatus == 3 && !row.whetherCheck"></view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="width50 flleft aliitem fotlt font16" |
|
|
|
<view class="width50 flleft aliitem fotlt font16" |
|
|
|
v-if="row.highChildOrderList[0].goodsType == 4"> |
|
|
|
v-if="row.highChildOrderList[0].goodsType == 4"> |
|
|
|
<image src="../../../static/img/order3.png" class="marglerig" |
|
|
|
<image src="../../../static/img/order3.png" class="marglerig" |
|
|
|
style="width: 50rpx;height: 50rpx;"></image> |
|
|
|
style="width: 50rpx;height: 50rpx;"></image> |
|
|
|
KFC |
|
|
|
KFC<view class="unread" v-if="row.orderStatus == 3 && !row.whetherCheck"></view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="width50 flleft aliitem fotlt font16" |
|
|
|
<view class="width50 flleft aliitem fotlt font16" |
|
|
|
v-if="row.highChildOrderList[0].goodsType == 9"> |
|
|
|
v-if="row.highChildOrderList[0].goodsType == 9"> |
|
|
|
<image src="../../../static/img/xbk.png" class="marglerig" |
|
|
|
<image src="../../../static/img/xbk.png" class="marglerig" |
|
|
|
style="width: 50rpx;height: 50rpx;"></image> |
|
|
|
style="width: 50rpx;height: 50rpx;"></image> |
|
|
|
星巴克 |
|
|
|
星巴克<view class="unread" v-if="row.orderStatus == 3 && !row.whetherCheck"></view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="width50 flleft aliitem fotlt font16" |
|
|
|
<view class="width50 flleft aliitem fotlt font16" |
|
|
|
v-if="row.highChildOrderList[0].goodsType == 10"> |
|
|
|
v-if="row.highChildOrderList[0].goodsType == 10"> |
|
|
|
<image src="../../../static/img/Vip.png" class="marglerig" |
|
|
|
<image src="../../../static/img/Vip.png" class="marglerig" |
|
|
|
style="width: 50rpx;height: 50rpx;"></image> |
|
|
|
style="width: 50rpx;height: 50rpx;"></image> |
|
|
|
会员充值 |
|
|
|
会员充值<view class="unread" v-if="row.orderStatus == 3 && !row.whetherCheck"></view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="width50 flleft aliitem fotlt font16" |
|
|
|
<view class="width50 flleft aliitem fotlt font16" |
|
|
|
v-if="row.highChildOrderList[0].goodsType == 8"> |
|
|
|
v-if="row.highChildOrderList[0].goodsType == 8"> |
|
|
|
<image src="../../../static/img/ghkpay.png" class="marglerig" |
|
|
|
<image src="../../../static/img/ghkpay.png" class="marglerig" |
|
|
|
style="width: 50rpx;height: 50rpx;"></image> |
|
|
|
style="width: 50rpx;height: 50rpx;"></image> |
|
|
|
工会卡充值 |
|
|
|
工会卡充值<view class="unread" v-if="row.orderStatus == 3 && !row.whetherCheck"></view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="width50 flright fotrt fcor666 font15"> |
|
|
|
<view class="width50 flright fotrt fcor666 font15"> |
|
|
|
{{row.createTime | formatDate('-')}} |
|
|
|
{{row.createTime | formatDate('-')}} |
|
|
@ -116,7 +116,8 @@ |
|
|
|
import { |
|
|
|
import { |
|
|
|
getUserOrderList, |
|
|
|
getUserOrderList, |
|
|
|
cancelOrder, |
|
|
|
cancelOrder, |
|
|
|
thirdCancelOrder |
|
|
|
thirdCancelOrder, |
|
|
|
|
|
|
|
orderCheck |
|
|
|
} from '../../../Utils/Api.js'; |
|
|
|
} from '../../../Utils/Api.js'; |
|
|
|
let app = getApp() |
|
|
|
let app = getApp() |
|
|
|
export default { |
|
|
|
export default { |
|
|
@ -245,6 +246,7 @@ |
|
|
|
}, |
|
|
|
}, |
|
|
|
//跳转详情 |
|
|
|
//跳转详情 |
|
|
|
jumpDetails(item, e) { |
|
|
|
jumpDetails(item, e) { |
|
|
|
|
|
|
|
this.orderCheck(e); |
|
|
|
if (item == 4 || item == 9 || item == 10) { |
|
|
|
if (item == 4 || item == 9 || item == 10) { |
|
|
|
uni.navigateTo({ |
|
|
|
uni.navigateTo({ |
|
|
|
url: '/qianzhu-KFC/order-details/order-details?id=' + e |
|
|
|
url: '/qianzhu-KFC/order-details/order-details?id=' + e |
|
|
@ -254,6 +256,16 @@ |
|
|
|
uni.navigateTo({ |
|
|
|
uni.navigateTo({ |
|
|
|
url: '../order_details/order_details?id=' + e |
|
|
|
url: '../order_details/order_details?id=' + e |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
//查看状态 |
|
|
|
|
|
|
|
orderCheck(item) { |
|
|
|
|
|
|
|
let datas = { |
|
|
|
|
|
|
|
orderId: item |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
orderCheck(datas).then(res => { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
showType(tbIndex) { |
|
|
|
showType(tbIndex) { |
|
|
|
this.tabbarIndex = tbIndex; |
|
|
|
this.tabbarIndex = tbIndex; |
|
|
@ -475,6 +487,14 @@ |
|
|
|
background-color: #fff; |
|
|
|
background-color: #fff; |
|
|
|
margin-bottom: 20upx; |
|
|
|
margin-bottom: 20upx; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.unread { |
|
|
|
|
|
|
|
width: 10px; |
|
|
|
|
|
|
|
height: 10px; |
|
|
|
|
|
|
|
background-color: #e75e58; |
|
|
|
|
|
|
|
border-radius: 50%; |
|
|
|
|
|
|
|
margin-top: -20px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.type { |
|
|
|
.type { |
|
|
|
font-size: 26upx; |
|
|
|
font-size: 26upx; |
|
|
|
color: #0083f5; |
|
|
|
color: #0083f5; |
|
|
|