1.优化订单确认页显示

2.解决联系客服不能操作按钮
master
杨杰 2 years ago
parent c1af216a3f
commit b61339d992
  1. 8
      high-unionPay/member-Recharge/rec-confirmation/rec-confirmation.vue
  2. 9
      high-unionPay/pages/goods/refuel-confirm/refuel-confirm.vue
  3. 8
      high-unionPay/pages/order/confirmation.vue
  4. 11
      high-unionPay/pages/tabBar/home/home.vue
  5. 8
      high-unionPay/pages/unionPay/unionComfirmation/unionComfirmation.vue
  6. 6
      high-unionPay/pages/user/news/news.vue
  7. 23
      high-unionPay/pages/user/order_details/order_details.vue
  8. 8
      high-unionPay/qianzhu-KFC/confirmOrder/confirmOrder.vue
  9. 27
      high-unionPay/qianzhu-KFC/order-details/order-details.vue

@ -74,19 +74,19 @@
</view> </view>
</view> </view>
<view class="width94 line1 marb5"></view> <view class="width94 line1 marb5"></view>
<view class="height50 width100 backcorfff"> <view class="height50 width100 backcorfff" v-if="Integrastu == 1">
<view class="width40 flleft fcor333 fontwig6 font15 text1 alijusstart" style="padding-left: 4%;"> <view class="width40 flleft fcor333 fontwig6 font15 text1 alijusstart" style="padding-left: 4%;">
<image src="../../static/img/rebate.png" mode="widthFix" style="width: 25px;"></image> <image src="../../static/img/rebate.png" mode="widthFix" style="width: 25px;"></image>
<text>下单返积分</text> <text>下单返积分</text>
</view> </view>
<view class="width50 flright fotrt paddtright10 font15 colore95 alijun" v-if="Integrastu == 1" <view class="width50 flright fotrt paddtright10 font15 colore95 alijun"
style="align-items: center;"> style="align-items: center;">
{{rebateIntegral}}积分 {{rebateIntegral}}积分
</view> </view>
<view class="width50 flright fotrt paddtright10 font15 colore95 alijun" v-if="Integrastu == 2" <!-- <view class="width50 flright fotrt paddtright10 font15 colore95 alijun" v-if="Integrastu == 2"
style="align-items: center;"> style="align-items: center;">
{{rebateIntegral}} {{rebateIntegral}}
</view> </view> -->
</view> </view>
<view class=" width100 backcorfff alijusstart paddbotm10" style="padding-left: 4%;"> <view class=" width100 backcorfff alijusstart paddbotm10" style="padding-left: 4%;">
<image src="../../static/img/sigh.png" mode="widthFix" class="icon20"></image> <image src="../../static/img/sigh.png" mode="widthFix" class="icon20"></image>

@ -130,19 +130,18 @@
</view> </view>
</view> </view>
<view class="width94 line1 mart5 marb5"></view> <view class="width94 line1 mart5 marb5"></view>
<view class="height40 width100 backcorfff"> <view class="height40 width100 backcorfff" v-if="Integrastu == 1">
<view class="width40 flleft fcor666 font15 fontwig6 text1 alijusstart" style="padding-left: 2%;"> <view class="width40 flleft fcor666 font15 fontwig6 text1 alijusstart" style="padding-left: 2%;">
<image src="../../../static/img/rebate.png" mode="widthFix" style="width: 25px;"></image> <image src="../../../static/img/rebate.png" mode="widthFix" style="width: 25px;"></image>
<text>下单返积分</text> <text>下单返积分</text>
</view> </view>
<view class="width50 flright fotrt paddtright15 font15 colore95 alijun" style="align-items: center;" <view class="width50 flright fotrt paddtright15 font15 colore95 alijun" style="align-items: center;">
v-if="Integrastu == 1">
{{rebateIntegral}}积分 {{rebateIntegral}}积分
</view> </view>
<view class="width50 flright fotrt paddtright15 font15 colore95 alijun" style="align-items: center;" <!-- <view class="width50 flright fotrt paddtright15 font15 colore95 alijun" style="align-items: center;"
v-if="Integrastu == 2"> v-if="Integrastu == 2">
{{rebateIntegral}} {{rebateIntegral}}
</view> </view> -->
</view> </view>
<view class=" width100 backcorfff alijusstart paddbotm10" style="padding-left: 2%;"> <view class=" width100 backcorfff alijusstart paddbotm10" style="padding-left: 2%;">
<image src="../../../static/img/sigh.png" mode="widthFix" class="icon20"></image> <image src="../../../static/img/sigh.png" mode="widthFix" class="icon20"></image>

