|
|
@ -1,19 +1,17 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<view> |
|
|
|
<view> |
|
|
|
<view class="width100 paddtop10 paddbotm10 headsbg backcorfff fotct" v-if="orderList.orderStatus == 1"> |
|
|
|
<view class="width100 paddtop10 paddbotm10 backcorfff fotct" v-if="orderList.orderStatus == 1"> |
|
|
|
<view class="height20"></view> |
|
|
|
<view class="height20"></view> |
|
|
|
<view class="headstu font18 fontwig6"> |
|
|
|
<view class="headstu font18 fontwig6"> |
|
|
|
{{countdownm}}:{{countdowns}} |
|
|
|
{{countdownm}}:{{countdowns}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="width100 font18 colorc72 mart5"> |
|
|
|
<!-- <view class="width100 font18 colorc72 mart5"> |
|
|
|
{{typeText[orderList.orderStatus]}} |
|
|
|
{{typeText[orderList.orderStatus]}} |
|
|
|
</view> |
|
|
|
</view> --> |
|
|
|
<view class="width100 font13 fcor666 mart5">若超时未支付,订单将自动取消</view> |
|
|
|
<view class="width100 font13 fcor666 mart10">若超时未支付,订单将自动取消</view> |
|
|
|
<view class="stubtn mart15 backcorf2f6" v-if="typeid == 9" @click="jumppay()">立即支付</view> |
|
|
|
|
|
|
|
<!-- <view class="stubtn mart15 backcorf2f6" v-if="colorc3 == 9">¥ {{orderList.payPrice}}</view> |
|
|
|
<!-- <view class="stubtn mart15 backcorf2f6" v-if="colorc3 == 9">¥ {{orderList.payPrice}}</view> |
|
|
|
<view class="stubtn mart15 backcorf2f6" v-if="typeid == 4 || typeid == 10">¥ {{orderList.payPrice}}</view> --> |
|
|
|
<view class="stubtn mart15 backcorf2f6" v-if="typeid == 4 || typeid == 10">¥ {{orderList.payPrice}}</view> --> |
|
|
|
<view class="stubtn mart15" v-if="typeid == 4 || typeid == 10" style="background-color: #c72a20;" |
|
|
|
<view class="stubtn mart15" style="background-color: #0F8FE8;" @click="jumppay()">立即支付 |
|
|
|
@click="jumppay()">立即支付 |
|
|
|
|
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
@ -22,13 +20,13 @@ |
|
|
|
v-if="orderList.orderStatus != 2 && orderList.orderStatus != 3"> |
|
|
|
v-if="orderList.orderStatus != 2 && orderList.orderStatus != 3"> |
|
|
|
<image mode="widthFix" class="width50" src="../static/imgs/otherstu.png"></image> |
|
|
|
<image mode="widthFix" class="width50" src="../static/imgs/otherstu.png"></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="width100 font18 fcor666 mart15" |
|
|
|
<view class="width100 font18 fcorfff mart15" |
|
|
|
v-if=" orderList.orderStatus != 2 && orderList.orderStatus != 3"> |
|
|
|
v-if=" orderList.orderStatus != 2 && orderList.orderStatus != 3"> |
|
|
|
{{typeText[orderList.orderStatus]}} |
|
|
|
{{typeText[orderList.orderStatus]}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view v-if="(orderList.orderStatus == 2 || orderList.orderStatus == 3 ) && typeid != 10"> |
|
|
|
<view v-if="(orderList.orderStatus == 2 || orderList.orderStatus == 3 ) && typeid != 10"> |
|
|
|
<view class="fotct font14 width100 fcor999">您的取餐码为</view> |
|
|
|
<view class="fotct font16 width100 fcorfff">{{orderList.statusDesc}}</view> |
|
|
|
<view v-if="typeid == 4 && orderList.list && phonestu == 2"> |
|
|
|
<view v-if="typeid == 4 && orderList.list && phonestu == 2"> |
|
|
|
<view class="width90 alijusstart mart10" v-for="(item,index) in orderList.list" :key='index'> |
|
|
|
<view class="width90 alijusstart mart10" v-for="(item,index) in orderList.list" :key='index'> |
|
|
|
<view class="font14 width50 fcor666">取餐号: <text class="colorc3 font18">{{item.code}}</text> |
|
|
|
<view class="font14 width50 fcor666">取餐号: <text class="colorc3 font18">{{item.code}}</text> |
|
|
@ -44,8 +42,9 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="fotct font20 width100 mart10 colorc3" v-if="typeid == 4 && orderList.list">请取餐</view> |
|
|
|
<!-- <view class="fotct font20 width100 mart10 colorc3" v-if="typeid == 4 && orderList.list">请取餐</view> --> |
|
|
|
<view class="phoneck" v-if="typeid == 4 && orderList.list && phonestu == 1" @click="updatestu">查看手机号</view> |
|
|
|
<view class="phoneck" v-if="typeid == 4 && orderList.list && phonestu == 1" @click="updatestu">查看手机号 |
|
|
|
|
|
|
|
</view> |
|
|
|
<view v-if="typeid == 9 && orderList.object.orderItems[0].code"> |
|
|
|
<view v-if="typeid == 9 && orderList.object.orderItems[0].code"> |
|
|
|
<view class="fotct font18 width100 mart10 color2f6f43" |
|
|
|
<view class="fotct font18 width100 mart10 color2f6f43" |
|
|
|
v-for="(item,index) in orderList.object.orderItems" :key='index'>{{item.code}}</view> |
|
|
|
v-for="(item,index) in orderList.object.orderItems" :key='index'>{{item.code}}</view> |
|
|
@ -55,11 +54,11 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="fotct font20 width100 mart10 color2f6f43" |
|
|
|
<view class="fotct font20 width100 mart10 color2f6f43" |
|
|
|
v-if="typeid == 9 && !orderList.object.orderItems[0].code">{{orderList.statusDesc}}</view> |
|
|
|
v-if="typeid == 9 && !orderList.object.orderItems[0].code">{{orderList.statusDesc}}</view> |
|
|
|
<view class="fotct font13 width100 mart15 fcor666">请至柜台凭取餐码取餐</view> |
|
|
|
<!-- <view class="fotct font13 width100 mart15 fcor666">请至柜台凭取餐码取餐</view> |
|
|
|
<view class="fotct font13 width100 mart5 fcor666">如有询问手机号尾号请告知</view> |
|
|
|
<view class="fotct font13 width100 mart5 fcor666">如有询问手机号尾号请告知</view> |
|
|
|
<view class="fotct font13 width100 mart5 colorc3">注:平台取餐手机号皆为虚拟号码</view> |
|
|
|
<view class="fotct font13 width100 mart5 colorc3">注:平台取餐手机号皆为虚拟号码</view> --> |
|
|
|
<view class="fotct font20 width100 mart10 color2f6f43" |
|
|
|
<!-- <view class="fotct font20 width100 mart10 color2f6f43" |
|
|
|
v-if="typeid == 9 && orderList.object.orderItems[0].code">请取餐</view> |
|
|
|
v-if="typeid == 9 && orderList.object.orderItems[0].code">请取餐</view> --> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -67,23 +66,21 @@ |
|
|
|
注:约5分钟后取餐,请尽快到餐厅取餐哦 |
|
|
|
注:约5分钟后取餐,请尽快到餐厅取餐哦 |
|
|
|
</view> --> |
|
|
|
</view> --> |
|
|
|
|
|
|
|
|
|
|
|
<view class="concont width94 mart10 backcorfff"> |
|
|
|
<view class="concont width94 mart20 backcorfff"> |
|
|
|
<view class="width94 paddtop10 font16 fontwig6" v-if="typeid == 10"> |
|
|
|
<view class="width94 paddtop15 font16 fontwig6 alijusstart"> |
|
|
|
充值明细 |
|
|
|
<image src="../static/imgs/desloca.png" mode="widthFix" class="icon20 marglerig"></image> 南充麦当劳潆华南路餐厅 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="width94 paddtop10 font16 fontwig6" v-else> |
|
|
|
<view class="width100 mart5"> |
|
|
|
餐品明细 |
|
|
|
<view class="width90 alijusstart mart15" v-for="(item,index) in orderList.highChildOrderList" |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="width100 bor-botm1 mart10 marb10"></view> |
|
|
|
|
|
|
|
<view class="width100"> |
|
|
|
|
|
|
|
<view class="width90 alijusstart mart10 bor-botm1" v-for="(item,index) in orderList.highChildOrderList" |
|
|
|
|
|
|
|
:key="index"> |
|
|
|
:key="index"> |
|
|
|
<view class="width30"> |
|
|
|
<view class="width30"> |
|
|
|
<image :src="item.goodsImg" v-if="item.goodsImg" mode="widthFix" class="width100"></image> |
|
|
|
<image :src="item.goodsImg" v-if="item.goodsImg" mode="widthFix" class="width100"></image> |
|
|
|
<image src="../static/imgs/vipcz.png" v-else mode="widthFix" class="width90w"></image> |
|
|
|
<image src="../static/imgs/vipcz.png" v-else mode="widthFix" class="width90w"></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="width40 font13 fcor666">{{item.goodsName}}</view> |
|
|
|
<view class="width50 font13 fcor666"> |
|
|
|
<view class="width10 font12 fcor999">x{{item.saleCount}}</view> |
|
|
|
<view>{{item.goodsName}}</view> |
|
|
|
|
|
|
|
<view class="font12 fcor999">{{item.saleCount}} 份</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
<view class="width20"> |
|
|
|
<view class="width20"> |
|
|
|
<view class="width100 fcor333 font12">¥<text |
|
|
|
<view class="width100 fcor333 font12">¥<text |
|
|
|
class="fontwig6 font16">{{item.goodsActualPrice}}</text> |
|
|
|
class="fontwig6 font16">{{item.goodsActualPrice}}</text> |
|
|
@ -101,8 +98,9 @@ |
|
|
|
¥{{orderList.totalPrice}}</text> |
|
|
|
¥{{orderList.totalPrice}}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="width96 mart10 marb5" style="border:1px dashed #f4f4f4;"></view> |
|
|
|
|
|
|
|
</view> |
|
|
|
<view class="concont width94 mart10 backcorfff marb30"> |
|
|
|
<view class="concont width94 mart10 backcorfff marb30"> |
|
|
|
<view class="width94 alijusstart paddtop10 font14 fcor666"> |
|
|
|
<view class="width94 alijusstart paddtop10 font14 fcor666"> |
|
|
|
订单信息 |
|
|
|
订单信息 |
|
|
@ -356,15 +354,16 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.headstu { |
|
|
|
.headstu { |
|
|
|
width: 80px; |
|
|
|
width: 90px; |
|
|
|
height: 80px; |
|
|
|
height: 90px; |
|
|
|
line-height: 80px; |
|
|
|
line-height: 90px; |
|
|
|
text-align: center; |
|
|
|
text-align: center; |
|
|
|
border-radius: 50%; |
|
|
|
border-radius: 50%; |
|
|
|
background-color: #faf1f1; |
|
|
|
background-color: #C6DEF4; |
|
|
|
color: #c72a20; |
|
|
|
color: #0189E7; |
|
|
|
margin-left: 40%; |
|
|
|
margin-left: auto; |
|
|
|
border: 1px solid #c72a20; |
|
|
|
margin-right: auto; |
|
|
|
|
|
|
|
border: 1px solid #0096FF; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.headotherstu { |
|
|
|
.headotherstu { |
|
|
@ -373,7 +372,8 @@ |
|
|
|
line-height: 80px; |
|
|
|
line-height: 80px; |
|
|
|
text-align: center; |
|
|
|
text-align: center; |
|
|
|
border-radius: 50%; |
|
|
|
border-radius: 50%; |
|
|
|
margin-left: 40%; |
|
|
|
margin-left: auto; |
|
|
|
|
|
|
|
margin-right: auto; |
|
|
|
background-color: #999999; |
|
|
|
background-color: #999999; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -404,11 +404,13 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.headsbg { |
|
|
|
.headsbg { |
|
|
|
border-radius: 0 0 30px 30px; |
|
|
|
// border-radius: 0 0 30px 30px; |
|
|
|
|
|
|
|
background: linear-gradient(to bottom, #3da7e7, #e8eff4); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.concont { |
|
|
|
.concont { |
|
|
|
border-radius: 12px; |
|
|
|
border-radius: 12px 12px 0 0; |
|
|
|
|
|
|
|
background-image: radial-gradient(6px at bottom right, #f0f0f0 50px, #ffffff); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.footbtn { |
|
|
|
.footbtn { |
|
|
|