Server: - Add settings-cache with 60s TTL for feature toggle checks - Enforce maintenance_mode on login, enable_binding on device bind Admin console: - Remove dead "发送通知" button from user detail - Firmware check calls real API and compares versions Miniprogram: - Wear-check: dynamic battery/connected from BLE state - Login: hide non-functional phone auth button - Treating: show actual selected regions instead of hardcoded "全脸" - Index: display subscription status with tap to manage - Auto-scan: show "待检测" instead of "--" for PD data - Agreements: tap shows "内容建设中" modal
28 行
1.1 KiB
Plaintext
28 行
1.1 KiB
Plaintext
<view class="page">
|
|
<view class="page-header page-header-pink" style="padding-top: {{statusBarHeight + 24}}px;">
|
|
<view class="page-header-title">光子美容仪</view>
|
|
<view class="page-header-subtitle">微信授权登录</view>
|
|
</view>
|
|
|
|
<view class="page-content">
|
|
<view class="welcome-text">欢迎使用光子美容仪</view>
|
|
|
|
<view class="flower-area">
|
|
<text class="flower">🌸</text>
|
|
<view class="desc">授权获取微信昵称和头像</view>
|
|
<view class="desc">用于完善会员资料</view>
|
|
</view>
|
|
|
|
<button class="login-btn" loading="{{loading}}" bindtap="onLogin" disabled="{{loading}}">
|
|
微信授权登录
|
|
</button>
|
|
|
|
<!-- 手机号授权已预留。需要时展示该按钮并隐藏上面的普通登录按钮。 -->
|
|
<button wx:if="{{false}}" class="phone-btn disabled-phone-btn" open-type="getPhoneNumber" bindgetphonenumber="onGetPhoneNumber" disabled="{{loading}}">
|
|
授权手机号登录(预留)
|
|
</button>
|
|
|
|
<view class="agreement" bindtap="onAgreement">登录即表示同意《用户协议》和《隐私政策》</view>
|
|
</view>
|
|
</view>
|