1.具有普通毡类滤布特有的空隙空高、透气性好、集尘效率高、使用寿命长2.耐温?;
var shareTitle = '折叠布袋(高温)';
var appid = '';var shareLink = window.location.href.split("#")[0]; if (shareTitle=='') shareTitle=document.title;
if (shareTitle=='WECHAT_EMPTY_TITLE') shareTitle=$('title').html();
if (shareTitle=='WECHAT_EMPTY_TITLE') shareTitle=$(document).attr('title');
if (shareTitle=='WECHAT_EMPTY_TITLE') shareTitle='';
if (descContent==''){
obj=document.querySelector('meta[name="description"]');
if (obj!=null){
metacontent=obj.getAttribute('content'); //网页描述
if (!(typeof metacontent == 'undefined' || metacontent == null || metacontent == '')) descContent=metacontent;
}
//alert(descContent.length);
}
if (descContent=='') descContent=shareTitle;
if (imgUrl=='' && $('#wxshareimg').length >0){
imgsrc=$('#wxshareimg').attr('src');
if (!(typeof imgsrc == "undefined" || imgsrc == null || imgsrc == "")){
imgUrl=get_abspath(imgsrc);
}
}
if (imgUrl=='') imgUrl='//m.znpla.com/img/pub/pic/logo300_300.png';
shareLink = shareLink.split("&form=singlemessage")[0];
shareLink = shareLink.split("?form=singlemessage")[0];
$.ajax({
type : 'POST',
url : "//www.znpla.com/user/weixin/jssdk.php",
dataType : "json",
data:{url:encodeURIComponent(shareLink)},
success : function(response){
var appId = response.appId;
var timestamp = response.timestamp;
var nonceStr = response.nonceStr;
var signature = response.signature;
//alert(appId+' '+timestamp);
//alert(nonceStr+' '+signature);
//alert(response.url);
//alert(shareLink);
wx.config({
debug: false,
appId: appId,
timestamp: timestamp,
nonceStr: nonceStr,
signature: signature,
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage'
]
});
wx.ready(function() {
wx.onMenuShareTimeline({
title: shareTitle, // 分享标题
link: shareLink, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一
imgUrl: imgUrl, // 分享图标
success: function () {
// 用户确认分享后执行的回调函数
},
cancel: function () {
// 用户取消分享后执行的回调函数
}
});
wx.onMenuShareAppMessage({
title: shareTitle, // 分享标题
desc: descContent, // 分享描述
link: shareLink, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一
imgUrl: imgUrl, // 分享图标
//type: '', // 分享类型,music、video或link,不填默认为link
//dataUrl:'' , // 如果type是music或video,则要提供数据链接,默认为空
success: function () {
// 用户确认分享后执行的回调函数
},
cancel: function () {
// 用户取消分享后执行的回调函数
}
});
});
},
error:function(response){
window.parent.growl("分享失败["+response.responseText+"]!","error");
}
});