From 23e2d857ae71a703382d73298bd2d5a293ab54f3 Mon Sep 17 00:00:00 2001 From: Enzo <1284707383@qq.com> Date: Fri, 30 Jul 2021 14:33:01 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E6=8E=A5=E5=8F=A3=E4=BC=98?= =?UTF-8?q?=E5=8C=96=20=E6=A0=B8=E9=94=80=E6=8E=A5=E5=8F=A3=20=E6=94=AF?= =?UTF-8?q?=E4=BB=98=E6=8E=A5=E5=8F=A3=E5=AF=B9=E6=8E=A5=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=20=20=E9=83=A8=E5=88=86=E7=BB=86=E8=8A=82=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E7=AD=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/api.js | 2 +- common/http.js | 2 +- manifest.json | 2 +- pages/channel/index.vue | 19 ++++++++-- pages/discover/discover.vue | 8 ++++- pages/order/confirm_order.vue | 63 +++++++++++++++++++++++++++++----- pages/order/order.vue | 4 +-- pages/order/order_details.vue | 9 ++--- pages/order/refund_detail.vue | 3 +- pages/order/unpay_details.vue | 4 +-- pages/recommList/index.vue | 1 + pages/user/user.vue | 24 ++++++++----- static/center/scan.png | Bin 0 -> 1124 bytes 13 files changed, 109 insertions(+), 32 deletions(-) create mode 100644 static/center/scan.png diff --git a/common/api.js b/common/api.js index 256be39..512357b 100644 --- a/common/api.js +++ b/common/api.js @@ -35,7 +35,7 @@ export const API_CONFIRMDETAILS = '/api/order/price'; //确认购买商品详情 export const API_CREATEORDER = '/api/order/create'; //创建订单并支付 -export const API_ORDERPAY = '/api/order/pay'; //订单页面支付 +export const API_ORDERPAY = '/api/order/pay'; //订单立即支付 diff --git a/common/http.js b/common/http.js index 9fef4e1..5bc9f0e 100644 --- a/common/http.js +++ b/common/http.js @@ -90,7 +90,7 @@ function $http(url, data = {}, options = {}){ } //商户id - options.appid = 'wx0e8ebcd9ca9e4b97' + options.appid = 'wxb35ef055a4dd8ad4' let user_info = uni.getStorageSync('userinfo') let user_token = user_info.token diff --git a/manifest.json b/manifest.json index 603e5b4..744dbf3 100644 --- a/manifest.json +++ b/manifest.json @@ -50,7 +50,7 @@ "quickapp" : {}, /* 小程序特有相关 */ "mp-weixin" : { - "appid" : "wx0e8ebcd9ca9e4b97", + "appid" : "wxb35ef055a4dd8ad4", "setting" : { "urlCheck" : false, "es6" : false, diff --git a/pages/channel/index.vue b/pages/channel/index.vue index 72e1bce..6b99363 100644 --- a/pages/channel/index.vue +++ b/pages/channel/index.vue @@ -19,7 +19,7 @@ {{item.name}} - {{ item2.name }} @@ -155,6 +155,21 @@ } .select-item{ + width: max-content; + padding: 0 40rpx 0 20rpx; + height: 82rpx; + border: 1rpx solid #999999; + font-size: 28rpx; + color: #333333; + text-align: center; + line-height: 82rpx; + background-color: #FFFFFF; + margin-right: -2rpx; + margin-top: -2rpx; + box-sizing: border-box; + } + + .select-item1{ width: max-content; padding: 0 20rpx; height: 82rpx; @@ -183,7 +198,7 @@ // padding: 0 10rpx; .remove-icon{ position: absolute; - right: 8rpx; + right: 22rpx; top: 0; color: #FF0000; font-size: 24rpx; diff --git a/pages/discover/discover.vue b/pages/discover/discover.vue index 9e8126d..47b5d69 100644 --- a/pages/discover/discover.vue +++ b/pages/discover/discover.vue @@ -1,6 +1,6 @@