政策资讯显示与否调整

This commit is contained in:
zxy
2024-02-22 09:51:48 +08:00
parent 57cad2c12f
commit c9eaa1930a
3 changed files with 4 additions and 4 deletions

View File

@@ -10,7 +10,7 @@
<view class="typeButtonWrapper">
<view class="typeButtonLeft">
<view v-for="(item, index) in nonReactiveArray" :key="index" v-show="index == activeTab"
<view v-for="(item, index) in nonReactiveArray" :key="index" v-show="(activeTab!=2)&&(index==1||index==0)"
:class="['typeButton', index == activeTab ? 'activeButton' : '']" @click="changeTab(index)">{{ item
}}</view>
</view>
@@ -145,7 +145,7 @@ export default {
open: false,
showPopUp: false,
nonReactiveArray: ["最新任务", "最新岗位", "最新政策"],
nonReactiveArray: ["最新任务", "最新岗位", "政策资讯"],
}
},
onLoad: function (option) {