Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
h5
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
28d40408
authored
Sep 26, 2019
by
肖康
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
大厦
parent
13b42346
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
src/views/common/wxShare.vue
view/13.js
src/views/common/wxShare.vue
View file @
28d40408
...
...
@@ -19,10 +19,13 @@
shareObj
:{
title
:
"好物分享给你,帮我助力,我们一起免费拿样品"
,
// 分享标题
desc
:
"在吗?拜托帮我点一下,你也能免费申请元器件样品~帮我助力 你拿样品"
,
// 分享描述
link
:
window
.
location
.
origin
+
"/v3/samplereg?uid="
+
util
.
getCookie
(
"Yo4teW_uid"
),
// 分享链接
//
link: window.location.origin+"/v3/samplereg?uid="+util.getCookie("Yo4teW_uid"), // 分享链接
imgUrl
:
"http://img.ichunt.com/images/ichunt/self_sample/apply.png"
,
// 分享图标
success
:
function
(
resp
)
{
},
error
:
function
(){
alert
(
"错误"
)
}
}
}
...
...
@@ -69,7 +72,18 @@
}
});
// 获取“分享到朋友圈”按钮点击状态及自定义分享内容接口
wx
.
onMenuShareTimeline
(
self
.
shareObj
);
wx
.
onMenuShareTimeline
({
title
:
"好物分享给你,帮我助力,我们一起免费拿样品"
,
// 分享标题
desc
:
"在吗?拜托帮我点一下,你也能免费申请元器件样品~帮我助力 你拿样品"
,
// 分享描述
link
:
window
.
location
.
origin
+
"/v3/samplereg?uid="
+
util
.
getCookie
(
"Yo4teW_uid"
),
// 分享链接
imgUrl
:
"http://img.ichunt.com/images/ichunt/self_sample/apply.png"
,
// 分享图标
success
:
function
(
resp
)
{
alert
(
"成功"
)
},
error
:
function
(){
alert
(
"错误"
)
}
});
// 获取“分享给朋友”按钮点击状态及自定义分享内容接口
wx
.
onMenuShareAppMessage
(
self
.
shareObj
);
//获取“分享到QQ”按钮点击状态及自定义分享内容接口
...
...
view/13.js
View file @
28d40408
This diff is collapsed.
Click to expand it.
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