Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
MingSnake_241120
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
MingSnake_241120
Commits
db27d7ab
Commit
db27d7ab
authored
Dec 10, 2024
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
47bf4826
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
673 additions
and
281 deletions
+673
-281
shareStore.ts
assets/Scripts/store/shareStore.ts
+4
-3
package-lock.json
extensions/duiba-publish/package-lock.json
+519
-226
package-lock.json
extensions/prefab-tab/package-lock.json
+149
-51
coop_frontVariable.query.json
preview-template/mock/coop_frontVariable.query.json
+1
-1
No files found.
assets/Scripts/store/shareStore.ts
View file @
db27d7ab
...
...
@@ -54,13 +54,14 @@ class ShareStore {
}
}
doShare
(
title
:
string
,
desc
:
string
,
pic
:
string
)
{
doShare
()
{
const
{
title
,
content
,
thumbnail
}
=
store
.
frontVariable
?.
shareInfo
||
{};
// @ts-ignore
wx
.
miniProgram
.
postMessage
({
data
:
{
title
,
// 标题
desc
,
// 描述
imgUrl
:
pic
,
// 图片
desc
:
content
,
// 描述
imgUrl
:
thumbnail
,
// 图片
url
:
this
.
inviteInfo
.
shareUrl
// 链接
}
});
...
...
extensions/duiba-publish/package-lock.json
View file @
db27d7ab
This diff is collapsed.
Click to expand it.
extensions/prefab-tab/package-lock.json
View file @
db27d7ab
This diff is collapsed.
Click to expand it.
preview-template/mock/coop_frontVariable.query.json
View file @
db27d7ab
...
...
@@ -4,7 +4,7 @@
"code"
:
null
,
"timeStamp"
:
1703644343317
,
"data"
:
{
"shareInfo"
:
"{
\"
title
\"
:
\"
分享标题
\"
,
\"
content
\"
:
\"
分享描述
\"
,
\"
thumbnail
\"
:
\"
https://yun.duiba.com.cn/polaris/share.dbc0a949487ba41cacc4dca4fb6254238f223a61.png
\"
,
\"
game_title
\"
:
\"
游戏去炫耀-分享标题
\"
,
\"
game_content
\"
:
\"
游戏去炫耀-分享描述
\"
,
\"
game_thumbnail
\"
:
\"
https://yun.duiba.com.cn/polaris/share.dbc0a949487ba41cacc4dca4fb6254238f223a61.png
\"
}"
,
"shareInfo"
:
"{
\"
title
\"
:
\"
分享标题
\"
,
\"
content
\"
:
\"
分享描述
\"
,
\"
thumbnail
\"
:
\"
https://yun.duiba.com.cn/polaris/share.dbc0a949487ba41cacc4dca4fb6254238f223a61.png
\"
}"
,
"loginUrl"
:
"https://activity.m.duiba.com.cn/customShare/share?id=Did1NTg5NTE"
,
"appKey"
:
"3wpbSzXKT11j49nkbKxh2zHdfR1a"
}
...
...
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