普法学习放在轮播图下面

This commit is contained in:
shijingjing
2023-03-15 14:58:10 +08:00
parent 4c980ce920
commit 447b718db4
3 changed files with 11 additions and 12 deletions

View File

@@ -14,6 +14,14 @@
</div>
</div>
</div>
<div class="lawClass">
<div class="pic-left">
<img src="https://cdn.cunwuyun.cn/qujing/but-zaixianketang.png" alt="" @click="clickLaw(0)">
</div>
<div class="pic-right">
<img src="https://cdn.cunwuyun.cn/qujing/but-pufakaoshi.png" alt="" @click="clickLaw(1)">
</div>
</div>
<div class="grid-content">
<u-grid :col="4" hover-class="text-hover" :border="false">
<u-grid-item v-for="(item, index) in grids" :key="index" :custom-style="{padding:'8px 0'}" bg-color="none"
@@ -28,15 +36,6 @@
<u-notice-bar mode="vertical" color="#4181FF" style="flex: 1;" :volume-icon="false" :is-circular="false"
duration="5000" speed="5000" :list="noticeList" @click="clickNotice"/>
</div>
<div class="lawClass">
<div class="pic-left">
<img src="https://cdn.cunwuyun.cn/qujing/but-zaixianketang.png" alt="" @click="clickLaw(0)">
</div>
<div class="pic-right">
<img src="https://cdn.cunwuyun.cn/qujing/but-pufakaoshi.png" alt="" @click="clickLaw(1)">
</div>
</div>
<!-- <template v-if="activeList.length>0">
<header>推荐专题</header>
<scroll-view :scroll-x="true" style="width: 100%" class="scroll-wrap">

View File

@@ -17,7 +17,7 @@ import OnlineClass from './components/OnlineClass.vue'
import GeneralLawExam from './components/GeneralLawExam.vue'
export default {
name: 'AppLegalLearning',
appName: '法学习',
appName: '法学习',
customNavigation: true,
data() {
return {
@@ -27,7 +27,7 @@ export default {
name: '在线课堂',
},
{
name: '普法学习',
name: '普法考试',
}
],
screenHeight: 0,

View File

@@ -1,6 +1,6 @@
<template>
<div class="testForm">
<u-navbar title="普法学习" title-color="#000" :background="backgroundNavbar" z-index="9999"></u-navbar>
<u-navbar title="普法考试" title-color="#000" :background="backgroundNavbar" z-index="9999"></u-navbar>
<div class="testForm_info">
<div v-for="(item,index) in list" :key="index">
<div v-if="activeIndex === index">