Browse Source

修改bug

master
岳鹏龙 9 months ago
parent
commit
a581aeaead
  1. 7
      src/components/zh-scroll/zh-scroll.vue
  2. 6
      src/pages/index/index.vue
  3. 2
      src/pages/index/tabsComm.vue

7
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<ICateItem[]>([]);
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%);

6
src/pages/index/index.vue

@ -18,7 +18,7 @@
</image>
<view class="titlebox">
<view class="left">
<image style="width: 40rpx;height: 40rpx;" src="@/static/img/yaohuodong.png" mode=""></image>
<image style="width: 28rpx;height: 28rpx;" src="@/static/img/yaohuodong.png" mode=""></image>
<text class="text">要活动</text>
</view>
<view class="more" @click="gohdList">
@ -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;

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

Loading…
Cancel
Save