<ion-view view-title="充值">
    <ion-nav-buttons side="right">
        <button class="button button-clear" ng-click="payExplain()">
            支付说明
        </button>
    </ion-nav-buttons>
    <ion-content>
        <div class="list recharge padding">
            <div class="item" style="padding:20px">
                <div class="row">
                    <div class="col col-20">
                        <img src="img/icon_gold.svg" style="height: 100%; width: 100%">
                    </div>
                    <div class="col">
                        <div>剩余梦想币</div>
                        <div class="re-num">{{vm.coin}}</div>
                    </div>
                    <div class="col col-33" style="padding: 30px 0 0 20px">
                        <a ng-click="withdraw()" style="border: 1px solid #00C3DA; color: #00C3DA; padding: 5px 25px; border-radius: 30px;">提现</a>
                    </div>
                </div>
            </div>
            <div class="item item-input" style="padding-top: 20px; padding-bottom: 20px">
                <span class="input-label" style="width: 60px">梦想币</span>
                <input type="tel" placeholder="请输入数量" ng-model="vm.number">
            </div>
            <div class="item" style="color: #969696; padding-top: 40px">
               选择支付方式
            </div>
            <ion-list class="re-radio">
                <ion-radio ng-model="vm.payType" ng-value="2">
                    <img ng-src="img/icon_ WeChat Pay.svg" />
                    <span>微信支付</span>
                </ion-radio>
                <!-- <ion-radio ng-model="vm.payType" ng-value="1">
                    <img ng-src="img/icon_ Alipay.svg" />
                    <span>支付宝支付</span>
                </ion-radio> -->
            </ion-list>
        </div>
        <div class="padding">
            <button  class="button button-block button-calm" ng-click="testcharge(vm.number)">
                支付
            </button>
        </div>
    </ion-content>
</ion-view>
