lighter 2 年之前
父节点
当前提交
f1cd4e4c7a
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/views/system/login.vue

+ 4 - 0
src/views/system/login.vue

@@ -97,6 +97,8 @@ onActivated(() => {
 <style lang="scss" scoped>
 .container {
   position: relative;
+  width: 100vw;
+  height: 100vh;
   background-color: #eef0f3;
 
   .box {
@@ -160,6 +162,8 @@ onActivated(() => {
 
 @media screen and (max-width: 750px) {
   .container .box {
+    width: 100vw;
+    height: 100vh;
     box-shadow: none;
     left: 0;
     top: 0;