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
017cb22c
Commit
017cb22c
authored
Sep 12, 2025
by
spc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
md
parent
1f3429d2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
19 deletions
+16
-19
act0915.vue
activity0915/act0915/act0915.vue
+14
-17
md.js
md.js
+2
-2
No files found.
activity0915/act0915/act0915.vue
View file @
017cb22c
...
...
@@ -5,7 +5,7 @@
<image
class=
"back-btn"
:src=
"$baseUrl + 'xingmaLab/1001/backBtn.png'"
mode=
"aspectFit"
@
click=
"handleBack"
/>
</view>
<span
class=
"act915pagebg"
:style=
"getBackgroundStyle()"
></span>
<span
class=
"act915pagegoods1"
:style=
"
{ backgroundImage: `url(${$baseUrl}${getImageUrl('goods1')})` }"
@click="handleGoods1Click">
</span>
...
...
@@ -222,7 +222,7 @@ const handleBack = () => {
// componentName: "返回按钮",
// componentContent: "返回"
// });
try {
uni.navigateBack({
delta: 1,
...
...
@@ -606,16 +606,7 @@ const initPage = async () => {
// 获取页面配置
await fetchConfig()
console.log('Banner列表:', bannerList.value)
console.log('配置数据:', config.value)
// 请求 getAct915Home 接口(包含助力逻辑处理)
await fetchAct915HomeData();
}
// 生命周期
onMounted(async () => {
console.log('915活动页面已加载')
md.sensorComponentLogTake({
xcxComponentExposure: "true",
...
...
@@ -683,12 +674,18 @@ onMounted(async () => {
});
}
// md.sensorComponentLogTake({
// xcxComponentClick: "true",
// pageName: "星妈lab首页",
// componentName: "商品单列图",
// componentContent: "商品单列图"
// });
console.log('Banner列表:', bannerList.value)
console.log('配置数据:', config.value)
// 请求 getAct915Home 接口(包含助力逻辑处理)
await fetchAct915HomeData();
}
// 生命周期
onMounted(async () => {
console.log('915活动页面已加载')
// 先进行自动登录获取基础信息,登录成功后执行页面初始化
try {
...
...
md.js
View file @
017cb22c
...
...
@@ -105,13 +105,13 @@ const sensorComponentLog = (evt) => {
trackObj
[
key
]
=
logObj
[
key
];
}
if
(
xcxComponentExposure
&&
xcxComponentExposure
.
length
>
0
)
{
// console.warn("-----xcxComponentE
xposure-----", trackObj);
console
.
warn
(
"-----e
xposure-----"
,
trackObj
);
sensors
.
track
(
"xcxComponentExposure"
,
{
...
trackObj
,
});
}
if
(
xcxComponentClick
&&
xcxComponentClick
.
length
>
0
)
{
// console.warn("-----xcxComponentC
lick-----", trackObj);
console
.
warn
(
"-----c
lick-----"
,
trackObj
);
sensors
.
track
(
"xcxComponentClick"
,
{
...
trackObj
,
});
...
...
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