myorder.wxml 10.8 KB
<!-- <import src="../template/template.wxml" />
<template is="tabBar" data='{{num:num}}' /> -->


<view class="nav mainindex_nav " wx:if="{{class==1}}">
  <view wx:for="{{navbar}}" data-idx="{{index}}" class="nav_item {{currentTab==index ? 'active' : ''}}" wx:key="unique" bindtap="navbarTap" data-categoryid="{{item.id}}">{{item.name}}
  </view>
</view>

<view class="shopnav" wx:else>
  <view wx:for="{{navbarjingxiao}}" data-idx="{{index}}" class="nav_item shopnavitem {{jingxiaocurrentTab==index ? 'active' : ''}}" wx:key="unique" bindtap="jingxiaonavbarTap" data-categoryid="{{item.id}}">{{item.name}}
  </view>
</view>

<!-- 没有订单 -->
<view class="cartkong" wx:if="{{myorder}}">
  <view class="cartimg">
    <image src="../../img/aicon_12@2x.png"></image>
  </view>

  <view class="cartname">购物车内还没有商品哦~</view>
  <view class="clearshop guang">去逛逛</view>
</view>

<view wx:else>

  <!-- 订单列表 普通客户 导购-->

  <view class="orderlist" >
    <view class="orderlistitem" bindtap="ordertail" data-type="3" data-kind="1">

      <view class="orderimage">
        <image src="../../img/aicon_14@2x.png" mode="widthFix"></image>
      </view>

      <view class="orderright">
        <view class="orderfight_top">

          <view class="orderinfo">
            <view class="ordername">
              办公足踏系统
            </view>
            <view class="oredercolor">颜色:深蓝色</view>
          </view>



          <view class="orderinfonum">
            <view class="orderinfoname">已完成</view>
            <view class="orderinfomoney">¥ 3999</view>
            <view class="orderinfocartnum">x1</view>
          </view>


        </view>
        <view class="orderinfobottom">
          <view class="ordertotalnum">共计1件商品</view>

          <view class="ordermiddlelist">
            <view class="ordermiddlelistitem">
              <view class="heji">合计:</view>
              <view class="hejimoney">¥ 3999</view>
            </view>
            <view class="ordermiddlelistitem">
              <view class="heji">实付</view>
              <view class="hejimoney">¥ 3999</view>
            </view>
          </view>
          <view class="buybtn" catchtap="buyagain">再次购买</view>

        </view>
      </view>
    </view>
    <view class="moreorderlistitem" bindtap="ordertail" data-type="2" data-kind="1">
      <view class="containertext">
        <view class="imgcontainer">
          <view class="containerimg">
            <image src="../../img/aicon_14@2x.png" mode="widthFix"></image>

            <view class="remainnum">x1</view>
          </view>
          <view class="containerimg">
            <image src="../../img/aicon_14@2x.png" mode="widthFix"></image>

            <view class="remainnum">x1</view>
          </view>
          <view class="containerimg">
            <image src="../../img/aicon_14@2x.png" mode="widthFix"></image>

            <view class="remainnum">x1</view>
          </view>
        </view>

        <view class="searchmore">
          <view class="conorderinfoname">已付款</view>
          <view class="searchnoreword">查看更多</view>
          <view class="searchmoreimg">
            <image src="../../img/aicon_13@2x.png"></image>
          </view>

        </view>


      </view>


      <view class="orderright">

        <view class="orderinfobottom">
          <view class="ordertotalnum">共计1件商品</view>
          <view class="ordermiddlelist">
            <view class="ordermiddlelistitem">
              <view class="heji">合计:</view>
              <view class="hejimoney">¥ 3999</view>
            </view>
            <view class="ordermiddlelistitem">
              <view class="heji">实付</view>
              <view class="hejimoney">¥ 3999</view>
            </view>

          </view>
          <view class="buybtn" catchtap='sureshouhuo'>确认收货</view>

        </view>
      </view>

    </view>


    <view class="orderlistitem" bindtap="ordertail" data-type="1" data-kind="1">

      <view class="orderimage">
        <image src="../../img/aicon_14@2x.png" mode="widthFix"></image>
      </view>

      <view class="orderright">
        <view class="orderfight_top">

          <view class="orderinfo">
            <view class="ordername">
              办公足踏系统
            </view>
            <view class="oredercolor">颜色:深蓝色</view>
          </view>



          <view class="orderinfonum">
            <view class="orderinfoname">未付款</view>
            <view class="orderinfomoney">¥ 3999</view>
            <view class="orderinfocartnum">x1</view>
          </view>


        </view>
        <view class="orderinfobottom">
          <view class="ordertotalnum">共计1件商品</view>
          <view class="ordermiddlelist">
            <view class="ordermiddlelistitem">
              <view class="heji">合计:</view>
              <view class="hejimoney">¥ 3999</view>
            </view>
            <view class="ordermiddlelistitem">
              <view class="heji">实付</view>
              <view class="hejimoney">¥ 3999</view>
            </view>

          </view>
          <view class="buybtn" catchtap="paynow">立即支付</view>

        </view>
      </view>

    </view>


    <view class="orderlistitem" bindtap="ordertail" data-type="1" data-kind="2">

      <view class="orderimage">
        <image src="../../img/aicon_14@2x.png" mode="widthFix"></image>
      </view>

      <view class="orderright">
        <view class="orderfight_top">

          <view class="orderinfo">
            <view class="ordername">
              办公足踏系统
            </view>
            <view class="oredercolor">颜色:深蓝色</view>
          </view>



          <view class="orderinfonum">
            <view class="orderinfoname">未付款</view>
            <view class="orderinfomoney">¥ 3999</view>
            <view class="orderinfocartnum">x1</view>
          </view>


        </view>
        <view class="orderinfobottom">
          <view class="ordertotalnum">共计1件商品</view>
          <view class="ordermiddlelist">
            <view class="ordermiddlelistitem">
              <view class="heji">合计:</view>
              <view class="hejimoney">¥ 3999</view>
            </view>
            <view class="ordermiddlelistitem">
              <view class="heji">实付</view>
              <view class="hejimoney">¥ 3999</view>
            </view>

          </view>
          <view class="buybtn" catchtap="paynow">立即支付</view>

        </view>
      </view>

    </view>


  </view>


  <!-- 订单列表 经销商-->
  <!-- <view class="orderlist" wx:else>
    <view class="orderlistitem" bindtap="jingxiaoordertail" data-type="2">

      <view class="orderimage">
        <image src="../../img/aicon_14@2x.png" mode="widthFix"></image>
      </view>

      <view class="orderright">
        <view class="orderfight_top">

          <view class="orderinfo">
            <view class="ordername">
              办公足踏系统
            </view>
            <view class="oredercolor">颜色:深蓝色</view>
          </view>



          <view class="orderinfonum">
            <view class="orderinfoname">已完成</view>
            <view class="orderinfomoney">¥ 3999</view>
            <view class="orderinfocartnum">x1</view>
          </view>


        </view>
        <view class="orderinfobottom">
          <view class="ordertotalnum">共计1件商品</view>
          <view class="ordermiddlelist">
            <view class="ordermiddlelistitem">
              <view class="heji">合计:</view>
              <view class="hejimoney">¥ 3999</view>
            </view>
            <view class="ordermiddlelistitem">
              <view class="heji">实付</view>
              <view class="hejimoney">¥ 3999</view>
            </view>

          </view>
          <view class="buybtn" catchtap='submitbtn'>再次购买</view>

        </view>
      </view>

    </view>


    <view class="moreorderlistitem" bindtap="jingxiaoordertail" data-type="1">
      <view class="containertext">
        <view class="imgcontainer">
          <view class="containerimg">
            <image src="../../img/aicon_14@2x.png" mode="widthFix"></image>

            <view class="remainnum">x1</view>
          </view>
          <view class="containerimg">
            <image src="../../img/aicon_14@2x.png" mode="widthFix"></image>

            <view class="remainnum">x1</view>
          </view>
          <view class="containerimg">
            <image src="../../img/aicon_14@2x.png" mode="widthFix"></image>

            <view class="remainnum">x1</view>
          </view>
        </view>

        <view class="searchmore">
          <view class="conorderinfoname">已提交</view>
          <view class="searchnoreword">查看更多</view>
          <view class="searchmoreimg">
            <image src="../../img/aicon_13@2x.png" mode="widthFix"></image>
          </view>

        </view>


      </view>


      <view class="orderright">

        <view class="orderinfobottom">
          <view class="ordertotalnum">共计1件商品</view>
          <view class="ordermiddlelist">
            <view class="ordermiddlelistitem">
              <view class="heji">合计:</view>
              <view class="hejimoney">¥ 3999</view>
            </view>
            <view class="ordermiddlelistitem">
              <view class="heji">实付</view>
              <view class="hejimoney">¥ 3999</view>
            </view>

          </view>
          <view class="again"></view>

        </view>
      </view>

    </view>





    <view class="orderlistitem" bindtap="jingxiaoordertail" data-type="1">

      <view class="orderimage">
        <image src="../../img/aicon_14@2x.png" mode="widthFix"></image>
      </view>

      <view class="orderright">
        <view class="orderfight_top">

          <view class="orderinfo">
            <view class="ordername">
              办公足踏系统
            </view>
            <view class="oredercolor">颜色:深蓝色</view>
          </view>



          <view class="orderinfonum">
            <view class="orderinfoname">已提交</view>
            <view class="orderinfomoney">¥ 3999</view>
            <view class="orderinfocartnum">x1</view>
          </view>


        </view>
        <view class="orderinfobottom">
          <view class="ordertotalnum">共计1件商品</view>
          <view class="ordermiddlelist">
            <view class="ordermiddlelistitem">
              <view class="heji">合计:</view>
              <view class="hejimoney">¥ 3999</view>
            </view>
            <view class="ordermiddlelistitem">
              <view class="heji">实付</view>
              <view class="hejimoney">¥ 3999</view>
            </view>

          </view>

          <view class="again"></view>
        </view>
      </view>

    </view>

   
  </view> -->
</view>