Fix:2479 【商城小程序】分类文字间距再加宽大概二分之一,未选中时文字不加粗

This commit is contained in:
linxi
2024-10-11 14:12:14 +08:00
parent f0e25c2a0d
commit 179a5f005c
+2 -1
View File
@@ -31,9 +31,10 @@
</swiper>
<view class="v12-justify-between v12-align-center v12-px-3 v12-mt-3 tabs-wrap">
<view
class="tab v12-font-bold v12-font-34 v12-dark-text v12-mr-3"
class="tab v12-font-34 v12-dark-text v12-mr-5"
v-for="(tab, index) in tabs"
@click="handleTab(index,tab)"
:class="{'v12-font-bold' : index === actived}"
:key="index">
<text>{{ tab.name }}</text>
<view :class="{'slider': index === actived}"></view>