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