...
|
...
|
@@ -1610,23 +1610,21 @@ $(function() { |
|
|
$(function() {
|
|
|
// var VConsole = require('vconsole');
|
|
|
// var vConsole = new VConsole();
|
|
|
const webShareData = {
|
|
|
title: $('#shareTitle').val(),
|
|
|
desc: $('#shareImg').val(),
|
|
|
imgUrl: $('#shareDesc').val(),
|
|
|
link: $('#shareLink').val()
|
|
|
};
|
|
|
const parames = {
|
|
|
shareType: 'activity', // 类型,默认activity
|
|
|
image: webShareData.imgUrl,
|
|
|
url: `${webShareData.link}?isNeedRefresh=false`, // 分享链接
|
|
|
link: `${webShareData.link}?isNeedRefresh=false`, // 和url保持
|
|
|
title: `淘口令#${webShareData.title}`, // 分享标题
|
|
|
text: '' // 分享描述
|
|
|
};
|
|
|
|
|
|
// parames.image = $('.feature-page .floor').eq(1).children('img').eq(0).attr('src');
|
|
|
// console.log(parames);
|
|
|
|
|
|
XianyuJSBridge.hideLoadingBox().setNavRightItem(parames);
|
|
|
// const webShareData = {
|
|
|
// title: $('#shareTitle').val(),
|
|
|
// desc: $('#shareImg').val(),
|
|
|
// imgUrl: $('#shareDesc').val(),
|
|
|
// link: $('#shareLink').val()
|
|
|
// };
|
|
|
// const parames = {
|
|
|
// shareType: 'activity', // 类型,默认activity
|
|
|
// image: webShareData.imgUrl,
|
|
|
// url: `${webShareData.link}?isNeedRefresh=false`, // 分享链接
|
|
|
// link: `${webShareData.link}?isNeedRefresh=false`, // 和url保持
|
|
|
// title: `淘口令#${webShareData.title}`, // 分享标题
|
|
|
// text: '' // 分享描述
|
|
|
// };
|
|
|
|
|
|
// XianyuJSBridge.hideLoadingBox().setNavRightItem(parames);
|
|
|
XianyuJSBridge.hideLoadingBox();
|
|
|
}); |
...
|
...
|
|