<!--pages/order/invoicingDetail/index.wxml-->
<view>
  <!-- 开票信息顶部 -->
  <view class="detailTop">
    <view class='subtitleColor'></view>
    <view class="invoicing">开票信息</view>
  </view>
  <!-- 开票中 -->
  <image class='invoicImg' src="{{editInvoicImg}}"></image>
  <!-- 开票详情 -->
  <!-- 开票中 -->
  <view class="invoicDetail">
    <!-- 发票类型 -->
    <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 wx:for="{{attendantNamesList}}" wx:key="index" class="{{attendantNamesList.length==1?'typeInfoOne':'typeInfo'}}">{{item.attendantNames}}({{item.password}})
        </text>
      </view>
    </view>
    <!-- 开票金额 -->
    <view class="invoicType">
      <view class="type">开票金额</view>
      <view class="typeInfo">共{{orderPassword[0].price}}元</view>
    </view>
    <!-- 公司名称 -->
    <view class="invoicType">
      <view class="type">公司名称</view>
      <input bindinput="bindinput" data-type="company" class="typeInput" type="text" value="{{company}}" placeholder="请输入公司名称" placeholder-style="font-size:22rpx;color: #959595;" />
    </view>
    <!-- 税号 -->
    <view class="invoicType">
      <view class="type">税号</view>
      <input bindinput="bindinput" data-type="dutyNumber" class="typeInput" type="text" value="{{dutyNumber}}" placeholder="请输入税号" placeholder-style="font-size:22rpx;color: #959595;" />
    </view>
    <!-- 接收邮箱 -->
    <view class="invoicEmail">
      <view class="type">接收邮箱</view>
      <input bindinput="bindinput" data-type="email" class="typeInput" type="text" value="{{email}}" placeholder="请填写电子邮箱" placeholder-style="font-size:22rpx;color: #959595;" />
    </view>
  </view>

  <!-- 底部提交 -->
  <view>
    <view class="editInfo">
      <!-- 修改开票信息按钮 -->
      <view class="infobtn" bindtap="submit">提交</view>
    </view>
  </view>
</view>