| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- <view class="bg">
- <view class="orders-tabs">
- <view class="orders-tab" bindtap="tabAll">全部</view>
- <view class="orders-tab" bindtap="tabUnpay">待支付</view>
- <view class="orders-tab" bindtap="tabProcessing">待发货</view>
- <view class="orders-tab" bindtap="tabDispatch">待收货</view>
- <view class="orders-tab" bindtap="tabComment">待评价</view>
- <view class="orders-tab" bindtap="tabComplete">已完成</view>
- <view class="clean"></view>
- <view class="orders-tab__border" style="left: {{tabLeft}}"></view>
- </view>
- <view class="orders-main">
- <view class="order" wx:key="{{index}}" wx:for="{{list}}">
- <view class="order-title">
- <view class="order-title__left">订单号:{{item.order_id}}</view>
- <view class="order-title__right">{{item.status_cn}}</view>
- <view class="clean"></view>
- </view>
- <navigator url="/packageUser/pages/user/order/order?id={{item.order_id}}" open-type="navigate">
- <view class="order-main" wx:for="{{item.product_list}}" wx:for-item="nitem">
- <image class="order-main__left" src="{{nitem.cover}}"></image>
- <view class="order-main__right">
- <view class="order-info__title ellipsisLn"><b style="color:#F00" wx:if="{{nitem.send}}">[赠品]</b>{{nitem.product_name}} <span wx:if="{{nitem.color_name || nitem.size_name}}">|</span> {{nitem.color_name}} {{nitem.size_name}}</view>
- <!-- <view class="order-info__type ellipsis">{{nitem.detail}}</view> -->
- <view class="project-pack-list" wx:if="{{nitem.package}}">
- <view wx:for="{{nitem.package_list}}" wx:for-item="pack" wx:for-index="ind">
- <p>{{pack.item_title}} x{{pack.nums}}</p>
- </view>
- </view>
- <view class="order-info__price" wx:if="{{item.order_type == 3}}">
- <text style=" color: #eab86a;font-size: 24rpx;" wx:if="{{item.status === 'unpay' && !nitem.send}}" >{{nitem.price / 100}} 积分</text>
- <text style=" color: #eab86a;font-size: 24rpx;" wx:if="{{item.status !== 'unpay' && !nitem.send}}" >{{nitem.price / 100}} 积分</text>
-
- <view class="order-info__count">x{{nitem.count}}</view>
- </view>
- <view class="order-info__price" wx:else>
- <currency symbol="¥" value="{{nitem.price}}" wx:if="{{item.status === 'unpay' && !nitem.send}}" />
- <currency symbol="¥" value="{{nitem.price}}" wx:if="{{item.status !== 'unpay' && !nitem.send}}" />
-
- <view class="order-info__count">x{{nitem.count}}</view>
- </view>
- <!-- <currency wx:if="{{item.status == 'unpay' || item.pay_way == 'weixinpay'}}" symbol="¥" value="{{nitem.price}}"></currency><text style="color:#bbb"> <text wx:if="{{item.status == 'unpay' || item.pay_way == 'balance'}}"> <text wx:if="{{item.status == 'unpay'}}"> 或</text> {{nitem.price}}提货券</text></text><currency symbol="¥" value="{{nitem.price}}" ></currency><text class="order-info__point">(或{{nitem.price}}提货券)</text> -->
-
- <view wx:if="{{!nitem.commend}}" class="order-btn__black" catchtap="toCommend" data-id="{{nitem.id}}" data-pid="{{nitem.product_id}}">评价
- <!-- <navigator url="/packageUser/pages/user/comment/comment?id={{nitem.id}}&pid={{nitem.product_id}}" open-type="navigate">商品评论 </navigator> -->
- </view>
-
- </view>
- <view class="clean"></view>
- </view>
- </navigator>
- <view class="order-allprice" wx:if="{{item.status === 'unpay'}}">共{{item.count}}件商品 合计:
- <!--<view style="float: right;margin-left: 5rpx;" wx:if="{{item.product.mall_balance_price}}">
- <text> 或</text> {{item.product.mall_balance_price * item.count / 100}}提货券
- </view>-->
- <text style="float: right;margin-left: 5rpx;" wx:if="{{item.product.robo_balance_price}}">
- <text> 或</text> {{(item.total_price+item.freight) / 100}}
- </text>
- <currency style="float: right;" symbol="¥" value="{{item.total_price+item.freight}}"></currency>
- <view class="clean"></view>
- </view>
- <view class="order-allprice" wx:if="{{item.status !== 'unpay'}}">共{{item.count}}件商品 合计:
- <view style="float: right;" wx:if="{{item.pay_way == 'integral' && item.product.mall_balance_price}}">{{(item.total_price+item.freight) / 100}}提货券
- </view>
- <text style="float: right;" wx:if="{{item.order_type == 3 || item.pay_way == 'cent'}}">{{(item.total_price+item.freight) / 100}} 积分
- </text>
- <text style="float: right;" wx:if="{{item.pay_way == 'balance'}}">{{(item.total_price+item.freight) / 100}}
- </text>
- <currency style="float: right;" wx:if="{{item.pay_way == 'weixinpay'}}" symbol="¥" value="{{item.total_price+item.freight}}"></currency>
- <view class="clean"></view>
- </view>
- <view class="order-btn">
- <navigator url="/pages/pay/pay?orderId={{item.order_id}}" open-type="navigate">
- <view class="order-btn__red" wx:if="{{item.status === 'unpay'}}">支付</view>
- </navigator>
- <view class="order-btn__red" bindtap="confirmPopup" data-val="{{item.order_id}}" wx:if="{{item.status === 'dispatch'}}">确认收货</view>
- <view class="order-btn__black_wl" bindtap="CancelPopup" data-val="{{item.order_id}}" wx:if="{{item.status === 'unpay' || item.status === 'processing'}}">取消订单</view>
-
- <!-- <view class="order-btn__black" wx:if="{{item.status === 'dispatch' && item.status === 'dispatch'}}">查看物流</view> -->
- <!-- <view class="order-btn__black">删除订单</view> -->
- <view wx:if="{{item.sign && item.express_order_no && item.express_code}}" class="order-btn__black_wl">
- <navigator url="/packageUser/pages/user/logistics/logistics?id={{item.order_id}}" open-type="navigate">查看物流 </navigator>
- </view>
- </view>
- </view>
- <view class="orders-no" wx:if="{{list.length <= 0}}">
- <image src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/user/unorders.png" class="orders-no__icon"></image>
- <view class="orders-no__text">还没有订单信息</view>
- </view>
- </view>
- </view>
|