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
9f69f839
Commit
9f69f839
authored
Nov 03, 2025
by
王炽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
66666
parent
6ef06be8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
3 deletions
+18
-3
Integral.vue
views/Integral.vue
+18
-3
No files found.
views/Integral.vue
View file @
9f69f839
...
...
@@ -546,7 +546,7 @@
// 轮播图数据可在此定义(当前使用静态路径)
// "rgba(255,255,255,0.5)"
import
{
ref
,
onMounted
,
onBeforeMount
,
computed
,
watch
}
from
'vue'
;
import
{
ref
,
onMounted
,
onBeforeMount
,
onBeforeUnmount
,
computed
,
watch
}
from
'vue'
;
import
{
onShareAppMessage
}
from
'@dcloudio/uni-app'
;
import
{
jump
,
JumpType
}
from
'@/utils/index.js'
import
{
useUserStore
}
from
"@/stores/user"
;
...
...
@@ -1905,14 +1905,29 @@ onBeforeMount(async () => {
}
)
onShow
(
async
()
=>
{
console
.
log
(
'onShow'
);
console
.
log
(
'onShow
111111111111
'
);
if
(
needReinit
.
value
)
{
needReinit
.
value
=
false
initNetData
()
}
}
)
// 使用 watch 监听控制积分页面显示/隐藏的状态
// 这样可以更精确地知道页面何时显示和隐藏
// watch(
// () => globalStore.curTabIndex === 2 && !globalStore.isWxFriendCircle,
// (isVisible) =>
{
// if (isVisible)
{
// console.log('积分页面显示 - watch (curTabIndex:', globalStore.curTabIndex, ', isWxFriendCircle:', globalStore.isWxFriendCircle, ')');
// // 这里可以添加页面显示时的逻辑
//
}
else
{
// console.log('积分页面隐藏 - watch (curTabIndex:', globalStore.curTabIndex, ', isWxFriendCircle:', globalStore.isWxFriendCircle, ')');
// // 这里可以添加页面隐藏时的逻辑
//
}
// console.log('isVisible:', isVisible);
//
}
,
//
{
immediate
:
true
}
// );
onMounted
(
async
()
=>
{
// showSignedTips.value = true;
...
...
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