修复一些缺陷,更换tabbar素材

This commit is contained in:
hejinfu1026
2021-11-15 10:16:11 +08:00
parent 08ad262a88
commit 6c30520d5f
19 changed files with 284 additions and 137 deletions

View File

@@ -18,7 +18,8 @@
width: 375px;
height: 667px;
background-color: #fff;
box-sizing: content-box;
/* box-sizing: content-box; */
box-sizing: border-box;
border: none;
}
@@ -39,20 +40,15 @@
window.isPC = true;
window.onload = function(){
/* 监听电脑浏览器窗口尺寸改变 */
window.onresize = function(){
/* 窗口宽度 小于或等于420px 时跳转回H5页面 */
if(window.innerWidth <= 420){
// window.location.pathname = 'https://java.crmeb.net/';
/* 若你的项目未设置根目录(默认为 / 时),则使用下方代码 */
window.location.pathname = '';
}
}
if(window.innerWidth <= 420){
window.location.pathname = '/';
}
}
</script>
</head>
<body>
<!-- <iframe src="https://java.crmeb.net/"></iframe> -->
<!--若你的项目未设置根目录(默认为 / 时),则使用下方代码-->
<iframe src="/"></iframe>
<iframe src="/" id="iframe"></iframe>
</body>
</html>