前端页面调整
This commit is contained in:
@@ -51,33 +51,13 @@ function doSearch() {
|
||||
.hero {
|
||||
min-height: calc(100vh - 64px);
|
||||
margin: -20px -24px;
|
||||
background: var(--page-bg-img) center / cover no-repeat, #0d2a6b;
|
||||
background: var(--hero-light-img) center / cover no-repeat, #0d2a6b;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
align-items: flex-start;
|
||||
justify-content: center;
|
||||
padding-top: 9vh;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: var(--hero-light-img) center bottom / contain no-repeat;
|
||||
filter: var(--hero-filter);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
height: 42%;
|
||||
background: var(--hero-blur-img) center bottom / cover no-repeat;
|
||||
filter: var(--hero-filter);
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
|
||||
.hero-inner {
|
||||
@@ -86,13 +66,14 @@ function doSearch() {
|
||||
text-align: center;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
padding: 40px 20px;
|
||||
padding: 0 20px 40px;
|
||||
|
||||
h1 {
|
||||
color: #fff;
|
||||
font-size: 42px;
|
||||
letter-spacing: 2px;
|
||||
margin: 0 0 14px;
|
||||
font-size: 46px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 3px;
|
||||
margin: 0 0 18px;
|
||||
}
|
||||
|
||||
.sub {
|
||||
@@ -103,10 +84,17 @@ function doSearch() {
|
||||
}
|
||||
|
||||
.searchbox {
|
||||
background: #fff;
|
||||
border-radius: 8px;
|
||||
position: relative;
|
||||
padding: 8px;
|
||||
box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
|
||||
border-radius: 10px;
|
||||
/* 毛玻璃:半透明白 + 背景模糊 + 提亮(乳白玻璃质感) */
|
||||
background: rgba(255, 255, 255, 0.76);
|
||||
backdrop-filter: blur(24px) saturate(160%) brightness(1.12);
|
||||
-webkit-backdrop-filter: blur(24px) saturate(160%) brightness(1.12);
|
||||
border: 1px solid rgba(255, 255, 255, 0.55);
|
||||
box-shadow:
|
||||
0 12px 34px rgba(0, 0, 0, 0.2),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.6);
|
||||
}
|
||||
|
||||
.row1 {
|
||||
@@ -116,28 +104,46 @@ function doSearch() {
|
||||
}
|
||||
|
||||
.sel { width: 120px; flex: none; }
|
||||
.sel :deep(.el-input__wrapper) { box-shadow: none; }
|
||||
.sel :deep(.el-input__wrapper) {
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.ipt {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
border: none;
|
||||
outline: none;
|
||||
font-size: 15px;
|
||||
padding: 0 8px;
|
||||
height: 40px;
|
||||
padding: 0 12px;
|
||||
height: 54px;
|
||||
color: #303133;
|
||||
|
||||
&::placeholder {
|
||||
color: #b7bec9;
|
||||
}
|
||||
}
|
||||
|
||||
.btn {
|
||||
height: 40px;
|
||||
padding: 0 26px;
|
||||
height: 54px;
|
||||
padding: 0 30px;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
font-size: 15px;
|
||||
font-size: 16px;
|
||||
cursor: pointer;
|
||||
background-size: 100% 100%;
|
||||
background-repeat: no-repeat;
|
||||
flex: none;
|
||||
}
|
||||
|
||||
.btn.primary { background: var(--brand-primary); color: #fff; }
|
||||
.btn.ghost { background: #fff; color: var(--brand-primary); border: 1px solid var(--brand-primary); }
|
||||
.btn.primary {
|
||||
color: #fff;
|
||||
background-image: var(--btn-primary-img);
|
||||
}
|
||||
|
||||
.btn.ghost {
|
||||
color: var(--brand-primary);
|
||||
background-image: var(--btn-ghost-img);
|
||||
}
|
||||
|
||||
.types {
|
||||
margin-top: 8px;
|
||||
@@ -145,11 +151,11 @@ function doSearch() {
|
||||
display: flex;
|
||||
gap: 18px;
|
||||
align-items: center;
|
||||
color: #4b5563;
|
||||
color: #43506b;
|
||||
font-size: 13px;
|
||||
border-top: 1px solid #eef1f6;
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.7);
|
||||
|
||||
.lbl { color: #6b7280; }
|
||||
.lbl { color: #5d688a; }
|
||||
|
||||
label {
|
||||
display: flex;
|
||||
@@ -160,15 +166,28 @@ function doSearch() {
|
||||
}
|
||||
|
||||
.hot {
|
||||
margin-top: 26px;
|
||||
color: rgba(255, 255, 255, 0.75);
|
||||
margin-top: 32px;
|
||||
color: rgba(255, 255, 255, 0.8);
|
||||
font-size: 13px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 12px;
|
||||
|
||||
a {
|
||||
margin-left: 14px;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
text-decoration: underline;
|
||||
padding: 6px 18px;
|
||||
border-radius: 16px;
|
||||
background: rgba(255, 255, 255, 0.18);
|
||||
border: 1px solid rgba(255, 255, 255, 0.4);
|
||||
backdrop-filter: blur(12px) saturate(150%);
|
||||
-webkit-backdrop-filter: blur(12px) saturate(150%);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
|
||||
|
||||
&:hover {
|
||||
background: rgba(255, 255, 255, 0.3);
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user