From af4cfe7fba48931bf31d46c6ec2ed0c52cf57c8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A6=E4=B9=A0=E5=BE=88=E5=B7=AE=E5=95=A6?= <17633066053@163.com> Date: Mon, 10 Apr 2023 11:18:09 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20:bug:=20=E6=96=B0=E5=A2=9E=E5=A4=87?= =?UTF-8?q?=E7=94=A8=E7=99=BB=E5=BD=95=E6=96=B9=E6=A1=88=E3=80=81=E5=B9=B6?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=BA=97=E9=93=BA=E5=90=8D=E7=A7=B0=E8=BF=87?= =?UTF-8?q?=E9=95=BF=E5=AF=BC=E8=87=B4=E6=98=BE=E7=A4=BA=E9=94=99=E4=B9=B1?= =?UTF-8?q?=E7=9A=84=E6=A0=B7=E5=BC=8F=E9=97=AE=E9=A2=98=E3=80=81=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E8=87=AA=E5=8A=A8=E5=8F=91=E5=88=B8=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/config.js | 3 +- pages/order/myOrder.vue | 8 +- pages/order/orderDetail.vue | 14 + pages/passport/wechatMPLogin.vue | 556 +++++++++++--------- pages/tabbar/cart/cartList.vue | 6 +- pages/tabbar/home/template/fetch_coupon.vue | 4 +- 6 files changed, 336 insertions(+), 255 deletions(-) diff --git a/config/config.js b/config/config.js index 67edeb8..5ac1e8e 100644 --- a/config/config.js +++ b/config/config.js @@ -22,5 +22,6 @@ export default { mainColor: "#ff3c2a", // 主题色 lightColor: "#ff6b35", // 高亮主题色 aiderLightColor: "#ff9f28", // 辅助高亮颜色 - defaultUserPhoto:"/static/missing-face.png" // 默认用户头像 + defaultUserPhoto: "/static/missing-face.png", // 默认用户头像 + enableFetchMobileLogin: true // 是否启用获取手机号登录 如果微信小程序提示封禁手机号获取权限 可将此选项设置成false作为备用登录方案 }; diff --git a/pages/order/myOrder.vue b/pages/order/myOrder.vue index a22bb10..5f6c2fc 100644 --- a/pages/order/myOrder.vue +++ b/pages/order/myOrder.vue @@ -40,8 +40,8 @@ > - - {{ order.storeName }} + + {{ order.storeName }} {{ order.orderStatus | orderStatusList @@ -689,6 +689,7 @@ page, padding: 0 20rpx; .seller-name { + flex:10; font-size: 28rpx; font-weight: 600; display: flex; @@ -701,6 +702,9 @@ page, } .order-sn { + flex:2; + width:120rpx; + text-align: center; color: $aider-light-color; font-size: 26rpx; } diff --git a/pages/order/orderDetail.vue b/pages/order/orderDetail.vue index 4d242b0..93a3d77 100644 --- a/pages/order/orderDetail.vue +++ b/pages/order/orderDetail.vue @@ -156,6 +156,12 @@ order.createTime }} + + 订单备注: + {{ + order.remark + }} + 支付状态: @@ -753,4 +759,12 @@ page, .address-line-height{ line-height: 1.75; } +.seller-name{ + >.name{ + flex:10 !important; + } + >.status{ + flex:2; + } +} diff --git a/pages/passport/wechatMPLogin.vue b/pages/passport/wechatMPLogin.vue index b58c991..22dd788 100644 --- a/pages/passport/wechatMPLogin.vue +++ b/pages/passport/wechatMPLogin.vue @@ -1,277 +1,337 @@ diff --git a/pages/tabbar/cart/cartList.vue b/pages/tabbar/cart/cartList.vue index 2f98c3c..c631e78 100644 --- a/pages/tabbar/cart/cartList.vue +++ b/pages/tabbar/cart/cartList.vue @@ -26,7 +26,7 @@ @change="checkboxChangeDP(item)"> - {{ + {{ item.storeName }} @@ -740,6 +740,7 @@ page { display: flex; // #endif overflow: hidden; + flex:10; } .goods-config { @@ -758,6 +759,9 @@ page { } .right-col { + flex:2; + text-align: center; + width: 100rpx; color: $light-color; font-size: 26rpx; diff --git a/pages/tabbar/home/template/fetch_coupon.vue b/pages/tabbar/home/template/fetch_coupon.vue index fe3d543..15cc5a8 100644 --- a/pages/tabbar/home/template/fetch_coupon.vue +++ b/pages/tabbar/home/template/fetch_coupon.vue @@ -100,13 +100,11 @@ export default { }, methods: { firstGetAuto() { + if(!this.$options.filters.isLogin('auth')) return false let data = new Date(); let now = data.getDate(); let hours = data.getHours(); let flagCoup = storage.getAutoCp(); - console.log(flagCoup); - console.log(now); - if ( storage.getAutoCp() && storage.getAutoCp() != "" &&