From 3eba959b482d69001e63ebfdc266d17c29f83229 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=A6=E6=98=9F=E6=98=9F?= <605893810@qq.com> Date: Fri, 24 Jul 2026 21:05:21 +0800 Subject: [PATCH] =?UTF-8?q?feata=EF=BC=9A=E5=BE=AE=E4=BF=A1=E5=AE=89?= =?UTF-8?q?=E5=85=A8=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 12 + pages/home/home.vue | 2 +- .../other_package/productInfo/productInfo.vue | 6 +- pages/rwa_package/setting/setting.vue | 229 +++++++++++++----- utils/config.js | 12 +- vite.config.js | 16 ++ 6 files changed, 209 insertions(+), 68 deletions(-) create mode 100644 vite.config.js diff --git a/manifest.json b/manifest.json index c65f8e9..e0197d0 100644 --- a/manifest.json +++ b/manifest.json @@ -195,6 +195,18 @@ "router" : { "mode" : "hash", "base" : "" + }, + "devServer" : { + "port" : 5173, + "proxy" : { + "/proxy-api" : { + "target" : "https://api.o.tbmall.xin", + "changeOrigin" : true, + "pathRewrite" : { + "^/proxy-api" : "" + } + } + } } } } diff --git a/pages/home/home.vue b/pages/home/home.vue index 9c63c0e..3453f47 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -772,7 +772,7 @@ export default { left: 0; right: 0; height: 4px; - background: linear-gradient(270deg, #af39c4 0%, #7732ff 100%); + //background: linear-gradient(270deg, #af39c4 0%, #7732ff 100%); pointer-events: none; } } diff --git a/pages/other_package/productInfo/productInfo.vue b/pages/other_package/productInfo/productInfo.vue index d763a1b..8f418b9 100644 --- a/pages/other_package/productInfo/productInfo.vue +++ b/pages/other_package/productInfo/productInfo.vue @@ -216,14 +216,14 @@ {{ selectSpecificationTempl.price }} - {{ skuBySpecInfo.supplyPrice }} + {{ skuBySpecInfo.originalPrice }} - {{ skuBySpecInfo.price }} 优惠券{{ orderInfo.couponPrice }} - ¥{{ skuBySpecInfo.supplyPrice }} + ¥{{ skuBySpecInfo.originalPrice }} 优惠券已优惠¥{{ orderInfo.couponPrice }} @@ -1224,7 +1224,7 @@ export default { const skuBySpecBash = this.getSkuBySpecValueIds(this.selectedSpecValueIds) || {}; console.log("----111", skuBySpecBash) - this.skuBySpecInfo = { ...this.orderInfo, skuImage: skuBySpecBash.skuImage, stock: skuBySpecBash.stock, supplyPrice: skuBySpecBash.supplyPrice, price: skuBySpecBash.price, skuName: skuBySpecBash.skuName } + this.skuBySpecInfo = { ...this.orderInfo, skuImage: skuBySpecBash.skuImage, stock: skuBySpecBash.stock, supplyPrice: skuBySpecBash.supplyPrice, price: skuBySpecBash.price, skuName: skuBySpecBash.skuName, originalPrice: skuBySpecBash.originalPrice } console.log("----222", this.orderInfo) if (this.selectedSpecValueIds.every((id) => id != null)) { diff --git a/pages/rwa_package/setting/setting.vue b/pages/rwa_package/setting/setting.vue index 1e3cc9a..d2baaa7 100644 --- a/pages/rwa_package/setting/setting.vue +++ b/pages/rwa_package/setting/setting.vue @@ -4,25 +4,21 @@
- - {{item.text}} + + {{ item.text }} - {{item.value}} + {{ item.value }} - + - - {{item.text}} + + {{ item.text }} @@ -36,34 +32,34 @@