From dcb5f9c2a3c9da4be11f3803b248a307f1e5b1cd Mon Sep 17 00:00:00 2001 From: fox <1466778434@qq.com> Date: Sat, 22 Mar 2025 10:41:18 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=B8=AA=E4=BA=BA=E4=B8=AD=E5=BF=83?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components => components/base}/cardTitle.vue | 2 +- pages/index/center.vue | 214 ++++++++++++++++----- pages_order/mine/verifyRecord.vue | 25 +++ pages_order/product/productDetail.vue | 11 +- static/image/center/bg-scan.png | Bin 0 -> 12658 bytes static/image/center/bg-verify.png | Bin 0 -> 8819 bytes static/image/center/icon-arrow.png | Bin 0 -> 540 bytes static/image/center/icon-cooperation.png | Bin 0 -> 3716 bytes static/image/center/icon-coupon.png | Bin 0 -> 3216 bytes static/image/center/icon-invite.png | Bin 0 -> 2499 bytes static/image/center/icon-member-center.png | Bin 0 -> 2438 bytes static/image/center/icon-service.png | Bin 0 -> 3813 bytes static/image/center/icon-sign-in.png | Bin 0 -> 1782 bytes static/image/center/icon-team.png | Bin 0 -> 2985 bytes static/image/center/icon-voucher.png | Bin 0 -> 2563 bytes 15 files changed, 202 insertions(+), 50 deletions(-) rename {pages_order/components => components/base}/cardTitle.vue (93%) create mode 100644 pages_order/mine/verifyRecord.vue create mode 100644 static/image/center/bg-scan.png create mode 100644 static/image/center/bg-verify.png create mode 100644 static/image/center/icon-arrow.png create mode 100644 static/image/center/icon-cooperation.png create mode 100644 static/image/center/icon-coupon.png create mode 100644 static/image/center/icon-invite.png create mode 100644 static/image/center/icon-member-center.png create mode 100644 static/image/center/icon-service.png create mode 100644 static/image/center/icon-sign-in.png create mode 100644 static/image/center/icon-team.png create mode 100644 static/image/center/icon-voucher.png diff --git a/pages_order/components/cardTitle.vue b/components/base/cardTitle.vue similarity index 93% rename from pages_order/components/cardTitle.vue rename to components/base/cardTitle.vue index 03d85a6..1b83c88 100644 --- a/pages_order/components/cardTitle.vue +++ b/components/base/cardTitle.vue @@ -24,13 +24,13 @@ .underline { margin-top: 26rpx; - margin-left: 30rpx; width: 146rpx; height: 8rpx; border-radius: 4rpx; background-image: linear-gradient(to right, #84A73F, #D8FF8F); } .title { + transform: translateX(-10rpx); color: #000000; font-size: 28rpx; font-weight: 700; diff --git a/pages/index/center.vue b/pages/index/center.vue index 2d12a5b..2ffcbd3 100644 --- a/pages/index/center.vue +++ b/pages/index/center.vue @@ -63,6 +63,7 @@ + {{ riceInfo.balance || 0 }}元 @@ -83,30 +84,76 @@ 优惠券 - - - - - - - - - 我的佣金 - ¥{{ riceInfo.canWithdraw || 0 }} - + + + 常用功能 + + + + + 会员中心 + + + + + 我的团队 + + + + + 邀请好友 + + + + + 优惠券 + + + + + 代金券 + + + + + 联系客服 + + + + + 每日签到 + + + + 商家合作 + + + + + + + 商家功能 + + + + - - + + 核销明细 + + + - - 我的余额 - ¥{{ riceInfo.balance || 0 }} - + + + + + + @@ -119,18 +166,10 @@ 我的订单 - - - 我的团队 - 联系客服 - - - 邀请好友 - @@ -138,14 +177,6 @@ 合伙人招募 - - - 会员权益 - - - - 优惠券 - 帮助与反馈 @@ -196,6 +227,7 @@ @@ -601,4 +637,88 @@ margin-left: 2rpx; } } + + .fun { + + &-header { + text-align: left; + padding-left: 12rpx; + margin-bottom: 19rpx; + + /deep/ .title__view { + display: inline-flex; + } + } + + &-content { + margin-top: 24rpx; + } + + &-common { + padding: 30rpx 40rpx 67rpx 40rpx; + + &-content { + display: grid; + grid-template-columns: repeat(4, 1fr); + grid-column-gap: 71rpx; + grid-row-gap: 81rpx; + } + + &-icon { + width: 66rpx; + height: auto; + } + + &-label { + color: #000000; + font-size: 28rpx; + margin-top: 5rpx; + } + } + + &-merchant { + padding: 33rpx 30rpx 28rpx 30rpx; + margin-bottom: 10rpx; + + &-content { + justify-content: space-between; + } + + .left { + width: 198rpx; + height: 139rpx; + position: relative; + + &-bg { + width: 100%; + height: 100%; + } + + &-content { + position: absolute; + top: 13rpx; + left: 14rpx; + + color: $uni-text-color-inverse; + font-size: 28rpx; + } + + &-icon { + width: 23rpx; + height: auto; + margin-left: 9rpx; + } + } + + .right { + width: 429rpx; + height: 164rpx; + margin-top: -25rpx; + &-bg { + width: 100%; + height: 100%; + } + } + } + } \ No newline at end of file diff --git a/pages_order/mine/verifyRecord.vue b/pages_order/mine/verifyRecord.vue new file mode 100644 index 0000000..e82e1f9 --- /dev/null +++ b/pages_order/mine/verifyRecord.vue @@ -0,0 +1,25 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/pages_order/product/productDetail.vue b/pages_order/product/productDetail.vue index b27426c..2945c26 100644 --- a/pages_order/product/productDetail.vue +++ b/pages_order/product/productDetail.vue @@ -42,8 +42,11 @@ - 商品详情 + + 商品详情 + + @@ -66,7 +69,7 @@