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
6899c805
Commit
6899c805
authored
Jun 27, 2024
by
俞嘉婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 分享暂不做
parent
be0378d8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
13 deletions
+12
-13
activity.ts
miniprogram/pages/activity/activity.ts
+6
-6
activityDetail.ts
miniprogram/pages/activityDetail/activityDetail.ts
+6
-7
No files found.
miniprogram/pages/activity/activity.ts
View file @
6899c805
...
...
@@ -29,12 +29,12 @@ ComponentWithStore({
wx
.
navigateTo
({
url
:
`/pages/activityDetail/activityDetail?imgUrl=
${
item
.
detailImg
}
`
})
}),
onShareAppMessage
()
{
return
{
title
:
'自定义转发标题'
,
path
:
'/page/index/index?id=123'
,
}
}
//
onShareAppMessage() {
//
return {
//
title: '自定义转发标题',
//
path: '/page/index/index?id=123',
//
}
//
}
},
})
...
...
miniprogram/pages/activityDetail/activityDetail.ts
View file @
6899c805
// pages/activity/activity.ts
import
{
ComponentWithStore
}
from
"mobx-miniprogram-bindings"
;
import
{
store
}
from
"../../store/store"
;
ComponentWithStore
({
/**
...
...
@@ -16,12 +15,12 @@ ComponentWithStore({
imgUrl
:
this
.
options
.
imgUrl
,
})
},
onShareAppMessage
()
{
return
{
title
:
'自定义转发标题'
,
path
:
'/page/index/index?id=123'
,
}
}
//
onShareAppMessage() {
//
return {
//
title: '自定义转发标题',
//
path: '/page/index/index?id=123',
//
}
//
}
},
})
...
...
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