31 44
This commit is contained in:
@@ -5,9 +5,9 @@
|
||||
:show-action="false" @search="getList" @clear="title='',getList()"></u-search>
|
||||
</div>
|
||||
|
||||
<p class="all_test">全部考试</p>
|
||||
<p class="all_test">全部考试{{height}}</p>
|
||||
<div class="card_list" v-if="testList.length">
|
||||
<scroll-view class="scroll_box" scroll-y>
|
||||
<scroll-view :style="{height: height + 'px'}" scroll-y>
|
||||
<div class="card" v-for="item in testList" :key="item.id">
|
||||
<div class="card_top">
|
||||
<div class="card_title">{{ item.examinationName }}</div>
|
||||
@@ -62,6 +62,9 @@
|
||||
<script>
|
||||
import { mapState } from "vuex"
|
||||
export default {
|
||||
props: {
|
||||
height: Number,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
showAuth: false,
|
||||
@@ -76,7 +79,6 @@ export default {
|
||||
flag: false,
|
||||
current: 1,
|
||||
testList: [],
|
||||
height: '',
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@@ -172,10 +174,6 @@ export default {
|
||||
padding: 8px 32px;
|
||||
box-sizing: border-box;
|
||||
|
||||
.scroll_box {
|
||||
height: calc(100% - 230px);
|
||||
}
|
||||
|
||||
.card {
|
||||
margin-top: 24px;
|
||||
.card_top,
|
||||
|
||||
Reference in New Issue
Block a user