|
|
|
@ -61,7 +61,7 @@ |
|
|
|
|
<!-- 星巴克 --> |
|
|
|
|
<view v-if="typeid == 9 && recinfo.object.orderItems[0].code"> |
|
|
|
|
<view class="fotct font18 width100 mart10 color2f6f43" |
|
|
|
|
v-for="(item,index) in recinfo.object.orderItems" :key='index'>{{item.code}}</view> |
|
|
|
|
v-for="(item,index) in recinfo.object.orderItems" :key='index'>取餐口令:{{item.code}}</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="fotct font20 width100 mart10 colorc3" v-if="typeid == 4 && !recinfo.list"> |
|
|
|
|
<!-- {{recinfo.statusDesc}} --> |
|
|
|
@ -190,8 +190,8 @@ |
|
|
|
|
<!-- 再来一单 --> |
|
|
|
|
<view class="height50 width100"></view> |
|
|
|
|
<view class="bottomstu backcorfff width100 height50 alijusend" v-if="orderList.orderStatus == 3"> |
|
|
|
|
<button open-type="contact" class="cusservice font12 fcor666">联系客服</button> |
|
|
|
|
<!-- <view class="buybtn font12 fcorfff">再来一单</view> --> |
|
|
|
|
<view class="cusservice font12 fcor666 alijus" v-if="orderList.orderStatus == 3" @click="playPhone">联系客服</view> |
|
|
|
|
<view class="buybtn font12 fcorfff" v-if="orderList.orderStatus == 1" @click="thirdCancelOrder">取消订单</view> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
@ -372,6 +372,27 @@ |
|
|
|
|
} |
|
|
|
|
holdTime--; |
|
|
|
|
}, 1000) |
|
|
|
|
}, |
|
|
|
|
//拨打客服电话 |
|
|
|
|
playPhone() { |
|
|
|
|
uni.showModal({ |
|
|
|
|
title: '客服', |
|
|
|
|
content: '4006780738', |
|
|
|
|
success: function(res) { |
|
|
|
|
if (res.confirm) { |
|
|
|
|
uni.makePhoneCall({ |
|
|
|
|
phoneNumber: '4006780738', //电话号码 |
|
|
|
|
success: function(e) { |
|
|
|
|
console.log(e); |
|
|
|
|
}, |
|
|
|
|
fail: function(e) { |
|
|
|
|
console.log(e); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
//倒计时 |
|
|
|
|
showtime() { |
|
|
|
|