Commit 1309cfee authored by xd's avatar xd

侧边栏修改,加入禁止分享网页

parent adcc93e2
...@@ -249,6 +249,19 @@ ...@@ -249,6 +249,19 @@
} }
__main() __main()
function onBridgeReady() {
WeixinJSBridge.call('hideOptionMenu');
}
if (typeof WeixinJSBridge == "undefined") {
if (document.addEventListener) {
document.addEventListener('WeixinJSBridgeReady', onBridgeReady, false);
} else if (document.attachEvent) {
document.attachEvent('WeixinJSBridgeReady', onBridgeReady);
document.attachEvent('onWeixinJSBridgeReady', onBridgeReady);
}
} else {
onBridgeReady()
}
</script> </script>
</body> </body>
......
...@@ -66,6 +66,7 @@ ...@@ -66,6 +66,7 @@
return context == null || context == "" || context == "undefined" ? "" : context; return context == null || context == "" || context == "undefined" ? "" : context;
} }
const storecode = GetQueryString("storeCode") const storecode = GetQueryString("storeCode")
// 禁止分享
$(function () { $(function () {
showQRInfo() showQRInfo()
}); });
......
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