Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李俊赕
self-support
Commits
acfe4382
Commit
acfe4382
authored
Apr 16, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
考试首页
parent
5d47a90d
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
320 additions
and
137 deletions
+320
-137
pages.json
src/pages.json
+10
-0
index.vue
src/pages/exam/index.vue
+4
-5
course-detail.vue
src/pages/learn/course-detail.vue
+0
-1
exam.vue
src/pages/learn/exam.vue
+304
-128
index.vue
src/pages/login/index.vue
+0
-1
base.vue
src/pages/settle/base.vue
+1
-1
file.vue
src/pages/settle/file.vue
+1
-1
tips1@3x.png
src/static/settle/tips1@3x.png
+0
-0
No files found.
src/pages.json
View file @
acfe4382
...
@@ -217,6 +217,16 @@
...
@@ -217,6 +217,16 @@
"path"
:
"pages/settle/base"
,
//启动页面,必选
"path"
:
"pages/settle/base"
,
//启动页面,必选
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
},
},
{
"name"
:
"在线考试"
,
//模式名称
"path"
:
"pages/learn/exam"
,
//启动页面,必选
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
},
{
"name"
:
"在线考试-old"
,
//模式名称
"path"
:
"pages/exam/start"
,
//启动页面,必选
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
},
{
{
"name"
:
"入驻提示"
,
//模式名称
"name"
:
"入驻提示"
,
//模式名称
"path"
:
"pages/settle/prompt"
,
//启动页面,必选
"path"
:
"pages/settle/prompt"
,
//启动页面,必选
...
...
src/pages/exam/index.vue
View file @
acfe4382
<
template
>
<
template
>
<view
class=
"backView"
>
<view
class=
"backView"
>
<process
:process=
"2"
:type=
"0"
title=
"业务流程"
></process>
<template
v-if=
"isStart==false"
>
<template
v-if=
"isStart==false"
>
<view
class=
"noticeView"
>
<view
class=
"noticeView"
>
<text
class=
"noticeText"
>
规则:系统随机出现20道考试题目,每道题5分,每题答题时间100秒,在规定时间内答对题目的记分。
<text
class=
"noticeText"
>
规则:系统随机出现20道考试题目,每道题5分,每题答题时间100秒,在规定时间内答对题目的记分。
...
@@ -151,7 +150,7 @@
...
@@ -151,7 +150,7 @@
}
}
if
(
res
.
data
.
code
==
401
||
res
.
data
.
code
==
403
)
{
if
(
res
.
data
.
code
==
401
||
res
.
data
.
code
==
403
)
{
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
'/pages/login/
index
'
url
:
'/pages/login/
wxlogin
'
})
})
return
return
}
}
...
@@ -220,7 +219,7 @@
...
@@ -220,7 +219,7 @@
if
(
res
.
statusCode
==
401
)
{
if
(
res
.
statusCode
==
401
)
{
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
'/pages/login/
index
'
url
:
'/pages/login/
wxlogin
'
})
})
return
return
}
}
...
@@ -289,7 +288,7 @@
...
@@ -289,7 +288,7 @@
uni
.
hideLoading
()
uni
.
hideLoading
()
if
(
res
.
statusCode
==
401
)
{
if
(
res
.
statusCode
==
401
)
{
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
'/pages/login/
index
'
url
:
'/pages/login/
wxlogin
'
})
})
return
return
}
}
...
@@ -452,7 +451,7 @@
...
@@ -452,7 +451,7 @@
if
(
res
.
statusCode
==
401
)
{
if
(
res
.
statusCode
==
401
)
{
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
'/pages/login/
index
'
url
:
'/pages/login/
wxlogin
'
})
})
return
return
}
}
...
...
src/pages/learn/course-detail.vue
View file @
acfe4382
...
@@ -65,7 +65,6 @@ export default {
...
@@ -65,7 +65,6 @@ export default {
let
that
=
this
let
that
=
this
if
(
that
.
courseId
)
{
if
(
that
.
courseId
)
{
that
.
$u
.
api
.
saveCourseRate
({
courseId
:
that
.
courseId
}).
then
(
res
=>
{
that
.
$u
.
api
.
saveCourseRate
({
courseId
:
that
.
courseId
}).
then
(
res
=>
{
debugger
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
// uni.navigateBack({delta: 1})
// uni.navigateBack({delta: 1})
uni
.
navigateTo
({
uni
.
navigateTo
({
...
...
src/pages/learn/exam.vue
View file @
acfe4382
This diff is collapsed.
Click to expand it.
src/pages/login/index.vue
View file @
acfe4382
...
@@ -103,7 +103,6 @@ export default {
...
@@ -103,7 +103,6 @@ export default {
signupLogin
(
e
)
{
signupLogin
(
e
)
{
var
that
=
this
var
that
=
this
debugger
console
.
log
(
e
.
detail
.
errMsg
)
console
.
log
(
e
.
detail
.
errMsg
)
console
.
log
(
e
.
detail
.
iv
)
console
.
log
(
e
.
detail
.
iv
)
console
.
log
(
e
.
detail
.
encryptedData
)
console
.
log
(
e
.
detail
.
encryptedData
)
...
...
src/pages/settle/base.vue
View file @
acfe4382
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<u-icon
name=
"arrow-right"
color=
"#2272FF"
size=
"28"
></u-icon>
<u-icon
name=
"arrow-right"
color=
"#2272FF"
size=
"28"
></u-icon>
</view>
</view>
<view
class=
"tips"
>
可以服务的城市,可选多个
</view>
<view
class=
"tips"
>
可以服务的城市,可选多个
</view>
<view
v-if=
""
>
<view
v-if=
"
cityText
"
>
<view
class=
"line-view-d"
></view>
<view
class=
"line-view-d"
></view>
<view
class=
"city-text"
>
{{
cityText
}}
</view>
<view
class=
"city-text"
>
{{
cityText
}}
</view>
</view>
</view>
...
...
src/pages/settle/file.vue
View file @
acfe4382
...
@@ -584,7 +584,7 @@
...
@@ -584,7 +584,7 @@
background
:
#2272FF
;
background
:
#2272FF
;
font-size
:
32rpx
;
font-size
:
32rpx
;
color
:
#fff
;
color
:
#fff
;
&
[
disabled
]
{
&
[
disabled
]
{
background-color
:
#D1D4D4
;
background-color
:
#D1D4D4
;
color
:
#FFFFFF
;
color
:
#FFFFFF
;
...
...
src/static/settle/tips1@3x.png
0 → 100644
View file @
acfe4382
2.18 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment