<!-- 开票信息顶部 -->
<view class="detailTop">
  <view class='red'></view>
  <view class="invoicing">
    <view wx:if="{{invoiceDetail.status==0}}" class='invoicing1'>开票中</view>
    <view wx:if="{{invoiceDetail.status==1}}" class='invoicing1'>已开票</view>
    <view wx:if="{{invoiceDetail.status==2}}" class='invoicing1'>已拒绝</view>
    <view wx:if="{{invoiceDetail.status==0}}" class="invoicing2">请耐心等待开票，预计1~7个工作日内完成</view>
    <view wx:if="{{invoiceDetail.status==1}}" class="invoicing2">发票信息已发送至邮箱，请自行前往查收</view>
    <view wx:if="{{invoiceDetail.status==2}}" class="invoicing2">{{invoiceOneDetail.remark}}</view>
  </view>
  <!-- 开票中 -->
  <image wx:if="{{invoiceDetail.status==0}}" class='invoicImg' src="{{invoicingImg}}" mode='widthFix'></image>
  <!-- 已开票 -->
  <image wx:if="{{invoiceDetail.status==1}}" class='overImg' src="{{invoicedImg}}" mode='widthFix'></image>
  <!-- 已拒绝 -->
  <image wx:if="{{invoiceDetail.status==2}}" class='refuseImg' src="{{rejectedImg}}" mode='widthFix'></image>
</view>

<!-- 开票详情 -->
<!-- 开票中 -->
<view class="invoicDetail">
  <view class="invoicTop">
    <!-- <view class="invoicTopLeft"></view> -->
    <view class="invoicTopInfo">开票信息</view>
  </view>
  <!-- 发票类型 -->
  <view class="invoicType">
    <view class="type">发票类型</view>
    <view class="typeInfo">电子普通发票</view>
  </view>
  <!-- 开票信息 -->
  <view class="{{attendantNamesList.length<=2?'invoicTypeInfoOne':'invoicTypeInfo'}}">
    <view class="type">开票信息</view>
    <view class="typeInfoTitle">
      <text class="{{attendantNamesList.length==1?'typeInfoOne':'typeInfo'}}" wx:for="{{attendantNamesList}}" wx:key="index">{{item.attendantNames}}({{item.password}})</text>
    </view>
  </view>
  <!-- 开票金额 -->
  <view class="invoicType">
    <view class="type">开票金额</view>
    <view class="typeInfo">共{{invoiceOneDetail.price}}元</view>
  </view>
  <!-- 公司名称 -->
  <view class="invoicType">
    <view class="type">公司名称</view>
    <!-- wx:if="{{invoiceDetail.status==1||invoiceDetail.status==2}}" -->
    <view class="typeInfo">{{invoiceOneDetail.company}}</view>
    <!-- <input wx:if="{{invoiceDetail.status!==2}}" bindinput="bindinput" data-type="email" class="typeInput" type="text" value="{{invoiceOneDetail.company?invoiceOneDetail.company:''}}" placeholder="请填写电子邮箱" placeholder-style="font-size:22rpx;color: #959595;" /> -->
  </view>
  <!-- 税号 -->
  <view class="invoicType">
    <view class="type">税号</view>
    <view class="typeInfo">{{invoiceOneDetail.dutyNumber}}</view>
    <!-- <input wx:if="{{invoiceDetail.status!==2}}" bindinput="bindinput" data-type="email" class="typeInput" type="text" value="{{invoiceOneDetail.dutyNumber?invoiceOneDetail.dutyNumber:''}}" placeholder="请填写税号" placeholder-style="font-size:22rpx;color: #959595;" /> -->
  </view>
  <!-- 接收邮箱 -->
  <view class="invoicEmail">
    <view class="type">接收邮箱</view>
    <view class="typeInfo">{{invoiceOneDetail.email}}</view>
    <!-- <input wx:if="{{invoiceDetail.status==2}}" bindinput="bindinput" data-type="email" class="typeInput" type="text" value="{{invoiceOneDetail.email?invoiceOneDetail.email:''}}" placeholder="请填写邮箱" placeholder-style="font-size:22rpx;color: #959595;" /> -->
  </view>
</view>

<!-- 底部提交 -->
<view>
  <view class="editInfo">
    <!-- 开票中 -->
    <view wx:if="{{invoiceDetail.status==0}}" data-item="{{invoiceOneDetail}}" class="infobtn" bindtap="editInfo">修改信息</view>
    <!-- 已拒绝 -->
    <view wx:if="{{invoiceDetail.status==2}}" data-item="{{invoiceOneDetail}}" class="infobtn" bindtap="resubmit">重新提交</view>
  </view>
</view>