wx.config({ debug: false, appId: 'wxc21c30f8ad8316ef', timestamp: 1746040865, nonceStr: 'Wm3WZYTPz0wzccnW', signature: 'ed70269504e9af0a5eddae245f346449256cf1d1', jsApiList: ['updateAppMessageShareData','updateTimelineShareData','scanQRCode','startRecord','stopRecord','onVoiceRecordEnd','playVoice','uploadVoice','downloadVoice'] }); wx.ready(function () { wx.updateAppMessageShareData({ title: title, link: link, desc: desc, imgUrl: imgUrl, success: function () { try { if (typeof(eval("ShareTimelineSuccess")) == "function") { ShareFriendSuccess(); } } catch(e) {} }, cancel: function () { try { if (typeof(eval("ShareTimelineCancel")) == "function") { ShareFriendCancel(); } } catch(e) {} } }); wx.updateTimelineShareData({ title: title, link: link, imgUrl: imgUrl, type: 'link', dataUrl: '', success: function () { try { if (typeof(eval("ShareFriendSuccess")) == "function") { ShareFriendSuccess(); } } catch(e) {} }, cancel: function () { try { if (typeof(eval("ShareFriendCancel")) == "function") { ShareFriendCancel(); } } catch(e) {} } }); }); $(function(){ console.log("1112"); $("#search_options").on("click",function(){ console.log("111"); if($("#co_srh").val()!=""){ window.location.href="http://www.eapad.cn/Lunnet/Index?KeyWord="+$("#co_srh").val(); } }); });