From 2800fa4f32f3900509cb4d6eefaf2bfaf54efdd7 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Mon, 21 Apr 2025 18:29:09 +0800
Subject: [PATCH] fix: 天气显示
---
src/styles/login.scss | 42 +++++++++++++-----------------------------
1 files changed, 13 insertions(+), 29 deletions(-)
diff --git a/src/styles/login.scss b/src/styles/login.scss
index 798d2d1..07131c3 100644
--- a/src/styles/login.scss
+++ b/src/styles/login.scss
@@ -3,26 +3,6 @@
position: relative;
width: 100%;
height: 100%;
- // position: relative;
- // display: flex;
- // align-items: center;
- // width: 100%;
- // height: 100%;
- // // background-color: #fff;
- // background: linear-gradient(110deg, rgb(2, 40, 85) 0%, rgb(44, 119, 241) 50%, rgb(255,255,255) 50%, rgb(240,240,240) 100%);
- // overflow: hidden;
- // &::before{
- // position: absolute;
- // top: 0;
- // left: 0;
- // width: 100%;
- // height: 100%;
- // margin-left: -48%;
- // background-image: url(/img/login-bg.svg);
- // background-position: 100%;
- // background-repeat: no-repeat;
- // background-size: auto 100%;
- // }
}
.login-header {
background: url('../assets/images/login/big-title.png') no-repeat center / 100% 100%;
@@ -43,14 +23,17 @@
text-align: center;
font-style: normal;
text-transform: none;
- color: #fff;
- // background: linear-gradient(90deg, #FFFFFF 0%, #B2D5FF 100%);
+ background: linear-gradient(180deg, #FFFFFF 0%, #B2D5FF 100%);
+ -webkit-background-clip: text;
+ color: transparent;
+ background-clip: text;
}
}
-.login-left-title-new {
+.login-left-title {
position: absolute;
- left: 147px;
- top: 263px;
+ // border: 1px solid greenyellow;
+ left: 160px;
+ top: 240px;
width: 926px;
height: 42px;
font-family: Source Han Sans CN, Source Han Sans CN;
@@ -63,15 +46,16 @@
text-align: center;
font-style: normal;
text-transform: none;
- // background: linear-gradient(90.00000000000004deg, #FFFFFF 0%, #E3FEFF 63%, #88BAFF 100%);
+ background: linear-gradient(90.00000000000004deg, #FFFFFF 0%, #E3FEFF 63%, #88BAFF 100%);
+ -webkit-background-clip: text;
+ color: transparent;
+ background-clip: text;
}
.login-left-new {
position: absolute;
top: 334px;
+ border: 1px solid red;
left: 147px;
- width: 926px;
- height: 540px;
- background: url('../assets/images/login/left-logo.png') no-repeat center / 100% 100%;
}
.login-right-new {
--
Gitblit v1.9.3