feat(miniprogram): 温润东方风全面 UI 重设计

73 文件变更,覆盖全部 40 个页面 SCSS + TabBar 图标 + 组件样式。
统一赤陶主色 #C4623A + 暖米背景 + 衬线标题字体 + 12px 圆角体系。
This commit is contained in:
iven
2026-04-28 00:19:52 +08:00
parent fbb28e655d
commit 50eae8b809
97 changed files with 7633 additions and 2373 deletions

View File

@@ -1,6 +1,9 @@
@import '../../styles/variables.scss';
@import '../../styles/mixins.scss';
.doctor-home {
min-height: 100vh;
background: #f0f4f8;
background: $bg;
padding: 32px;
padding-bottom: 120px;
@@ -9,23 +12,21 @@
}
&__title {
@include section-title;
font-size: 40px;
font-weight: 700;
color: #0f172a;
display: block;
margin-bottom: 12px;
}
&__greeting {
font-size: 28px;
color: #64748b;
color: $tx2;
display: block;
margin-bottom: 8px;
}
&__date {
font-size: 24px;
color: #94a3b8;
color: $tx3;
}
&__section {
@@ -33,11 +34,7 @@
}
&__section-title {
font-size: 30px;
font-weight: 600;
color: #334155;
display: block;
margin-bottom: 24px;
@include section-title;
}
&__grid {
@@ -47,11 +44,11 @@
}
&__card {
background: #fff;
border-radius: 16px;
background: $card;
border-radius: $r-lg;
padding: 28px 24px;
text-align: center;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
box-shadow: $shadow-md;
transition: transform 0.15s;
&:active {
@@ -59,23 +56,32 @@
}
}
&__card-icon {
font-size: 36px;
display: block;
&__card-initial {
display: inline-flex;
@include flex-center;
width: 56px;
height: 56px;
border-radius: $r;
background: $pri-l;
color: $pri;
font-family: 'Georgia', 'Times New Roman', serif;
font-size: 28px;
font-weight: 700;
margin-bottom: 8px;
}
&__card-num {
@include serif-number;
font-size: 48px;
font-weight: 700;
color: #0f172a;
color: $tx;
display: block;
margin-bottom: 8px;
}
&__card-label {
font-size: 24px;
color: #64748b;
color: $tx2;
}
&__quick-actions {
@@ -90,7 +96,7 @@
}
&__logout {
color: #ef4444;
color: $dan;
font-size: 28px;
padding: 16px 48px;
display: inline-block;
@@ -99,24 +105,33 @@
.quick-action {
flex: 1;
background: #fff;
border-radius: 16px;
background: $card;
border-radius: $r-lg;
padding: 28px 20px;
text-align: center;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
box-shadow: $shadow-md;
&:active {
opacity: 0.8;
}
&__icon {
font-size: 40px;
display: block;
&__initial {
display: inline-flex;
@include flex-center;
width: 56px;
height: 56px;
border-radius: $r;
background: $acc-l;
color: $acc;
font-family: 'Georgia', 'Times New Roman', serif;
font-size: 28px;
font-weight: 700;
margin-bottom: 8px;
}
&__label {
font-size: 24px;
color: #475569;
color: $tx2;
display: block;
}
}