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
4120c5ca
Commit
4120c5ca
authored
Sep 12, 2025
by
spc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
act915
parent
dc544841
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
13 deletions
+5
-13
act0915.vue
activity0915/act0915/act0915.vue
+1
-8
XingmaLabDetailPage.vue
pages/XingmaLabDetailPage/XingmaLabDetailPage.vue
+3
-3
user.js
stores/user.js
+1
-2
No files found.
activity0915/act0915/act0915.vue
View file @
4120c5ca
...
...
@@ -368,14 +368,7 @@ const fetchAct915HomeData = async () => {
// 判断是否登录(根据notLogin字段或邀请码)
isLogin.value = !data.notLogin
console.log('邀请数据更新:', {
invitationCode: invitationCode.value,
invitedCount: invitedCount.value,
nextRewardNeedCount: nextRewardNeedCount.value,
unclaimedPrizesCount: unclaimedPrizes.value.length,
isLogin: isLogin.value,
notLogin: data.notLogin
})
// 检查是否有未领取的奖品需要弹窗
if (unclaimedPrizes.value.length > 0) {
showPrizeModal()
...
...
pages/XingmaLabDetailPage/XingmaLabDetailPage.vue
View file @
4120c5ca
...
...
@@ -161,7 +161,7 @@ const onGetPhoneNumber = (e, action) => {
console
.
log
(
'detail'
,
e
.
detail
,
'action:'
,
action
);
// 调用手机号授权回调
userStore
.
phoneCallback
(
e
.
detail
).
then
(
()
=>
{
userStore
.
phoneCallback
(
e
.
detail
,
null
,
null
,
()
=>
{
// 授权成功后,根据点击的按钮执行相应功能
if
(
action
===
'like'
)
{
handleLikeClick
();
...
...
@@ -271,7 +271,7 @@ const handleGoBack = () => {
// 页面初始化逻辑
const
initPage
=
async
()
=>
{
md
.
sensorComponentLogTake
({
xcxComponentExposure
:
"true"
,
pageName
:
"星妈lab-藏品详情页"
,
...
...
@@ -328,7 +328,7 @@ const initPage = async () => {
// 生命周期
onMounted
(
async
(
options
)
=>
{
console
.
log
(
'星妈lab详情页面已加载'
)
// 先进行自动登录获取基础信息,登录成功后执行页面初始化
try
{
console
.
log
(
'开始执行 normalAutoLogin...'
)
...
...
stores/user.js
View file @
4120c5ca
...
...
@@ -94,10 +94,9 @@ export const useUserStore = defineStore("userInfo", {
const
homeStore
=
useHomeStore
();
await
homeStore
.
setBabyExistence
(
babyExistence
);
cb2
&&
cb2
();
// 授权注册成功后做一次登录
this
.
wxAutoLogin
();
this
.
wxAutoLogin
(
cb2
);
}
else
{
uni
.
showToast
({
title
:
res
.
errMsg
,
...
...
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