sgxt_web/src/assets/css/homeScreen.scss

254 lines
6.3 KiB
SCSS
Raw Normal View History

2025-04-15 14:38:12 +08:00
@mixin textColor($color1, $color2) {
background-image: linear-gradient(0deg, $color1 0%, $color2 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.homeBox{
width: 100%;
height: 100vh;
2025-04-16 09:33:29 +08:00
.home-aside{
2025-04-15 14:38:12 +08:00
position: relative;
2025-04-16 09:33:29 +08:00
width: 442px;
2025-04-15 14:38:12 +08:00
top: 70px;
2025-04-16 09:33:29 +08:00
height: 100%;
2025-04-15 14:38:12 +08:00
height: calc(100vh - 72px);
overflow: hidden;
2025-04-16 09:33:29 +08:00
z-index: 10;
.asideTitle{
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 10px;
box-sizing: border-box;
background: linear-gradient( 90deg, #124CB3 0%, rgba(18,76,179,0.23) 77%, rgba(18,76,179,0) 100%);
border-radius: 0px 0px 0px 0px;
height: 40px;
.title{
font-weight: bold;
font-size: 16px;
color: #FFFFFF;
margin-right: 20px;
2025-04-15 18:22:42 +08:00
}
2025-04-15 14:38:12 +08:00
}
2025-04-16 09:33:29 +08:00
.asideCnt{
height: calc(100% - 40px);
}
.aside-middle{
height: calc(100%/2);
padding: 4px;
box-sizing: border-box;
2025-04-15 14:38:12 +08:00
}
}
2025-04-16 09:33:29 +08:00
.homeBtn{
height: 302px;
width: calc(100% - 894px);
position: absolute;
bottom: 2px;
left: 50%;
transform: translateX(-50%);
}
2025-04-15 14:38:12 +08:00
// 头部
.headBox {
position: fixed;
top: 0;
width: 100%;
2025-04-15 18:22:42 +08:00
height: 70px;
background: rgba(0,0,0,0.8);
.headBoxBg{
width: 100%;
height: 100%;
background: url("~@/assets/images/home_head.png") no-repeat center center;
background-size: 100% 100%;
height: 151px;
}
2025-04-15 14:38:12 +08:00
.top-center {
position: absolute;
left: 50%;
top: 2%;
transform: translateX(-50%);
font-size: 56px;
letter-spacing: 2px;
font-family: "YSBTH";
white-space: nowrap;
2025-04-15 18:22:42 +08:00
background: linear-gradient(180deg, #FFFFFF 0%, #66B5FF 100%);
2025-04-15 14:38:12 +08:00
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: 4px 4px 4px rgba(54, 255, 243, 0.15);
}
.topBtn {
display: flex;
position: absolute;
top: 15%;
.topBtn-item {
width: 190px;
height: 38px;
display: flex;
align-items: center;
justify-content: center;
background: url("~@/assets/images/home_btns.png") no-repeat center center;
background-size: 100% 100%;
font-size: 18px;
cursor: pointer;
span {
font-family: "YSBTH";
margin-top: -4px;
@include textColor(#a1d6ff, #ffffff);
}
}
2025-04-15 18:22:42 +08:00
2025-04-15 14:38:12 +08:00
}
.topBtn-left {
2025-04-15 18:22:42 +08:00
left: 35px;
2025-04-15 14:38:12 +08:00
font-size: 12px;
.text {
font-family: "YSBTH";
color: #0bb7ff;
}
.tests {
color: #0a99ff;
}
}
2025-04-15 18:22:42 +08:00
.leftBtn-yjbtn{
position: absolute;
left: 430px;
top: 20px;
width: 155px;
height: 38px;
line-height: 38px;
text-align: center;
background: url("~@/assets/images/home_btns.png") no-repeat center center;
background-size: 100% 100%;
font-size: 16px;
font-family: "YSBTH";
.btms{
@include textColor(#a1d6ff, #ffffff);
}
}
.yjbtnActive{
background: url("~@/assets/images/home_btns_active.png") no-repeat center center;
background-size: 100% 100%;
.btms{
@include textColor(#00ffff, #faff00);
}
}
2025-04-15 14:38:12 +08:00
.topBtn-right {
2025-04-15 18:22:42 +08:00
right: 270px;
2025-04-15 14:38:12 +08:00
.topBtn-item {
background: url("~@/assets/images/home_btns_right.png") no-repeat center
center;
background-size: 100% 100%;
}
.active-topBtn {
background: url("~@/assets/images/home_btns_right_active.png") no-repeat
center center;
background-size: 100% 100%;
span {
@include textColor(#00ffff, #faff00);
}
}
}
.rightIcon {
position: absolute;
right: 20px;
top: 20%;
font-size: 17px;
span {
color: #0bb7ff;
cursor: pointer;
}
img {
width: 20px;
}
}
}
// 左边
.asideL{
position: absolute;
box-sizing: border-box;
left: 10px;
.asideL-top{
width: 100%;
height: 141px;
background: #052249;
}
.asideL-Bottom{
height: calc(100% - 141px);
.commom-aside{
height: calc((100%/3) - 6px);
margin-top: 7px;
background: #052249;
}
}
}
// 右边
.asideR{
position: absolute;
right: 10px;
.commom-aside-small{
height: calc(((100% - 146px) /3) - 6px);
background: #052249;
margin-top: 9px;
}
.commom-aside-big{
height: calc(((100% - (100% - 146px) /3)/2) - 6px);
margin-bottom: 9px;
background: #052249;
}
}
.home-center{
position: absolute;
left: 50%;
2025-04-16 09:33:29 +08:00
top: 70px;
2025-04-15 14:38:12 +08:00
transform: translateX(-50%);
width: calc(100% - 920px);
height: 80px;
}
.home-foot{
position: absolute;
left: 50%;
2025-04-16 09:33:29 +08:00
bottom: 2px;
2025-04-15 14:38:12 +08:00
transform: translateX(-50%);
width: calc(100% - 920px);
2025-04-16 09:33:29 +08:00
height: calc((100% - 141px)/3 - 32px);
2025-04-15 14:38:12 +08:00
min-width: 560px;
overflow: hidden;
background: url("~@/assets/images/right-1.png") no-repeat center center;
background-size: 100% 100%;
.comom-title{
background: url("~@/assets/images/bg18.png") no-repeat center center;
background-size: 100% 100%;
.title{
font-size: 22px;
font-family: 'YSBTH';
padding-left: 35px;
}
}
}
// 公用
.comom-title{
background: url("~@/assets/images/bg17.png") no-repeat center center;
background-size: 100% 100%;
width: 100%;
height: 35px;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 10px;
box-sizing: border-box;
.title{
font-size: 22px;
font-family: 'YSBTH';
padding-left: 35px;
}
}
.comom-cnt{
height: calc(100% - 35px);
padding: 4px 10px;
box-sizing: border-box;
background: url("~@/assets/images/bg_13.png") no-repeat center center;
background-size: 100% 100%;
}
}