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