Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
ydl-group-course
Overview
Overview
Details
Activity
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄志
ydl-group-course
Commits
631af7bf
Commit
631af7bf
authored
Jan 21, 2025
by
郑晓
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix_group_buying_240923' into 'master'
feat(custom): 拼团小程序 See merge request
!7
parents
6e782935
632db661
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
web.vue
src/pages/web/web.vue
+9
-0
No files found.
src/pages/web/web.vue
View file @
631af7bf
...
...
@@ -93,11 +93,20 @@ export default {
this
.
loadUrl
.
includes
(
'/h5-course/my/orderDetail/'
)
)
{
if
(
this
.
shareMessage
.
share
)
{
console
.
log
(
"🚀 ~ onShareAppMessage ~ this.shareMessage.share:"
,
this
.
shareMessage
)
try
{
const
courseDetail
=
this
.
shareMessage
.
share
uni
.
showLoading
({
title
:
'正在唤起分享'
,
})
if
(
this
.
shareMessage
.
weChatInfo
&&
this
.
shareMessage
.
weChatInfo
.
preview
)
{
uni
.
hideLoading
()
return
{
title
:
this
.
shareMessage
.
weChatInfo
.
name
,
imageUrl
:
this
.
shareMessage
.
weChatInfo
.
preview
,
path
:
getDetailPageUrl
(),
}
}
const
imageUrl
=
await
this
.
$refs
.
ShareCanvas
.
setGoodsShareCanvas
({
homeCover
:
courseDetail
.
homeCover
,
cardBg
:
'https://static.ydlcdn.com/m/images/course/miniapp-share-bg.png'
,
...
...
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