12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <view class="">
- <view class="load" style='display:{{loaddisplay}}'>
- <image class="loadimg" style='display:{{loaddisplay}}' src='https://yuesuo.yueguanjia.com/MiniProgram/images/timg.gif'></image>
- </view>
- <navbar page-name="我的订单" back-home="true"></navbar>
- <view class="page-content2" style='height:calc(100vh - {{navH}}px)'>
- <view class='head'></view>
- <view class="none" wx:if="{{orderArray.length == 0}}">
- <image src="https://yuesuo.yueguanjia.com/MiniProgram/myordernone.png" class="noneimg" />
- <view class="nonedesc">亲您还没有订单哦</view>
- </view>
- <block wx:for="{{orderArray}}" wx:key="index">
- <view class='boxorder'>
- <view class='boxorderhead'>
- <view class='headleft'></view>
- <view class='orderdate'>订单日期:{{orderArray[index].od_date}}</view>
- <view class='orderstatus' wx:if="{{orderArray[index].od_status == 1}}">待支付</view>
- <view class='orderstatus' wx:if="{{orderArray[index].od_status == 2}}">部分支付</view>
- <view class='orderstatus' wx:if="{{orderArray[index].od_status == 3}}">支付完成</view>
- <view class='orderstatus' wx:if="{{orderArray[index].od_status == 4}}">已完成</view>
- <view class='orderstatus' wx:if="{{orderArray[index].od_status == 9}}">已退单</view>
- <view class='headleft'></view>
- </view>
- <view class='orderpackage'>
- <view class='imgleft'></view>
- <view class='orderpimg'>
- <image src="{{orderArray[index].od_product_img}}" class='imgpackage'></image>
- </view>
- <view class='orderpname'>{{orderArray[index].od_product_name}}</view>
- </view>
- <view class='boxorderamount'>
- <view class='amountleft'></view>
- <view class='txtorderamount'>订单金额:</view>
- <view class='money'>¥</view>
- <view class='moneyleft'></view>
- <view class='orderamount'>{{orderArray[index].od_order_amount}}</view>
- <view class='buttonpay'>
- <view class='paybutton' bindtap="hrefPay" data-id="{{orderArray[index].id}}" wx:if="{{orderArray[index].od_status == 1}}">去支付</view>
- <view class='paybutton' bindtap="hrefPay" data-id="{{orderArray[index].id}}" wx:if="{{orderArray[index].od_status == 2}}">去支付</view>
- <view class='paybutton' bindtap="hrefPay" data-id="{{orderArray[index].id}}" wx:if="{{orderArray[index].od_status == 3}}">详情查看</view>
- <view class='paybutton' bindtap="hrefPay" data-id="{{orderArray[index].id}}" wx:if="{{orderArray[index].od_status == 4}}">详情查看</view>
- <view class='paybutton' bindtap="hrefPay" data-id="{{orderArray[index].id}}" wx:if="{{orderArray[index].od_status == 9}}">详情查看</view>
- </view>
- <view class='buttonright'></view>
- </view>
- </view>
- </block>
- </view>
- </view>
|