<ion-view view-title="添加账号">
    <ion-pane>
        <ion-tabs class="tabs-light tabs-striped tabs-top">
            <ion-tab title="银行卡/支付宝">
                <ion-view>
                    <ion-content>
                        <div class="list">
                            <div class="item item-input item-select" style="border-bottom: 1px solid #DDDDDD">
                                <select ng-model="vm.bank_name" ng-init="vm.bank_name='支付宝'">
                                    <option value="支付宝" >支付宝
                                    </option>
                                    <option value="工商银行" >工商银行
                                    </option>
                                    <option value="建设银行" >建设银行
                                    </option>
                                    <option value="招商银行" >招商银行
                                    </option>
                                    <option value="中国银行" >中国银行
                                    </option>
                                    <option value="农业银行" >农业银行
                                    </option>
                                    <option value="民生银行" >民生银行
                                    </option>
                                    <option value="交通银行" >交通银行
                                    </option>
                                    <option value="平安银行" >平安银行
                                    </option>
                                    <option value="邮政储蓄" >邮政储蓄
                                    </option>
                                </select>
                                <input  type="text" ng-model="vm.bank_name" placeholder="银行名称/支付宝" disabled style="background: #fff">
                            </div>
                            <div class="item item-input" style="border-bottom: 1px solid #DDDDDD">
                                <input  type="text" ng-model="vm.bank_number"  placeholder="账号">
                            </div>
                            <div class="item item-input" style="border-bottom: 1px solid #DDDDDD">
                                <input  type="text" ng-model="vm.bank_user"  placeholder="姓名">
                            </div>
                            <div class="item item-input" style="border-bottom: 1px solid #DDDDDD">
                                <input  type="number" ng-model="vm.bank_phone"  placeholder="手机号">
                            </div>
                        </div>

                        <div class="padding">
                            <button type="button" ng-click="addAccount()" class="button button-full button-calm">提交</button>
                        </div>
                    </ion-content>
                </ion-view>
            </ion-tab>
            <ion-tab title="二维码">
                <ion-view>
                    <ion-content>
                        <div class="list">
                            <div class="item item-input item-select" style="border-bottom: 1px solid #DDDDDD">
                                <span class="input-label">
                                    选择类型
                                </span>
                                <select ng-model="vm.type">
                                    <option value="微信二维码">微信二维码
                                    </option>
                                    <option value="支付宝二维码">支付宝二维码
                                    </option>
                                </select>
                            </div>
                            <div class="item item-input" style="border-bottom: 1px solid #DDDDDD">
                                <a ng-repeat="item in qrcode" class="img-file-up">
                                    <b style="background-image:url({{item}});"><em ng-click="deletefile(item)" class="ion-ios-close-outline"></em></b>
                                </a>

                                <a class="btn-file-up" ng-click="addpict()">
                                    <img src="img/icon_photo.svg" style="height: 40px; width: 40px; text-align: center; line-height: 40px" /><br>
                                    <em style="font-size: 16px">上传二维码</em>
                                </a>
                            </div>
                        </div>
                        <div class="padding">
                            <button type="button" ng-click="addQrcode()" class="button button-full button-calm">提交</button>
                        </div>
                    </ion-content>
                </ion-view>
            </ion-tab>
        </ion-tabs>

    </ion-pane>
</ion-view>
