Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
X
xy-ads
Project
Project
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
tf-boys
xy-ads
Commits
accac142
Commit
accac142
authored
Jun 29, 2017
by
coolfish
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加jssdk
parent
ba468248
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
33 deletions
+11
-33
index.ejs
views/index.ejs
+11
-33
No files found.
views/index.ejs
View file @
accac142
...
@@ -178,10 +178,12 @@
...
@@ -178,10 +178,12 @@
</div>
</div>
</body>
</body>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
var
shareIcon
=
'http://hfads.apps.xiaoyun.com/images/hjy@2x.png'
;
var
shareData
=
{
var
shareUrl
=
'http://hfads.apps.xiaoyun.com/'
;
title
:
'红椒易X小云蜂巢新媒体广告平台'
,
var
shareTitle
=
'红椒易X小云蜂巢新媒体广告平台'
;
desc
:
'整合内容资源,提升广告主的品牌曝光能力,只需四步,即可完成广告投放需求。'
,
var
shareDesc
=
'整合内容资源,提升广告主的品牌曝光能力,只需四步,即可完成广告投放需求。'
;
link
:
'http://hfads.apps.xiaoyun.com/'
,
imgUrl
:
'http://hfads.apps.xiaoyun.com/images/hjy@2x.png'
};
wx
.
config
({
wx
.
config
({
debug
:
false
,
debug
:
false
,
appId
:
'<%= appid || '' %>'
,
appId
:
'<%= appid || '' %>'
,
...
@@ -197,35 +199,11 @@
...
@@ -197,35 +199,11 @@
]
]
});
});
wx
.
ready
(
function
()
{
wx
.
ready
(
function
()
{
wx
.
onMenuShareTimeline
({
wx
.
onMenuShareTimeline
(
shareData
);
title
:
shareTitle
,
wx
.
onMenuShareAppMessage
(
shareData
);
link
:
shareIcon
,
wx
.
onMenuShareQQ
(
shareData
);
imgUrl
:
shareUrl
wx
.
onMenuShareWeibo
(
shareData
);
});
wx
.
onMenuShareQZone
(
shareData
);
wx
.
onMenuShareAppMessage
({
title
:
shareTitle
,
desc
:
shareDesc
,
link
:
shareUrl
,
imgUrl
:
shareIcon
});
wx
.
onMenuShareQQ
({
title
:
shareTitle
,
desc
:
shareDesc
,
link
:
shareUrl
,
imgUrl
:
shareIcon
});
wx
.
onMenuShareWeibo
({
title
:
shareTitle
,
desc
:
shareDesc
,
link
:
shareUrl
,
imgUrl
:
shareIcon
});
wx
.
onMenuShareQZone
({
title
:
shareTitle
,
desc
:
shareDesc
,
link
:
shareUrl
,
imgUrl
:
shareIcon
});
});
});
</script>
</script>
</html>
</html>
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