diff --git a/src/pages/home/HomePage.module.less b/src/pages/home/HomePage.module.less index 42bbe50..8290ef2 100644 --- a/src/pages/home/HomePage.module.less +++ b/src/pages/home/HomePage.module.less @@ -2,27 +2,24 @@ width: 100%; height: 100vh; display: flex; -} + .left-menu { + width: 200px; + } + .right-cont { + width: calc(100% - 200px); + display: flex; + flex-direction: column; + .right-top { + width: 100%; + height: 48px; + } -.left-menu { - width: 200px; -} - -.right-cont { - width: calc(100% - 200px); - display: flex; - flex-direction: column; -} - -.right-top { - width: 100%; - height: 48px; -} - -.right-main { - flex: 1; - box-sizing: border-box; - padding: 24px; - overflow-y: auto; - background-color: #f1f2f9; + .right-main { + flex: 1; + box-sizing: border-box; + padding: 24px; + overflow-y: auto; + background-color: #f1f2f9; + } + } } diff --git a/src/pages/login/Login.module.less b/src/pages/login/Login.module.less index 3882405..5c036d5 100644 --- a/src/pages/login/Login.module.less +++ b/src/pages/login/Login.module.less @@ -3,20 +3,18 @@ float: left; height: 100%; background-color: #fff; -} - -.login-box { - width: 1200px; - height: 500px; - margin-left: auto; - margin-right: auto; - margin-top: 150px; -} - -.captcha { - width: 120px; - height: 48px; - margin-left: 10px; - cursor: pointer; - cursor: pointer; + .login-box { + width: 1200px; + height: 500px; + margin-left: auto; + margin-right: auto; + margin-top: 150px; + .captcha { + width: 120px; + height: 48px; + margin-left: 10px; + cursor: pointer; + cursor: pointer; + } + } }