<ion-view view-title="身份信息">
    <ion-content>
        <div class="list">
            <div class="item item-divider">
                请如实填写
            </div>
            <a class="item">
                <em class="fl">手机号</em>
                <span style="float:right">{{user.mobile}}</span>
            </a>
            <label class="item item-input ">
                <span class="input-label">姓名<span class="mustfill">*</span></span>
                <input style="text-align:right" ng-model="vm.Name" type="text" placeholder="真实姓名">
            </label>
            <label class="item item-input">
                <span class="input-label">身份证号<span class="mustfill">*</span></span>
                <input style="text-align:right" ng-model="vm.IDCard" type="text" placeholder="身份证号">
            </label>
            <a class="item item-avatar-right item-arrow-no" ng-click="setAvator(1)">
                <img ng-src="vm.CardImgFront"/>
                <h2>上传照片<span class="mustfill">*</span></h2>
                <p>证件照正面</p>
            </a>
            <a class="item item-avatar-right item-arrow-no" ng-click="setAvator(2)">
                <img ng-src="vm.CardImgBack" />
                <h2>上传照片<span class="mustfill">*</span></h2>
                <p>证件照反面</p>
            </a>
            <a class="item item-avatar-right item-arrow-no" ng-click="setAvator(3)">
                <img ng-src="vm.CardImgSelf" />
                <h2>上传照片<span class="mustfill">*</span></h2>
                <p>自拍照</p>
            </a>
            <label class="item item-input item-select item-select-width">
                <span class="input-label">
                    性别
                </span>
                <select ng-model="vm.Sex" ng-options="x.value as x.name for x in genderOpt"></select>
            </label>
            <label class="item item-input ">
                <span class="input-label">现居城市<span class="mustfill">*</span></span>
                <input style="text-align:right" ng-model="vm.City" type="text" placeholder="现居城市">
            </label>
            <label class="item item-input ">
                <span class="input-label">详细地址<span class="mustfill">*</span></span>
                <input style="text-align:right" type="text"  ng-model="vm.HomeAddress" placeholder="详细地址">
            </label>
            <label class="item item-input ">
                <span class="input-label">居住时长</span>
                <input style="text-align:right" type="text"  placeholder="居住时长">
            </label>
            <div class="padding">
                <button type="button" ng-click="save()" class="button button-full button-positive">提交</button>
            </div>
        </div>
    </ion-content>
</ion-view>
