功能:改造Salon小程序OpenID快捷登录

This commit is contained in:
2026-10-10 11:02:45 +08:00
parent dd3bcd40bc
commit 4bb8665aab
41 changed files with 1068 additions and 1304 deletions
+13
View File
@@ -1,4 +1,8 @@
<view class="page planning-page">
<view wx:if="{{phoneBannerVisible}}" class="phone-banner">
<view class="phone-banner-track" bindtap="openAccountSettings"><text>绑定手机号,便于账号安全验证与重要通知</text><text>点击前往账号设置</text></view>
<view class="phone-banner-close" catchtap="dismissPhoneBanner">×</view>
</view>
<view class="card control-card">
<view class="date-row">
<view class="date-side">
@@ -26,6 +30,15 @@
</scroll-view>
</view>
<view wx:if="{{profilePromptVisible}}" class="profile-prompt-mask">
<view class="profile-prompt">
<text class="profile-prompt-title">完善你的工作名片</text><text class="profile-prompt-desc">头像和昵称会用于门店协作展示,可暂时跳过。</text>
<button class="wechat-avatar" open-type="chooseAvatar" bindchooseavatar="chooseWechatAvatar"><image wx:if="{{profileForm.avatar}}" src="{{profileForm.avatar}}" mode="aspectFill"></image><text wx:else>选择头像</text></button>
<input class="wechat-nickname" type="nickname" value="{{profileForm.nickname}}" bindinput="onNicknameInput" placeholder="填写微信昵称" />
<button class="profile-save" loading="{{profileSaving}}" bindtap="saveWechatProfile">保存资料</button><button class="profile-skip" bindtap="skipProfilePrompt">暂时跳过</button>
</view>
</view>
<view wx:if="{{calendarError}}" class="calendar-error-card">
<view class="calendar-error-copy">
<text class="calendar-error-title">规划数据加载失败</text>