From a581aeaead171d22022cb7a75e52cb4fb621bf61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B2=B3=E9=B9=8F=E9=BE=99?= <1547476325@qq.com> Date: Tue, 8 Jul 2025 16:18:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/zh-scroll/zh-scroll.vue | 7 ++++--- src/pages/index/index.vue | 6 +++--- src/pages/index/tabsComm.vue | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/components/zh-scroll/zh-scroll.vue b/src/components/zh-scroll/zh-scroll.vue index 8f30579..daf73f5 100644 --- a/src/components/zh-scroll/zh-scroll.vue +++ b/src/components/zh-scroll/zh-scroll.vue @@ -56,16 +56,17 @@ }>() const instance = getCurrentInstance(); const menuScrollIntoView = ref(""); - const curCateId = ref(6905); const cateScrollTop = ref(0); // 计算高度状态 const sizeCalcState = ref(false); const goods = ref([]); + const curCateId = ref(0); watch( () => props.scrollList, newVal => { goods.value = newVal; + curCateId.value = goods.value[0]?.id nextTick(() => { if (newVal && newVal.length > 0) { calcSize(); @@ -223,8 +224,8 @@ color: #3D3D3D; } .changeicon { - width: 12rpx; - height: 32rpx; + width: 20rpx; + height: 40rpx; border-radius: 0rpx 32rpx 32rpx 0rpx; /* 蓝色渐变 */ background: linear-gradient(0deg, #007FFF 0%, #99CCFF 100%); diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index efda2b9..521dd35 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -18,7 +18,7 @@ - + 要活动 @@ -485,7 +485,7 @@ .xdb { font-family: Source Han Sans; - font-size: 36rpx; + font-size: 30rpx; font-weight: 500; line-height: normal; display: flex; @@ -680,7 +680,7 @@ .text { margin-left: 8rpx; font-family: Source Han Sans; - font-size: 36rpx; + font-size: 30rpx; font-weight: 500; line-height: normal; display: flex; diff --git a/src/pages/index/tabsComm.vue b/src/pages/index/tabsComm.vue index 03e3cf9..93d4e66 100644 --- a/src/pages/index/tabsComm.vue +++ b/src/pages/index/tabsComm.vue @@ -157,7 +157,7 @@ onUnmounted(() => { border-radius: 124rpx; background: #FFFFFF; font-family: Source Han Sans; - font-size: 30rpx; + font-size: 28rpx; font-weight: 350; line-height: 32rpx; text-align: justify; /* 浏览器可能不支持 */