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
1d408065
authored
May 21, 2025
by
陆志强
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/question' into test
parents
264e409a
1cdc1885
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
0 deletions
+38
-0
src/components/Lottery/Instant/Introduction.vue
+13
-0
src/components/Lottery/Instant/IntroductionPopup.vue
+15
-0
src/components/Lottery/Timing/Rewards.vue
+10
-0
No files found.
src/components/Lottery/Instant/Introduction.vue
View file @
1d408065
...
@@ -18,6 +18,19 @@
...
@@ -18,6 +18,19 @@
</li>
</li>
</ul>
</ul>
</div>
</div>
<div
class=
"introduction__title"
>
下一场活动奖品:
</div>
<div
class=
"introduction__prize"
>
<ul
class=
"introduction__list"
:class=
"
{ 'introduction__list--center': lotteryInfo.nextPlayPrizeConfigs.length
<
3
}"
>
<li
v-for=
"(item, index) in lotteryInfo.nextPlayPrizeConfigs"
:key=
"index"
>
<img
v-lazy=
"item.icon || img"
class=
"introduction__item-img"
alt
/>
<p
v-if=
"item.prizeAlias"
class=
"introduction__item-level"
>
{{
item
.
prizeAlias
}}
</p>
<p
class=
"introduction__item-name"
>
{{
item
.
name
}}
</p>
</li>
</ul>
</div>
</
template
>
</
template
>
<div
v-if=
"rulePosition === 'bottom'"
class=
"introduction__intro"
>
<div
v-if=
"rulePosition === 'bottom'"
class=
"introduction__intro"
>
<p
class=
"introduction__intro-rule"
>
活动规则
</p>
<p
class=
"introduction__intro-rule"
>
活动规则
</p>
...
...
src/components/Lottery/Instant/IntroductionPopup.vue
View file @
1d408065
...
@@ -27,6 +27,21 @@
...
@@ -27,6 +27,21 @@
</ul>
</ul>
</div>
</div>
</div>
</div>
<div
class=
"introduction-popup__box"
>
<div
class=
"introduction-popup__title"
>
下一场活动奖品:
</div>
<div
class=
"introduction-popup__prize"
>
<ul
class=
"introduction-popup__list"
:class=
"
{ 'introduction-popup__list--center': lotteryInfo.nextPlayPrizeConfigs.length
<
3
}"
>
<li
v-for=
"(item, index) in lotteryInfo.nextPlayPrizeConfigs"
:key=
"index"
>
<img
v-lazy=
"item.icon || img"
class=
"introduction-popup__item-img"
alt
/>
<p
v-if=
"item.prizeAlias"
class=
"introduction-popup__item-level"
>
{{
item
.
prizeAlias
}}
</p>
<p
class=
"introduction-popup__item-name"
>
{{
item
.
name
}}
</p>
</li>
</ul>
</div>
</div>
</
template
>
</
template
>
<div
v-if=
"rulePosition === 'bottom'"
class=
"introduction-popup__intro"
>
<div
v-if=
"rulePosition === 'bottom'"
class=
"introduction-popup__intro"
>
<p
class=
"introduction-popup__intro-rule"
>
活动规则
</p>
<p
class=
"introduction-popup__intro-rule"
>
活动规则
</p>
...
...
src/components/Lottery/Timing/Rewards.vue
View file @
1d408065
...
@@ -17,6 +17,16 @@
...
@@ -17,6 +17,16 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"rule"
>
<div
class=
"rule__sub"
>
下一场活动奖品:
</div>
<div
class=
"intro__rewards"
>
<div
v-for=
"item in lotteryInfo.nextPlayPrizeConfigs"
:key=
"item.id"
class=
"intro__rewards-item"
>
<img
v-if=
"item.icon"
:src=
"item.icon"
alt=
""
/>
<img
v-else
src=
"./img/gift.png"
alt=
""
/>
<div>
{{
item
.
name
}}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
...
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