<mobile-main frameStyle="{{frameStyle}}" bind:back="back">
    <view slot="info" class="container main">
        <view class="one">
            <form catchsubmit="onSubmit">
                <view class="content" style="display: none;">
                    <view class="label">用户id</view>
                    <view class="value"><input name="id" value="{{form.id}}" placeholder="请输入用户id" /></view>
                </view>
                <view class="content" style="display: none;">
                    <view class="label">openid</view>
                    <view class="value"><input name="openid" value="{{form.openid}}" placeholder="请输入openid" /></view>
                </view>
                <view class="content">
                    <view class="label">用户名</view>
                    <view class="value"><input name="name" value="{{form.name}}" placeholder="请输入用户名" /></view>
                </view>
                <view class="content">
                    <view class="label">用户头像</view>
                    <view class="value">
                        <vanupload list="{{icon}}" count="{{1}}" previewSize="{{50}}" bind:imgUpload="imgUpload" bind:imgDel="imgDel"></vanupload>
                    </view>
                </view>
                <view class="content">
                    <view class="label">性别</view>
                    <view class="value">
                        <picker name="gender" bindchange="genderChange" value="{{form.gender}}" range-key='value' range="{{genderList}}">
                            <view class="input">{{form.gender||'选择性别'}}</view>
                        </picker>
                    </view>
                </view>
                <view class="content">
                    <view class="label">身份证</view>
                    <view class="value"><input disabled="true" name="card" value="{{form.card}}" placeholder="请输入身份证" /></view>
                </view>
                <view class="content">
                    <view class="label">手机号</view>
                    <view class="value"><input name="phone" value="{{form.phone}}" placeholder="请输入手机号" /></view>
                </view>
                <view class="content">
                    <view class="label">邮箱</view>
                    <view class="value"><input name="email" value="{{form.email}}" placeholder="请输入邮箱" /></view>
                </view>
                <view class="btn">
                    <button type="primary" size="mini" formType="submit">提交保存</button>
                </view>
            </form>
        </view>
    </view>
</mobile-main>