37
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
<div class="title">{{ data.title }}</div>
|
<div class="title">{{ data.title }}</div>
|
||||||
<p class="study_num">{{ data.learnerNumber || 0 }}人已学习</p>
|
<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="btn_box">
|
||||||
<div class="input_btn" @click="showSend = true">我来说两句...</div>
|
<div class="input_btn" @click="showSend = true">我来说两句...</div>
|
||||||
|
|||||||
@@ -6,10 +6,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p class="all_test">全部考试</p>
|
<p class="all_test">全部考试</p>
|
||||||
|
|
||||||
|
|
||||||
<div class="card_list" v-if="testList.length">
|
<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" v-for="item in testList" :key="item.id">
|
||||||
<div class="card_top">
|
<div class="card_top">
|
||||||
<div class="card_title">{{ item.examinationName }}</div>
|
<div class="card_title">{{ item.examinationName }}</div>
|
||||||
@@ -78,6 +76,7 @@ export default {
|
|||||||
flag: false,
|
flag: false,
|
||||||
current: 1,
|
current: 1,
|
||||||
testList: [],
|
testList: [],
|
||||||
|
height: '',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@@ -170,6 +169,10 @@ export default {
|
|||||||
padding: 8px 32px;
|
padding: 8px 32px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
||||||
|
.scroll_box {
|
||||||
|
height: calc(100% - 230px);
|
||||||
|
}
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
margin-top: 24px;
|
margin-top: 24px;
|
||||||
.card_top,
|
.card_top,
|
||||||
|
|||||||
Reference in New Issue
Block a user