Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
junlebao-milk-20240619
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
SparkProjects
junlebao-milk-20240619
Commits
7e0430fc
Commit
7e0430fc
authored
Jun 28, 2024
by
俞嘉婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 活动item埋点修复
parent
60e3b96e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
activity.ts
miniprogram/pages/activity/activity.ts
+3
-2
activity.wxml
miniprogram/pages/activity/activity.wxml
+1
-1
No files found.
miniprogram/pages/activity/activity.ts
View file @
7e0430fc
...
@@ -30,9 +30,10 @@ ComponentWithStore({
...
@@ -30,9 +30,10 @@ ComponentWithStore({
// 跳转活动详情页
// 跳转活动详情页
jumpDetailPage
:
_asyncThrottle
(
async
function
(
e
)
{
jumpDetailPage
:
_asyncThrottle
(
async
function
(
e
)
{
const
item
=
e
.
currentTarget
.
dataset
.
item
const
item
=
e
.
currentTarget
.
dataset
.
item
console
.
log
(
'item'
,
item
);
const
index
=
e
.
currentTarget
.
dataset
.
index
console
.
log
(
'item'
,
item
,
index
);
store
.
doLog
(
508
,
5
+
i
tem
.
i
ndex
)
store
.
doLog
(
508
,
5
+
index
)
wx
.
navigateTo
({
url
:
`/pages/activityDetail/activityDetail?imgUrl=
${
item
.
detailImg
}
`
})
wx
.
navigateTo
({
url
:
`/pages/activityDetail/activityDetail?imgUrl=
${
item
.
detailImg
}
`
})
}),
}),
getPhoneNumber
(
e
:
any
)
{
getPhoneNumber
(
e
:
any
)
{
...
...
miniprogram/pages/activity/activity.wxml
View file @
7e0430fc
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
hover-stay-time="0"
hover-stay-time="0"
bindtap="jumpDetailPage"
bindtap="jumpDetailPage"
data-item="{{item}}"
data-item="{{item}}"
data-index="{{i
nde
x}}"
data-index="{{i
d
x}}"
/>
/>
</view>
</view>
</view>
</view>
...
...
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