Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
X
x-learn
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
x-learn
Commits
2af6ca46
提交
2af6ca46
authored
2月 01, 2021
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
我的考试修改为模拟考试;服务专区增加留言反馈;
上级
b806652b
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
62 行增加
和
14 行删除
+62
-14
exam.js
src/api/exam.js
+2
-2
aside.vue
src/components/layout/aside.vue
+2
-2
ExamEnd.vue
src/modules/exam-module/src/ExamEnd.vue
+3
-3
index.vue
src/pages/contact/index.vue
+50
-2
index.vue
src/pages/exam/testExam/exam/index.vue
+1
-1
index.vue
src/pages/exam/testExam/index.vue
+1
-1
routes.js
src/router/routes.js
+3
-3
没有找到文件。
src/api/exam.js
浏览文件 @
2af6ca46
import
httpRequest
from
'@/utils/axios'
import
httpRequest
from
'@/utils/axios'
/**
/**
* 获取模拟
测
试试题
* 获取模拟
考
试试题
*/
*/
export
function
getExamQuestion
(
params
)
{
export
function
getExamQuestion
(
params
)
{
return
httpRequest
.
get
(
return
httpRequest
.
get
(
...
@@ -11,7 +11,7 @@ export function getExamQuestion(params) {
...
@@ -11,7 +11,7 @@ export function getExamQuestion(params) {
}
}
/**
/**
* 缓存模拟
测
试试题
* 缓存模拟
考
试试题
*/
*/
export
function
setCache
(
params
)
{
export
function
setCache
(
params
)
{
return
httpRequest
.
post
(
'/api/zy/v2/examination/examination-papers'
,
params
)
return
httpRequest
.
post
(
'/api/zy/v2/examination/examination-papers'
,
params
)
...
...
src/components/layout/aside.vue
浏览文件 @
2af6ca46
...
@@ -58,10 +58,10 @@ export default {
...
@@ -58,10 +58,10 @@ export default {
children
:
[{
title
:
'课程学习'
,
path
:
'/course/learn'
}]
children
:
[{
title
:
'课程学习'
,
path
:
'/course/learn'
}]
},
},
{
{
title
:
'
我的
考试'
,
title
:
'
模拟
考试'
,
icon
:
'icon-bianzuhong'
,
icon
:
'icon-bianzuhong'
,
children
:
[
children
:
[
{
title
:
'模拟
测
试'
,
path
:
'/testExam'
},
{
title
:
'模拟
考
试'
,
path
:
'/testExam'
},
{
title
:
'错题集合'
,
path
:
'/my/questions/wrong'
},
{
title
:
'错题集合'
,
path
:
'/my/questions/wrong'
},
{
title
:
'收藏试题'
,
path
:
'/my/questions/collection'
}
{
title
:
'收藏试题'
,
path
:
'/my/questions/collection'
}
]
]
...
...
src/modules/exam-module/src/ExamEnd.vue
浏览文件 @
2af6ca46
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
<img
v-show=
"ratioNum >= 40 && ratioNum < 60"
src=
"../assets/images/mountain2.png"
alt=
""
/>
<img
v-show=
"ratioNum >= 40 && ratioNum < 60"
src=
"../assets/images/mountain2.png"
alt=
""
/>
<img
v-show=
"ratioNum >= 60 && ratioNum < 99"
src=
"../assets/images/mountain3.png"
alt=
""
/>
<img
v-show=
"ratioNum >= 60 && ratioNum < 99"
src=
"../assets/images/mountain3.png"
alt=
""
/>
<img
v-show=
"ratioNum == 100"
src=
"../assets/images/mountain4.png"
alt=
""
/>
<img
v-show=
"ratioNum == 100"
src=
"../assets/images/mountain4.png"
alt=
""
/>
<
template
v-if=
"title != '模拟
测
试'"
>
<
template
v-if=
"title != '模拟
考
试'"
>
<div
v-if=
"ratioNum == 100"
class=
"txt"
>
成功近在眼前,再接再厉!
</div>
<div
v-if=
"ratioNum == 100"
class=
"txt"
>
成功近在眼前,再接再厉!
</div>
<div
v-else
class=
"txt"
>
您离成功还有一段距离,继续努力!
</div>
<div
v-else
class=
"txt"
>
您离成功还有一段距离,继续努力!
</div>
</
template
>
</
template
>
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
</div>
</div>
</
template
>
</
template
>
</div>
</div>
<div
class=
"nl-btn"
v-if=
"title == '模拟
测
试'"
>
<div
class=
"nl-btn"
v-if=
"title == '模拟
考
试'"
>
<!-- <div class="btn" @click="goAbilityExam">重做测试</div>
<!-- <div class="btn" @click="goAbilityExam">重做测试</div>
<div class="btn" @click="goCourse">学习课程</div> -->
<div class="btn" @click="goCourse">学习课程</div> -->
<div
class=
"new-btn"
@
click=
"goVip"
>
全部考试服务
</div>
<div
class=
"new-btn"
@
click=
"goVip"
>
全部考试服务
</div>
...
@@ -227,7 +227,7 @@ export default {
...
@@ -227,7 +227,7 @@ export default {
:
(
this
.
title
=
'章节练习'
)
:
(
this
.
title
=
'章节练习'
)
}
else
{
}
else
{
this
.
$route
.
query
.
type
===
1
||
this
.
$route
.
query
.
type
===
'1'
this
.
$route
.
query
.
type
===
1
||
this
.
$route
.
query
.
type
===
'1'
?
(
this
.
title
=
'模拟
测
试'
)
?
(
this
.
title
=
'模拟
考
试'
)
:
(
this
.
title
=
'真题实战'
)
:
(
this
.
title
=
'真题实战'
)
}
}
// this.title
// this.title
...
...
src/pages/contact/index.vue
浏览文件 @
2af6ca46
<
template
>
<
template
>
<app-container
title=
"联系客服"
class=
"contact"
>
<app-container
title=
"服务专区"
class=
"contact"
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
label-position=
"top"
ref=
"ruleForm"
class=
"form"
>
<el-form-item
label=
"留下您的宝贵意见"
prop=
"contents"
>
<el-input
type=
"textarea"
v-model=
"ruleForm.contents"
:autosize=
"
{ minRows: 6, maxRows: 10 }">
</el-input>
</el-form-item>
<el-form-item
label=
"您的联系方式"
prop=
"title"
>
<el-input
v-model=
"ruleForm.title"
style=
"max-width: 280px"
></el-input>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
:loading=
"submitLoading"
@
click=
"handleSubmit"
>
提交
</el-button>
</el-form-item>
</el-form>
<p><img
src=
"../../assets/images/ser-icon1.png"
/>
客服微信:18610017891
</p>
<p><img
src=
"../../assets/images/ser-icon1.png"
/>
客服微信:18610017891
</p>
<p><img
src=
"../../assets/images/ser-icon2.png"
/>
客服电话:18610017891
</p>
<p><img
src=
"../../assets/images/ser-icon2.png"
/>
客服电话:18610017891
</p>
<p><img
src=
"../../assets/images/ser-icon3.png"
/>
工作时间:工作日9:00-12:00,13:00-18:00
</p>
<p><img
src=
"../../assets/images/ser-icon3.png"
/>
工作时间:工作日9:00-12:00,13:00-18:00
</p>
...
@@ -18,12 +29,49 @@
...
@@ -18,12 +29,49 @@
<
script
>
<
script
>
import
AppContainer
from
'@/components/AppContainer'
import
AppContainer
from
'@/components/AppContainer'
import
*
as
api
from
'@/api/my'
export
default
{
export
default
{
components
:
{
AppContainer
}
components
:
{
AppContainer
},
data
()
{
return
{
ruleForm
:
{
title
:
''
,
contents
:
''
},
rules
:
{
title
:
{
required
:
true
,
message
:
'请输入您的联系方式'
,
trigger
:
'blur'
},
contents
:
{
required
:
true
,
message
:
'请输入您的意见'
,
trigger
:
'blur'
}
},
submitLoading
:
false
}
},
methods
:
{
handleSubmit
()
{
this
.
$refs
.
ruleForm
.
validate
().
then
(
this
.
handleSubmitRequest
)
},
handleSubmitRequest
()
{
this
.
submitLoading
=
true
api
.
submitFeedback
(
this
.
ruleForm
)
.
then
(
response
=>
{
this
.
$message
({
message
:
'提交成功'
,
type
:
'success'
})
// 重置表单
this
.
$refs
.
ruleForm
.
resetFields
()
})
.
finally
(()
=>
{
this
.
submitLoading
=
false
})
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.form
{
margin-bottom
:
40px
;
max-width
:
700px
;
}
.contact
{
.contact
{
p
{
p
{
margin-bottom
:
20px
;
margin-bottom
:
20px
;
...
...
src/pages/exam/testExam/exam/index.vue
浏览文件 @
2af6ca46
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<div
class=
"answer-box"
>
<div
class=
"answer-box"
>
<div
class=
"head"
id=
"head-h"
>
<div
class=
"head"
id=
"head-h"
>
<el-button
icon=
"el-icon-arrow-left"
circle
@
click=
"$router.back()"
></el-button>
<el-button
icon=
"el-icon-arrow-left"
circle
@
click=
"$router.back()"
></el-button>
<div
class=
"title"
>
模拟
测
试
</div>
<div
class=
"title"
>
模拟
考
试
</div>
<div
class=
"right"
>
<div
class=
"right"
>
<div
class=
"count"
>
{{
time
.
examTimeText
}}
</div>
<div
class=
"count"
>
{{
time
.
examTimeText
}}
</div>
</div>
</div>
...
...
src/pages/exam/testExam/index.vue
浏览文件 @
2af6ca46
<
template
>
<
template
>
<app-container
title=
"模拟
测
试介绍"
>
<app-container
title=
"模拟
考
试介绍"
>
<div
class=
"desc-exam"
>
<div
class=
"desc-exam"
>
<p>
考试时间20分钟。
</p>
<p>
考试时间20分钟。
</p>
<p>
演示考试题目共10题,全部为单选题。
</p>
<p>
演示考试题目共10题,全部为单选题。
</p>
...
...
src/router/routes.js
浏览文件 @
2af6ca46
...
@@ -27,12 +27,12 @@ const courseRoutes = [
...
@@ -27,12 +27,12 @@ const courseRoutes = [
}
}
]
]
const
examAnswer
=
[
const
examAnswer
=
[
/* 模拟
测
试 */
/* 模拟
考
试 */
{
{
path
:
'/testExam'
,
path
:
'/testExam'
,
component
:
()
=>
import
(
/* webpackChunkName: "exam" */
'@/pages/exam/testExam/index'
)
component
:
()
=>
import
(
/* webpackChunkName: "exam" */
'@/pages/exam/testExam/index'
)
},
},
/* 模拟
测
试结果页 */
/* 模拟
考
试结果页 */
{
{
path
:
'/testExam/result'
,
path
:
'/testExam/result'
,
component
:
()
=>
import
(
/* webpackChunkName: "exam" */
'@/pages/exam/testExam/exam/result'
)
component
:
()
=>
import
(
/* webpackChunkName: "exam" */
'@/pages/exam/testExam/exam/result'
)
...
@@ -128,7 +128,7 @@ export default [
...
@@ -128,7 +128,7 @@ export default [
{
path
:
'questions'
,
component
:
()
=>
import
(
/* webpackChunkName: "my" */
'@/pages/my/questions/questionAll'
)
}
{
path
:
'questions'
,
component
:
()
=>
import
(
/* webpackChunkName: "my" */
'@/pages/my/questions/questionAll'
)
}
]
]
},
},
/* 模拟
测
试考试 */
/* 模拟
考
试考试 */
{
{
path
:
'/testExam/exam'
,
path
:
'/testExam/exam'
,
component
:
()
=>
import
(
/* webpackChunkName: "course-learn" */
'@/pages/exam/testExam/exam/index'
)
component
:
()
=>
import
(
/* webpackChunkName: "course-learn" */
'@/pages/exam/testExam/exam/index'
)
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论