- 首页设备入口简化为直接跳转按钮(去除硬编码 never 状态) - 体征录入页增加「从设备同步」入口,设备数据自动回填表单 - 设备同步页支持 returnTo 参数,完成后返回录入页 - 医护工作台增加告警中心固定导航入口(带数字角标)
207 lines
3.3 KiB
SCSS
207 lines
3.3 KiB
SCSS
@import '../../styles/variables.scss';
|
|
@import '../../styles/mixins.scss';
|
|
|
|
.doctor-home {
|
|
min-height: 100vh;
|
|
background: $bg;
|
|
padding: 32px;
|
|
padding-bottom: 120px;
|
|
|
|
&__header {
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
&__title {
|
|
@include section-title;
|
|
font-size: 40px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
&__greeting {
|
|
font-size: 28px;
|
|
color: $tx2;
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
&__date {
|
|
font-size: 24px;
|
|
color: $tx3;
|
|
}
|
|
|
|
&__alert {
|
|
display: flex;
|
|
align-items: center;
|
|
margin: 16px 24px;
|
|
padding: 16px 20px;
|
|
background: #FEF2F2;
|
|
border-radius: $r;
|
|
border-left: 4px solid #EF4444;
|
|
}
|
|
|
|
&__alert-icon {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 50%;
|
|
background: #EF4444;
|
|
color: #fff;
|
|
text-align: center;
|
|
line-height: 36px;
|
|
font-weight: bold;
|
|
font-size: 22px;
|
|
margin-right: 12px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
&__alert-text {
|
|
flex: 1;
|
|
font-size: 26px;
|
|
color: #991B1B;
|
|
}
|
|
|
|
&__alert-link {
|
|
font-size: 24px;
|
|
color: #EF4444;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
&__search {
|
|
margin: 0 24px 16px;
|
|
}
|
|
|
|
&__search-input {
|
|
background: #F1F5F9;
|
|
border-radius: $r;
|
|
padding: 16px 20px;
|
|
font-size: 26px;
|
|
color: #94A3B8;
|
|
}
|
|
|
|
&__section {
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
&__section-title {
|
|
@include section-title;
|
|
}
|
|
|
|
&__grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 20px;
|
|
}
|
|
|
|
&__card {
|
|
background: $card;
|
|
border-radius: $r-lg;
|
|
padding: 28px 24px;
|
|
text-align: center;
|
|
box-shadow: $shadow-md;
|
|
transition: transform 0.15s;
|
|
|
|
&:active {
|
|
transform: scale(0.97);
|
|
}
|
|
}
|
|
|
|
&__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: $tx;
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
&__card-label {
|
|
font-size: 24px;
|
|
color: $tx2;
|
|
}
|
|
|
|
&__quick-actions {
|
|
display: flex;
|
|
gap: 24px;
|
|
}
|
|
|
|
&__footer {
|
|
margin-top: 60px;
|
|
text-align: center;
|
|
padding-bottom: env(safe-area-inset-bottom);
|
|
}
|
|
|
|
&__logout {
|
|
color: $dan;
|
|
font-size: 28px;
|
|
padding: 16px 48px;
|
|
display: inline-block;
|
|
}
|
|
}
|
|
|
|
.quick-action {
|
|
flex: 1;
|
|
background: $card;
|
|
border-radius: $r-lg;
|
|
padding: 28px 20px;
|
|
text-align: center;
|
|
box-shadow: $shadow-md;
|
|
|
|
&:active {
|
|
opacity: 0.8;
|
|
}
|
|
|
|
&__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;
|
|
}
|
|
|
|
&__icon-wrap {
|
|
position: relative;
|
|
display: inline-flex;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
&__badge {
|
|
position: absolute;
|
|
top: -6px;
|
|
right: -12px;
|
|
min-width: 32px;
|
|
height: 32px;
|
|
line-height: 32px;
|
|
text-align: center;
|
|
background: $dan;
|
|
color: #fff;
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
border-radius: $r-pill;
|
|
padding: 0 6px;
|
|
}
|
|
|
|
&__label {
|
|
font-size: 24px;
|
|
color: $tx2;
|
|
display: block;
|
|
}
|
|
}
|