Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
study
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
Damon
study
Commits
254e59f6
Commit
254e59f6
authored
Jul 26, 2021
by
Facius
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev-v1.0.0' of
https://git.banshouhui.com/wuzhenzhe/study
into dev-v1.0.0
parents
d6082216
a5c89327
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
6 deletions
+10
-6
.env.test.js
.env.test.js
+1
-1
answer.vue
src/pages/learn/answer.vue
+1
-0
beginAnswer.vue
src/pages/learn/beginAnswer.vue
+5
-2
score.vue
src/pages/learn/score.vue
+3
-3
No files found.
.env.test.js
View file @
254e59f6
const
UNI_APP
=
{
const
UNI_APP
=
{
apiUrl
:
'https://exam.
testrest.
banshouhui.com'
,
apiUrl
:
'https://exam.banshouhui.com'
,
qn_base_url
:
'https://qn-static.banshouhui.com/study/'
,
qn_base_url
:
'https://qn-static.banshouhui.com/study/'
,
qn_asset_url
:
'https://img2.banshouhui.com/'
,
qn_asset_url
:
'https://img2.banshouhui.com/'
,
uCenterUrl
:
'http://rest-u.test.ibanshou.cn/'
,
uCenterUrl
:
'http://rest-u.test.ibanshou.cn/'
,
...
...
src/pages/learn/answer.vue
View file @
254e59f6
...
@@ -220,6 +220,7 @@ export default {
...
@@ -220,6 +220,7 @@ export default {
if
(
e
?.
recordId
)
this
.
recordId
=
e
.
recordId
// 考试ID
if
(
e
?.
recordId
)
this
.
recordId
=
e
.
recordId
// 考试ID
if
(
e
?.
passPoint
)
this
.
passPoint
=
parseInt
(
e
.
passPoint
)
// 合格分数
if
(
e
?.
passPoint
)
this
.
passPoint
=
parseInt
(
e
.
passPoint
)
// 合格分数
if
(
e
?.
totalPoint
)
this
.
totalPoint
=
parseInt
(
e
.
totalPoint
)
// 考试总分/总条数
if
(
e
?.
totalPoint
)
this
.
totalPoint
=
parseInt
(
e
.
totalPoint
)
// 考试总分/总条数
if
(
e
?.
duration
)
this
.
timestamp
=
parseInt
(
e
.
duration
)
*
60
// 考试时间
switch
(
this
.
source
)
{
switch
(
this
.
source
)
{
case
1
:
case
1
:
case
2
:
case
2
:
...
...
src/pages/learn/beginAnswer.vue
View file @
254e59f6
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
type=
"primary"
type=
"primary"
shape=
"circle"
shape=
"circle"
>
>
开始模拟
开始模拟
考试
</u-button>
</u-button>
</view>
</view>
</view>
</view>
...
@@ -63,6 +63,7 @@ export default {
...
@@ -63,6 +63,7 @@ export default {
kemu
:
'考试科目'
,
kemu
:
'考试科目'
,
tishu
:
'考试题数'
,
tishu
:
'考试题数'
,
biaozhun
:
'合格标准'
,
biaozhun
:
'合格标准'
,
duration
:
'考试时间'
,
guize
:
'出题规则'
,
guize
:
'出题规则'
,
}
}
},
},
...
@@ -93,6 +94,7 @@ export default {
...
@@ -93,6 +94,7 @@ export default {
tishu
:
`
${
res
.
totalPoint
}
题`
,
tishu
:
`
${
res
.
totalPoint
}
题`
,
biaozhun
:
`
${
res
.
passPoint
}
分`
,
biaozhun
:
`
${
res
.
passPoint
}
分`
,
passPoint
:
res
.
passPoint
,
passPoint
:
res
.
passPoint
,
duration
:
`
${
res
.
duration
}
分钟`
,
guize
:
'根据国家规定比例随机抽取'
guize
:
'根据国家规定比例随机抽取'
}
}
})
})
...
@@ -114,7 +116,8 @@ export default {
...
@@ -114,7 +116,8 @@ export default {
recordId
:
res
.
id
,
recordId
:
res
.
id
,
source
:
3
,
source
:
3
,
passPoint
:
this
.
info
.
passPoint
,
passPoint
:
this
.
info
.
passPoint
,
totalPoint
:
this
.
info
.
totalPoint
totalPoint
:
this
.
info
.
totalPoint
,
duration
:
this
.
info
.
duration
}
}
})
})
}
}
...
...
src/pages/learn/score.vue
View file @
254e59f6
...
@@ -194,12 +194,12 @@ export default {
...
@@ -194,12 +194,12 @@ export default {
})
})
},
},
handleClickRecord
()
{
handleClickRecord
()
{
console
.
log
(
"11"
,
11
)
this
.
$u
.
route
({
this
.
$u
.
route
({
type
:
'push'
,
url
:
'pages/learn/answer'
,
url
:
'/pages/learn/answer'
,
params
:
{
params
:
{
source
:
5
,
source
:
5
,
}
,
}
})
})
},
},
handleClick
()
{
handleClick
()
{
...
...
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