This commit is contained in:
kron
2025-08-06 18:36:30 +08:00
parent 66dea2b199
commit e12252beed
6 changed files with 76 additions and 11 deletions

View File

@@ -62,20 +62,21 @@ onLoad(async (options) => {
v-for="(_, index) in groups"
:key="index"
@click="onSelect(index)"
:style="{ borderColor: selectedIndex === index ? '#FED847' : '#fff' }"
>
<text
:style="{
color: selectedIndex === index ? '#FF8709' : '#333',
color: selectedIndex === index ? '#000' : '#333',
fontSize: selectedIndex === index ? '15px' : '13px',
letterSpacing: index !== 0 ? '2px' : '0',
}"
>{{ index === 0 ? "全部" : `${index}` }}</text
>
<image
<!-- <image
src="../static/s-triangle.png"
mode="widthFix"
:style="{ bottom: selectedIndex !== index ? '0' : '-5px' }"
/>
/> -->
</view>
</view>
<view class="detail-data">
@@ -159,6 +160,8 @@ onLoad(async (options) => {
color: transparent;
}
.tab-bar > view {
box-sizing: border-box;
border: 2px solid #fff;
border-radius: 10px;
background-color: #fff;
width: 24vw;