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
47bf4826
Commit
47bf4826
authored
Dec 10, 2024
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
49e468d8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
shareStore.ts
assets/Scripts/store/shareStore.ts
+11
-0
index.ejs
build-templates/web-mobile/index.ejs
+1
-0
No files found.
assets/Scripts/store/shareStore.ts
View file @
47bf4826
...
...
@@ -54,6 +54,17 @@ class ShareStore {
}
}
doShare
(
title
:
string
,
desc
:
string
,
pic
:
string
)
{
// @ts-ignore
wx
.
miniProgram
.
postMessage
({
data
:
{
title
,
// 标题
desc
,
// 描述
imgUrl
:
pic
,
// 图片
url
:
this
.
inviteInfo
.
shareUrl
// 链接
}
});
}
}
...
...
build-templates/web-mobile/index.ejs
View file @
47bf4826
...
...
@@ -103,6 +103,7 @@
<script
src=
"{{__remoteUrl__}}src/assets/plugin/SVGA.Lite.v2.1.1.js"
></script>
<script
src=
"{{__remoteUrl__}}src/assets/plugin/jszip.min.v3.10.1.js"
></script>
<script
src=
"{{__remoteUrl__}}src/assets/plugin/rem.min.js"
></script>
<script
src=
"//res.wx.qq.com/open/js/jweixin-1.6.0.js"
></script>
<!-- <link rel="stylesheet" type="text/css" href="{{__remoteUrl__}}style.css" />-->
<!-- <link rel="stylesheet" type="text/css" href="{{__remoteUrl__}}custom.css" />-->
...
...
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