Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
educationStu
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
向伟
educationStu
Commits
d1fb8532
Commit
d1fb8532
authored
Sep 09, 2021
by
罗超
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/xiangwei/educationstu
into master
parents
272b0c2c
d38e900a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
4 deletions
+24
-4
SingleChoice.vue
src/components/subject/SingleChoice.vue
+6
-4
examPaper.vue
src/pages/exam/examPaper.vue
+18
-0
No files found.
src/components/subject/SingleChoice.vue
View file @
d1fb8532
...
...
@@ -9,14 +9,14 @@
>
(共
{{
data
.
DetailsList
.
length
}}
道,
{{
data
.
GScore
}}
分)
</text
>
</view>
<view>
<view
class=
"ExamIndex_Box"
>
<text
class=
"Single_Before"
>
{{
ExamIndex
}}
</text
>
/
<text
class=
"Exam_Total"
>
{{
data
.
DetailsList
.
length
}}
</text>
</view>
<i
<!--
<i
class=
"iconfont icon-caidanzu answerSheet"
@
click=
"jumpAnswerSheet"
></i>
></i>
-->
</view>
<swiper
class=
"swiper-box"
...
...
@@ -166,7 +166,9 @@ export default {
font-weight
:
bold
;
color
:
#da7878
;
}
.ExamIndex_Box
{
margin-right
:
20px
;
}
.Exam_Total
{
font-size
:
25
rpx
;
color
:
gray
;
...
...
src/pages/exam/examPaper.vue
View file @
d1fb8532
...
...
@@ -25,6 +25,11 @@
</van-nav-bar>
<view
class=
"exam-con"
>
<view
v-for=
"(item, index) in peaperDetail.Paper.GroupList"
:key=
"index"
>
<i
class=
"iconfont icon-caidanzu answerSheet"
style=
"position:absolute;right:15px;top:85px;"
@
click=
"jumpAnswerSheet"
></i>
<!-- 数字单选题 -->
<SingleChoiceNumber
:startIndex=
"item.startIndex"
...
...
@@ -273,6 +278,8 @@ import {
}
from
"vue"
;
import
{
getSystemInfo
}
from
"../../utils/index"
;
import
{
getPaperDetail
}
from
"../../api/exam"
;
import
{
changeNumToHan
}
from
"../../utils/index"
;
import
SingleChoiceNumber
from
"../../components/subject/SingleChoiceNumber.vue"
;
import
SingleChoice
from
"../../components/subject/SingleChoice.vue"
;
import
MultipleChoice
from
"../../components/subject/MultipleChoice.vue"
;
...
...
@@ -328,6 +335,7 @@ export default {
isLast
:
false
,
//用于判断是否从后往前翻
});
let
methods
=
{
changeNumToHan
,
jumpPage
()
{
uni
.
navigateTo
({
url
:
"/pages/exam/examPaper"
,
...
...
@@ -361,6 +369,11 @@ export default {
this
.
changeIndex
--
;
this
.
isLast
=
true
;
},
jumpAnswerSheet
()
{
uni
.
navigateTo
({
url
:
"/pages/exam/answerSheet"
,
});
},
};
onMounted
(()
=>
{
console
.
log
(
366
,
data
.
peaperDetail
);
...
...
@@ -394,4 +407,9 @@ export default {
box-sizing
:
border-box
;
/* padding: 0 30rpx 30rpx; */
}
.answerSheet
{
font-size
:
30
rpx
;
margin-left
:
20
rpx
;
color
:
#000
;
}
</
style
>
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