Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-community-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
yyq
6 years ago
Commit
eb46c445be8e70e433caf5843b99cdd5c57f2dc6
1 parent
eb8cf959
share
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
apps/plugins/share.js
apps/plugins/share.js
View file @
eb46c44
...
...
@@ -5,6 +5,15 @@ let shareData = {
imgUrl
:
'http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png'
};
let
jsApiList
=
[
'checkJsApi'
,
'onMenuShareTimeline'
,
'onMenuShareAppMessage'
,
'onMenuShareQQ'
,
'onMenuShareWeibo'
,
'onMenuShareQZone'
];
function
loadScript
(
url
,
success
)
{
const
head
=
document
.
getElementsByTagName
(
'head'
)[
0
];
let
script
=
document
.
createElement
(
'script'
);
...
...
Please
register
or
login
to post a comment