Commit 0bc289f5 by doszhang

dos

parent 206fd06c
......@@ -114,14 +114,17 @@
{:block name='js'}{:/block}
<script>
window.wx && wx.ready(function () {
alert(1)
wx.onMenuShareAppMessage(wxFriendData);
wx.onMenuShareTimeline(wxTimelineData);
wx.checkJsApi({
jsApiList : ['scanQRCode','previewImage'],
success : function(res) {
alert(2)
}
});
$("img").click(function(){
alert(3)
var url = $(this).attr("src");
wx.previewImage({
current: url, // 当前显示图片的http链接
......
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 sign in to comment