From df5dddb424b1e9b7444061b5ebeab742484da07d Mon Sep 17 00:00:00 2001 From: 77 <270260644@qq.com> Date: Fri, 25 Oct 2024 18:00:36 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E8=AF=A6=E6=83=85=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E4=BC=98=E5=8C=96=E3=80=82=E5=88=86=E7=B1=BB=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E4=BC=98=E5=8C=96=E3=80=82=E8=AE=A2=E5=8D=95=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E4=B8=8B=E5=8D=95=E6=88=90=E5=8A=9F=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/goods/comment/add.vue | 3 +- pages/index/category.vue | 26 +- pages/order/detail.vue | 1194 ++++++++++++++++++----------------- pages/pay/result.vue | 524 +++++++-------- pages/user/wallet/score.vue | 29 +- 5 files changed, 917 insertions(+), 859 deletions(-) diff --git a/pages/goods/comment/add.vue b/pages/goods/comment/add.vue index c57b043..0de2b69 100644 --- a/pages/goods/comment/add.vue +++ b/pages/goods/comment/add.vue @@ -80,7 +80,8 @@ await OrderApi.createOrderItemComment(comment); } // 都评论好,返回 - sheep.$router.back(); + // sheep.$router.back(); + sheep.$router.redirect('/pages/order/list'); } onLoad(async (options) => { diff --git a/pages/index/category.vue b/pages/index/category.vue index 6d76912..03ff459 100644 --- a/pages/index/category.vue +++ b/pages/index/category.vue @@ -150,7 +150,7 @@ .side-menu-wrap { width: 200rpx; height: 100%; - padding-left: 12rpx; + // padding-left: 12rpx; background-color: #f6f6f6; .menu-item { @@ -161,7 +161,7 @@ .menu-title { line-height: 32rpx; - font-size: 30rpx; + font-size: 23rpx; font-weight: 400; color: #333; margin-left: 28rpx; @@ -187,16 +187,16 @@ &.menu-item-active { background-color: #fff; - border-radius: 20rpx 0 0 20rpx; - + // border-radius: 20rpx 0 0 20rpx; &::before { content: ''; position: absolute; - right: 0; - bottom: -20rpx; - width: 20rpx; - height: 20rpx; - background: radial-gradient(circle at 0 100%, transparent 20rpx, #fff 0); + left: 0; + bottom: 0; + width: 2px; + height: 100%; + // background: radial-gradient(circle at 0 100%, transparent 20rpx, #fff 0); + background: rgba(236,72,29); } &::after { @@ -211,10 +211,10 @@ .menu-title { font-weight: 600; - - &::before { - left: 0; - } + color:rgba(236,72,29); + // &::before { + // left: 0; + // } } } } diff --git a/pages/order/detail.vue b/pages/order/detail.vue index 167aaca..de63bd9 100644 --- a/pages/order/detail.vue +++ b/pages/order/detail.vue @@ -1,656 +1,694 @@ + .cancel-btn { + width: 160rpx; + height: 60rpx; + background: #eeeeee; + border-radius: 30rpx; + margin-right: 20rpx; + font-size: 26rpx; + font-weight: 400; + color: #333333; + } + + .pay-btn { + width: 160rpx; + height: 60rpx; + font-size: 26rpx; + border-radius: 30rpx; + font-weight: 500; + color: #fff; + } + } + \ No newline at end of file diff --git a/pages/pay/result.vue b/pages/pay/result.vue index 8294371..5af8634 100644 --- a/pages/pay/result.vue +++ b/pages/pay/result.vue @@ -1,287 +1,287 @@ + + diff --git a/pages/user/wallet/score.vue b/pages/user/wallet/score.vue index 238b28a..ab57df8 100644 --- a/pages/user/wallet/score.vue +++ b/pages/user/wallet/score.vue @@ -33,12 +33,12 @@ - 1000 - 累计积分(带对接接口) + {{state.pointData.addUp}} + 累计积分 - 1000 - 累计消费(带对接接口) + {{state.pointData.reduce}} + 累计消费 0 @@ -115,6 +115,11 @@