<script src="./jweixin.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
wx.config({
"debug":false,
"beta":false,
"jsApiList":["openEnterpriseChat","openChatWithMsg","selectExternalContact","openUserProfile","thirdPartyOpenPage","getCurExternalContact","onMenuShareTimeline","onMenuShareAppMessage","hideOptionMenu","hideMenuItems"],
"appId":"xxx",
"nonceStr":"xxxx",
"timestamp":xxxx,
"url":"xxxx",
"signature":"xxxx"
});
wx.ready(function() {
wx.hideOptionMenu();
wx.hideMenuItems();
});
</script>
亲测有用