Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
activities
/
web-lottery
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f1badd5e
authored
Nov 16, 2023
by
Lays-lzq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 样式优化
parent
7056dc15
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
15 deletions
+26
-15
pages/recordDetail/index.vue
+15
-10
pages/records/index.vue
+11
-5
No files found.
pages/recordDetail/index.vue
View file @
f1badd5e
...
...
@@ -16,11 +16,13 @@
<
label
>
参与时间:
<
/label
>
<
span
v
-
if
=
"detailInfo.drawTime"
>
{{
(
detailInfo
.
drawTime
*
1000
)
|
formatDate
(
'YYYY-MM-DD HH:mm'
)
}}
<
/span
>
<
/li
>
<
li
>
<
label
v
-
if
=
"detailInfo.drawIntro"
>
抽奖介绍:
<
/label
>
<
label
v
-
if
=
"detailInfo.winningInstructions"
>
中奖说明:
<
/label
>
<
span
v
-
if
=
"detailInfo.drawIntro"
>
{{
detailInfo
.
drawIntro
}}
<
/span
>
<
span
v
-
if
=
"detailInfo.winningInstructions"
>
{{
detailInfo
.
winningInstructions
}}
<
/span
>
<
li
v
-
if
=
"detailInfo.drawIntro"
>
<
label
>
抽奖介绍:
<
/label
>
<
span
>
{{
detailInfo
.
drawIntro
||
'/'
}}
<
/span
>
<
/li
>
<
li
v
-
if
=
"detailInfo.winningInstructions"
>
<
label
>
中奖说明:
<
/label
>
<
span
>
{{
detailInfo
.
winningInstructions
||
'/'
}}
<
/span
>
<
/li
>
<
li
>
<
label
>
获得奖品:
<
/label
>
...
...
@@ -216,8 +218,10 @@ export default {
font
-
weight
:
500
;
color
:
#
666
;
white
-
space
:
nowrap
;
line
-
height
:
1
9
px
;
line
-
height
:
1
8.5
px
;
min
-
width
:
65
px
;
font
-
size
:
13
px
;
font
-
family
:
PingFangSC
-
Medium
,
PingFang
SC
;
}
&
__content
{
display
:
flex
;
...
...
@@ -238,10 +242,11 @@ export default {
}
span
,
p
{
color
:
#
333
;
font
-
size
:
14
px
;
font
-
weight
:
500
;
line
-
height
:
19
px
;
line
-
height
:
18.5
px
;
font
-
size
:
13
px
;
font
-
family
:
PingFangSC
-
Regular
,
PingFang
SC
;
font
-
weight
:
400
;
color
:
#
333333
;
}
}
}
...
...
pages/records/index.vue
View file @
f1badd5e
...
...
@@ -15,7 +15,7 @@
<div
v-for=
"item in recordList"
:key=
"item.id"
class=
"records__list-item"
>
<div
class=
"records__item-top"
>
<div
class=
"records__item-toptitle"
>
{{
item
.
title
}}
</div>
<div
class=
"records__item-topstatus
"
>
{{
WRITEOFF_STATUS_TXT
[
+
item
.
status
]
}}
</div>
<div
v-if=
"+item.prizeId !== 0"
class=
"records__item-topstatus"
:class=
"
{ yet: +item.status === 0 }
">
{{
WRITEOFF_STATUS_TXT
[
+
item
.
status
]
}}
</div>
</div>
<div
class=
"records__item-middle"
>
<div
class=
"records__item-middleimg"
>
...
...
@@ -167,6 +167,9 @@ export default {
}
}
}
.yet
{
color
:
#FF753A
;
}
&
__list-item
{
display
:
flex
;
flex-direction
:
column
;
...
...
@@ -175,13 +178,16 @@ export default {
margin-top
:
8px
;
border-radius
:
8px
;
padding
:
10px
12px
;
&:first-child
{
margin-top
:
12px
;
}
}
&
__item-middle
{
display
:
flex
;
&img
{
width
:
55px
;
height
:
55px
;
border
:
1px
solid
#dddddd
;
//
border
:
1px
solid
#dddddd
;
border-radius
:
6px
;
overflow
:
hidden
;
img
{
...
...
@@ -275,16 +281,16 @@ export default {
}
&
__empty
{
width
:
100%
;
height
:
100%
;
height
:
calc
(
100%
-
46px
)
;
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
justify-content
:
center
;
font-size
:
1
6
px
;
font-size
:
1
4
px
;
color
:
#999
;
font-weight
:
500
;
img
{
width
:
4
0%
;
width
:
2
0%
;
margin-bottom
:
10px
;
}
}
...
...
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