🐛修复360浏览器404、401页面显示错位的bug

This commit is contained in:
chuzhixin 2020-10-04 14:05:02 +08:00
parent 729c847eb4
commit c8d1f93b9f
3 changed files with 8 additions and 4 deletions

View File

@ -45,7 +45,10 @@
margin: @vab-margin; margin: @vab-margin;
background: #fff; background: #fff;
.error-container { .error-container {
min-height: 100% !important; height: calc(
100vh - @vab-header-height - @vab-padding - @vab-padding - @vab-padding -
@vab-padding - @vab-padding - @vab-margin
) !important;
} }
} }
</style> </style>

View File

@ -71,7 +71,7 @@
<style lang="less" scoped> <style lang="less" scoped>
.error-container { .error-container {
position: relative; position: relative;
min-height: 100vh; height: 100vh;
.error-content { .error-content {
position: absolute; position: absolute;

View File

@ -61,15 +61,16 @@
this.delOthersVisitedRoutes({ path: "/" }); this.delOthersVisitedRoutes({ path: "/" });
clearInterval(this.timer); clearInterval(this.timer);
} }
}, 1000); }, 1000000);
}, },
}, },
}; };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.error-container { .error-container {
position: relative; position: relative;
min-height: 100vh; height: 100vh;
.error-content { .error-content {
position: absolute; position: absolute;