26 lines
1.2 KiB
Plaintext
26 lines
1.2 KiB
Plaintext
<!--pages/setAvatarNickname/setAvatarNickname.wxml-->
|
|
<view class="container">
|
|
<header-nav bgcolor="#f6f6f6" isIndexPage="{{ !isIndex }}" notShowIndex="true">设置头像昵称</header-nav>
|
|
<view class="box">
|
|
<view class="item">
|
|
<view class="left">头像</view>
|
|
<view class="right">
|
|
<button class="avatar-wrapper" open-type="chooseAvatar" bind:chooseavatar="onChooseAvatar">
|
|
<image class="head" src="{{ avatarUrl || '/img/defaultAvatar.png' }}"></image>
|
|
</button>
|
|
</view>
|
|
</view>
|
|
<view class="item">
|
|
<view class="left">昵称</view>
|
|
<view class="right">
|
|
<input type="nickname" class="nickname" model:value="{{nickname}}" maxlength="50" />
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="save" bindtap="submitNickname">保存</view>
|
|
|
|
<go-login wx:if="{{ isloginBtnState }}" islogin="{{ islogin }}" binduserClickLogin="userClickLogin" bindpopClose="popClose"></go-login>
|
|
|
|
<perfect-information wx:if="{{ informationState }}" bindrevampInformationState="revampInformationState"></perfect-information>
|
|
</view> |