diff --git a/pages.json b/pages.json index 2e2af72..d29b0cc 100644 --- a/pages.json +++ b/pages.json @@ -1,33 +1,33 @@ { "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages - { - "path": "pages/tabBar/home/home", - "style": { - "navigationBarTextStyle": "white", - "navigationBarTitleText": "首页", - "navigationBarBackgroundColor": "#0083f5", - "backgroundColorTop": "#0083f5", - "onReachBottomDistance": 50, - "app-plus": { - "titleNView": false, //禁用原生导航栏 - "softinputNavBar": "none", - "subNVues": [{ - "id": "homeTitleNvue", // 唯一标识 - "path": "pages/tabBar/home/subNvue/homeTitleNvue", // 页面路径 - "type": "navigationBar" - }] - } - } - }, { - "path": "pages/qianZhuPay/union-pay/union-pay", - "style": { - "navigationBarTextStyle": "white", - "navigationBarTitleText": "选择方式", - "navigationBarBackgroundColor": "#0083f5", - "backgroundColorTop": "#0083f5", - "enablePullDownRefresh": false - } - + { + "path": "pages/tabBar/home/home", + "style": { + "navigationBarTextStyle": "white", + "navigationBarTitleText": "首页", + "navigationBarBackgroundColor": "#0083f5", + "backgroundColorTop": "#0083f5", + "onReachBottomDistance": 50, + "app-plus": { + "titleNView": false, //禁用原生导航栏 + "softinputNavBar": "none", + "subNVues": [{ + "id": "homeTitleNvue", // 唯一标识 + "path": "pages/tabBar/home/subNvue/homeTitleNvue", // 页面路径 + "type": "navigationBar" + }] + } + } + },{ + "path": "pages/qianZhuPay/union-pay/union-pay", + "style": { + "navigationBarTextStyle": "white", + "navigationBarTitleText": "选择方式", + "navigationBarBackgroundColor": "#0083f5", + "backgroundColorTop": "#0083f5", + "enablePullDownRefresh": false + } + }, { "path": "pages/user/bindingCardList/bindingCardList", "style": { diff --git a/pages/order/confirmation.vue b/pages/order/confirmation.vue index f418e69..8bf7691 100644 --- a/pages/order/confirmation.vue +++ b/pages/order/confirmation.vue @@ -322,11 +322,11 @@ if (item.highDiscount.discountType == 1) { //满减价格 this.deductionPrice = item.highDiscount.discountPrice; - this.paytheprice = this.couponList.salesPrice - this.deductionPrice; + this.paytheprice = parseFloat(this.couponList.salesPrice - this.deductionPrice).toFixed(2); } else if (item.highDiscount.discountType == 2) { //抵扣价格 this.deductionPrice = item.highDiscount.discountPrice; - this.paytheprice = this.couponList.salesPrice - this.deductionPrice; + this.paytheprice = parseFloat(this.couponList.salesPrice - this.deductionPrice).toFixed(2); } else if (item.highDiscount.discountType == 3) { // 打折 this.deductionPrice = parseFloat(this.couponList.salesPrice - (this.couponList.salesPrice * diff --git a/pages/user/mineCouponsDestails/mineCouponsDestails.vue b/pages/user/mineCouponsDestails/mineCouponsDestails.vue index 5b08f62..6a82452 100644 --- a/pages/user/mineCouponsDestails/mineCouponsDestails.vue +++ b/pages/user/mineCouponsDestails/mineCouponsDestails.vue @@ -1,200 +1,224 @@ - - - - -