diff --git a/high-unionPay/member-Recharge/rec-confirmation/rec-confirmation.vue b/high-unionPay/member-Recharge/rec-confirmation/rec-confirmation.vue index 0a7eb3c..7bd650a 100644 --- a/high-unionPay/member-Recharge/rec-confirmation/rec-confirmation.vue +++ b/high-unionPay/member-Recharge/rec-confirmation/rec-confirmation.vue @@ -74,19 +74,19 @@ - + 下单返积分 - 返{{rebateIntegral}}积分 - {{rebateIntegral}} - + --> diff --git a/high-unionPay/pages/goods/refuel-confirm/refuel-confirm.vue b/high-unionPay/pages/goods/refuel-confirm/refuel-confirm.vue index ae49f9b..bb4915b 100644 --- a/high-unionPay/pages/goods/refuel-confirm/refuel-confirm.vue +++ b/high-unionPay/pages/goods/refuel-confirm/refuel-confirm.vue @@ -130,19 +130,18 @@ - + 下单返积分 - + 返{{rebateIntegral}}积分 - {{rebateIntegral}} - + --> diff --git a/high-unionPay/pages/order/confirmation.vue b/high-unionPay/pages/order/confirmation.vue index 9c91801..b28e56d 100644 --- a/high-unionPay/pages/order/confirmation.vue +++ b/high-unionPay/pages/order/confirmation.vue @@ -111,19 +111,19 @@ - + 下单返积分 - 返{{rebateIntegral}}积分 - {{rebateIntegral}} - + --> diff --git a/high-unionPay/pages/tabBar/home/home.vue b/high-unionPay/pages/tabBar/home/home.vue index 385cabc..01dbcf2 100644 --- a/high-unionPay/pages/tabBar/home/home.vue +++ b/high-unionPay/pages/tabBar/home/home.vue @@ -38,7 +38,7 @@ - @@ -244,8 +244,15 @@ }) }, test(item) { - uni.navigateTo({ - url: '../../user/news/news' + 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?id=' + jumpid }) }, //定位信息 diff --git a/high-unionPay/pages/unionPay/unionComfirmation/unionComfirmation.vue b/high-unionPay/pages/unionPay/unionComfirmation/unionComfirmation.vue index 3ba845e..55f7bc6 100644 --- a/high-unionPay/pages/unionPay/unionComfirmation/unionComfirmation.vue +++ b/high-unionPay/pages/unionPay/unionComfirmation/unionComfirmation.vue @@ -84,19 +84,19 @@ - + 下单返积分 - 返{{rebateIntegral}}积分 - {{rebateIntegral}} - + --> diff --git a/high-unionPay/pages/user/news/news.vue b/high-unionPay/pages/user/news/news.vue index 9bc054b..059b85c 100644 --- a/high-unionPay/pages/user/news/news.vue +++ b/high-unionPay/pages/user/news/news.vue @@ -96,7 +96,8 @@ return a[value1]; } }, - onLoad() { + onLoad(options) { + this.newstypeid = options.id; this.getDictionaryByCodeType(); }, // onShow() { @@ -111,8 +112,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/high-unionPay/pages/user/order_details/order_details.vue b/high-unionPay/pages/user/order_details/order_details.vue index 50c6469..5d919fd 100644 --- a/high-unionPay/pages/user/order_details/order_details.vue +++ b/high-unionPay/pages/user/order_details/order_details.vue @@ -485,7 +485,7 @@ - + 联系客服 @@ -756,7 +756,28 @@ '&amount=' + this.recinfo .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); + + } + }) + } + } + }) + } } } diff --git a/high-unionPay/qianzhu-KFC/confirmOrder/confirmOrder.vue b/high-unionPay/qianzhu-KFC/confirmOrder/confirmOrder.vue index 3502cd8..6897920 100644 --- a/high-unionPay/qianzhu-KFC/confirmOrder/confirmOrder.vue +++ b/high-unionPay/qianzhu-KFC/confirmOrder/confirmOrder.vue @@ -124,19 +124,19 @@ - + 下单返积分 - 返{{rebateIntegral}}积分 - {{rebateIntegral}} - + --> diff --git a/high-unionPay/qianzhu-KFC/order-details/order-details.vue b/high-unionPay/qianzhu-KFC/order-details/order-details.vue index 9f752aa..2973f5c 100644 --- a/high-unionPay/qianzhu-KFC/order-details/order-details.vue +++ b/high-unionPay/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}} @@ -190,8 +190,8 @@ - - + 联系客服 + 取消订单 @@ -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() {