Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wfc13
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
wildfirecode13
wfc13
Commits
0adcf906
Commit
0adcf906
authored
Sep 16, 2021
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
2d8c8d3e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
share.ts
project/src/share.ts
+2
-2
No files found.
project/src/share.ts
View file @
0adcf906
...
@@ -4,7 +4,7 @@ export const startShare = () => {
...
@@ -4,7 +4,7 @@ export const startShare = () => {
console
.
log
(
'wx.miniProgram.postMessage'
)
console
.
log
(
'wx.miniProgram.postMessage'
)
const
shareCode
=
0
;
//@ts-ignore
//@ts-ignore
wx
.
miniProgram
.
postMessage
(
wx
.
miniProgram
.
postMessage
(
{
{
...
@@ -14,7 +14,7 @@ export const startShare = () => {
...
@@ -14,7 +14,7 @@ export const startShare = () => {
sharable
:
1
,
//被分享者打开后能否进行分享 0不能;1可以
sharable
:
1
,
//被分享者打开后能否进行分享 0不能;1可以
title
:
"我正在参加d
\
'zzit拆盲盒"
,
title
:
"我正在参加d
\
'zzit拆盲盒"
,
imageUrl
:
"https://yun.duiba.com.cn/db_games/activity/disulogo2.jpg"
,
//分享弹窗显示的图片
imageUrl
:
"https://yun.duiba.com.cn/db_games/activity/disulogo2.jpg"
,
//分享弹窗显示的图片
h5url
:
"https://85337.activity-11.m.duiba.com.cn/projectx/p24ddb854/index.html?appID=85337&appKey=43em3uUH9vthEvNA59Zsk8dE1igv&openBs=openbs&iscustom=1&issharepage=1&code=fuck"
,
//分享的链接(不需要encode)
h5url
:
`https://85337.activity-11.m.duiba.com.cn/projectx/p24ddb854/index.html?appID=85337&appKey=43em3uUH9vthEvNA59Zsk8dE1igv&openBs=openbs&iscustom=1&issharepage=1&code=
${
shareCode
}
`
,
//分享的链接(不需要encode)
// h5url: "http://activity.saas.duibatest.com.cn/projectx/p34906fbc/index.html?appKey=2vv47nLE1y47qqMMeD8P52ycudDU&openBs=openbs&appID=19493&iscustom=1&issharepage=1",//分享的链接(不需要encode)
// h5url: "http://activity.saas.duibatest.com.cn/projectx/p34906fbc/index.html?appKey=2vv47nLE1y47qqMMeD8P52ycudDU&openBs=openbs&appID=19493&iscustom=1&issharepage=1",//分享的链接(不需要encode)
}
}
...
...
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