<!DOCTYPE HTML>
<HTML lang="zh_CN">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="renderer" content="webkit">
<link rel="stylesheet" href="/CSS/down_App/app.css?v4"/>
<title> 下载挚慧云社交电商 App</title>
</head>
<body class="success">
<div class="page-wrap">
<div class="info">
<div class="ok-btn"><img src="/CSS/down_App/ok.png" alt="注册成功"></div>
<p class="entry-con"> 下载挚慧云社交电商 App</p>
</div>
<div class="download">
<h3 class="entry-hd"> 挚慧云社交电商 App</h3>
<div class="download-btn">
<p style="text-align: center">
<a href="{{$url}}" class="Android-btn" id="J_weixin"><img src="/CSS/down_App/Android-btn.png" alt="安卓版下载"></a></div>
</p>
</div>
<div class="footer-bg">
<p class="entry-con"> 注:微信用户请在右上角选择 “在浏览器中打开”,再选择下载应用 </p>
</div>
</div>
<div id="weixin-tip"><p><img src="/CSS/down_App/live_weixin.png" alt="微信打开"/><span id="close" title="关闭" class="close">×</span></p></div>
<script src="http://res2.wx.qq.com/open/JS/jweixin-1.4.0.js" type="text/JavaScript" charset="utf-8"></script>
<script type="text/JavaScript">
var is_weixin = (function () {var ua = navigator.userAgent.toLowerCase ();
if (ua.match (/MicroMessenger/i) == "micromessenger") {return true;} else {return false;}
})();
window.onload = function (){
var winHeight = typeof window.innerHeight != 'undefined' ? window.innerHeight : document.documentElement.clientHeight;
var btn = document.getElementById ('J_weixin');
var tip = document.getElementById ('weixin-tip');
var close = document.getElementById ('close');
if (is_weixin){btn.onclick = function (e){
tip.style.height = winHeight + 'px';
tip.style.display = 'block';
return false;
}
close.onclick = function (){tip.style.display = 'none';}
}
}
@if (env ('App_ENV') == "production")
wx.config (<?PHP echo App ('wechat.official_account')->jssdk->buildConfig (array ('updateAppMessageShareData', 'updateTimelineShareData'), false) ?>);
wx.ready (function () {
var title = '挚慧云社交电商 App';
var intro = '下载挚慧云社交电商 App';
var link = '{{config ("app.url")}}/down_App';
var imgUrl = '{{config ("app.url")}}/CSS/down_App/s_logo.png';
var data = {
title: title,
desc: intro,
link: link,
imgUrl: imgUrl, // 分享图标
type: '', // 分享类型,music、video 或 link,不填默认为 link
dataUrl: '', // 如果 type 是 music 或 video,则要提供数据链接,默认为空
success: function () {
// 用户确认分享后执行的回调函数
//sharefriend_finish ();
// alert ("你已成功分享");
},
cancel: function () {// 用户取消分享后执行的回调函数}
};
// 发送给朋友圈
wx.updateAppMessageShareData (data);
// 发送给朋友
wx.updateTimelineShareData (data);
});
@endif
</script>
</body>
</HTML>