var param=null;mui.ready(function(){var nowUrl=location.href;var productId=nowUrl.split("?")[1];param=productId;shareProxyMemberUrl();document.querySelector('.loading-bg').style.display='none'});function shareProxyMemberUrl(){mui.ajax(base_path+'/member/shareDrpUrl?dates='+new Date().getTime()+'&'+param,{dataType:'json',type:'POST',data:{},timeout:15000,success:function(dt){if(dt.status){$("#user-nickname").html(decodeURI(dt.data.userNickName));$("#user-head").html("<img width='100%' style='border-radius: 50%;' src='"+dt.data.userHeadImage+"'/>");$("#qrcode-div").html("<img width='40%' src='"+dt.data.qrcodeUrl+"' />")}else{$("#user-nickname").html(decodeURI(dt.data.userNickName));$("#user-head").html("<img width='100%' style='border-radius: 50%;' src='"+dt.data.userHeadImage+"'/>");$("#qrcode-div").html("<img width='60%' src='"+dt.data.qrcodeUrl+"' />")}window.repleFlag=false;window.wxFriend={"appId":"","imgUrl":'//s.iamberry.com/tooth/images/logo_tooth.jpg',"link":dt.data.shareUrl,"desc":"美国标准，4及净化，5档水温，水质TDS智能显示。","title":"WaterO，美国可移动智能净水器代表，4及净化，5档水温，净化饮水一体。","netError":"您的网络异常，请刷新重试!如多次刷新无效，请向我们反应 ~","shareTimeSuccess":"这里是分享朋友圈后调用的文字","shareTimeCancel":"这里是取消分享给朋友圈后调用的文字","shareAppSuccess":"这里是分享好友后调用的文字","shareAppCancel":"这里是取消分享给好友后调用的文字"};getConfig()},error:function(xhr,type,errorThrown){errorfn(xhr)}})};var mask=mui.createMask(function(){});mui('body').on('tap','.share_wechat',function(){mask.show();});