|
|
|
@ -4,7 +4,7 @@ |
|
|
|
<!-- <button class="sign-in-btn">最新</button> --> |
|
|
|
<!-- tabs --> |
|
|
|
<view class="filter-item" v-for="(value, key) in filter" :key="key" @click="switchFilter(key)"> |
|
|
|
<text>{{ value.selected || value.name }}</text> |
|
|
|
<text style="white-space: nowrap">{{ value.selected || value.name }}</text> |
|
|
|
<text class="lf-iconfont icon-iconfront-" :class="{'tab-active': show_filter && filter_key == key}"></text> |
|
|
|
</view> |
|
|
|
<!-- 普通列表文字选择 --> |
|
|
|
@ -140,8 +140,12 @@ |
|
|
|
.filter-item{ |
|
|
|
width: 114rpx; |
|
|
|
height: 62rpx; |
|
|
|
line-height: 62rpx; |
|
|
|
text-align: right; |
|
|
|
// line-height: 62rpx; |
|
|
|
// text-align: right; |
|
|
|
display: flex; |
|
|
|
flex-wrap: nowrap; |
|
|
|
justify-content: center; |
|
|
|
align-items: center; |
|
|
|
font-size: 28rpx; |
|
|
|
color: #222222; |
|
|
|
.tab-active{ |
|
|
|
|