fix: make phone authorization skippable in registration
getPhoneNumber requires verified enterprise miniprogram account. Allow users to skip phone auth and complete registration without it.
这个提交包含在:
@@ -26,11 +26,19 @@
|
||||
<text class="phone-text">{{phone}}</text>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:elif="{{phoneSkipped}}">
|
||||
<view class="phone-done phone-skipped">
|
||||
<text class="phone-text">已跳过,可稍后在设置中授权</text>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:else>
|
||||
<button class="phone-btn" open-type="getPhoneNumber" bindgetphonenumber="onGetPhoneNumber" disabled="{{loading}}">
|
||||
授权手机号
|
||||
</button>
|
||||
<view class="phone-hint">手机号用于接收服务通知,必须授权</view>
|
||||
<view class="phone-actions">
|
||||
<view class="phone-hint">手机号用于接收服务通知</view>
|
||||
<view class="phone-skip" bindtap="onSkipPhone">跳过</view>
|
||||
</view>
|
||||
</block>
|
||||
</view>
|
||||
|
||||
|
||||
在新工单中引用
屏蔽一个用户