<page-meta class="data-v-2e6df7a1" pageStyle="{{a}}"></page-meta>
<view class="content data-v-2e6df7a1" wx:if="{{b}}">
  <view class="tabs data-v-2e6df7a1">
    <view
      bindtap="{{item.d}}"
      class="{{['tab','data-v-2e6df7a1',item.b]}}"
      wx:for="{{c}}"
      wx:key="c"
      >{{item.a}}</view
    >
  </view>
  <view class="data-v-2e6df7a1" style="margin-top: 110rpx" wx:if="{{d}}">
    <view
      bindtap="{{item.B}}"
      class="order data-v-2e6df7a1"
      wx:for="{{e}}"
      wx:key="A"
    >
      <view class="title-content data-v-2e6df7a1">
        <view class="product-name data-v-2e6df7a1">{{item.a}}</view>
        <view class="status type1 data-v-2e6df7a1" wx:if="{{item.b}}"
          >待付款</view
        >
        <view class="status type4 data-v-2e6df7a1" wx:if="{{item.c}}">
          已付款{{item.d}}</view
        >
        <view class="status type3 data-v-2e6df7a1" wx:if="{{item.e}}"
          >已退款</view
        >
        <view class="status type4 data-v-2e6df7a1" wx:if="{{item.f}}"
          >已完成</view
        >
      </view>
      <view class="desc data-v-2e6df7a1">
        <text class="label data-v-2e6df7a1">订单编号：</text>
        <text class="value data-v-2e6df7a1">{{item.g}}</text>
      </view>
      <view class="desc data-v-2e6df7a1" wx:if="{{item.h}}">
        <text class="label data-v-2e6df7a1">车辆型号：</text>
        <text class="value data-v-2e6df7a1">{{item.i}}</text>
      </view>
      <view class="desc data-v-2e6df7a1" wx:if="{{item.j}}">
        <text class="label data-v-2e6df7a1">车牌号码：</text>
        <vehicle-number
          bind:__l="__l"
          class="data-v-2e6df7a1"
          uI="{{item.k}}"
          uP="{{item.l}}"
          wx:if="{{item.l}}"
        ></vehicle-number>
      </view>
      <view class="desc data-v-2e6df7a1" wx:if="{{item.m}}">
        <text class="label data-v-2e6df7a1">VIN 号码：</text>
        <text class="value vin data-v-2e6df7a1">{{item.n}}</text>
      </view>
      <view class="desc data-v-2e6df7a1">
        <text class="label data-v-2e6df7a1">下单时间：</text>
        <text class="value data-v-2e6df7a1">{{item.o}}</text>
      </view>
      <view class="product-list data-v-2e6df7a1" wx:if="{{item.p}}">
        <view
          class="product data-v-2e6df7a1"
          wx:for="{{item.q}}"
          wx:for-item="product"
          wx:key="m"
        >
          <view class="product-wrap data-v-2e6df7a1">
            <view class="product-content data-v-2e6df7a1">
              <view class="product-name data-v-2e6df7a1">{{product.a}}</view>
              <view class="product-desc data-v-2e6df7a1">{{product.b}}</view>
              <view class="loading data-v-2e6df7a1" wx:if="{{product.c}}">
                <uni-load-more
                  bind:__l="__l"
                  class="data-v-2e6df7a1"
                  uI="{{product.d}}"
                  uP="{{product.e}}"
                  wx:if="{{product.e}}"
                ></uni-load-more>
              </view>
            </view>
            <view class="data-v-2e6df7a1" wx:if="{{item.r}}">
              <view
                class="button-content data-v-2e6df7a1"
                wx:if="{{product.f}}"
              >
                <view
                  catchtap="{{product.g}}"
                  class="button type1 data-v-2e6df7a1"
                  hoverClass="default-hover-class"
                  hoverStayTime="100"
                >
                  查看报告
                </view>
              </view>
              <view
                class="button-content data-v-2e6df7a1"
                wx:if="{{product.h}}"
              >
                <view
                  catchtap="{{product.i}}"
                  class="button type1 data-v-2e6df7a1"
                  hoverClass="default-hover-class"
                  hoverStayTime="100"
                >
                  查看报告
                </view>
              </view>
              <view
                class="button-content data-v-2e6df7a1"
                wx:if="{{product.j}}"
              >
                <view
                  catchtap="{{product.k}}"
                  class="button type2 data-v-2e6df7a1"
                  hoverClass="default-hover-class"
                  hoverStayTime="100"
                >
                  我要催单
                </view>
                <view class="button type4 data-v-2e6df7a1"
                  >正在查询中，请耐心等待</view
                >
              </view>
              <view
                class="button-content data-v-2e6df7a1"
                wx:if="{{product.l}}"
              >
                <view class="button type3 data-v-2e6df7a1"
                  >查询失败，请联系客服</view
                >
              </view>
            </view>
          </view>
        </view>
      </view>
      <view class="bottom-content data-v-2e6df7a1" wx:if="{{item.s}}">
        <view
          catchtap="{{item.v}}"
          class="button type1 data-v-2e6df7a1"
          hoverClass="default-hover-class"
          hoverStayTime="100"
          wx:if="{{item.t}}"
        >
          去付款
        </view>
        <block wx:if="{{item.w}}">
          <view
            catchtap="{{item.x}}"
            class="button type2 data-v-2e6df7a1"
            hoverClass="default-hover-class"
            hoverStayTime="100"
          >
            上传行驶证
          </view>
          <view
            catchtap="{{item.z}}"
            class="button type3 data-v-2e6df7a1"
            hoverClass="default-hover-class"
            hoverStayTime="100"
            wx:if="{{item.y}}"
          >
            无法提供行驶证
          </view>
        </block>
      </view>
    </view>
    <view class="loading-content data-v-2e6df7a1">
      <uni-load-more
        bind:__l="__l"
        class="data-v-2e6df7a1"
        data-c-h="{{!f}}"
        uI="2e6df7a1-2"
        uP="{{g}}"
        wx:if="{{g}}"
      ></uni-load-more>
    </view>
  </view>
  <empty
    bind:__l="__l"
    class="data-v-2e6df7a1"
    uI="2e6df7a1-3"
    uP="{{i}}"
    wx:if="{{h}}"
  ></empty>
  <float-refresh
    bind:__l="__l"
    bindclick="{{j}}"
    class="data-v-2e6df7a1"
    uI="2e6df7a1-4"
    uP="{{k}}"
    wx:if="{{k}}"
  ></float-refresh>
  <float-back-to-top
    bind:__l="__l"
    class="data-v-2e6df7a1"
    uI="2e6df7a1-5"
    uP="{{l}}"
    wx:if="{{l}}"
  ></float-back-to-top>
  <popup-upload-tips
    bind:__l="__l"
    bindcancel="{{m}}"
    bindconfirm="{{n}}"
    class="data-v-2e6df7a1"
    uI="2e6df7a1-6"
    uP="{{o}}"
    wx:if="{{o}}"
  ></popup-upload-tips>
  <popup-pay-again
    bind:__l="__l"
    bindclose="{{p}}"
    bindconfirm="{{q}}"
    class="data-v-2e6df7a1"
    uI="2e6df7a1-7"
    uP="{{r}}"
    wx:if="{{r}}"
  ></popup-pay-again>
</view>
