<ion-header>
	<ion-navbar>
		<ion-title text-center>订单确认</ion-title>
	</ion-navbar>
</ion-header>
<ion-content class="content">
	<div class="content-container">
		<ion-item class="content-title">
			<span>活动名称</span>
			<span float-right>{{activity?.activityName}}</span>
		</ion-item>
		<ion-item>
			<span  class="padding-left-16">选择批次</span>
			<span float-right>{{batch?.batchName}}</span>
		</ion-item>
		<div class="confirm-item margin-top-10">
			<ion-label>出行结果</ion-label>
			<div class="confirm-type">
				<span class="{{order.orderstate == 4? 'selected':''}}" (click)="changeType(4)">成功出行</span>
				<span class="{{order.orderstate == 3? 'selected':''}}" (click)="changeType(3)">未出行</span>
			</div>
		</div>
		<ng-container *ngIf="order.orderstate == 4">
			<div class="margin-top-10 confirm-item">
				<ion-label>评价反馈</ion-label>
				<button (click)="selectLevel(4)" class="submit-btn submit1">非常满意
					<ion-icon *ngIf="orderStatisfyLevel == 4" ios="ios-checkmark" md="md-checkmark"></ion-icon>
				</button>
				<button (click)="selectLevel(3)" class="submit-btn submit2">满意
					<ion-icon *ngIf="orderStatisfyLevel == 3" ios="ios-checkmark" md="md-checkmark"></ion-icon>
				</button>
				<button (click)="selectLevel(2)" class="submit-btn submit3">一般
					<ion-icon *ngIf="orderStatisfyLevel == 2" ios="ios-checkmark" md="md-checkmark"></ion-icon>
				</button>
				<button (click)="selectLevel(1)" class="submit-btn submit4">不满意
					<ion-icon *ngIf="orderStatisfyLevel == 1" ios="ios-checkmark" md="md-checkmark"></ion-icon>
				</button>
			</div>
		</ng-container>
	</div>

	<button class="submit-btn submit" (click)="commit()">提交确认</button>
</ion-content>
