Authored by shuaiguo

fix(aliapp): 闲鱼内手动隐藏加载框 reviewed by @zhiminghu

chore: npm version
{
"name": "yohobuywap-node-activity",
"version": "6.9.20",
"version": "6.9.22",
"private": true,
"description": "A New Yohobuy Project With Express",
"repository": {
... ...
... ... @@ -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();
});
... ...