- 全局样式改为粉色(#E6508C)/金色(#DCB982)/绿色(#52c41a)配色
- 所有非tab页使用自定义导航栏,带彩色头部+标题+副标题
- login页: 粉色头部+🌸图标+微信授权登录
- scan页: 粉色头部+虚线扫码框+手动输入按钮
- ble-connect页: 蓝牙提示+搜索中/已发现设备卡片
- bind-success页: 绿色头部+成功图标+7天试用提示卡
- wear-check页: 设备信息行+佩戴指引卡片
- index首页: 粉色设备卡片+开始护理/设备管理按钮
- treatment-setup页: 模式选择+面部地图选区域
- auto-scan页: 面部轮廓+扫描线动画+检测标签
- treating页: 蓝色头部+大倒计时+渐变进度条+放松提示
- treatment-done页: 绿色头部+统计卡片+已记录提示
- subscribe-prompt页: 普通/智能模式对比+试用提示+金色订阅按钮
- subscribe-plans页: 金色头部+服务卡片+月卡/年卡选择
- subscribe-success页: 绿色头部+订阅详情卡+金色按钮
- profile页: 渐变头部+用户行+订阅卡+菜单列表
- history页: 粉色统计行+模式标签记录列表
121 行
1.6 KiB
Plaintext
121 行
1.6 KiB
Plaintext
.mode-selector {
|
|
display: flex;
|
|
gap: 20rpx;
|
|
margin-bottom: 32rpx;
|
|
}
|
|
|
|
.mode-option {
|
|
flex: 1;
|
|
padding: 28rpx 20rpx;
|
|
border: 4rpx solid #e5e5e5;
|
|
border-radius: 24rpx;
|
|
text-align: center;
|
|
}
|
|
|
|
.mode-option.active {
|
|
border-color: #E6508C;
|
|
background: #fdf2f8;
|
|
}
|
|
|
|
.mode-option.locked {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.mode-icon {
|
|
font-size: 48rpx;
|
|
display: block;
|
|
margin-bottom: 8rpx;
|
|
}
|
|
|
|
.mode-label {
|
|
font-size: 28rpx;
|
|
color: #333333;
|
|
}
|
|
|
|
.mode-option.locked .mode-label {
|
|
color: #999999;
|
|
}
|
|
|
|
.mode-sub {
|
|
font-size: 22rpx;
|
|
color: #999999;
|
|
margin-top: 6rpx;
|
|
}
|
|
|
|
.mode-option.active .mode-sub {
|
|
color: #E6508C;
|
|
}
|
|
|
|
.face-map {
|
|
width: 240rpx;
|
|
height: 280rpx;
|
|
margin: 0 auto 24rpx;
|
|
position: relative;
|
|
}
|
|
|
|
.face-region {
|
|
position: absolute;
|
|
border: 4rpx solid #e5e5e5;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 22rpx;
|
|
color: #999999;
|
|
}
|
|
|
|
.face-region.active {
|
|
border-color: #E6508C;
|
|
background: rgba(230, 80, 140, 0.2);
|
|
color: #E6508C;
|
|
}
|
|
|
|
.face-region.forehead {
|
|
top: 5%;
|
|
left: 25%;
|
|
width: 50%;
|
|
height: 15%;
|
|
border-radius: 40rpx 40rpx 50% 50%;
|
|
}
|
|
|
|
.face-region.left-cheek {
|
|
top: 25%;
|
|
left: 5%;
|
|
width: 30%;
|
|
height: 25%;
|
|
}
|
|
|
|
.face-region.right-cheek {
|
|
top: 25%;
|
|
right: 5%;
|
|
width: 30%;
|
|
height: 25%;
|
|
}
|
|
|
|
.face-region.nose {
|
|
top: 45%;
|
|
left: 35%;
|
|
width: 30%;
|
|
height: 18%;
|
|
border-radius: 40%;
|
|
}
|
|
|
|
.face-region.chin {
|
|
top: 68%;
|
|
left: 25%;
|
|
width: 50%;
|
|
height: 20%;
|
|
border-radius: 0 0 50% 50%;
|
|
}
|
|
|
|
.error-text {
|
|
text-align: center;
|
|
color: #ff4d4f;
|
|
font-size: 26rpx;
|
|
margin-top: 16rpx;
|
|
}
|
|
|
|
.btn-primary::after {
|
|
border: none;
|
|
}
|