Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
take_order
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
和慭琛
take_order
Commits
b77109b2
Commit
b77109b2
authored
Feb 24, 2021
by
和慭琛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
开始考试页 UI高保真还原 100%
parent
1d341e43
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
156 additions
and
8 deletions
+156
-8
pages.json
take-order/pages.json
+17
-7
index.vue
take-order/pages/exam/index.vue
+1
-1
start.vue
take-order/pages/exam/start.vue
+138
-0
No files found.
take-order/pages.json
View file @
b77109b2
...
@@ -8,6 +8,22 @@
...
@@ -8,6 +8,22 @@
{
{
"path"
:
"pages/exam/start"
,
"style"
:
{
"navigationBarTitleText"
:
"考试"
}
},
{
"path"
:
"pages/exam/index"
,
"style"
:
{
"navigationBarTitleText"
:
"入驻考试"
}
},
{
"path"
:
"pages/settle/file"
,
"path"
:
"pages/settle/file"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"入驻资料"
"navigationBarTitleText"
:
"入驻资料"
...
@@ -101,13 +117,7 @@
...
@@ -101,13 +117,7 @@
{
"path"
:
"pages/exam/index"
,
"style"
:
{
"navigationBarTitleText"
:
"入驻考试"
}
},
...
...
take-order/pages/exam/index.vue
View file @
b77109b2
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
examId
:
2
,
examId
:
2
,
userExamId
:
0
,
userExamId
:
0
,
userAnswerIds
:
''
,
userAnswerIds
:
''
,
isStart
:
fals
e
,
isStart
:
tru
e
,
currentNumber
:
1
,
currentNumber
:
1
,
currentItem
:
null
,
currentItem
:
null
,
isSelect
:
false
,
isSelect
:
false
,
...
...
take-order/pages/exam/start.vue
0 → 100644
View file @
b77109b2
<
template
>
<view
class=
"backView"
>
<view
class=
"topView"
>
<view
class=
"icon"
>
<text
class=
"iconText"
>
规则
</text>
</view>
</view>
<view
class=
"topView"
>
<text
class=
"contentText"
>
{{
content
}}
</text>
</view>
<text
class=
"noticeText"
>
{{
notice
}}
</text>
<view
class=
"imageView"
>
<image
class=
"image"
:src=
"image_url"
mode=
""
></image>
</view>
<view
class=
"bottomView"
>
<view
class=
"bottomBtn"
@
click=
"startClick()"
>
<text
class=
"bottomText"
>
开始考试答题
</text>
</view>
</view>
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
content
:
'系统随机给出20道考试题目,每道题5分,每题答题时间100秒,在规定时间内答对题目的记分。'
,
notice
:
'这是一场严肃的考试希望您认真对待,预祝您能够顺利通过考试!'
,
image_url
:
'https://qn-static.banshouhui.com/exam_start.png'
,
}
},
onLoad
(
e
)
{
},
methods
:
{
//开始考试 点击
startClick
:
function
()
{
uni
.
navigateTo
({
url
:
'/pages/exam/index'
})
},
}
}
</
script
>
<
style
>
.backView
{
background-color
:
#FFFFFF
;
position
:
absolute
;
top
:
0
;
left
:
0
;
width
:
100%
;
display
:
flex
;
flex-direction
:
column
;
}
.topView
{
width
:
100%
;
display
:
flex
;
}
.icon
{
background-color
:
#2272FF
;
width
:
120
rpx
;
height
:
64
rpx
;
border-radius
:
8
rpx
;
margin-top
:
60
rpx
;
margin-left
:
30
rpx
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
.iconText
{
color
:
#FFFFFF
;
font-size
:
30
rpx
;
}
.contentText
{
padding-top
:
44
rpx
;
padding-left
:
30
rpx
;
padding-right
:
40
rpx
;
font-size
:
36
rpx
;
line-height
:
48
rpx
;
color
:
#333333
;
}
.noticeText
{
color
:
#666666
;
font-size
:
28
rpx
;
padding-top
:
34
rpx
;
padding-left
:
30
rpx
;
padding-right
:
46
rpx
;
}
.imageView
{
padding-top
:
48
rpx
;
width
:
100%
;
display
:
flex
;
flex-direction
:
row-reverse
;
}
.image
{
padding-left
:
44
rpx
;
margin-right
:
0
;
height
:
766
rpx
;
}
.bottomView
{
padding-top
:
64
rpx
;
padding-bottom
:
68
rpx
;
width
:
100%
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
.bottomBtn
{
background-color
:
#2272FF
;
width
:
600
rpx
;
height
:
104
rpx
;
border-radius
:
52
rpx
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
.bottomText
{
color
:
#FFFFFF
;
font-size
:
32
rpx
;
}
</
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