文件
jw-beauty/miniprogram/pages/treatment-setup/treatment-setup.wxss
T
Guoguo 5064cf119d fix(ui): polish miniprogram and admin console details
小程序修复:
- 首页/我的/记录页移除自定义头部,使用原生导航栏
- tabBar '护理记录' 改为 '记录'
- 智能模式跳转auto-scan页面(不再跳过)
- 扫码区域尺寸 300→360rpx,图标 100→120rpx
- 护理中倒计时 120→144rpx
- 完成页图标 120→140rpx
- 完成页时长格式 '10分0秒' → '10分钟'
- 蓝牙连接 '连接中' → '点击连接'
- 订阅套餐默认选中年卡
- 订阅成功页改为动态数据(非硬编码)
- 我的页增加退出登录按钮
- 护理记录日期支持'今天/昨天'相对格式
- 扫描进度居中
- 锁定模式图标加灰度滤镜

管理后台修复:
- 所有页面移除重复页面标题
- 仪表盘统计卡片改为垂直布局
- 快捷操作图标统一粉色+箭头
- 设备管理搜索placeholder和库存badge修正
- 用户管理头像、次后缀、月卡/试用badge颜色修正
- 订阅管理stat背景改白色、过期改红色、tab切换修复
- 护理记录模式badge修正
- 操作日志改为平铺列表
- 系统设置开关改绿色、表单改水平布局
- 全局背景色 #f5f5f5 → #f0f2f5
2026-04-23 01:18:50 +08:00

125 行
1.7 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-option.locked .mode-icon {
filter: grayscale(1);
}
.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;
}