@ -111,19 +111,19 @@
</view> </view>
<view class="width94 line1 mart5 marb5"></view> <view class="width94 line1 mart5 marb5"></view>
<view class="height40 width100 backcorfff"> <view class="height40 width100 backcorfff" v-if="Integrastu == 1">
<view class="width40 flleft fcor666 font15 fontwig6 text1 alijusstart" style="padding-left: 2%;"> <view class="width40 flleft fcor666 font15 fontwig6 text1 alijusstart" style="padding-left: 2%;">
<image src="../../static/img/rebate.png" mode="widthFix" style="width: 25px;"></image> <image src="../../static/img/rebate.png" mode="widthFix" style="width: 25px;"></image>
<text>下单返积分</text> <text>下单返积分</text>
</view> </view>
<view class="width50 flright fotrt paddtright10 font15 colore95 alijun" v-if="Integrastu == 1" <view class="width50 flright fotrt paddtright10 font15 colore95 alijun"
style="align-items: center;"> style="align-items: center;">
{{rebateIntegral}}积分 {{rebateIntegral}}积分
</view> </view>
<view class="width50 flright fotrt paddtright10 font15 colore95 alijun" v-if="Integrastu == 2" <!-- <view class="width50 flright fotrt paddtright10 font15 colore95 alijun" v-if="Integrastu == 2"
style="align-items: center;"> style="align-items: center;">
{{rebateIntegral}} {{rebateIntegral}}
</view> </view> -->
</view> </view>
<view class=" width100 backcorfff alijusstart paddbotm10" style="padding-left: 2%;"> <view class=" width100 backcorfff alijusstart paddbotm10" style="padding-left: 2%;">
<image src="../../static/img/sigh.png" mode="widthFix" class="icon20"></image> <image src="../../static/img/sigh.png" mode="widthFix" class="icon20"></image>

@ -38,7 +38,7 @@
<view class="height120 backcorfff" v-if="item.type == 3"> <view class="height120 backcorfff" v-if="item.type == 3">
<view class="height20 width100"></view> <view class="height20 width100"></view>
<view class="width92 message alijus"> <view class="width92 message alijus">
<view class="width100 alijus" style="margin-top: -20px;" @click="test(item.childDate)" <view class="width100 alijus" style="margin-top: -20px;" @click="test(0)"
v-if="item.childDate.length == 1"> v-if="item.childDate.length == 1">
<view class="width80p paddleft10 alijusstart"> <view class="width80p paddleft10 alijusstart">
<view class="stus"></view> <view class="stus"></view>
@ -244,8 +244,15 @@
}) })
}, },
test(item) { test(item) {
let datas = [];
for (var i = 0; i < this.homeCateList.length; i++) {
if (this.homeCateList[i].type == 3) {
datas.push(this.homeCateList[i])
}
}
let jumpid = datas[0].childDate[item].type;
uni.navigateTo({ uni.navigateTo({
url: '../../user/news/news' url: '../../user/news/news?id=' + jumpid
}) })
}, },
// //

@ -84,19 +84,19 @@
</view> </view>
</view> </view>
<view class="width94 line1 mart5 marb5"></view> <view class="width94 line1 mart5 marb5"></view>
<view class="height40 width100 backcorfff"> <view class="height40 width100 backcorfff" v-if="Integrastu == 1">
<view class="width40 flleft fcor666 font15 fontwig6 text1 alijusstart" style="padding-left: 2%;"> <view class="width40 flleft fcor666 font15 fontwig6 text1 alijusstart" style="padding-left: 2%;">
<image src="../../../static/img/rebate.png" mode="widthFix" style="width: 25px;"></image> <image src="../../../static/img/rebate.png" mode="widthFix" style="width: 25px;"></image>
<text>下单返积分</text> <text>下单返积分</text>
</view> </view>
<view class="width50 flright fotrt paddtright10 font15 colore95 alijun" v-if="Integrastu == 1" <view class="width50 flright fotrt paddtright10 font15 colore95 alijun"
style="align-items: center;"> style="align-items: center;">
{{rebateIntegral}}积分 {{rebateIntegral}}积分
</view> </view>
<view class="width50 flright fotrt paddtright10 font15 colore95 alijun" v-if="Integrastu == 2" <!-- <view class="width50 flright fotrt paddtright10 font15 colore95 alijun" v-if="Integrastu == 2"
style="align-items: center;"> style="align-items: center;">
{{rebateIntegral}} {{rebateIntegral}}
</view> </view> -->
</view> </view>
<view class=" width100 backcorfff alijusstart paddbotm10" style="padding-left: 2%;"> <view class=" width100 backcorfff alijusstart paddbotm10" style="padding-left: 2%;">
<image src="../../../static/img/sigh.png" mode="widthFix" class="icon20"></image> <image src="../../../static/img/sigh.png" mode="widthFix" class="icon20"></image>

