<!--pages/invoice/pages/operation/operation.wxml-->
<!-- 开票提交,重新发送共用一个提示页面 -->
<view class="container operation">
		<mp-navigation-bar loading="{{loading}}" show="{{show}}" animated="{{animated}}" color="{{color}}" background="{{background}}" title="{{title}}" back="{{false}}">
		<view slot="left" bindtap="toBack">
			<image class="back" src="/static/img/btn_close.png"></image>
		</view>
		</mp-navigation-bar>
    <view class="icon-wrap" wx:if="{{operate=='tickets'}}">
    	<image class="icon" src="/static/img/img_success.png"></image>
    </view>
		<view class="icon-wrap" wx:if="{{operate=='send'}}">
    	<image class="icon" src="/static/img/img_send_success.png"></image>
    </view>
		<view class="tips" wx:if="{{operate=='tickets' && status == 1}}">提交成功</view>
		<view class="tips" wx:if="{{operate=='tickets' && status == 0}}">提交失败</view>
		<view class="tips" wx:if="{{operate=='send' && status == 1}}">发送成功</view>
		<view class="tips" wx:if="{{operate=='send' && status == 0}}">发送失败</view>
		<view class="tips-content"  wx:if="{{operate=='tickets' && status==1}}">
			<text>电子发票将很快发送到您的邮箱\n</text>
			<text>请注意查收</text>
		</view>
			<view class="tips-content"  wx:if="{{operate=='send' && status==1}}">
			<text>请前往{{email}}查看</text>
		</view>
		<view class="tips-content"  wx:if="{{status==0}}">
			<text>请返回重试</text>
		</view>
		<view class="button1" bindtap="goBack" data-index="0">发票管理</view>
		<view class="button2" bindtap="goBack" data-index="1">我的发票</view>
</view>