<block>
  <view class="header" bindtap="toLoginFun">
    <image class="avator" src="{{obj.image || '/images/icon_59.png'}}"></image>
    <!-- 未登录 -->
    <view class="right" wx:if="{{no_login}}">
      <view class="tips_word">您好,请登录</view>
    </view>
    <!-- 登录 -->
    <view class="right" wx:else>
      <view class="name_box">
        <view class="name">{{obj.user_name}}
          <view class="id">ID {{obj.id_card}}</view>
        </view>

      </view>
      <view class="company">{{obj.competition}}</view>
      <view class="info_box">
        <view>{{obj.job?obj.job:'暂无'}}</view>
        <view>{{obj.section?obj.section:'暂无'}}</view>
        <view>{{obj.tel}}</view>
      </view>
    </view>
  </view>

  <view class="content">
    <view class="order_box">
      <view class="order_item" bindtap="jumpListFun" data-t="1" data-i="0">
        <image src="/images/icon_29.png" />
        <text>待付款</text>
        <view class="num" wx:if="{{order.daiorder>0}}">{{order.daiorder}}</view>
      </view>
      <view class="order_item" bindtap="jumpListFun" data-t="1" data-i="1">
        <image src="/images/icon_58.png" />
        <text>待发货</text>
        <view class="num" wx:if="{{order.daifahuoorder>0}}">{{order.daifahuoorder}}</view>
      </view>
      <view class="order_item" bindtap="jumpListFun" data-t="1" data-i="2">
        <image src="/images/icon_30.png" />
        <text>待收货</text>
        <view class="num" wx:if="{{order.daishouhuoorder>0}}">{{order.daishouhuoorder}}</view>
      </view>
      <view class="order_item" bindtap="jumpListFun" data-t="1" data-i="3">
        <image src="/images/icon_37.png" />
        <text>已完成</text>
        <view class="num" wx:if="{{order.success>0}}">{{order.success}}</view>
      </view>
      <view class="order_item" bindtap="jumpListFun" data-t="1" data-i="4">
        <image src="/images/icon_31.png" />
        <text>退换货</text>
        <view class="num" wx:if="{{order.tui>0}}">{{order.tui}}</view>
      </view>
    </view>

    <!-- 物流信息 -->
    <view class="wuliuinfo" wx:if="{{kuaidi.length!=0}}">
      <view class="page-section page-section-spacing swiper">
        <swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" vertical="true" circular="true">
          <block wx:for="{{kuaidi}}" wx:key="*this">
            <swiper-item>
              <view class="swiper-item" bindtap="look_logistics" data-ordernum="{{item.order_odd}}">
                <view class='wuliutop flextwo'>
                  <view class="wutopleft">最新物流</view>
                  <view class="wutopright">{{item.kuaidi[0].kuaidi.Traces[0].AcceptTime}}</view>
                </view>
                <view class="wuliubot flexone">
                  <view class="wuliuleft">
                    <image src="{{item.kuaidi[0].kuaidi.product_image}}"></image>
                  </view>

                  <view class="wuliuitemright">

                    <view class="wuliustate flextwo">
                      <view class="wuliuimg">
                        <image src="/images/icon_30.png"></image>
                      </view>
                      <view class="dai" wx:if="{{item.kuaidi[0].kuaidi.State==0}}">待取件</view>
                      <view class="dai" wx:if="{{item.kuaidi[0].kuaidi.State==1}}">已揽收</view>
                      <view class="dai" wx:if="{{item.kuaidi[0].kuaidi.State==2}}">在途中</view>
                      <view class="dai" wx:if="{{item.kuaidi[0].kuaidi.State==3}}">已签收</view>
                      <view class="dai" wx:if="{{item.kuaidi[0].kuaidi.State==4}}">问题件</view>
                    </view>
                    <view class="daiquname">{{item.kuaidi[0].kuaidi.Traces[0].AcceptStation}}</view>

                  </view>
                </view>


              </view>
            </swiper-item>
          </block>
        </swiper>
      </view>
    </view>
    <view class="item_box">
      <view class="item" bindtap="jumpListFun" data-t="2">
        <view class="left">
          <image src="/images/icon_35.png" />我的收藏
        </view>
        <image src="/images/youjiantou.png" class="youjiantou" />
      </view>
      <view class="item" bindtap="jumpListFun" data-t="3">
        <view class="left">
          <image src="/images/icon_33.png" />我的积分
        </view>
        <image src="/images/youjiantou.png" class="youjiantou" />
      </view>
      <view class="item" bindtap="jumpListFun" data-t="6">
        <view class="left">
          <view class="zujiimg">
            <image src="/images/zuji.png" />
          </view>

          我的足迹
        </view>
        <image src="/images/youjiantou.png" class="youjiantou" />
      </view>
      <view class="item" bindtap="jumpListFun" data-t="4">
        <view class="left">
          <image src="/images/icon_32.png" style="width:26rpx;height:30rpx;" />我的地址
        </view>
        <image src="/images/youjiantou.png" class="youjiantou" />
      </view>
      <view class="item" bindtap="jumpListFun" data-t="5">
        <view class="left">
          <image src="/images/icon_34.png" style="width:30rpx;height:30rpx;" />关于我们
        </view>
        <image src="/images/youjiantou.png" class="youjiantou" />
      </view>
    </view>
  </view>
  <concat/>
</block>