From 268207b01be8fe06d2c898173166c63453a98a37 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=A7=A6=E6=98=9F=E6=98=9F?= <605893810@qq.com>
Date: Wed, 22 Jul 2026 22:59:55 +0800
Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/home/home.vue | 22 +++++------
.../other_package/productInfo/productInfo.vue | 35 +++++++++++-------
static/product/home_1.png | Bin 0 -> 833 bytes
3 files changed, 32 insertions(+), 25 deletions(-)
create mode 100644 static/product/home_1.png
diff --git a/pages/home/home.vue b/pages/home/home.vue
index 6420e13..c95cdd2 100644
--- a/pages/home/home.vue
+++ b/pages/home/home.vue
@@ -263,13 +263,6 @@ export default {
superGoodsList: [], // 超级补贴商品列表
homeActivedList: [
{
- id: 1,
- title: "超级补贴",
- title_icon: "https://static.tbmall.xin/static/new-home/home_9.png",
- path: "super-subsidy",
- rightText: "官方补贴 .100%正品",
- activedType: "super",
- }, {
id: 2,
title: "活动预告",
title_text: "限时秒杀",
@@ -277,7 +270,14 @@ export default {
path: "limited-time",
rightText: "专属补贴 . 低价秒杀",
activedType: "seckill",
- },
+ }, {
+ id: 1,
+ title: "超级补贴",
+ title_icon: "https://static.tbmall.xin/static/new-home/home_9.png",
+ path: "super-subsidy",
+ rightText: "官方补贴 .100%正品",
+ activedType: "super",
+ }
], // 首页活动列表
activedTabId: "seckill", // 当前选中的活动类型
attributes: {},
@@ -566,7 +566,7 @@ export default {
// #endif
},
onCloseBannerShow() {
- if(this.updateApkObj.isForce){
+ if (this.updateApkObj.isForce) {
// #ifdef APP-PLUS
if (uni.getSystemInfoSync().platform === 'android') {
plus.runtime.quit();
@@ -578,8 +578,8 @@ export default {
});
}
// #endif
- }else{
- this.bannerShow = false;
+ } else {
+ this.bannerShow = false;
}
},
diff --git a/pages/other_package/productInfo/productInfo.vue b/pages/other_package/productInfo/productInfo.vue
index 6dc1a8a..4a71210 100644
--- a/pages/other_package/productInfo/productInfo.vue
+++ b/pages/other_package/productInfo/productInfo.vue
@@ -144,7 +144,7 @@
-
首页
@@ -165,7 +165,7 @@
+ :style="isShowCart ? 'width: 360rpx' : ''" @click="checkSpecification(true, 'buy')">
立即购买
@@ -241,7 +241,7 @@
- {{ item.type }}
+ {{ item.type }}