浏览代码

Merge branch 'startLogin'

mo 1 年之前
父节点
当前提交
d4b43ce746
共有 3 个文件被更改,包括 11 次插入9 次删除
  1. 1 0
      index.html
  2. 10 6
      src/components/layout/index.module.less
  3. 0 3
      src/views/setting/modal/forgotPassword.tsx

+ 1 - 0
index.html

@@ -31,6 +31,7 @@
     body {
       background: #f1f5ff;
       width: 100%;
+      overflow-x: hidden;
     }
 
     .bgImg {

+ 10 - 6
src/components/layout/index.module.less

@@ -1,29 +1,33 @@
 .wrap {
   width: 100vw;
-  height: 100vh;
+  min-height: 100vh;
   display: flex;
   flex-direction: row;
   background: #f1f5ff;
   overflow: hidden;
 
+
+
   .WrapcoreView {
     // .WrapcoreViewInfo {
     // border-radius: 20px;
     // background-color: #fff;
     // overflow: hidden;
     // }
-
     padding: 32px;
-    height: calc(100vh - 64px);
-    overflow-y: auto;
+    // height: calc(100vh - 64px);
+    overflow: hidden;
+    height: 100%;
+    // overflow-y: auto;
   }
 }
 
 .silder {
+  flex: 1;
+  height: 100%;
   width: 100px;
   background: #3044ca;
   min-height: 100vh;
-  height: 100%;
   display: flex;
   flex-direction: column;
   align-items: center;
@@ -433,4 +437,4 @@
 
 .hideModal {
   visibility: hidden;
-}
+}

+ 0 - 3
src/views/setting/modal/forgotPassword.tsx

@@ -158,9 +158,6 @@ export default defineComponent({
                   type="text"
                   maxlength={6}
                   placeholder="请输入验证码"
-                  {...{  autocomplete:"off"}}
-
-                  inputProps={{ autocomplete: 'off' }}
                   class={styles.sendInput}></NInput>
                 <NButton
                   type="primary"