From d1e5f465ee24a8b9760f7ad51bbb4a3670962053 Mon Sep 17 00:00:00 2001 From: mactj Date: Fri, 22 Jan 2021 19:47:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=B4=E9=83=A8=E5=8A=A8=E6=80=81=E6=A0=B9?= =?UTF-8?q?=E6=8D=AE=E6=89=8B=E6=9C=BA=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mini-app/src/components/order/dialog-refund.wpy | 4 ++-- mini-app/src/pages/mall/goods/goods-detail.wpy | 5 +++-- mini-app/src/pages/mall/index.wpy | 6 ++++++ mini-app/src/pages/mall/order/order-check.wpy | 9 ++++++--- mini-app/src/pages/mall/order/order-detail-list.wpy | 5 +++-- mini-app/src/pages/mall/order/order-list.wpy | 5 +++-- .../src/pages/mall/shopping-car/shopping-car-list.wpy | 5 +++-- mini-app/src/pages/mall/user/user-address-list.wpy | 5 +++-- mini-app/src/pages/mall/user/user-address.wpy | 5 +++-- mini-app/src/pages/news/news-detail.wpy | 7 +++++-- mini-app/src/pages/winery/winery-detail.wpy | 5 +++-- mini-app/src/pages/winery/winery-list.wpy | 7 ++++--- mini-app/src/store/index.js | 3 ++- 13 files changed, 46 insertions(+), 25 deletions(-) diff --git a/mini-app/src/components/order/dialog-refund.wpy b/mini-app/src/components/order/dialog-refund.wpy index e71f19dbe..339779b05 100644 --- a/mini-app/src/components/order/dialog-refund.wpy +++ b/mini-app/src/components/order/dialog-refund.wpy @@ -71,7 +71,7 @@ module.exports.parseImage = parseImage;
- 其他 + 其他
- + -
+
@@ -124,7 +124,8 @@ wepy.page({ ...mapState({ 'order': state => state.order, - 'shoppingCar': state => state.shoppingCar + 'shoppingCar': state => state.shoppingCar, + 'statusBarHeight': state => state.statusBarHeight }), goodsImages() { if (!this.goodsItem || !this.goodsItem.goodsImg) { diff --git a/mini-app/src/pages/mall/index.wpy b/mini-app/src/pages/mall/index.wpy index ae7a2a457..c0292dff8 100644 --- a/mini-app/src/pages/mall/index.wpy +++ b/mini-app/src/pages/mall/index.wpy @@ -168,6 +168,12 @@ wepy.page({ }, ready() { + wx.getSystemInfo({ + success (res) { + store.state.statusBarHeight = res.statusBarHeight + } + }) + this.init() // eventHub.$emit('onShowDialogRegist') // appManager.login() diff --git a/mini-app/src/pages/mall/order/order-check.wpy b/mini-app/src/pages/mall/order/order-check.wpy index 00611571b..f8152925f 100644 --- a/mini-app/src/pages/mall/order/order-check.wpy +++ b/mini-app/src/pages/mall/order/order-check.wpy @@ -35,14 +35,16 @@ module.exports.parseImage = parseImage; -
+
点击添加
-
+
@@ -134,7 +136,8 @@ wepy.page({ 'user': state => state.user, 'navDefine': state => state.navDefine, 'userAddress': state => state.userAddress, - 'order': state => state.order + 'order': state => state.order, + 'statusBarHeight': state => state.statusBarHeight }), totalPrice() { let result = 0.0 diff --git a/mini-app/src/pages/mall/order/order-detail-list.wpy b/mini-app/src/pages/mall/order/order-detail-list.wpy index 843337a79..c33fde377 100644 --- a/mini-app/src/pages/mall/order/order-detail-list.wpy +++ b/mini-app/src/pages/mall/order/order-detail-list.wpy @@ -14,7 +14,7 @@ module.exports.parseImage = parseImage; -
+
@@ -61,7 +61,8 @@ wepy.page({ 'imageDefine': state => state.imageDefine, 'user': state => state.user, 'navDefine': state => state.navDefine, - 'userAddress': state => state.userAddress + 'userAddress': state => state.userAddress, + 'statusBarHeight': state => state.statusBarHeight }) }, diff --git a/mini-app/src/pages/mall/order/order-list.wpy b/mini-app/src/pages/mall/order/order-list.wpy index 8c1315d36..95404ee81 100644 --- a/mini-app/src/pages/mall/order/order-list.wpy +++ b/mini-app/src/pages/mall/order/order-list.wpy @@ -14,7 +14,7 @@ module.exports.parseImage = parseImage; -
+
@@ -69,7 +69,8 @@ wepy.page({ 'imageDefine': state => state.imageDefine, 'user': state => state.user, 'navDefine': state => state.navDefine, - 'userAddress': state => state.userAddress + 'userAddress': state => state.userAddress, + 'statusBarHeight': state => state.statusBarHeight }) }, diff --git a/mini-app/src/pages/mall/shopping-car/shopping-car-list.wpy b/mini-app/src/pages/mall/shopping-car/shopping-car-list.wpy index 67eb1581f..fb8179159 100644 --- a/mini-app/src/pages/mall/shopping-car/shopping-car-list.wpy +++ b/mini-app/src/pages/mall/shopping-car/shopping-car-list.wpy @@ -14,7 +14,7 @@ module.exports.parseImage = parseImage; -
+
@@ -104,7 +104,8 @@ wepy.page({ 'user': state => state.user, 'navDefine': state => state.navDefine, 'userAddress': state => state.userAddress, - 'shoppingCar': state => state.shoppingCar + 'shoppingCar': state => state.shoppingCar, + 'statusBarHeight': state => state.statusBarHeight }), totalPrice() { diff --git a/mini-app/src/pages/mall/user/user-address-list.wpy b/mini-app/src/pages/mall/user/user-address-list.wpy index e4f00de5c..f82599fad 100644 --- a/mini-app/src/pages/mall/user/user-address-list.wpy +++ b/mini-app/src/pages/mall/user/user-address-list.wpy @@ -35,7 +35,7 @@ -
+
@@ -121,7 +121,8 @@ wepy.page({ 'imageDefine': state => state.imageDefine, 'user': state => state.user, 'navDefine': state => state.navDefine, - 'userAddress': state => state.userAddress + 'userAddress': state => state.userAddress, + 'statusBarHeight': state => state.statusBarHeight }) }, diff --git a/mini-app/src/pages/mall/user/user-address.wpy b/mini-app/src/pages/mall/user/user-address.wpy index dd0a27b56..8fc034185 100644 --- a/mini-app/src/pages/mall/user/user-address.wpy +++ b/mini-app/src/pages/mall/user/user-address.wpy @@ -48,7 +48,7 @@ input {