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,23 +1,42 @@
@import '../../../styles/variables.scss';
@mixin section-title {
font-family: 'Georgia', 'Times New Roman', serif;
font-size: 30px;
font-weight: bold;
color: $tx;
margin-bottom: 20px;
display: block;
}
@mixin tag($bg, $color) {
display: inline-block;
padding: 4px 12px;
border-radius: 8px;
font-size: 20px;
font-weight: 500;
background: $bg;
color: $color;
}
.detail-page {
min-height: 100vh;
background: #f1f5f9;
padding: 16px;
background: $bg;
padding: 24px;
padding-bottom: 40px;
}
.detail-card {
background: #fff;
border-radius: 12px;
padding: 16px;
margin-bottom: 12px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
background: $card;
border-radius: $r;
padding: 28px;
margin-bottom: 20px;
box-shadow: $shadow-sm;
}
.detail-type {
font-size: 18px;
font-weight: 600;
color: #0f172a;
display: block;
margin-bottom: 8px;
@include section-title;
margin-bottom: 12px;
}
.detail-meta {
@@ -26,27 +45,57 @@
}
.meta-item {
font-size: 12px;
color: #94a3b8;
font-size: 22px;
color: $tx3;
}
.content-card {
background: #fff;
border-radius: 12px;
padding: 16px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
background: $card;
border-radius: $r;
padding: 28px;
box-shadow: $shadow-sm;
// RichText 内部样式
h1, h2, h3 {
font-weight: bold;
color: $tx;
margin: 24px 0 12px;
}
p {
font-size: 28px;
color: $tx;
line-height: 1.8;
margin-bottom: 16px;
}
ul {
padding-left: 32px;
margin-bottom: 16px;
}
li {
font-size: 28px;
color: $tx;
line-height: 1.8;
margin-bottom: 8px;
}
strong {
color: $pri-d;
}
}
.report-content {
font-size: 14px;
font-size: 28px;
line-height: 1.8;
color: #334155;
color: $tx;
}
.empty-text {
display: block;
text-align: center;
padding: 60px 0;
color: #94a3b8;
font-size: 14px;
padding: 120px 0;
color: $tx3;
font-size: 28px;
}

View File

@@ -1,65 +1,83 @@
@import '../../../styles/variables.scss';
@mixin serif-number {
font-family: 'Georgia', 'Times New Roman', serif;
font-variant-numeric: tabular-nums;
}
@mixin section-title {
font-family: 'Georgia', 'Times New Roman', serif;
font-size: 30px;
font-weight: bold;
color: $tx;
margin-bottom: 20px;
display: block;
}
@mixin tag($bg, $color) {
display: inline-block;
padding: 4px 12px;
border-radius: 8px;
font-size: 20px;
font-weight: 500;
background: $bg;
color: $color;
}
.ai-report-page {
min-height: 100vh;
background: #f1f5f9;
padding: 16px;
background: $bg;
padding: 24px;
padding-bottom: 40px;
}
.page-title {
font-size: 20px;
font-weight: 600;
color: #0f172a;
margin-bottom: 16px;
@include section-title;
}
.report-scroll {
height: calc(100vh - 80px);
height: calc(100vh - 100px);
}
.report-card {
background: #fff;
border-radius: 12px;
padding: 16px;
margin-bottom: 12px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
background: $card;
border-radius: $r;
padding: 28px;
margin-bottom: 20px;
box-shadow: $shadow-sm;
}
.card-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
margin-bottom: 12px;
}
.card-type {
font-size: 15px;
font-size: 28px;
font-weight: 500;
color: #1e293b;
color: $tx;
}
.card-status {
font-size: 12px;
padding: 2px 8px;
border-radius: 10px;
@include tag($bd-l, $tx2);
}
.status-completed {
color: #16a34a;
background: #dcfce7;
@include tag($acc-l, $acc);
}
.status-streaming {
color: #2563eb;
background: #dbeafe;
@include tag($pri-l, $pri);
}
.status-failed {
color: #dc2626;
background: #fee2e2;
@include tag($dan-l, $dan);
}
.status-pending {
color: #d97706;
background: #fef3c7;
@include tag($wrn-l, $wrn);
}
.card-footer {
@@ -69,19 +87,19 @@
}
.card-time {
font-size: 12px;
color: #94a3b8;
font-size: 22px;
color: $tx3;
}
.card-model {
font-size: 11px;
color: #cbd5e1;
font-size: 22px;
color: $tx3;
}
.no-more {
text-align: center;
font-size: 12px;
color: #94a3b8;
padding: 16px 0;
font-size: 24px;
color: $tx3;
padding: 24px 0;
display: block;
}