<view class="container">
      <view class="myorder-menu">
            <view class='{{nav==0?"hover":""}}' bindtap="onnav" data-id="0">全部</view>
            <view class='{{nav==1?"hover":""}}' bindtap="onnav" data-id="1">待付款</view>
            <view class='{{nav==2?"hover":""}}' bindtap="onnav" data-id="2">待发货</view>
            <view class='{{nav==3?"hover":""}}' bindtap="onnav" data-id="3">待收货</view>
            <view class='{{nav==4?"hover":""}}' bindtap="onnav" data-id="4">已完成</view>
      </view>  
      <view class="myorder-box" wx:for="{{myorder}}" wx:for-index="index" hidden="{{orderHidden}}">
           <view class="myorder-item">
                <view>
                  <text>订单号：</text>{{item.orderid}}
                </view>
                <view class="Total">
                  <text>数量：</text>{{item.Totalnum}}  <text class="Totalprice">金额：</text>￥{{item.Totalprice}}
                </view>
                <view>
                  <text>下单时间：</text>{{item.SubmitDate}}
                </view>
                <view>
                  <text style="width: 5em;">状态：</text>{{item.status0}}
                </view>
                <view class="cz_box">
                  <view wx:if="{{item.Payed=='0'}}" bindtap="onshowpay" data-id="{{item.O_Id}}">付款</view> 
              
                  <view wx:if="{{item.Payed=='2'||item.Payed=='8'}}" bindtap="onqysh" data-id="{{item.O_Id}}">确认收货</view>   <view bindtap="onorderdetail" data-id="{{item.O_Id}}">查看详情</view>
                </view>
                <view class="products" wx:for="{{item.pics}}"  wx:for-item="pitem">
                      <view bindtap="ondetail" data-id="{{pitem.prodid}}">
                        <image src="{{pitem.prodimg}}"></image>
                        <text>{{pitem.prodName}}</text>
                      </view>
                </view>
          </view> 
    </view>
    <view class="nodata" hidden="{{noorderHidden}}">
      <image src="{{orderImg}}" class="order-image"/>
      <view>{{tipWords}}</view>
    </view>
</view>
<view class="Hidden_box" hidden="{{orderpayHidden}}" bindtap="closeorderpay">
        <view class="Hidden_box_to" catchtap="inorderpay">
            <view class="Hidden_box_title">
              <text>付款</text>
            <view class="close" bindtap="closeorderpay"><image src="../../images/close.png" /></view>
           </view> 
            <view class="frombody">
                  <view class="pay_box">
         <text class="pay_type">支付方式：</text>
         
         <view class='hover' bindtap="weixinpay"><image src="../../images/weixinpay.png"/><view>微信支付</view></view>
    </view>
                  <view class="button">
                        <button bindtap="qypay">确认</button>
                  </view>  
           </view>
        </view>
    </view>
    <view class="Hidden_box" hidden="{{orderseefHidden}}" bindtap="closeorderseef">
        <view class="Hidden_box_to" catchtap="inorderpay">
            <view class="Hidden_box_title">
              <text>确认审核</text>
            <view class="close" bindtap="closeorderseef"><image src="../../images/close.png" /></view>
           </view>
            <view class="frombody">
                  <image src="{{image}}" bindtap="viewimages0" data-index="{{image}}" data-index0="{{image0}}"></image>
                  <image src="{{image0}}" bindtap="viewimages1" data-index="{{image}}" data-index0="{{image0}}"></image>
                  
           </view>
           <view class="button">
                        <button bindtap="qyseef">确认</button>
                  </view> 
        </view>
    </view>
    <view class="Hidden_box" hidden="{{orderseef0Hidden}}" bindtap="closeorderseef0">
        <view class="Hidden_box_to" catchtap="inorderpay">
            <view class="Hidden_box_title">
              <text>确认驳回</text>
            <view class="close" bindtap="closeorderseef0"><image src="../../images/close.png" /></view>
           </view>
            <view class="frombody">
              <view>
                  <text>驳回原因：</text><input name="bhyy" type="text" value="{{bhyy}}"  bindinput='getbhyyValue' />
            </view>
                  <image src="{{image}}" bindtap="viewimages0" data-index="{{image}}" data-index0="{{image0}}"></image>
                  <image src="{{image0}}" bindtap="viewimages1" data-index="{{image}}" data-index0="{{image0}}"></image>
                  
           </view>
           <view class="button">
                        <button bindtap="qyseef0">确认</button>
                  </view> 
        </view>
    </view>
<loading hidden="{{loadingHidden}}">
        加载中...
    </loading>  