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
f03fb19c
authored
Jan 10, 2023
by
Lays-lzq
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/12.14'
parents
d3349d02
8cf648e3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
2 deletions
+20
-2
components/Lottery/Timing/JoinButton.vue
+1
-0
components/Lottery/Timing/TimingStatus.vue
+5
-0
components/Records/DetailPopup.vue
+7
-1
pages/recordDetail/index.vue
+7
-1
No files found.
components/Lottery/Timing/JoinButton.vue
View file @
f03fb19c
...
...
@@ -4,6 +4,7 @@
<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 === 3"
class=
"join-btn pre"
>
未开始
</button>
</
template
>
<
template
v-if=
"+lotteryInfo.status === LOTTERY_STATUS.start"
>
<template
v-if=
"lotteryInfo.userTimes === 0 && lotteryInfo.isDraw"
>
...
...
components/Lottery/Timing/TimingStatus.vue
View file @
f03fb19c
...
...
@@ -22,6 +22,11 @@
<p>
参与人数满
{{
lotteryInfo
.
joinNum
}}
人自动开奖 ( 当前参与
{{
lotteryInfo
.
activeNum
}}
人 )
</p>
</div>
</
template
>
<
template
v-if=
"type === 3"
>
<div
class=
"joinnum-box"
>
<p>
当前参与
{{
lotteryInfo
.
activeNum
}}
人
</p>
</div>
</
template
>
</section>
</template>
...
...
components/Records/DetailPopup.vue
View file @
f03fb19c
...
...
@@ -23,10 +23,16 @@
<
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
>
<
li
>
<
label
>
获得奖品:
<
/label
>
<
div
>
<
p
>
{{
detailInfo
.
prizeName
}}
<
/p
>
<
img
v
-
lazy
=
"detailInfo.prizeIcon"
class
=
"detail-popup__info-img"
alt
=
""
/>
<
img
v
-
if
=
"detailInfo.prizeIcon"
v
-
lazy
=
"detailInfo.prizeIcon"
class
=
"detail-popup__info-img"
alt
=
""
/>
<
/div
>
<
/li
>
<
li
>
...
...
pages/recordDetail/index.vue
View file @
f03fb19c
...
...
@@ -17,10 +17,16 @@
<
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
>
<
li
>
<
label
>
获得奖品:
<
/label
>
<
div
>
<
p
>
{{
detailInfo
.
prizeName
}}
<
/p
>
<
img
v
-
lazy
=
"detailInfo.prizeIcon"
class
=
"record-detail__info-img"
alt
=
""
/>
<
img
v
-
if
=
"detailInfo.prizeIcon"
v
-
lazy
=
"detailInfo.prizeIcon"
class
=
"record-detail__info-img"
alt
=
""
/>
<
/div
>
<
/li
>
<
li
>
...
...
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