提交 f77a68fb authored 作者: 王鹏飞's avatar 王鹏飞

增加考试介绍页面

上级 cbdb76d5
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
<div class="app-container-bd"> <div class="app-container-bd">
<slot></slot> <slot></slot>
</div> </div>
<slot name="footer"></slot>
</div> </div>
</template> </template>
...@@ -18,6 +19,8 @@ export default { ...@@ -18,6 +19,8 @@ export default {
<style lang="scss"> <style lang="scss">
.app-container { .app-container {
display: flex;
flex-direction: column;
height: 100%; height: 100%;
padding: 30px; padding: 30px;
background-color: #fff; background-color: #fff;
...@@ -34,5 +37,13 @@ export default { ...@@ -34,5 +37,13 @@ export default {
line-height: 1; line-height: 1;
} }
.app-container-bd { .app-container-bd {
flex: 1;
}
.app-container-ft {
background-color: #fff;
position: sticky;
bottom: 0;
padding-top: 30px;
border-top: 1px solid #f1f1f1;
} }
</style> </style>
<template>
<app-container title="真题实战介绍">
<div class="exam">
<div class="item">
<p>
<span><b>考试时间:90分钟</b></span>
<span><b>考试通过:80分</b></span>
<span><b>总分:100分</b></span>
</p>
<p>试题类型:单项选择题、多项选择题、判断题和案例题,全部为客观题。</p>
</div>
<div class="item">
<p><b>考试说明</b></p>
<p>1.考试目的:考核道路运输企业主要负责人和安全生产管理人员对安全生产管理知识掌握程度</p>
<p>
2.考核范围:道路运输安全生产相关法律法规及标准规范、道路运输企业安全生产主体责任、道路运输企业安全管理知识、道路运输安全生产实务等内容。
</p>
<p>3.考试试卷:按照考试大纲的考点出题,精准模拟。</p>
</div>
<div class="item">
<p><b>选择角色</b></p>
<el-radio-group v-model="role">
<el-radio :label="0">管理人员</el-radio>
<el-radio :label="1">安全人员</el-radio>
</el-radio-group>
</div>
<div class="item">
<p><b>试卷组卷比例见下表</b></p>
<img src="../../assets/images/exam_table.png" style="max-width: 100%" />
</div>
</div>
<template #footer>
<div class="app-container-ft"><el-button type="primary">开始考试</el-button></div>
</template>
</app-container>
</template>
<script>
import AppContainer from '@/components/AppContainer'
export default {
components: { AppContainer },
data() {
return {
role: 0
}
}
}
</script>
<style lang="scss" scoped>
.exam {
.item {
margin-bottom: 20px;
line-height: 30px;
}
.item span {
margin-right: 20px;
}
}
</style>
<template> <template>
<div class="app-container"> <app-container title="考前摸底介绍">
<div class="title">考前摸底介绍</div>
<div class="desc-exam"> <div class="desc-exam">
<p>考试时间20分钟。</p> <p>考试时间20分钟。</p>
<p>考试题目共22题,分四部分:单选题共8题,多选题共8题,判断题共5题,案例题共1题。</p> <p>考试题目共22题,分四部分:单选题共8题,多选题共8题,判断题共5题,案例题共1题。</p>
</div> </div>
<div class="exam-btn-box"> <template #footer>
<div class="exam-btn">开始考试</div> <div class="app-container-ft"><el-button type="primary">开始考试</el-button></div>
</div> </template>
</div> </app-container>
</template> </template>
<script> <script>
import AppContainer from '@/components/AppContainer'
export default { export default {
components: { AppContainer },
data() {
return {}
}
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.app-container{ .desc-exam {
position: relative; p {
height: 100%; margin-bottom: 20px;
padding: 30px; line-height: 20px;
background-color: #fff; color: #333;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
box-sizing: border-box;
.title{
border-bottom: 1px solid #ccc;
font-size: 18px;
color: #222222;
line-height: 45px;
}
.desc-exam{
min-height: 350px;
// border-bottom: 1px solid #ccc;
p{
margin-top: 20px;
font-size: 14px;
color: #333333;
line-height: 20px;
}
}
.exam-btn-box{
box-sizing: border-box;
width: 100%;
padding-top: 30px;
border-top: 1px solid #ccc;
.exam-btn{
text-align: center;
line-height: 40px;
width: 116px;
height: 40px;
background: #C01540;
border-radius: 4px;
font-size: 14px;
font-weight: bold;
color: #FFFFFF;
}
} }
} }
</style> </style>
...@@ -36,7 +36,12 @@ const examAnswer = [ ...@@ -36,7 +36,12 @@ const examAnswer = [
/* 考前摸底 */ /* 考前摸底 */
{ {
path: '/testExam', path: '/testExam',
component: () => import(/* webpackChunkName: "course-learn" */ '@/pages/testExam') component: () => import(/* webpackChunkName: "exam" */ '@/pages/testExam')
},
// 真题实战
{
path: '/exam',
component: () => import(/* webpackChunkName: "exam" */ '@/pages/exam')
} }
] ]
......
...@@ -64,10 +64,6 @@ em, ...@@ -64,10 +64,6 @@ em,
i { i {
font-style: normal; font-style: normal;
} }
strong,
b {
font-weight: normal;
}
img { img {
border: none; border: none;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论