This commit is contained in:
2025-09-27 22:57:59 +08:00
parent 8a458ff0a4
commit ed26244cdb
12585 changed files with 1914308 additions and 3474 deletions

View File

@@ -24,12 +24,21 @@
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
page {
height: 100%;
overflow: hidden;
background: linear-gradient(180deg, #f8fbff 0%, #ffffff 60%);
}
.home {
padding-bottom: 140rpx;
height: 100vh;
display: flex;
flex-direction: column;
padding-bottom: calc(env(safe-area-inset-bottom) + 32rpx);
position: relative;
/* 渐变背景:顶部淡蓝过渡到白色 */
background: linear-gradient(180deg, #f8fbff 0%, #ffffff 60%);
min-height: 100vh;
overflow: hidden;
box-sizing: border-box;
}
/* 首页横幅(移除) */
@@ -92,6 +101,7 @@
align-items: center;
gap: 16rpx;
padding: 10rpx 28rpx 0;
flex: 0 0 auto;
}
.section-title::before {
content: "";
@@ -111,12 +121,13 @@
/* 顶部英雄区:浅色玻璃卡片,带金色描边与柔和阴影 */
.hero {
margin: 16rpx 20rpx;
padding: 18rpx;
padding: 18rpx 18rpx 12rpx;
border-radius: 20rpx;
background: #ffffff;
border: 2rpx solid #e5e7eb;
box-shadow: none;
color: #111;
flex: 0 0 auto;
}
.hero-top {
display: flex;
@@ -159,11 +170,65 @@
letter-spacing: 1rpx;
}
/* KPI 卡片化布局2×2 */
/* 简易弹层样式 */
.dialog-mask {
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.45);
display: flex;
align-items: center;
justify-content: center;
z-index: 10000;
}
.dialog {
width: 82vw;
background: #fff;
border-radius: 16rpx;
padding: 20rpx;
border: 2rpx solid #eef2f6;
}
.dialog-title {
font-size: 32rpx;
font-weight: 800;
color: #111;
margin-bottom: 16rpx;
}
.dialog-textarea {
width: 100%;
min-height: 180rpx;
border: 2rpx solid #e8eef8;
border-radius: 12rpx;
padding: 12rpx;
box-sizing: border-box;
}
.dialog-actions {
display: flex;
justify-content: flex-end;
gap: 18rpx;
margin-top: 16rpx;
}
.btn {
padding: 10rpx 22rpx;
border-radius: 999rpx;
background: #f3f6fb;
color: #334155;
border: 2rpx solid #e2e8f0;
font-weight: 700;
}
.btn.primary {
background: #4C8DFF;
color: #fff;
border-color: #4C8DFF;
}
/* KPI 卡片化布局:横向铺满 */
.kpi {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 16rpx;
grid-template-columns: repeat(4, 1fr);
gap: 12rpx;
}
.kpi-item {
text-align: center;
@@ -175,19 +240,21 @@
/* KPI 卡片(更扁平,降低高度) */
.kpi-grid {
grid-template-columns: repeat(2, 1fr);
gap: 16rpx;
gap: 12rpx;
}
.kpi-card {
display: flex;
align-items: center;
gap: 12rpx;
flex-direction: column;
align-items: flex-start;
justify-content: center;
gap: 8rpx;
text-align: left;
padding: 12rpx 14rpx;
border-radius: 12rpx;
border-radius: 14rpx;
background: #fff;
border: 2rpx solid #eef2f6;
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.04);
min-height: 120rpx;
}
.kpi-icon {
width: 44rpx;
@@ -206,8 +273,8 @@
}
.kpi-value {
color: #4C8DFF;
font-size: 36rpx;
line-height: 40rpx;
font-size: 34rpx;
line-height: 38rpx;
margin-top: 0;
font-weight: 800;
}
@@ -241,45 +308,56 @@
/* 功能容器:更轻的留白 */
.grid-wrap {
margin: 8rpx 12rpx 24rpx;
padding: 8rpx 8rpx 0;
border-radius: 20rpx;
background: transparent;
border: 0;
flex: 1 1 auto;
display: flex;
align-items: stretch;
justify-content: center;
margin: 16rpx 20rpx 28rpx;
padding: 32rpx 30rpx;
border-radius: 26rpx;
background: rgba(255, 255, 255, 0.96);
border: 2rpx solid #edf2f9;
box-shadow: 0 12rpx 28rpx rgba(32, 75, 143, 0.1);
box-sizing: border-box;
}
/* 功能卡片宫格:方形竖排,图标在上文字在下(与截图一致) */
.feature-grid {
flex: 1 1 auto;
width: 100%;
height: 100%;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 14rpx;
padding: 8rpx 8rpx 18rpx;
grid-template-columns: repeat(3, minmax(0, 1fr));
grid-auto-rows: 1fr;
gap: 32rpx 28rpx;
align-content: space-evenly;
justify-items: center;
}
.feature-card {
height: 164rpx;
width: 168rpx;
height: 176rpx;
background: #fff;
border: 2rpx solid #eef2f6;
border-radius: 16rpx;
box-shadow: 0 6rpx 16rpx rgba(0, 0, 0, 0.04);
padding: 12rpx;
border-radius: 20rpx;
box-shadow: 0 10rpx 24rpx rgba(0, 0, 0, 0.05);
padding: 18rpx 16rpx;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.fc-icon {
width: 86rpx;
height: 86rpx;
width: 78rpx;
height: 78rpx;
border-radius: 18rpx;
background: #f7faff;
border: 2rpx solid #e8eef8;
display: flex;
align-items: center;
justify-content: center;
}
.fc-img {
width: 56rpx;
height: 56rpx;
width: 54rpx;
height: 54rpx;
opacity: 0.95;
}
.fc-emoji {
@@ -293,10 +371,11 @@
border: 2rpx solid #e8eef8;
}
.fc-title {
margin-top: 10rpx;
font-size: 26rpx;
margin-top: 12rpx;
font-size: 28rpx;
font-weight: 700;
color: #111;
letter-spacing: 1rpx;
}
/* 底部操作条:浅色半透明 + 金色主按钮 */