Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
飞
飞鹤小程序
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
FH
飞鹤小程序
Commits
875c08bd
Commit
875c08bd
authored
Sep 11, 2025
by
spc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
center
parent
c99e2715
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
act0915.vue
activity0915/act0915/act0915.vue
+3
-1
drawsucmodal.less
...ity0915/lottery/components/drawSucModal/drawsucmodal.less
+5
-2
No files found.
activity0915/act0915/act0915.vue
View file @
875c08bd
...
...
@@ -113,7 +113,7 @@
</view>
<!-- 抽奖成功弹窗 -->
<DrawSucModal
:visible=
"showDrawSucModal"
:award-name=
"currentAwardName"
@
close=
"handleDrawSucModalClose"
<DrawSucModal
:visible=
"showDrawSucModal"
:award-name=
"currentAwardName"
:award-image-url=
"currentAwardImageUrl"
@
close=
"handleDrawSucModalClose"
@
happy-get=
"handleHappyGet"
/>
</view>
...
...
@@ -171,6 +171,7 @@ const loading = ref(true) // 加载状态
const
showMask
=
ref
(
false
);
const
showDrawSucModal
=
ref
(
false
);
const
currentAwardName
=
ref
(
''
);
const
currentAwardImageUrl
=
ref
(
''
);
const
invitationCode
=
ref
(
''
);
const
invitationText
=
ref
(
''
);
const
invitationImageUrl
=
ref
(
''
);
...
...
@@ -377,6 +378,7 @@ const showPrizeModal = () => {
const totalQuantity = unclaimedPrizes.value.reduce((sum, prize) => sum + (prize.quantity || 1), 0)
const firstPrize = unclaimedPrizes.value[0]
currentAwardName.value = `
$
{
firstPrize
.
prizeName
}
×
$
{
totalQuantity
}
`
currentAwardImageUrl.value = firstPrize.prizeImageUrl
showDrawSucModal.value = true
}
}
...
...
activity0915/lottery/components/drawSucModal/drawsucmodal.less
View file @
875c08bd
...
...
@@ -54,15 +54,18 @@
}
.drawsucmodalawardname {
width:
2
48rpx;
width:
3
48rpx;
height: 28rpx;
position: absolute;
top: 365rpx;
left: 1
5
1rpx;
left: 1
0
1rpx;
font-size: 29rpx;
line-height: 28rpx;
color: rgba(0, 0, 0, 1);
text-align: center;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.drawsucmodalhappygetbtn {
...
...
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