Miniprogram: - Add back buttons to all custom-nav pages - Add debug/mock buttons (BLE connect, wear check, treatment) controlled by __DEV__ flag (hidden in prod) Admin console: - Fix log page using nonexistent fields (operator_type, target_type) now correctly reads admin_id/user_id/action/detail from API - Fix subscription date fields (started_at→start_time, expired_at→expire_time) - Wire up subscription detail/extend/renew action buttons - Wire up device detail "查看完整日志" button - Add "创建订阅" button to subscription toolbar - Fix subscription status mapping (2=expired, 3=cancelled) Docs: - Add detailed architecture docs for server, miniprogram, admin console
36 行
1.3 KiB
Plaintext
36 行
1.3 KiB
Plaintext
<view class="page">
|
||
<view class="page-header page-header-pink" style="padding-top: {{statusBarHeight + 24}}px;">
|
||
<view class="nav-back" bindtap="onBack">‹ 返回</view>
|
||
<view class="page-header-title">护理设置</view>
|
||
<view class="page-header-subtitle">试用期已结束</view>
|
||
</view>
|
||
|
||
<view class="page-content">
|
||
<view class="page-title">选择护理模式</view>
|
||
|
||
<view class="mode-selector">
|
||
<view class="mode-option active">
|
||
<text class="mode-icon">🔄</text>
|
||
<view class="mode-label">普通模式</view>
|
||
<view class="mode-sub">6色循环</view>
|
||
</view>
|
||
<view class="mode-option locked">
|
||
<text class="mode-icon">🔒</text>
|
||
<view class="mode-label">智能模式</view>
|
||
<view class="mode-sub">订阅解锁</view>
|
||
</view>
|
||
</view>
|
||
|
||
<view class="tip-card">
|
||
<text class="tip-card-icon">⏰</text>
|
||
<view class="tip-card-body">
|
||
<view class="tip-card-title">试用已结束</view>
|
||
<view class="tip-card-sub">订阅后继续使用智能模式</view>
|
||
</view>
|
||
</view>
|
||
|
||
<button class="btn-primary btn-primary-gold" bindtap="onViewPlans">立即订阅</button>
|
||
<button class="btn-secondary" bindtap="onBack">先使用普通模式</button>
|
||
</view>
|
||
</view>
|