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
67cc52b3
Commit
67cc52b3
authored
Sep 08, 2025
by
spc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
act915
parent
25d95f93
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
27 deletions
+23
-27
act0915.vue
activity0915/act0915/act0915.vue
+23
-27
No files found.
activity0915/act0915/act0915.vue
View file @
67cc52b3
...
@@ -124,10 +124,7 @@
...
@@ -124,10 +124,7 @@
<DrawSucModal
:visible=
"showDrawSucModal"
:award-name=
"currentAwardName"
@
close=
"handleDrawSucModalClose"
<DrawSucModal
:visible=
"showDrawSucModal"
:award-name=
"currentAwardName"
@
close=
"handleDrawSucModalClose"
@
happy-get=
"handleHappyGet"
/>
@
happy-get=
"handleHappyGet"
/>
</view>
</view>
<!-- 加载状态 -->
<view
v-else
class=
"loading-container"
>
<text>
加载中...
</text>
</view>
</
template
>
</
template
>
<
script
setup
>
<
script
setup
>
...
@@ -345,7 +342,6 @@ const fetchAct915HomeData = async () => {
...
@@ -345,7 +342,6 @@ const fetchAct915HomeData = async () => {
isLogin: isLogin.value,
isLogin: isLogin.value,
notLogin: data.notLogin
notLogin: data.notLogin
})
})
// 检查是否有未领取的奖品需要弹窗
// 检查是否有未领取的奖品需要弹窗
if (unclaimedPrizes.value.length > 0) {
if (unclaimedPrizes.value.length > 0) {
showPrizeModal()
showPrizeModal()
...
@@ -423,10 +419,10 @@ const handleGoods3Click = (productId) => {
...
@@ -423,10 +419,10 @@ const handleGoods3Click = (productId) => {
jump(product.link)
jump(product.link)
} else {
} else {
// 使用默认处理
// 使用默认处理
uni.showToast({
//
uni.showToast({
title: `
商品
$
{
productId
}
暂无跳转链接
`,
//
title: `
商品
$
{
productId
}
暂无跳转链接
`,
icon: 'none'
//
icon: 'none'
})
//
})
}
}
}
}
...
@@ -443,11 +439,11 @@ const handleGoodsList1Click = (productId) => {
...
@@ -443,11 +439,11 @@ const handleGoodsList1Click = (productId) => {
// 直接处理跳转链接
// 直接处理跳转链接
jump(product.link)
jump(product.link)
} else {
} else {
// 使用默认处理
//
//
使用默认处理
uni.showToast({
//
uni.showToast({
title: `
商品列表
1
-
商品
$
{
productId
}
暂无跳转链接
`,
//
title: `
商品列表
1
-
商品
$
{
productId
}
暂无跳转链接
`,
icon: 'none'
//
icon: 'none'
})
//
})
}
}
}
}
...
@@ -465,10 +461,10 @@ const handleGoodsList2Click = (productId) => {
...
@@ -465,10 +461,10 @@ const handleGoodsList2Click = (productId) => {
jump(product.link)
jump(product.link)
} else {
} else {
// 使用默认处理
// 使用默认处理
uni.showToast({
//
uni.showToast({
title: `
商品列表
2
-
商品
$
{
productId
}
暂无跳转链接
`,
//
title: `
商品列表
2
-
商品
$
{
productId
}
暂无跳转链接
`,
icon: 'none'
//
icon: 'none'
})
//
})
}
}
}
}
...
@@ -489,10 +485,10 @@ const handleBannerClick = (index) => {
...
@@ -489,10 +485,10 @@ const handleBannerClick = (index) => {
if (bannerLinks && bannerLinks[index]) {
if (bannerLinks && bannerLinks[index]) {
jump(bannerLinks[index])
jump(bannerLinks[index])
} else {
} else {
uni.showToast({
//
uni.showToast({
title: `
Banner
$
{
index
+
1
}
暂无跳转链接
`,
//
title: `
Banner
$
{
index
+
1
}
暂无跳转链接
`,
icon: 'none'
//
icon: 'none'
})
//
})
}
}
}
}
}
}
...
@@ -502,7 +498,7 @@ const handleInvitationAssist = async (incomingCode) => {
...
@@ -502,7 +498,7 @@ const handleInvitationAssist = async (incomingCode) => {
try {
try {
console.log('处理助力邀请码:', incomingCode)
console.log('处理助力邀请码:', incomingCode)
const unionId = uni.getStorageSync('unionId');
const unionId = uni.getStorageSync('unionId');
const res = await invitationAssist(incomingCode,unionId);
const res = await invitationAssist(incomingCode,
unionId);
if (res && res.success) {
if (res && res.success) {
uni.showToast({
uni.showToast({
title: '助力成功',
title: '助力成功',
...
@@ -623,10 +619,10 @@ const handleDrawSucModalClose = () => {
...
@@ -623,10 +619,10 @@ const handleDrawSucModalClose = () => {
const handleHappyGet = () => {
const handleHappyGet = () => {
console.log('点击开心领取');
console.log('点击开心领取');
showDrawSucModal.value = false;
showDrawSucModal.value = false;
uni.showToast({
//
uni.showToast({
title: '奖品领取成功',
//
title: '奖品领取成功',
icon: 'success'
//
icon: 'success'
});
//
});
};
};
// 暴露给 Options API 使用
// 暴露给 Options API 使用
...
...
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