Fix:2415 【商城小程序】县城详情页,资讯和产业位置调换

This commit is contained in:
modendeveloper
2024-09-26 19:07:08 +08:00
parent 69540415ec
commit d9e5fefdfa
+5 -5
View File
@@ -143,7 +143,7 @@
<view> <view>
<!-- 资讯 --> <!-- 资讯 -->
<view <view
v-if="activeIndex === 0" v-if="activeIndex === 3"
class="info-section" class="info-section"
> >
<view v-if="isLoadInfoListSuccess"> <view v-if="isLoadInfoListSuccess">
@@ -303,7 +303,7 @@
</view> </view>
<!-- 产业 --> <!-- 产业 -->
<view <view
v-if="activeIndex === 3" v-if="activeIndex === 0"
class="industry-section" class="industry-section"
> >
<view v-if="industryTabIndex === 0"> <view v-if="industryTabIndex === 0">
@@ -628,10 +628,10 @@ export default {
height: '500rpx' height: '500rpx'
}, },
tabList: [ tabList: [
{ 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 },
{ text: '产业', value: 3, isShow: true }, { text: '资讯', value: 3, isShow: true },
{ text: '产品', value: 4, isShow: true } { text: '产品', value: 4, isShow: true }
], ],
// 资讯 // 资讯
@@ -856,7 +856,7 @@ export default {
this.loading = false this.loading = false
// 刷新数据 // 刷新数据
switch (this.activeIndex) { switch (this.activeIndex) {
case 0: case 3:
this.getInfoReq() this.getInfoReq()
break break
case 2: case 2: