From 83332b2d4ee865582f999f206c6cde664b29c847 Mon Sep 17 00:00:00 2001 From: chenhao Date: Sat, 13 Jun 2026 14:41:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=A7=AF=E5=88=86=E8=BD=AC?= =?UTF-8?q?=E4=BD=99=E9=A2=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.js | 1 - src/styles/ch.less | 11 +- src/styles/public.less | 32 +++- src/views/Merchant/MerchantTradeDetail.vue | 4 +- src/views/User/Wallet/Point.vue | 5 + src/views/User/Wallet/Transfer.vue | 181 +++++++++++++-------- 6 files changed, 152 insertions(+), 82 deletions(-) diff --git a/src/main.js b/src/main.js index fc2901b..1663b48 100644 --- a/src/main.js +++ b/src/main.js @@ -2,7 +2,6 @@ import { createApp, h, render } from "vue"; import App from "./App.vue"; import { createRouter, createWebHashHistory } from "vue-router"; import { routes } from "./router"; -import less from "less"; import "./styles/ch.less"; import { diff --git a/src/styles/ch.less b/src/styles/ch.less index 21c1644..ccc9b5d 100644 --- a/src/styles/ch.less +++ b/src/styles/ch.less @@ -1486,8 +1486,6 @@ top: 0; width: 21.467vw; height: 15.867vw; - background: url(/img/GroupShopDetail-bg-1.png) no-repeat; - background-size: 100% 100%; border-radius: .667vw; } @@ -2160,8 +2158,6 @@ } .v2 { - background: url(/img/fruit_bg.png) no-repeat; - .onsale_box { img { width: auto; @@ -3653,7 +3649,7 @@ } } - :deep(.van-action-bar) { + .van-action-bar { padding: 2vw 4vw; padding-bottom: calc(2vw + env(safe-area-inset-bottom)); @@ -4324,7 +4320,6 @@ padding: 6.667vw 3.333vw 0; .t { - background: url(/img/asset-t1.png); height: 52vw; } @@ -4383,6 +4378,7 @@ background-color: #ffffff; border-radius: 4vw; box-shadow: none; + border: none; } .pn { @@ -4801,7 +4797,8 @@ .point { .top { - background: url(/img/point_bg.jpg) no-repeat; + // background: url(/img/point_bg.jpg) no-repeat; + background: #a73436; background-size: 100% auto; .line { diff --git a/src/styles/public.less b/src/styles/public.less index d884d0c..484a3f5 100644 --- a/src/styles/public.less +++ b/src/styles/public.less @@ -625,10 +625,12 @@ img { .top { .box; .box-tb; + overflow: hidden; background: #fff; border-radius: 2vw; padding: 3.33vw; - border-bottom: 2vw solid #f5f5f5; + margin-bottom: 4vw; + // border-bottom: 2vw solid #f5f5f5; .tit { font-size: 3.73vw; @@ -754,6 +756,34 @@ img { } } + .trans_point__detail { + .box; + .box-tb; + background-color: #ffffff; + border-radius: 2vw; + margin-top: 4vw; + padding: 3.6vw 3.47vw; + + .trans_point__detail_box { + .box; + width: 100%; + line-height: 6vw; + + span { + b { + color: #ea3e23; + } + } + } + + hr { + width: 100%; + height: 1px; + border: none; + background-color: #f2f2f2; + } + } + .com_btn { padding: 0 7.33vw; margin-top: 11.6vw; diff --git a/src/views/Merchant/MerchantTradeDetail.vue b/src/views/Merchant/MerchantTradeDetail.vue index 47b3054..84cc349 100644 --- a/src/views/Merchant/MerchantTradeDetail.vue +++ b/src/views/Merchant/MerchantTradeDetail.vue @@ -49,9 +49,9 @@ 会员卡余额抵扣:

-¥{{ data.payquan?.toFixed(2) }}

-
+
用户实付金额: -

¥{{ data.paymoney?.toFixed(2) }}

+

¥{{ data.realmoney?.toFixed(2) }}


diff --git a/src/views/User/Wallet/Point.vue b/src/views/User/Wallet/Point.vue index a303dea..26f789c 100644 --- a/src/views/User/Wallet/Point.vue +++ b/src/views/User/Wallet/Point.vue @@ -14,6 +14,10 @@ {{ data.total.totalsum?.toFixed(2) }} + +
@@ -151,6 +155,7 @@ export default { init() { this.$get('/v1/client/DUserxiaofeijifensClient/statistics', this.searchParams).then(data => { this.data.total = data.data; + this.$ls.set('member_point', data.data.totalsum) }).catch(err => { this.$showFailToast(err.message || '加载失败'); }) diff --git a/src/views/User/Wallet/Transfer.vue b/src/views/User/Wallet/Transfer.vue index ed1d838..1985684 100644 --- a/src/views/User/Wallet/Transfer.vue +++ b/src/views/User/Wallet/Transfer.vue @@ -1,7 +1,7 @@