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
221e119b
Commit
221e119b
authored
Nov 14, 2025
by
chenkai@duiba.com.cn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
鹤礼2.0埋点
parent
965f1b83
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
3 deletions
+27
-3
heliaixinTools.vue
pages/heliaixinTools/heliaixinTools.vue
+27
-3
No files found.
pages/heliaixinTools/heliaixinTools.vue
View file @
221e119b
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
mode=
"aspectFill"
/>
mode=
"aspectFill"
/>
<image
class=
"hlax_btn"
:src=
"$baseUrl + 'heliaixinTool/btn_go_see2.png'"
v-if=
"toolCfg.link?.go_see"
<image
class=
"hlax_btn"
:src=
"$baseUrl + 'heliaixinTool/btn_go_see2.png'"
v-if=
"toolCfg.link?.go_see"
@
click=
"onTips"
/>
@
click=
"onTips"
/>
<!-- go_see=true,有按钮,否则没有按钮 -->
<!-- go_see=true,有按钮,否则没有按钮 -->
</view>
</view>
</
template
>
</
template
>
...
@@ -16,7 +16,8 @@
...
@@ -16,7 +16,8 @@
onMounted
,
onMounted
,
getCurrentInstance
,
getCurrentInstance
,
computed
computed
}
from
"vue"
;
}
from
"vue"
;
import
md
from
'../../md.js'
;
import
{
import
{
usePageCfgStore
usePageCfgStore
}
from
"@/stores/pageCfg"
;
}
from
"@/stores/pageCfg"
;
...
@@ -30,11 +31,34 @@
...
@@ -30,11 +31,34 @@
pageCfgStore
?.
toolList
.
find
((
item
)
=>
item
.
title
==
"鹤礼爱心"
)
||
{}
pageCfgStore
?.
toolList
.
find
((
item
)
=>
item
.
title
==
"鹤礼爱心"
)
||
{}
);
);
onMounted
(()
=>
{})
onMounted
(()
=>
{
console
.
log
(
'啊啊啊啊啊啊'
)
if
(
toolCfg
.
value
.
link
&&
toolCfg
.
value
.
link
.
go_see
)
{
//已登录并且已报名
md
.
sensorComponentLogTake
({
xcxComponentExposure
:
'true'
,
pageName
:
'鹤礼2.0活动详情页'
,
componentName
:
'鹤礼2.0活动详情页-已报名用户'
,
componentContent
:
'去查看'
,
});
}
else
{
//未登录或者未报名
md
.
sensorComponentLogTake
({
xcxComponentExposure
:
'true'
,
pageName
:
'鹤礼2.0活动详情页'
,
componentName
:
'鹤礼2.0活动详情页-未报名用户'
,
componentContent
:
'未报名'
,
});
}
})
//点击去查看按钮提示
//点击去查看按钮提示
const
onTips
=
()
=>
{
const
onTips
=
()
=>
{
console
.
log
(
"toolCfg:::"
,
toolCfg
);
console
.
log
(
"toolCfg:::"
,
toolCfg
);
md
.
sensorComponentLogTake
({
xcxComponentClick
:
'true'
,
pageName
:
'鹤礼2.0活动详情页'
,
componentName
:
'鹤礼2.0活动详情页-未报名用户'
,
componentContent
:
'未报名'
,
});
uni
.
showToast
({
uni
.
showToast
({
title
:
'可去'
+
toolCfg
.
value
?.
link
?.
channelName
+
'渠道查看'
,
title
:
'可去'
+
toolCfg
.
value
?.
link
?.
channelName
+
'渠道查看'
,
icon
:
"none"
icon
:
"none"
...
...
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