feat: 安全月位置替换成专项
This commit is contained in:
parent
9cfb54ab9c
commit
8034db7bdf
@ -24,17 +24,17 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 安全月知识竞答 -->
|
||||
<!-- 专项 -->
|
||||
<view v-if="showSafetyMonthExam != '1'">
|
||||
<view class="business-wrap" v-if="loginType == 'examinee'">
|
||||
<view class="part-name-wrap flex-par">
|
||||
<view class="line"></view>
|
||||
<view class="part-name">安全月知识竞答</view>
|
||||
<view class="part-name">专项模块</view>
|
||||
</view>
|
||||
|
||||
<view class="flex-par space-between part-wrap">
|
||||
<view class="flex-par part-item align-items-c j-c-center" v-for="(item,i) in knowledgeBlock" :key="i"
|
||||
:style="{'background':item.bgColor}" @click="toPartPage(item)">
|
||||
<view class="flex-par part-item align-items-c j-c-center" v-for="(item,i) in specialBlock" :key="i"
|
||||
:style="{'background':item.bgColor}" @click="toPartPage(item)">
|
||||
<image class="part-item-img" :src="item.icon"></image>
|
||||
<view class="part-item-name">{{item.name}}</view>
|
||||
</view>
|
||||
@ -164,9 +164,9 @@ let loginType = ref('')
|
||||
|
||||
}
|
||||
|
||||
let knowledgeBlock = ref([
|
||||
{name:'视频学习',icon: icon2,bgColor:'#00bc81',path:'/pages/examTraining/videoLearn/index',type:'normal'},
|
||||
{name:'知识竞答',icon: icon3,bgColor:'#817cfa',path:'/pages/examTraining/knowledgeQuiz/index',type:'normal'},
|
||||
let specialBlock = ref([
|
||||
{name:'专项学习',icon: icon2,bgColor:'#00bc81',path:'/pages/examTraining/videoLearn/index',type:'normal'},
|
||||
{name:'专项考试',icon: icon3,bgColor:'#817cfa',path:'/pages/examTraining/knowledgeQuiz/index',type:'normal'},
|
||||
])
|
||||
</script>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user