Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
h5_activity
Project
Overview
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
谭新宇
h5_activity
Commits
2f1dd221
Commit
2f1dd221
authored
Jul 11, 2019
by
txy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'调整'
parent
474cadb8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
45 deletions
+0
-45
signup.js
showPhotos/js/page/signup.js
+0
-45
No files found.
showPhotos/js/page/signup.js
View file @
2f1dd221
// 微信鉴权
wxpermission
();
// 加载html结构
loadHtmlJson
();
...
...
@@ -12,49 +10,6 @@ $(function () {
getOrgNameFn
();
})
// 微信鉴权
function
wxpermission
()
{
wx
.
ready
(
function
()
{
var
shareData
=
{
title
:
""
,
imgUrl
:
""
,
desc
:
""
,
link
:
""
}
/**
*分享给朋友
*/
wx
.
onMenuShareAppMessage
({
title
:
shareData
.
title
,
// 分享标题
desc
:
shareData
.
desc
,
// 分享描述
link
:
shareData
.
link
,
// 分享链接
imgUrl
:
shareData
.
imgUrl
,
// 分享图标
type
:
'link'
,
// 分享类型,music、video或link,不填默认为link
dataUrl
:
''
,
// 如果type是music或video,则要提供数据链接,默认为空
success
:
function
()
{
// 用户确认分享后执行的回调函数
},
cancel
:
function
()
{
// 用户取消分享后执行的回调函数
}
});
/**
*分享到朋友圈
*/
wx
.
onMenuShareTimeline
({
title
:
shareData
.
title
,
// 分享标题
desc
:
shareData
.
desc
,
// 分享描述
link
:
shareData
.
link
,
// 分享链接
imgUrl
:
shareData
.
imgUrl
,
// 分享图标
success
:
function
()
{
},
cancel
:
function
()
{
// 用户取消分享后执行的回调函数
}
});
});
}
// 元素点击事件绑定
function
btnBindClick
()
{
// 返回首页
...
...
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