From c208475507d1adca547dba5cf8fd2cb88b80cf34 Mon Sep 17 00:00:00 2001 From: Flex <q1406482700@163.com> Date: 星期五, 30 五月 2025 17:03:54 +0800 Subject: [PATCH] 修改登录页 --- easegen-front/src/views/Login/Login.vue | 62 +++++++++++++++++++++++-------- 1 files changed, 46 insertions(+), 16 deletions(-) diff --git a/easegen-front/src/views/Login/Login.vue b/easegen-front/src/views/Login/Login.vue index 14d840a..bcd8ecd 100644 --- a/easegen-front/src/views/Login/Login.vue +++ b/easegen-front/src/views/Login/Login.vue @@ -2,8 +2,10 @@ <div class="bei"> <div class="BeiArea"> <!-- 宸︿晶鍥剧墖 --> - <div class="Left-img" > - <img src="@/assets/imgs/bei6-1.png" alt=""/> + <div class="Left-img"> + <div class="TitleText" > + <text> 鏁板瓧浜� </text>鏅鸿兘浜や簰骞冲彴 + </div> </div> <!-- 鍙宠竟鐨勭櫥褰曠晫闈� --> <Transition appear enter-active-class="animate__animated animate__bounceInRight"> @@ -57,38 +59,66 @@ .bei{ width: 100%; height: 100%; - background-color: #061C43; -} -.bei .BeiArea{ - width: 100%; - height: 100%; + background-color: #000; display: flex; - justify-content: space-around; + justify-content: center; align-items: center; } +.bei .BeiArea{ + width: 86%; + height: 95%; + display: flex; + justify-content: center; + align-items: center; + background-color: #000a25; +} .bei .BeiArea .form-box{ - width: 30%; - padding: 20px; + /* width: 25%; */ + width: 400px; + margin-top: -36px; + padding: 70px 30px; box-sizing: border-box; background: #fff; + margin-left: 300px; + box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; } - .bei .BeiArea .Left-img{ - width: 677px; + width: 729px; + height: 655px; + margin-top: 138px; + margin-left: -74px; + background-image:url( "@/assets/imgs/bei3-1.png" ); + /* background-size: 100%; */ + background-size: contain; + background-repeat: no-repeat; + background-position: center center; + display: flex; + justify-content: center; + align-items: center; } - -.bei .BeiArea .Left-img img{ +.bei .BeiArea .Left-img .TitleText{ + margin-top: calc( -85% ); + margin-left: -60px; + color: #fff; width: 100%; + text-align: left; + font-size: 48px; + padding-left: 10%; + box-sizing: border-box; +} +.bei .BeiArea .Left-img .TitleText text{ + color: #2d84fa; } @media screen and ( max-width: 1300px ) { .form-box{ - width: 80%; + width: 80% !important; + margin: 0 auto !important; } .Left-img{ - display: none; + display: none !important; } } -- Gitblit v1.9.3