<html lang="en"> <head> <meta charset="utf-8" /> <title>...</title> <meta name="format-detection" content="telephone=no" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0,shrink-to-fit=no"> <meta content="yes" name="apple-mobile-web-app-capable"> <meta content="black" name="apple-mobile-web-app-status-bar-style"> <meta content="telephone=no" name="format-detection"> <meta name="msapplication-tap-highlight" content="no"> <link rel="stylesheet" type="text/css" href="__CSS__/swiper-3.3.1.min.css"> <link rel="stylesheet" type="text/css" href="__CSS__/animate.css"> <link rel="stylesheet" type="text/css" href="__CSS__/skin.css"> <script type="text/javascript"> var phoneScale = parseInt(window.screen.width)/640; document.write('<meta name="viewport" content="width=640, minimum-scale = '+ phoneScale +', maximum-scale = '+ phoneScale +'">'); </script> <style> .logo{ position:absolute; width:550px; height:auto; left:45px; top:30px; overflow:hidden; display: flex; justify-content: center; align-items: center; } </style> </head> <body style="background: white"> <div style="background: white" class="loading-wrapper"> <div class="logo"> <img src='{$url}'> </div> </div> <script type="text/javascript" src="__JS__/jquery-2.1.1.min.js"></script> <script type="text/javascript" src="http://res2.wx.qq.com/open/js/jweixin-1.4.0.js"></script> <script type="text/javascript"> wx.config({ debug: false, appId: '{$appId}', timestamp: '{$timestamp}', nonceStr: '{$nonceStr}', signature: '{$signature}', jsApiList: [ 'onMenuShareTimeline', 'onMenuShareAppMessage', 'chooseImage', 'downloadImage', 'uploadImage', 'getLocalImgData' ] }); wx.ready(function () { wx.onMenuShareTimeline({ title: '时尚匠心 榜样力量', // 分享标题 desc: '2019中国创业者大会 在时代创变的前夜,等你!', // 分享描述 link: '{$link}', // 分享链接 imgUrl: 'http://mallapp.guoguodz.com/h5_pic/appwww/Assets/Admin/images/s_logo.png', // 分享图标 success: function () { }, cancel: function () { } }); wx.onMenuShareAppMessage({ title: '时尚匠心 榜样力量', // 分享标题 desc: '2019中国创业者大会 在时代创变的前夜,等你!', // 分享描述 link: '{$link}', // 分享链接 imgUrl: 'http://mallapp.guoguodz.com/h5_pic/appwww/Assets/Admin/images/s_logo.png', // 分享图标 success: function () { }, cancel: function () { } }); }); wx.checkJsApi({ jsApiList: [ 'chooseImage', 'downloadImage', 'uploadImage' ],success:function(){ console.log("wx.checkJsApi success"); },fail: function(res){ console.log("wx.checkJsApi error"); console.log(res); } }); </script> </body> </html>