Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
X
x-learn
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
x-learn
Commits
f77a68fb
提交
f77a68fb
authored
11月 06, 2020
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
增加考试介绍页面
上级
cbdb76d5
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
91 行增加
和
51 行删除
+91
-51
exam_table.png
src/assets/images/exam_table.png
+0
-0
AppContainer.vue
src/components/AppContainer.vue
+11
-0
index.vue
src/pages/exam/index.vue
+60
-0
index.vue
src/pages/testExam/index.vue
+14
-46
routes.js
src/router/routes.js
+6
-1
style.scss
src/style.scss
+0
-4
没有找到文件。
src/assets/images/exam_table.png
0 → 100644
浏览文件 @
f77a68fb
41.7 KB
src/components/AppContainer.vue
浏览文件 @
f77a68fb
...
@@ -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
>
src/pages/exam/index.vue
0 → 100644
浏览文件 @
f77a68fb
<
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
>
src/pages/testExam/index.vue
浏览文件 @
f77a68fb
<
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
;
background-color
:
#fff
;
-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
;
line-height
:
20px
;
}
color
:
#333
;
}
.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
>
src/router/routes.js
浏览文件 @
f77a68fb
...
@@ -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'
)
}
}
]
]
...
...
src/style.scss
浏览文件 @
f77a68fb
...
@@ -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
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论