Commit 1b538bdc by zeyang

1.优化法律手册

parent 224afab4
...@@ -790,10 +790,11 @@ ...@@ -790,10 +790,11 @@
document.oncut = function () { return false }//屏蔽剪切 document.oncut = function () { return false }//屏蔽剪切
//获取系统信息 //获取系统信息
let uniPlatform = uni.getSystemInfoSync(); let uniPlatform = uni.getSystemInfoSync();
// console.log(uniPlatform.browserName); var ua = window.navigator.userAgent.toLowerCase();
isShow.value = window.navigator.userAgent.toLowerCase().match(/MicroMessenger/i) === 'micromessenger'; isShow.value = ua.match(/MicroMessenger/i) == 'micromessenger';
console.log(uniPlatform.browserName);
console.log(ua);
console.log(ua.match(/MicroMessenger/i) == 'micromessenger');
}) })
</script> </script>
...@@ -808,7 +809,7 @@ ...@@ -808,7 +809,7 @@
font-size: 30rpx; font-size: 30rpx;
.titleBox { .titleBox {
margin: 10vh 0; padding: 10vh 0;
} }
.catalogue { .catalogue {
......
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