refactor: 更新u-tabs组件使用方式及样式调整

This commit is contained in:
pikachu1995@126.com
2026-07-01 10:07:55 +08:00
parent dc2bef455a
commit 6654c1de51
16 changed files with 246 additions and 153 deletions

View File

@@ -10,12 +10,12 @@
<template #center>
<view class="slot-wrap">
<u-tabs
:active-color="lightColor"
:lineColor="lightColor"
:activeStyle="{ color: lightColor }"
class="collect-tabs"
:list="navList"
:is-scroll="true"
:current="tabCurrentIndex"
@change="tabClick"
:scrollable="true"
v-model:current="tabCurrentIndex"
></u-tabs>
</view>
</template>
@@ -206,13 +206,6 @@
});
},
/**
* 顶部tab点击
*/
tabClick(index) {
this.tabCurrentIndex = index;
},
/**
* 查看商品详情
*/