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; /* 浏览器可能不支持 */