|
|
@ -26,38 +26,41 @@ |
|
|
<img src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/eaae29a344a241b3b46e7b91882ca197.png" alt="" /> |
|
|
<img src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/eaae29a344a241b3b46e7b91882ca197.png" alt="" /> |
|
|
</swiper-item> |
|
|
</swiper-item> |
|
|
</swiper> |
|
|
</swiper> |
|
|
<swiper class="swiper" vertical circular :autoplay="orderLists.length > 0" |
|
|
<view class="" style="background: #fff;"> |
|
|
:interval="onlineWorkerInterval" :duration="onlineWorkerDuration"> |
|
|
<swiper class="swiper" vertical circular :autoplay="orderLists.length > 0" |
|
|
<swiper-item v-if="orderLists.length > 0" v-for="(item,index) in orderLists" :key="index" @tap="goOrderDetail(item)"> |
|
|
:interval="onlineWorkerInterval" :duration="onlineWorkerDuration" style="height: 74px;margin-top: -50px;"> |
|
|
<view class="order-msg-box"> |
|
|
<swiper-item v-if="orderLists.length > 0" v-for="(item,index) in orderLists" :key="index" @tap="goOrderDetail(item)"> |
|
|
<view class="order-msg-left"> |
|
|
<view class="order-msg-box"> |
|
|
<img src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/bf2bb7f80e17428391c407aef769517a.png" alt="" /> |
|
|
<view class="order-msg-left"> |
|
|
</view> |
|
|
<img src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/bf2bb7f80e17428391c407aef769517a.png" alt="" /> |
|
|
<view class="order-msg-center"> |
|
|
|
|
|
<view style="font-weight: 700;font-size: 30rpx;line-height: 60rpx;margin-top: 5%;"> |
|
|
|
|
|
<text v-if="item.status == 0">待支付</text> |
|
|
|
|
|
<text v-if="item.status == 2">等待配送员接单</text> |
|
|
|
|
|
<text v-if="item.status == 10">待成团</text> |
|
|
|
|
|
<text v-if="item.status == 3 && item.deliveryType == 1">配送员已接单</text> |
|
|
|
|
|
<text v-if="item.status == 3 && item.deliveryType == 2">待消费</text> |
|
|
|
|
|
<text v-if="item.status == 4 && item.deliveryType == 1">配送员已取货</text> |
|
|
|
|
|
<text v-if="item.status == 5">订单已完成</text> |
|
|
|
|
|
<text v-if="item.status == 7">等待同意退款</text> |
|
|
|
|
|
<text v-if="item.status == 6">订单已取消</text> |
|
|
|
|
|
<text v-if="item.status == 8">订单已退款</text> |
|
|
|
|
|
<text v-if="item.status == 11">售后中</text> |
|
|
|
|
|
<text v-if="item.status == 12">订单已售后</text> |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
<view style="font-size: 24rpx;" v-if="item.deliveryType == 1 && (item.status == 3 || item.status == 4) && item.deliveryInfo != null"> |
|
|
<view class="order-msg-center"> |
|
|
预计<text style="color: red;">{{item.deliveryInfo.mustFinishTime | formatHourMinute }}</text>送达 |
|
|
<view style="font-weight: 700;font-size: 30rpx;line-height: 60rpx;margin-top: 5%;"> |
|
|
|
|
|
<text v-if="item.status == 0">待支付</text> |
|
|
|
|
|
<text v-if="item.status == 2">等待配送员接单</text> |
|
|
|
|
|
<text v-if="item.status == 10">待成团</text> |
|
|
|
|
|
<text v-if="item.status == 3 && item.deliveryType == 1">配送员已接单</text> |
|
|
|
|
|
<text v-if="item.status == 3 && item.deliveryType == 2">待消费</text> |
|
|
|
|
|
<text v-if="item.status == 4 && item.deliveryType == 1">配送员已取货</text> |
|
|
|
|
|
<text v-if="item.status == 5">订单已完成</text> |
|
|
|
|
|
<text v-if="item.status == 7">等待同意退款</text> |
|
|
|
|
|
<text v-if="item.status == 6">订单已取消</text> |
|
|
|
|
|
<text v-if="item.status == 8">订单已退款</text> |
|
|
|
|
|
<text v-if="item.status == 11">售后中</text> |
|
|
|
|
|
<text v-if="item.status == 12">订单已售后</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view style="font-size: 24rpx;" v-if="item.deliveryType == 1 && (item.status == 3 || item.status == 4) && item.deliveryInfo != null"> |
|
|
|
|
|
预计<text style="color: red;">{{item.deliveryInfo.mustFinishTime | formatHourMinute }}</text>送达 |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="order-msg-right" @tap.stop="$refs.pagesPopup.open()"> |
|
|
|
|
|
<img src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/579569bfcc954f52baea06f6f11951be.png" alt="" /> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="order-msg-right" @tap.stop="$refs.pagesPopup.open()"> |
|
|
</swiper-item> |
|
|
<img src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/579569bfcc954f52baea06f6f11951be.png" alt="" /> |
|
|
</swiper> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
</swiper-item> |
|
|
|
|
|
</swiper> |
|
|
|
|
|
|
|
|
|
|
|
<view class="menu-box"> |
|
|
<view class="menu-box"> |
|
|
<view class="menu-list" @tap="goDetail('1')"> |
|
|
<view class="menu-list" @tap="goDetail('1')"> |
|
|
|