Task:旅居主页调整

This commit is contained in:
LinCyJang
2025-10-13 23:39:09 +08:00
parent 77d522c87b
commit 15c459de7e
+4 -2
View File
@@ -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;