feat(ui): redesign all miniprogram pages

- 全局样式改为粉色(#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页: 粉色统计行+模式标签记录列表
这个提交包含在:
Guoguo
2026-04-22 21:40:55 +08:00
父节点 a84e37a6e2
当前提交 aa4b215c8b
修改 50 个文件,包含 1535 行新增835 行删除
+1
查看文件
@@ -1,3 +1,4 @@
{
"navigationStyle": "custom",
"navigationBarTitleText": "护理中"
}
+25 -27
查看文件
@@ -1,33 +1,31 @@
<view class="container treating-page">
<view class="card text-center">
<view class="progress-circle">
<text class="progress-text">{{remainingText}}</text>
</view>
<view class="progress-bar-wrap mt-20">
<progress percent="{{progress}}" stroke-width="8" activeColor="#333333" />
</view>
<view class="page">
<view class="page-header page-header-blue">
<view class="page-header-title">护理中</view>
<view class="page-header-subtitle">正在护理...</view>
</view>
<view class="card">
<view class="flex-between mb-20">
<text>波长</text>
<text class="text-muted">{{wavelength === 1 ? '红外 850nm' : wavelength === 2 ? '红光 630nm' : wavelength === 3 ? '紫光 405nm' : '黄光 590nm'}}</text>
<view class="page-content">
<view class="countdown-area">
<text class="countdown-time">{{remainingText}}</text>
<view class="countdown-label">剩余时间</view>
</view>
<view class="flex-between mb-20">
<text>模式</text>
<text class="text-muted">{{mode === 1 ? '智能模式' : '普通模式'}}</text>
</view>
<view class="flex-between mb-20">
<text>电量</text>
<text class="text-muted">{{battery}}%</text>
</view>
<view class="flex-between">
<text>温度</text>
<text class="text-muted">{{temperature}}°C</text>
</view>
</view>
<view class="stop-btn-area">
<view class="btn-stop" bindtap="onStop">结束护理</view>
<view class="progress-bar">
<view class="progress-fill" style="width: {{progress}}%;"></view>
</view>
<view class="mode-tag-area">
<text class="mode-tag">{{mode === 1 ? '✨ 智能模式' : '🔄 普通模式'}} · 全脸护理</text>
</view>
<view class="relax-card">
<text class="relax-icon">💆</text>
<view class="relax-text">
<text>请放松心情</text>
<text>享受护理时光</text>
</view>
</view>
<button class="btn-primary btn-primary-red" bindtap="onStop">停止护理</button>
</view>
</view>
+67 -31
查看文件
@@ -1,37 +1,73 @@
.treating-page {
.countdown-area {
text-align: center;
padding: 60rpx 0 32rpx;
}
.countdown-time {
font-size: 120rpx;
font-weight: 700;
color: #E6508C;
display: block;
}
.countdown-label {
font-size: 28rpx;
color: #999999;
margin-top: 12rpx;
}
.progress-bar {
width: 100%;
height: 16rpx;
background: #f0f0f0;
border-radius: 8rpx;
overflow: hidden;
margin-bottom: 32rpx;
}
.progress-fill {
height: 100%;
background: linear-gradient(90deg, #E6508C, #DCB982);
border-radius: 8rpx;
}
.mode-tag-area {
text-align: center;
margin-bottom: 32rpx;
}
.mode-tag {
display: inline-block;
background: #f0f9ff;
padding: 12rpx 28rpx;
border-radius: 24rpx;
font-size: 26rpx;
color: #006699;
}
.relax-card {
background: #f8f8f8;
border-radius: 24rpx;
padding: 36rpx;
margin-bottom: 32rpx;
text-align: center;
}
.relax-icon {
font-size: 72rpx;
display: block;
margin-bottom: 16rpx;
}
.relax-text {
font-size: 28rpx;
color: #666666;
line-height: 1.6;
display: flex;
flex-direction: column;
min-height: 100vh;
}
.progress-circle {
width: 240rpx;
height: 240rpx;
border-radius: 50%;
border: 12rpx solid #eeeeee;
border-top-color: #333333;
display: flex;
align-items: center;
justify-content: center;
margin: 40rpx auto;
}
.progress-text {
font-size: 56rpx;
font-weight: 700;
color: #333333;
}
.stop-btn-area {
margin-top: auto;
padding: 20rpx 0 60rpx;
}
.btn-stop {
background-color: #ff4d4f;
color: #ffffff;
border-radius: 12rpx;
padding: 24rpx 40rpx;
text-align: center;
font-size: 30rpx;
.btn-primary-red::after {
border: none;
}