UI更新
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user