Task:旅居主页调整
This commit is contained in:
@@ -143,7 +143,7 @@
|
||||
class="tab"
|
||||
@click="changeTab(item.value)"
|
||||
>
|
||||
<view :class="activeIndex === index ? 'active' : ''" class="tab-item">
|
||||
<view :class="activeIndex === item.value ? 'active' : ''" class="tab-item">
|
||||
{{ item.text }}
|
||||
</view>
|
||||
<!-- <view v-show="activeIndex === index" class="btLine"></view> -->
|
||||
@@ -358,6 +358,8 @@ export default {
|
||||
id: '',
|
||||
store: {},
|
||||
tabList: [
|
||||
{ text: '团购', value: 3, isShow: true },
|
||||
{ text: '管家', value: 4, isShow: true },
|
||||
{ text: '资讯', value: 0, isShow: true },
|
||||
{ text: '文化', value: 1, isShow: true },
|
||||
{ text: '资质', value: 2, isShow: true }
|
||||
@@ -890,7 +892,7 @@ export default {
|
||||
padding-top: 30rpx;
|
||||
background: #fff;
|
||||
.tab {
|
||||
width: 20%;
|
||||
width: fit-content;
|
||||
.tab-item {
|
||||
height: 52rpx;
|
||||
padding: 0 30rpx;
|
||||
|
||||
Reference in New Issue
Block a user