Phase 0: 建立 design token 体系 - tokens.scss 新增 --tk-pri/--tk-pri-l/--tk-pri-d/--tk-shadow-btn/--tk-shadow-tab - .doctor-mode 覆盖为靛蓝色系,.elder-mode 非线性放大字号 - variables.scss 新增医生端色彩 + 阴影变量 Phase 1: 组件库 + 页面全局替换 - 75 个页面 SCSS $pri → var(--tk-pri) 全量替换 - 11 个新 UI 组件(PrimaryButton/TabFilter/FormInput/ProgressRing 等) - 8 个现有组件 SCSS 更新 - 18 个医生端页面 useElderClass → useDoctorClass - PageHeader 匹配原型 NavBar 规格 Phase 2: 登录页重写 - Logo: 方形+ → 圆形渐变 H - 登录方式: 纯微信 → 账号密码 + 微信一键登录 - 新增 credentialLogin API + store action - 字号/间距严格匹配原型 mp-01-login.html
51 lines
1020 B
SCSS
51 lines
1020 B
SCSS
@import '../../styles/variables.scss';
|
|
|
|
.empty-state {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: var(--tk-gap-2xl) var(--tk-gap-xl);
|
|
}
|
|
|
|
.empty-state-icon-wrap {
|
|
width: var(--tk-gap-2xl);
|
|
height: var(--tk-gap-2xl);
|
|
border-radius: 50%;
|
|
background: $surface-alt;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: var(--tk-gap-lg);
|
|
}
|
|
|
|
.empty-state-icon-char {
|
|
font-family: Georgia, 'Times New Roman', serif;
|
|
font-size: var(--tk-font-hero);
|
|
font-weight: 600;
|
|
color: $tx3;
|
|
}
|
|
|
|
.empty-state-text {
|
|
font-size: var(--tk-font-num);
|
|
color: $tx2;
|
|
margin-bottom: var(--tk-gap-xs);
|
|
}
|
|
|
|
.empty-state-hint {
|
|
font-size: var(--tk-font-h2);
|
|
color: var(--tk-text-secondary);
|
|
margin-bottom: var(--tk-gap-xl);
|
|
}
|
|
|
|
.empty-state-action {
|
|
background: var(--tk-pri);
|
|
border-radius: 40px;
|
|
padding: var(--tk-gap-md) var(--tk-gap-2xl);
|
|
}
|
|
|
|
.empty-state-action-text {
|
|
font-size: var(--tk-font-body-lg);
|
|
color: $white;
|
|
}
|