@ -96,7 +96,8 @@
return a[value1]; return a[value1];
} }
}, },
onLoad() { onLoad(options) {
this.newstypeid = options.id;
this.getDictionaryByCodeType(); this.getDictionaryByCodeType();
}, },
// onShow() { // onShow() {
@ -111,8 +112,7 @@
getDictionaryByCodeType(datas).then(res => { getDictionaryByCodeType(datas).then(res => {
if (res.return_code == '000000') { if (res.return_code == '000000') {
this.newsTyplist = res.return_data; this.newsTyplist = res.return_data;
this.newstypeid = res.return_data[0].codeValue; this.getMsgByList(this.newstypeid);
this.getMsgByList(res.return_data[0].codeValue);
} }
}) })
}, },

@ -485,7 +485,7 @@
<!-- 再来一单 --> <!-- 再来一单 -->
<view class="height50 width100"></view> <view class="height50 width100"></view>
<view class="bottomstu backcorfff width100 height50 alijusend"> <view class="bottomstu backcorfff width100 height50 alijusend">
<button open-type="contact" class="cusservice font12 fcor666">联系客服</button> <view class="cusservice font12 fcor666 alijus" @click="playPhone">联系客服</view>
<!-- <view class="buybtn font12 fcorfff">再来一单</view> --> <!-- <view class="buybtn font12 fcorfff">再来一单</view> -->
</view> </view>
</view> </view>
@ -757,6 +757,27 @@
.payPrice + '&productType=' + this.recinfo.productType .payPrice + '&productType=' + this.recinfo.productType
}) })
}, },
//
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);
}
})
}
}
})
}
} }
} }
</script> </script>

@ -124,19 +124,19 @@
</view> </view>
<view class="width94 line1 marb5"></view> <view class="width94 line1 marb5"></view>
<view class="height40 width100 backcorfff"> <view class="height40 width100 backcorfff" v-if="Integrastu == 1">
<view class="width40 flleft fcor666 font15 text1 alijusstart" style="padding-left: 2%;"> <view class="width40 flleft fcor666 font15 text1 alijusstart" style="padding-left: 2%;">
<image src="../../static/img/rebate.png" mode="widthFix" style="width: 25px;"></image> <image src="../../static/img/rebate.png" mode="widthFix" style="width: 25px;"></image>
<text>下单返积分</text> <text>下单返积分</text>
</view> </view>
<view class="width50 flright fotrt paddtright10 font15 colore95 alijun" v-if="Integrastu == 1" <view class="width50 flright fotrt paddtright10 font15 colore95 alijun"
style="align-items: center;"> style="align-items: center;">
{{rebateIntegral}}积分 {{rebateIntegral}}积分
</view> </view>
<view class="width50 flright fotrt paddtright10 font15 colore95 alijun" v-if="Integrastu == 2" <!-- <view class="width50 flright fotrt paddtright10 font15 colore95 alijun" v-if="Integrastu == 2"
style="align-items: center;"> style="align-items: center;">
{{rebateIntegral}} {{rebateIntegral}}
</view> </view> -->
</view> </view>
<view class=" width100 backcorfff alijusstart paddbotm10" style="padding-left: 2%;"> <view class=" width100 backcorfff alijusstart paddbotm10" style="padding-left: 2%;">
<image src="../../static/img/sigh.png" mode="widthFix" class="icon20"></image> <image src="../../static/img/sigh.png" mode="widthFix" class="icon20"></image>

@ -61,7 +61,7 @@
<!-- 星巴克 --> <!-- 星巴克 -->
<view v-if="typeid == 9 && recinfo.object.orderItems[0].code"> <view v-if="typeid == 9 && recinfo.object.orderItems[0].code">
<view class="fotct font18 width100 mart10 color2f6f43" <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>
<view class="fotct font20 width100 mart10 colorc3" v-if="typeid == 4 && !recinfo.list"> <view class="fotct font20 width100 mart10 colorc3" v-if="typeid == 4 && !recinfo.list">
<!-- {{recinfo.statusDesc}} --> <!-- {{recinfo.statusDesc}} -->
@ -190,8 +190,8 @@
<!-- 再来一单 --> <!-- 再来一单 -->
<view class="height50 width100"></view> <view class="height50 width100"></view>
<view class="bottomstu backcorfff width100 height50 alijusend" v-if="orderList.orderStatus == 3"> <view class="bottomstu backcorfff width100 height50 alijusend" v-if="orderList.orderStatus == 3">
<button open-type="contact" class="cusservice font12 fcor666">联系客服</button> <view class="cusservice font12 fcor666 alijus" v-if="orderList.orderStatus == 3" @click="playPhone">联系客服</view>
<!-- <view class="buybtn font12 fcorfff">再来一</view> --> <view class="buybtn font12 fcorfff" v-if="orderList.orderStatus == 1" @click="thirdCancelOrder">取消订</view>
</view> </view>
</view> </view>
@ -373,6 +373,27 @@
holdTime--; holdTime--;
}, 1000) }, 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() { showtime() {
var nowtime = new Date(), // var nowtime = new Date(), //

Loading…
Cancel
Save