<!--package_mine/pages/userInfo/index.wxml-->
<view class="form_container">
    <view class="upload_box {{formRules.headimgurl.warning? 'warning': ''}}" bindtap="uploadAvatar">
        <image class="image_item" src="{{form.headimgurl}}" mode="aspectFill">
        </image>
        <image class="upload_img" src="../../../assets/img/camera.png" mode="aspectFill">
        </image>
        <text class="tips">请上传个人头像</text>
    </view>
    <view class="form_item {{formRules.nickname.warning ? 'warning' : ''}}">
        <text style="color: #6F6F6F;font-size: 28rpx;"><text style="color: red;">*</text>用户名称：</text>
        <view class="value_box">
            <input style="width: 100%;height: 100%;text-align: end;" type="text" maxlength="10" placeholder="请输入您的姓名" placeholder-style="font-size: 26rpx; color: #A6A6A6;" adjust-position="{{true}}" value="{{form.nickname}}"
    data-name="nickname" name="nickname" bindinput="bindValue" />
        </view>
        <text class="tips">请输入用户名称</text>
    </view>
    <view class="btn_list">
        <view class="btn_item submit_btn" bindtap="submit">确定</view>
    </view>

</view>
