fix
This commit is contained in:
@@ -24,3 +24,32 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 弹窗:设置头像和昵称 -->
|
||||
<popup visible="{{showPopup}}" bind:close="closePopup">
|
||||
<text class="popup-title">手动设置头像和昵称</text>
|
||||
<view class="popup-content">
|
||||
<!-- 左右布局:左侧头像 | 右侧按钮组 -->
|
||||
<view class="form-row">
|
||||
<!-- 左侧:头像 -->
|
||||
<button class="avatar-picker" open-type="chooseAvatar" bindchooseavatar="onChooseAvatar">
|
||||
<image src="{{avatarUrl}}" class="popup-avatar"></image>
|
||||
</button>
|
||||
<!-- 右侧:两个按钮 -->
|
||||
<view class="btn-group">
|
||||
<button class="form-btn" open-type="chooseAvatar" bindchooseavatar="onChooseAvatar">点击获取头像</button>
|
||||
<input
|
||||
type="nickname"
|
||||
class="form-input--nickname"
|
||||
placeholder="点击获取昵称"
|
||||
bindblur="onNicknameInput"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 提交 -->
|
||||
<view class="form-submit">
|
||||
<button class="submit-btn" bind:tap="submitLogin">确定授权</button>
|
||||
</view>
|
||||
</view>
|
||||
</popup>
|
||||
|
||||
Reference in New Issue
Block a user