样式修复

dev_2022-03-03
jialong.yu 3 years ago
parent 2798eecf45
commit ab9cf4b77e
  1. 16
      src/components/TestPanel.vue

@ -94,21 +94,21 @@
<el-main> <el-main>
<el-tabs v-model="pannelTab" type="card"> <el-tabs v-model="pannelTab" type="card">
<el-tab-pane label="案例" name="first"> <el-tab-pane label="案例" name="first">
<div class="break-all" v-html="experimentDescription"></div> <div class="break-all des" v-html="experimentDescription"></div>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="实验要求" name="second"> <el-tab-pane label="实验要求" name="second">
<el-collapse v-model="curReq"> <el-collapse v-model="curReq">
<el-collapse-item v-for="item in points" :name="item.judgmentId" :key="item.judgmentId"> <el-collapse-item v-for="item in points" :name="item.judgmentId" :key="item.judgmentId">
<template slot="title"> <template slot="title">
<i class="el-icon-s-ticket"></i> <i class="el-icon-s-ticket"></i>
<div class="break-all" v-html="item.name"></div> <div class="break-all des" v-html="item.name"></div>
</template> </template>
<div class="break-all" v-html="item.experimentalRequirements"></div> <div class="break-all des" v-html="item.experimentalRequirements"></div>
</el-collapse-item> </el-collapse-item>
</el-collapse> </el-collapse>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="实验提示" name="fifth" v-if="hintOpen"> <el-tab-pane label="实验提示" name="fifth" v-if="hintOpen">
<div class="break-all" v-html="experimentHint"></div> <div class="break-all des" v-html="experimentHint"></div>
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
</el-main> </el-main>
@ -373,7 +373,9 @@ export default {
// //
if (done) { if (done) {
clearInterval(this.statusTimer) clearInterval(this.statusTimer)
this.$message.success('考核时间已到,系统已自动交卷') this.$alert('考核时间已到,系统已自动交卷', '提示', {
confirmButtonText: '确定'
})
this.submit() this.submit()
} }
}).catch(res => {}) }).catch(res => {})
@ -590,6 +592,10 @@ export default {
background-color: #202020; background-color: #202020;
} }
} }
.des {
font-size: 16px;
font-family: "Microsoft YaHei";
}
/deep/.el-collapse-item__wrap { /deep/.el-collapse-item__wrap {
border-bottom: none; border-bottom: none;
} }

Loading…
Cancel
Save