|
@@ -79,8 +79,8 @@
|
|
<scroll-view class="bg--w111-fff pt-10 pb-10 pl-32" scroll-x style="white-space: nowrap; vertical-align: middle;border-top-right-radius: 23rpx;"
|
|
<scroll-view class="bg--w111-fff pt-10 pb-10 pl-32" scroll-x style="white-space: nowrap; vertical-align: middle;border-top-right-radius: 23rpx;"
|
|
show-scrollbar="false">
|
|
show-scrollbar="false">
|
|
<view class='flex-y-center'>
|
|
<view class='flex-y-center'>
|
|
- <text v-for="(item,index) in navList" :key="index" class='wall-nav' :class='active==item.id ? "wall-nav-on": ""'
|
|
|
|
- @click="tabSelect(item.id, index)">
|
|
|
|
|
|
+ <text v-for="(item,index) in navList" :key="index" class='wall-nav'
|
|
|
|
+ :class='active==item.id ? "wall-nav-on": ""' @click.stop="tabSelect(item.id, index)">
|
|
<text>{{item.name}}</text>
|
|
<text>{{item.name}}</text>
|
|
</text>
|
|
</text>
|
|
</view>
|
|
</view>
|
|
@@ -827,7 +827,7 @@
|
|
|
|
|
|
// 点击列表头部
|
|
// 点击列表头部
|
|
selectMenu(item, index, isScroll) {
|
|
selectMenu(item, index, isScroll) {
|
|
- if (tabClick == index) return
|
|
|
|
|
|
+ if (this.tabClick == index) return
|
|
this.active = 0
|
|
this.active = 0
|
|
this.triggeredDiscover = false;
|
|
this.triggeredDiscover = false;
|
|
this.categoryId = item.id;
|
|
this.categoryId = item.id;
|
|
@@ -842,6 +842,9 @@
|
|
tabSelect(active, e) {
|
|
tabSelect(active, e) {
|
|
if (this.active == active) return
|
|
if (this.active == active) return
|
|
this.active = active;
|
|
this.active = active;
|
|
|
|
+ this.triggeredDiscover = false;
|
|
|
|
+ this.discoverList[this.categoryId].loading = false
|
|
|
|
+ this.discoverList[this.categoryId].loadend = false
|
|
this.getDiscoverList();
|
|
this.getDiscoverList();
|
|
},
|
|
},
|
|
}
|
|
}
|
|
@@ -1300,16 +1303,17 @@
|
|
|
|
|
|
/* 移出视图 */
|
|
/* 移出视图 */
|
|
}
|
|
}
|
|
|
|
+
|
|
.wall-nav {
|
|
.wall-nav {
|
|
font-weight: 500;
|
|
font-weight: 500;
|
|
font-size: 23rpx;
|
|
font-size: 23rpx;
|
|
color: #999999;
|
|
color: #999999;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
.wall-nav~.wall-nav {
|
|
.wall-nav~.wall-nav {
|
|
margin-left: 38rpx;
|
|
margin-left: 38rpx;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
.wall-nav-on {
|
|
.wall-nav-on {
|
|
font-weight: 600;
|
|
font-weight: 600;
|
|
font-size: 27rpx;
|
|
font-size: 27rpx;
|