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
0514277e
authored
Jan 04, 2023
by
Lays-lzq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 展示优化
parent
d3349d02
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletions
+11
-1
components/Lottery/Timing/JoinButton.vue
+1
-0
components/Lottery/Timing/TimingStatus.vue
+5
-0
components/Records/DetailPopup.vue
+5
-1
No files found.
components/Lottery/Timing/JoinButton.vue
View file @
0514277e
...
...
@@ -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 @
0514277e
...
...
@@ -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 @
0514277e
...
...
@@ -23,10 +23,14 @@
<
span
v
-
if
=
"detailInfo.drawTime"
>
{{
(
detailInfo
.
drawTime
*
1000
)
|
formatDate
(
'YYYY-MM-DD HH:mm'
)
}}
<
/span
>
<
/li
>
<
li
>
<
label
>
中奖说明:
<
/label
>
<
span
>
{{
detailInfo
.
drawIntro
}}
<
/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
>
...
...
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