<view class='page_set'>
    <view class="item flex jc_sb ai_c">
        <view>头像</view>
        <button open-type='chooseAvatar' bind:chooseavatar="onChooseAvatar" class="avatar_btn">
            <image class="head_img" src="{{ob.head_pic || defaultAvatar}} "></image>
        </button>
    </view>

    <view class="item flex jc_sb ai_c">
        <view>昵称</view>
        <view>
            <input maxlength="10" class="nick_inp" type="nickname"  placeholder="用户昵称"  value="{{ob.nickname || ''}}" bind:change='get_val'  ></input>
        </view>
    </view>



    <!-- 确认修改按钮 -->
    <view class="flex-center confirm">
        <view class="flex-center fs30 confirmtext {{load?'load':''}}" bindtap="save_cell">
            <view>确认</view>
        </view>
    </view>

</view>