Commit 18640d47 authored by 章建武's avatar 章建武

dep

parent bb566301
......@@ -62,41 +62,6 @@ wx.config({
'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>
......
......@@ -50,52 +50,5 @@
<img src="__IMGAGES__/test.jpg"/>
</a>
</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 () {
}
});
});
</script>
<script>
</script>
</body>
</html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment