From 86c7bf206f1563ea757c786c12e3cd4e64da925d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=A6=E6=98=9F=E6=98=9F?= <605893810@qq.com> Date: Mon, 27 Jul 2026 14:04:44 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/active/super-subsidy/super-subsidy.vue | 15 +++++++++++++-- pages/other_package/productInfo/productInfo.vue | 17 ++++++++++++----- utils/config.js | 12 ++++++------ 3 files changed, 31 insertions(+), 13 deletions(-) diff --git a/pages/active/super-subsidy/super-subsidy.vue b/pages/active/super-subsidy/super-subsidy.vue index a13be88..d39d247 100644 --- a/pages/active/super-subsidy/super-subsidy.vue +++ b/pages/active/super-subsidy/super-subsidy.vue @@ -17,6 +17,15 @@ + + + {{ item.name }} + + + + @@ -52,7 +61,8 @@ export default { swiperList: [], currentNum: 0, dataList: [], - tabList: [{ name: "推荐" }], + tabList: [], + // tabList: [{ name: "推荐" }], curTab: 0, upOption: { auto: false, @@ -75,7 +85,7 @@ export default { }; }, onLoad() { - this.cascadeCategory(); + // this.cascadeCategory(); this.getCarouselImage() this.upCallback({ num: 1, size: 10 }); }, @@ -274,6 +284,7 @@ export default { position: absolute; top: 600rpx; left: 0; + z-index: 99; .tab-list { margin-right: 24rpx; diff --git a/pages/other_package/productInfo/productInfo.vue b/pages/other_package/productInfo/productInfo.vue index 356fc1b..6b4f050 100644 --- a/pages/other_package/productInfo/productInfo.vue +++ b/pages/other_package/productInfo/productInfo.vue @@ -64,11 +64,11 @@ - + 下单送{{ orderInfo.contribution }}贡献值 - 全网销量{{ limit999(orderInfo.sales) }}件 + 全网销量{{ limit999(orderInfo.sales) }}件 @@ -113,11 +113,13 @@ 购物保障 - + 品质严保 - + 极速退款 @@ -1520,10 +1522,15 @@ export default { background: rgba(121, 52, 246, 0.1); .uni-image { - width: 40rpx; + width: 28rpx; height: 28rpx; + margin-right: 5rpx; } } + + .sales_count { + margin-left: auto; + } } .tui-view { diff --git a/utils/config.js b/utils/config.js index d08364a..ec493ee 100644 --- a/utils/config.js +++ b/utils/config.js @@ -1,11 +1,11 @@ -// export const BASE_URL = "https://api.tbmall.xin"; //生产 -// export const MILD_BASE_URL = "https://agent.tbmall.xin/"; //中台生产 -// export const kefuBaseUrl = "https://admin.tbmall.xin/api"; +export const BASE_URL = "https://api.tbmall.xin"; //生产 +export const MILD_BASE_URL = "https://agent.tbmall.xin/"; //中台生产 +export const kefuBaseUrl = "https://admin.tbmall.xin/api"; -export const BASE_URL = baseUrl; // 本地测试 -export const MILD_BASE_URL = "https://agent.o.tbmall.xin/"; //中台测试 -export const kefuBaseUrl = "https://admin.o.tbmall.xin/api"; +// export const BASE_URL = baseUrl; // 本地测试 +// export const MILD_BASE_URL = "https://agent.o.tbmall.xin/"; //中台测试 +// export const kefuBaseUrl = "https://admin.o.tbmall.xin/api"; // H5 环境且开发模式下使用 '/proxy-api' 代理解决浏览器跨域(注意不能用 '/api',否则会与本地 /api 源码目录冲突)