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
52c021f7
Commit
52c021f7
authored
Feb 26, 2021
by
和慭琛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
考试 UI高保真还原 60%
parent
7e459f3b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
72 additions
and
33 deletions
+72
-33
pages.json
take-order/pages.json
+14
-14
index.vue
take-order/pages/exam/index.vue
+58
-19
No files found.
take-order/pages.json
View file @
52c021f7
...
@@ -7,6 +7,18 @@
...
@@ -7,6 +7,18 @@
"pages"
:
[
//pages数组中第一项表示应用启动页,参考:https
:
//uniapp.dcloud.io/collocation/pages
"pages"
:
[
//pages数组中第一项表示应用启动页,参考:https
:
//uniapp.dcloud.io/collocation/pages
{
{
"path"
:
"pages/exam/index"
,
"style"
:
{
"navigationBarTitleText"
:
"入驻考试"
}
},{
"path"
:
"pages/exam/start"
,
"style"
:
{
"navigationBarTitleText"
:
"考试"
}
},{
"path"
:
"pages/settle/index"
,
"path"
:
"pages/settle/index"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"充电桩安装招募"
"navigationBarTitleText"
:
"充电桩安装招募"
...
@@ -25,21 +37,9 @@
...
@@ -25,21 +37,9 @@
}
}
},
},
{
"path"
:
"pages/exam/start"
,
"style"
:
{
"navigationBarTitleText"
:
"考试"
}
},
{
"path"
:
"pages/exam/index"
,
"style"
:
{
"navigationBarTitleText"
:
"入驻考试"
}
},
{
{
"path"
:
"pages/settle/file"
,
"path"
:
"pages/settle/file"
,
...
...
take-order/pages/exam/index.vue
View file @
52c021f7
...
@@ -19,10 +19,23 @@
...
@@ -19,10 +19,23 @@
<view
class=
"topicView"
>
<view
class=
"topicView"
>
<text
class=
"topicText"
>
{{
currentItem
.
question
.
content
}}
</text>
<text
class=
"topicText"
>
{{
currentItem
.
question
.
content
}}
</text>
</view>
</view>
<view
class=
"itemView"
v-for=
"(item,ikey) in currentItem.answerList"
:key=
"ikey"
>
<view
class=
"itemBackView"
v-for=
"(item,ikey) in currentItem.answerList"
:key=
"ikey"
>
<view
class=
"itemView"
>
<view
class=
"itemIndexView"
>
<text
class=
"itemIndexText"
>
A
</text>
</view>
<text
:class=
"item.isSelect ? 'itemText selectedColor' : 'itemText defaultColor' "
<text
:class=
"item.isSelect ? 'itemText selectedColor' : 'itemText defaultColor' "
@
click=
"itemClick(item,ikey)"
>
{{
item
.
content
}}
</text>
@
click=
"itemClick(item,ikey)"
>
哒哒所大所大所大所大所大所大所大所大所大所大所大所大所大所大所大所多撒大大所大撒多
</text>
<!--view>
{{
item
.
content
}}
</view-->
</view>
</view>
</view>
<!--view class="itemView" v-for="(item,ikey) in currentItem.answerList":key="ikey">
<text
:class=
"item.isSelect ? 'itemText selectedColor' : 'itemText defaultColor' "
@
click=
"itemClick(item,ikey)"
>
{{
item
.
content
}}
</text>
</view-->
<view
class=
"answerBottomView"
>
<view
class=
"answerBottomView"
>
<image
class=
"timeIcon"
src=
""
mode=
""
></image>
<image
class=
"timeIcon"
src=
""
mode=
""
></image>
<text
class=
"timeText"
>
{{
currentTime
}}
</text>
<text
class=
"timeText"
>
{{
currentTime
}}
</text>
...
@@ -47,7 +60,7 @@
...
@@ -47,7 +60,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
,
...
@@ -482,14 +495,16 @@
...
@@ -482,14 +495,16 @@
.topicText
{
.topicText
{
color
:
#333333
;
color
:
#333333
;
font-size
:
28
rpx
;
font-size
:
36
rpx
;
padding-left
:
28
rpx
;
padding-left
:
28
rpx
;
padding-right
:
36
rpx
;
padding-right
:
36
rpx
;
padding-bottom
:
20
rpx
;
padding-bottom
:
20
rpx
;
line-height
:
48
rpx
;
line-height
:
48
rpx
;
font-weight
:
bold
;
}
}
.itemView
{
.itemBackView
{
background-color
:
#4CD964
;
margin-top
:
40
rpx
;
margin-top
:
40
rpx
;
width
:
100%
;
width
:
100%
;
display
:
flex
;
display
:
flex
;
...
@@ -497,11 +512,35 @@
...
@@ -497,11 +512,35 @@
align-items
:
center
;
align-items
:
center
;
}
}
.itemView
{
background-color
:
#FFFFFF
;
width
:
690
rpx
;
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
border-radius
:
12
rpx
;
}
.itemIndexView
{
background-color
:
#D02B2B
;
margin-left
:
30
rpx
;
width
:
40
rpx
;
height
:
40
rpx
;
border-radius
:
8
rpx
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
.itemIndexText
{
font-size
:
28
rpx
;
}
.itemText
{
.itemText
{
margin-left
:
20
rpx
;
font-size
:
28
rpx
;
font-size
:
28
rpx
;
padding-top
:
40
rpx
;
padding-top
:
40
rpx
;
padding-bottom
:
40
rpx
;
padding-bottom
:
40
rpx
;
padding-left
:
40
rpx
;
padding-right
:
40
rpx
;
padding-right
:
40
rpx
;
}
}
...
...
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