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
967b69a1
authored
Oct 27, 2022
by
Lays-lzq
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/newDraw' into dev
parents
ecd06226
f506751e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
3 deletions
+5
-3
components/Lottery/Instant/Main.vue
+1
-1
components/Lottery/Timing/JoinButton.vue
+2
-2
components/Lottery/Timing/Main.vue
+1
-0
components/Lottery/Timing/MiniMain.vue
+1
-0
No files found.
components/Lottery/Instant/Main.vue
View file @
967b69a1
...
...
@@ -269,7 +269,7 @@ export default {
methods
:
{
...
mapActions
({
jumpToLogin
:
'users/jumpToLogin'
,
updateInfo
:
'lottery/updateInfo'
}),
// 中奖后, 关闭窗口回调
winCloseCallback
(){
winCloseCallback
()
{
this
.
isShowWin
=
false
if
(
this
.
winInfo
.
id
!==
0
&&
!
this
.
isBindPhone
)
{
this
.
isShowBindPhone
=
true
...
...
components/Lottery/Timing/JoinButton.vue
View file @
967b69a1
...
...
@@ -3,11 +3,11 @@
<div
class=
"btn-box"
:style=
"
{ '--btnBottom': btnBottom }">
<template
v-if=
"+lotteryInfo.status === LOTTERY_STATUS.teaser"
>
<button
v-if=
"lotteryInfo.condition === 1"
class=
"join-btn pre"
>
未开始
</button>
<button
v-if=
"lotteryInfo.condition === 2"
class=
"join-btn pre"
>
等待开奖
</button>
<button
v-if=
"lotteryInfo.condition === 2"
class=
"join-btn pre"
>
未开始
</button>
</
template
>
<
template
v-if=
"+lotteryInfo.status === LOTTERY_STATUS.start"
>
<template
v-if=
"lotteryInfo.userTimes === 0 && lotteryInfo.isDraw"
>
<button
class=
"join-btn pre"
>
未开始
</button>
<button
class=
"join-btn pre"
>
等待开奖
</button>
</
template
>
<
template
v-else
>
<div
class=
"btn-mask"
></div>
...
...
components/Lottery/Timing/Main.vue
View file @
967b69a1
...
...
@@ -147,6 +147,7 @@ export default {
this
.
isBtnLoading
=
false
}
else
{
this
.
$toast
.
fail
(
errorMessage
)
this
.
isBtnLoading
=
false
}
})
}
...
...
components/Lottery/Timing/MiniMain.vue
View file @
967b69a1
...
...
@@ -156,6 +156,7 @@ export default {
this
.
isBtnLoading
=
false
}
else
{
this
.
$toast
.
fail
(
errorMessage
)
this
.
isBtnLoading
=
false
}
})
}
...
...
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