This commit is contained in:
shijingjing
2023-02-17 10:21:50 +08:00
parent 4ef3723d03
commit bf819648d2
2 changed files with 24 additions and 21 deletions

View File

@@ -10,7 +10,7 @@
<div class="title">{{ data.title }}</div>
<p class="study_num">{{ data.learnerNumber || 0 }}人已学习</p>
<p class="content" v-html="data.content"></p>
<u-parse class="content" :html="data.content"></u-parse>
<div class="btn_box">
<div class="input_btn" @click="showSend = true">我来说两句...</div>

View File

@@ -6,10 +6,8 @@
</div>
<p class="all_test">全部考试</p>
<div class="card_list" v-if="testList.length">
<scroll-view style="height: 100%;" scroll-y>
<scroll-view class="scroll_box" scroll-y>
<div class="card" v-for="item in testList" :key="item.id">
<div class="card_top">
<div class="card_title">{{ item.examinationName }}</div>
@@ -78,6 +76,7 @@ export default {
flag: false,
current: 1,
testList: [],
height: '',
}
},
computed: {
@@ -170,6 +169,10 @@ export default {
padding: 8px 32px;
box-sizing: border-box;
.scroll_box {
height: calc(100% - 230px);
}
.card {
margin-top: 24px;
.card_top,