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
0a66a0a3
Commit
0a66a0a3
authored
Sep 04, 2025
by
王炽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
666666
parent
3b150052
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
2 deletions
+20
-2
XingmaLabDetailPage.vue
pages/XingmaLabDetailPage/XingmaLabDetailPage.vue
+9
-0
xingmaLab.vue
pages/xingmaLab/xingmaLab.vue
+11
-2
No files found.
pages/XingmaLabDetailPage/XingmaLabDetailPage.vue
View file @
0a66a0a3
...
...
@@ -296,6 +296,14 @@ onMounted(async () => {
console
.
log
(
'🔍 获取到页面参数 id:'
,
id
)
recordId
.
value
=
id
// 立即保存ID,确保分享时能获取到
await
fetchDetailData
(
id
)
md
.
sensorComponentLogTake
({
xcxComponentExposure
:
"true"
,
pageName
:
"星妈lab-藏品详情页"
,
componentName
:
"藏品详情"
,
componentContent
:
"藏品详情页+"
+
detailData
.
value
.
content
});
}
else
{
console
.
warn
(
'⚠️ 未获取到页面参数 id'
)
uni
.
showToast
({
...
...
@@ -304,6 +312,7 @@ onMounted(async () => {
})
}
// 启用分享菜单
uni
.
showShareMenu
({
withShareTicket
:
true
,
...
...
pages/xingmaLab/xingmaLab.vue
View file @
0a66a0a3
...
...
@@ -220,6 +220,7 @@ const cangpinList = ref([]);
const
shoucangList
=
ref
([]);
const
xingmaLabStore
=
useXingmaLabStore
();
// 弹窗显示状态
const
showNoTimePopup
=
ref
(
false
)
// 无次数弹窗
...
...
@@ -376,6 +377,7 @@ const cangpinListIdx = ref(1);
const
cangpinTotalPage
=
ref
(
0
);
onMounted
(
async
()
=>
{
// await xingmaLabStore.loadXingmaInfo();
// console.log('xingmaLabStore=', xingmaLabStore.xingmaInfo);
...
...
@@ -417,8 +419,8 @@ const reloadCangguanList = async () => {
const
reloadCangpinList
=
async
()
=>
{
showLoading
()
cangpinListIdx
.
value
=
1
;
cangpinList
.
value
=
[];
const
data
=
await
fetchRecordMyrecords
(
cangpinListIdx
.
value
,
8
);
cangpinList
.
value
=
[];
cangpinList
.
value
=
data
.
data
.
list
;
cangpinTotalPage
.
value
=
data
.
data
.
totalPage
;
hideLoading
()
...
...
@@ -579,13 +581,20 @@ const handleBottomNavClick = async (navType) => {
componentContent
:
"我的藏品"
});
md
.
sensorComponentLogTake
({
xcxComponentExposure
:
"true"
,
pageName
:
"星妈lab-我的藏品页"
,
componentName
:
"我的藏品"
,
componentContent
:
"我的藏品-藏品标题"
});
// 点击"我的藏品"时,切换到我的藏馆tab,默认展示我的藏品
activeTab
.
value
=
'wodecangguan'
if
(
currentButtomNavType
!=
'wodecangguan'
){
currentButtomNavType
=
'wodecangguan'
;
if
(
currentFrontNavType
==
''
){
// debugger;
if
(
!
(
cangpinList
&&
cangpinList
.
length
>
0
)){
md
.
sensorComponentLogTake
({
xcxComponentExposure
:
"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