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
4682927e
authored
Sep 15, 2021
by
赖慧粮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(style): light
parent
d67a0590
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
8 deletions
+14
-8
components/Lottery/Instant/CountdownBar.vue
+3
-2
components/Lottery/Instant/MiniMain.vue
+11
-6
No files found.
components/Lottery/Instant/CountdownBar.vue
View file @
4682927e
...
@@ -86,15 +86,16 @@ export default {
...
@@ -86,15 +86,16 @@ export default {
align-items
:
center
;
align-items
:
center
;
&__status
{
&__status
{
padding
:
0
24px
;
padding
:
0
24px
;
min-width
:
236px
;
height
:
29px
;
height
:
29px
;
line-height
:
29px
;
line-height
:
29px
;
border-radius
:
50px
;
border-radius
:
50px
;
background-color
:
rgba
(
3
,
2
,
2
,
0.4
);
background-color
:
rgba
(
3
,
2
,
2
,
0.4
);
border
:
2px
solid
rgba
(
255
,
144
,
110
,
0.4
);
border
:
2px
solid
rgba
(
255
,
144
,
110
,
0.4
);
font-size
:
13px
;
font-size
:
13px
;
text-align
:
center
;
//
text-align
:
center
;
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
//
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
color
:
#fff
;
color
:
#fff
;
font-weight
:
400
;
font-weight
:
400
;
...
...
components/Lottery/Instant/MiniMain.vue
View file @
4682927e
...
@@ -193,6 +193,11 @@ export default {
...
@@ -193,6 +193,11 @@ export default {
},
},
// 开始抽奖
// 开始抽奖
startLottery
()
{
startLottery
()
{
this
.
isLottering
=
!
this
.
isLottering
if
(
this
.
isLogin
)
{
return
}
// 抽奖不在活动日期内
// 抽奖不在活动日期内
if
(
this
.
isNotStart
)
{
if
(
this
.
isNotStart
)
{
this
.
$toast
(
`抽奖活动
${
LOTTERY_STATUS_TXT
[
+
this
.
lotteryInfo
.
status
].
label
}
`
)
this
.
$toast
(
`抽奖活动
${
LOTTERY_STATUS_TXT
[
+
this
.
lotteryInfo
.
status
].
label
}
`
)
...
@@ -512,12 +517,12 @@ export default {
...
@@ -512,12 +517,12 @@ export default {
}
}
::v-deep
.prize-wheel__lights
{
::v-deep
.prize-wheel__lights
{
&::before
{
width
:
10px
;
height
:
10px
;
top
:
6px
;
}
span
{
span
{
&::before
{
width
:
10px
;
height
:
10px
;
top
:
6px
;
}
&
:nth-of-type
(
even
)
:before
{
&
:nth-of-type
(
even
)
:before
{
animation
:
unset
;
animation
:
unset
;
}
}
...
@@ -526,7 +531,7 @@ export default {
...
@@ -526,7 +531,7 @@ export default {
&
--no-lightning
{
&
--no-lightning
{
::v-deep
.prize-wheel__lights
{
::v-deep
.prize-wheel__lights
{
span
{
span
{
&:
:
before
{
&:before
{
width
:
10px
;
width
:
10px
;
height
:
10px
;
height
:
10px
;
top
:
6px
;
top
:
6px
;
...
...
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