1.优化订单确认页显示

2.解决联系客服不能操作按钮
yj-dev
杨杰 2 years ago
parent 9e8d0b99b4
commit 91dfd0f246
  1. 8
      member-Recharge/rec-confirmation/rec-confirmation.vue
  2. 13
      pages/goods/refuel-confirm/refuel-confirm.vue
  3. 8
      pages/order/confirmation.vue
  4. 11
      pages/tabBar/home/home.vue
  5. 6
      pages/user/news/news.vue
  6. 30
      pages/user/order_details/order_details.vue
  7. 8
      qianzhu-KFC/confirmOrder/confirmOrder.vue
  8. 32
      qianzhu-KFC/order-details/order-details.vue
  9. 8
      subPages/unionComfirmation/unionComfirmation.vue

@ -74,19 +74,19 @@
</view>
</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%;">
<image src="../../static/img/rebate.png" mode="widthFix" style="width: 25px;"></image>
<text>下单返积分</text>
</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;">
{{rebateIntegral}}积分
</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;">
{{rebateIntegral}}
</view>
</view> -->
</view>
<view class=" width100 backcorfff alijusstart paddbotm10" style="padding-left: 4%;">
<image src="../../static/img/sigh.png" mode="widthFix" class="icon20"></image>

@ -129,19 +129,18 @@
</view>
</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%;">
<image src="../../../static/img/rebate.png" mode="widthFix" style="width: 25px;"></image>
<text>下单返积分</text>
</view>
<view class="width50 flright fotrt paddtright15 font15 colore95 alijun" style="align-items: center;"
v-if="Integrastu == 1">
<view class="width50 flright fotrt paddtright15 font15 colore95 alijun" style="align-items: center;">
{{rebateIntegral}}积分
</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">
{{rebateIntegral}}
</view>
</view> -->
</view>
<view class=" width100 backcorfff alijusstart paddbotm10" style="padding-left: 2%;">
<image src="../../../static/img/sigh.png" mode="widthFix" class="icon20"></image>
@ -307,7 +306,7 @@
imageUrl: app.globalData.imgUrl,
oilPirce: 0, //
user: '',
paytype: 'weixin',
paytype: '2',
PaymentPassword: '',
orderPrice: '', //
deductionPrice: '0.00', //
@ -526,7 +525,7 @@
if (item.discountType == 3) {
this.memDiscountId = items.id;
//
this.deductionPrice = this.orderPrice - (this.orderPrice * item.discountPrice);
this.deductionPrice = parseFloat(this.orderPrice - (this.orderPrice * item.discountPrice)).toFixed(2);
let oldprice = parseFloat(this.orderPrice * item.discountPrice).toFixed(2);
this.priceCaluc(oldprice);

@ -112,19 +112,19 @@
<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%;">
<image src="../../static/img/rebate.png" mode="widthFix" style="width: 25px;"></image>
<text>下单返积分</text>
</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;">
{{rebateIntegral}}积分
</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;">
{{rebateIntegral}}
</view>
</view> -->
</view>
<view class=" width100 backcorfff alijusstart paddbotm10" style="padding-left: 2%;">
<image src="../../static/img/sigh.png" mode="widthFix" class="icon20"></image>

@ -65,7 +65,7 @@
<view class="height120 backcorfff" v-if="item.type == 3">
<view class="height20 width100"></view>
<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">
<view class="width80p paddleft10 alijusstart">
<view class="stus"></view>
@ -626,8 +626,15 @@
this.currentSwiper = event.detail.current;
},
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({
url: '../../user/news/news'
url: '../../user/news/news?id=' + jumpid
})
},

@ -96,10 +96,11 @@
return a[value1];
}
},
onLoad() {
onLoad(options) {
// #ifdef H5
this.headerTop = '44px';
// #endif
this.newstypeid = options.id;
this.getDictionaryByCodeType();
},
// onShow() {
@ -114,8 +115,7 @@
getDictionaryByCodeType(datas).then(res => {
if (res.return_code == '000000') {
this.newsTyplist = res.return_data;
this.newstypeid = res.return_data[0].codeValue;
this.getMsgByList(res.return_data[0].codeValue);
this.getMsgByList(this.newstypeid);
}
})
},

@ -483,8 +483,13 @@
<!-- 再来一单 -->
<view class="height50 width100"></view>
<view class="bottomstu backcorfff width100 height50 alijusend">
<button open-type="contact" class="cusservice font12 fcor666">联系客服</button>
<view class="bottomstu backcorfff width100 height50 alijusend">
<!-- #ifdef MP-->
<button open-type="contact" class="cusservice font12 fcor666">联系客服</button>
<!-- #endif -->
<!-- #ifdef H5-->
<view class="cusservice font12 fcor666 alijus" @click="playPhone">联系客服</view>
<!-- #endif -->
<!-- <view class="buybtn font12 fcorfff">再来一单</view> -->
</view>
</view>
@ -733,6 +738,27 @@
}
}
});
},
//
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);
}
})
}
}
})
},
toPay(item) {
let payTypes;

@ -124,19 +124,19 @@
</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%;">
<image src="../../static/img/rebate.png" mode="widthFix" style="width: 25px;"></image>
<text>下单返积分</text>
</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;">
{{rebateIntegral}}积分
</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;">
{{rebateIntegral}}
</view>
</view> -->
</view>
<view class=" width100 backcorfff alijusstart paddbotm10" style="padding-left: 2%;">
<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 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}} -->
@ -187,8 +187,13 @@
<!-- 再来一单 -->
<view class="height50 width100"></view>
<view class="bottomstu backcorfff width100 height50 alijusend" v-if="orderList.orderStatus == 3 || orderList.orderStatus == 1">
<button open-type="contact" class="cusservice font12 fcor666" v-if="orderList.orderStatus == 3">联系客服</button>
<view class="bottomstu backcorfff width100 height50 alijusend" v-if="orderList.orderStatus == 3 || orderList.orderStatus == 1">
<!-- #ifdef MP-->
<button open-type="contact" class="cusservice font12 fcor666" v-if="orderList.orderStatus == 3">联系客服</button>
<!-- #endif -->
<!-- #ifdef H5-->
<view class="cusservice font12 fcor666 alijus" v-if="orderList.orderStatus == 3" @click="playPhone">联系客服</view>
<!-- #endif -->
<view class="buybtn font12 fcorfff" v-if="orderList.orderStatus == 1" @click="thirdCancelOrder">取消订单</view>
</view>
@ -370,6 +375,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() {

@ -82,19 +82,19 @@
</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%;">
<image src="../../static/img/rebate.png" mode="widthFix" style="width: 25px;"></image>
<text>下单返积分</text>
</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;">
{{rebateIntegral}}积分
</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;">
{{rebateIntegral}}
</view>
</view> -->
</view>
<view class=" width100 backcorfff alijusstart paddbotm10" style="padding-left: 2%;">
<image src="../../static/img/sigh.png" mode="widthFix" class="icon20"></image>

Loading…
Cancel
Save