diff --git a/member-Recharge/rec-confirmation/rec-confirmation.vue b/member-Recharge/rec-confirmation/rec-confirmation.vue
index 351ce5e..3b3025d 100644
--- a/member-Recharge/rec-confirmation/rec-confirmation.vue
+++ b/member-Recharge/rec-confirmation/rec-confirmation.vue
@@ -74,19 +74,19 @@
-
+
下单返积分
-
返{{rebateIntegral}}积分
-
{{rebateIntegral}}
-
+ -->
diff --git a/pages/goods/refuel-confirm/refuel-confirm.vue b/pages/goods/refuel-confirm/refuel-confirm.vue
index 9f7f961..294dd37 100644
--- a/pages/goods/refuel-confirm/refuel-confirm.vue
+++ b/pages/goods/refuel-confirm/refuel-confirm.vue
@@ -129,19 +129,18 @@
-
+
下单返积分
-
+
返{{rebateIntegral}}积分
-
{{rebateIntegral}}
-
+ -->
@@ -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);
diff --git a/pages/order/confirmation.vue b/pages/order/confirmation.vue
index a82e690..5165257 100644
--- a/pages/order/confirmation.vue
+++ b/pages/order/confirmation.vue
@@ -112,19 +112,19 @@
-
+
下单返积分
-
返{{rebateIntegral}}积分
-
{{rebateIntegral}}
-
+ -->
diff --git a/pages/tabBar/home/home.vue b/pages/tabBar/home/home.vue
index e0334b0..67f35d3 100644
--- a/pages/tabBar/home/home.vue
+++ b/pages/tabBar/home/home.vue
@@ -65,7 +65,7 @@
-
@@ -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
})
},
diff --git a/pages/user/news/news.vue b/pages/user/news/news.vue
index 40e6dd3..866acc6 100644
--- a/pages/user/news/news.vue
+++ b/pages/user/news/news.vue
@@ -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);
}
})
},
diff --git a/pages/user/order_details/order_details.vue b/pages/user/order_details/order_details.vue
index c0fd2eb..6311629 100644
--- a/pages/user/order_details/order_details.vue
+++ b/pages/user/order_details/order_details.vue
@@ -483,8 +483,13 @@
-
-
+
+
+
+
+
+ 联系客服
+
@@ -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;
diff --git a/qianzhu-KFC/confirmOrder/confirmOrder.vue b/qianzhu-KFC/confirmOrder/confirmOrder.vue
index faa1581..b34a1b8 100644
--- a/qianzhu-KFC/confirmOrder/confirmOrder.vue
+++ b/qianzhu-KFC/confirmOrder/confirmOrder.vue
@@ -124,19 +124,19 @@
-
+
下单返积分
-
返{{rebateIntegral}}积分
-
{{rebateIntegral}}
-
+ -->
diff --git a/qianzhu-KFC/order-details/order-details.vue b/qianzhu-KFC/order-details/order-details.vue
index bf092dd..cfdd51b 100644
--- a/qianzhu-KFC/order-details/order-details.vue
+++ b/qianzhu-KFC/order-details/order-details.vue
@@ -61,7 +61,7 @@
{{item.code}}
+ v-for="(item,index) in recinfo.object.orderItems" :key='index'>取餐口令:{{item.code}}
@@ -187,8 +187,13 @@
-
-
+
+
+
+
+
+ 联系客服
+
取消订单
@@ -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() {
diff --git a/subPages/unionComfirmation/unionComfirmation.vue b/subPages/unionComfirmation/unionComfirmation.vue
index 689d48d..2f21101 100644
--- a/subPages/unionComfirmation/unionComfirmation.vue
+++ b/subPages/unionComfirmation/unionComfirmation.vue
@@ -82,19 +82,19 @@
-
+
下单返积分
-
返{{rebateIntegral}}积分
-
{{rebateIntegral}}
-
+ -->