政策资讯显示与否调整

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

@@ -198,7 +198,7 @@
<view class="latestMission">
<view class="cardTips" style="margin: 0 26rpx;display: flex;align-items: center;justify-content: space-between;padding-bottom: 10rpx;">
<view>最新资讯</view>
<view>政策资讯</view>
<view style="display: flex;align-items: center;" @click="toNewProject">
<view style="color:#707070;font-size:26rpx;margin-right: 10rpx;">更多</view>
<image src="../../static/img/right.svg" mode="" style="width: 14rpx;height: 26rpx;"></image>

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) {