<ion-modal-view>
    <ion-header-bar class="bar bar-header">
        <button class="button button-clear button-calm" ng-click="cancel();">取消</button>
        <h1 class="title">选择消费类型</h1>
        <button class="button button-clear button-calm" ng-click="ok();">完成</button>
    </ion-header-bar>
    <ion-content>
        <ion-radio class="item-icon-left item-icon-right" ng-model="record.pay_type" ng-click="checkType(type)" ng-value="type.id" ng-repeat="type in types">
            <i style="color:{{type.icon_color}}" class="icon" ng-class="type.icon"></i>
            <span style="padding-left: 38px">{{type.name}}</span>
        </ion-radio>
    </ion-content>
</ion-modal-view>
