|
|
@ -8,7 +8,7 @@ |
|
|
|
|
|
|
|
<!-- 水洗店 --> |
|
|
|
<view class=""> |
|
|
|
<view class="controls"> |
|
|
|
<!-- <view class="controls"> |
|
|
|
<view class="title"> |
|
|
|
<image src="../static/order/icon.png" mode=""></image> |
|
|
|
服务完成 |
|
|
@ -24,7 +24,7 @@ |
|
|
|
线下配送 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> --> |
|
|
|
<view class="steps"> |
|
|
|
<uv-steps |
|
|
|
activeColor="#FD5100" |
|
|
@ -49,29 +49,29 @@ |
|
|
|
<view class="server-item"> |
|
|
|
|
|
|
|
<view class="img-box"> |
|
|
|
<image :src="msgShop.image" mode="aspectFill"></image> |
|
|
|
<image :src="order.image" mode="aspectFill"></image> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="server-info"> |
|
|
|
|
|
|
|
<view class="server-title"> |
|
|
|
{{msgOrder.projectName}} |
|
|
|
{{order.name}} |
|
|
|
<!-- <view class="coupon">领券立减</view> --> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="current-price"> |
|
|
|
<text class="unit">¥</text>{{msgOrder.money}} |
|
|
|
价格<text class="unit">¥</text>{{order.price}} |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="sales-volume" style="margin-top: 5px;"> |
|
|
|
<view class="desc">规格:{{msgOrder.unit}}</view> |
|
|
|
<view class="current-price"> |
|
|
|
积分{{order.points}} |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="time-coupon"> |
|
|
|
|
|
|
|
<!-- <view class="flex"> |
|
|
|
<image src="@/static/home/time-icon.png"></image> |
|
|
|
<view class="time">{{msgOrder.useTime}}分钟</view> |
|
|
|
<view class="time">{{order.useTime}}分钟</view> |
|
|
|
</view> --> |
|
|
|
|
|
|
|
<!-- <view class="sales-volume"> |
|
|
@ -86,45 +86,19 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- <view class="line min_tips"> |
|
|
|
<view class="head-div flex"> |
|
|
|
<view style="width: 118rpx;height: 118rpx;border-radius: 50%;overflow: hidden;"> |
|
|
|
<image style="width: 118rpx;" :src="msgTechnician.image" mode="widthFix"></image> |
|
|
|
</view> |
|
|
|
<view style="padding: 10rpx 34rpx;display: flex;flex-direction: column;justify-content: space-around;"> |
|
|
|
<view class="nickname"> |
|
|
|
{{msgTechnician.title}} |
|
|
|
<view v-if="msgTechnician.isVip" class="tag"> |
|
|
|
<image src="@/static/order/s.png" mode="aspectFit"></image> |
|
|
|
<view class="auth">官方认证</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="days"> |
|
|
|
<van-rate v-model="msgTechnician.score" :size="10" readonly color="#ffb54c" void-icon="star" |
|
|
|
void-color="#eee" /> |
|
|
|
<view class=""> |
|
|
|
好评{{msgTechnician.pinNum}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view @click="gototechnicianDetail(msgTechnician)" class="btn-x"> |
|
|
|
服务技师 |
|
|
|
</view> |
|
|
|
</view> --> |
|
|
|
|
|
|
|
<view class="line address"> |
|
|
|
<view class="address-top"> |
|
|
|
<!-- <view class=""> |
|
|
|
服务地址 |
|
|
|
</view> --> |
|
|
|
<view class=""> |
|
|
|
收货地址 |
|
|
|
</view> |
|
|
|
<view class="copy"> |
|
|
|
<image @click="copy(msgOrder.name + ' ' + msgOrder.phone + ' ' + msgOrder.address)" src="/static/order/copy.png"></image> |
|
|
|
<image @click="$utils.copyText(order.addressName + item.addressDetails + ' ' + order.addressPhone + ' ' + order.addressCity)" src="/static/order/copy.png"></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="addressDetail"> |
|
|
|
<view class="">{{msgOrder.name}} {{msgOrder.phone}}</view> |
|
|
|
<view class="">{{msgOrder.address}}</view> |
|
|
|
<view class="">{{order.addressName}} {{order.addressPhone}}</view> |
|
|
|
<view class="">{{order.addressCity + item.addressDetails}}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
@ -134,32 +108,21 @@ |
|
|
|
<view class=""> |
|
|
|
实付款 |
|
|
|
</view> |
|
|
|
<view class="current-price"> |
|
|
|
¥{{ msgOrder.money }} |
|
|
|
<view class="current-price" |
|
|
|
v-if="order.type == 0"> |
|
|
|
{{ order.points }}积分 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="min_tips"> |
|
|
|
<view class=""> |
|
|
|
租赁费用 |
|
|
|
</view> |
|
|
|
<view class=""> |
|
|
|
¥{{ msgOrder.price }} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="min_tips"> |
|
|
|
<view class=""> |
|
|
|
水洗费用 |
|
|
|
</view> |
|
|
|
<view class=""> |
|
|
|
¥{{ msgOrder.price}} |
|
|
|
<view class="current-price" |
|
|
|
v-if="order.type == 1"> |
|
|
|
¥{{ order.price }}元 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="min_tips"> |
|
|
|
<view class=""> |
|
|
|
押金 |
|
|
|
支付方式 |
|
|
|
</view> |
|
|
|
<view class=""> |
|
|
|
¥{{ msgOrder.price }} |
|
|
|
¥{{ ['积分兑换', '微信支付'][order.type] }} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -176,7 +139,7 @@ |
|
|
|
订单编号 |
|
|
|
</view> |
|
|
|
<view class=""> |
|
|
|
{{msgOrder.id}} |
|
|
|
{{order.id}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="min_tips"> |
|
|
@ -184,7 +147,7 @@ |
|
|
|
下单时间 |
|
|
|
</view> |
|
|
|
<view class=""> |
|
|
|
{{msgOrder.createTime}} |
|
|
|
{{order.createTime}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -219,28 +182,30 @@ |
|
|
|
return { |
|
|
|
stepsCurrent : 0, |
|
|
|
steps : [ |
|
|
|
'接单', |
|
|
|
'检查', |
|
|
|
'开始清洗', |
|
|
|
'服务完成', |
|
|
|
'待支付', |
|
|
|
'待发货', |
|
|
|
'待收货', |
|
|
|
'已完成', |
|
|
|
], |
|
|
|
msgShop : { |
|
|
|
money : 99.99, |
|
|
|
image : 'https://img95.699pic.com/photo/50058/1378.jpg_wh860.jpg', |
|
|
|
projectExplain : '1.xxxxxxxxxx xxxxxxxxxx。2.xxxxxx xxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxx xxxxxxxxxxxxxxxx。3.。', |
|
|
|
}, |
|
|
|
msgOrder : { |
|
|
|
money : 99.99, |
|
|
|
address : '广东省广州市越秀区城南故事C3栋2802', |
|
|
|
name : '李**', |
|
|
|
phone : '150*****091', |
|
|
|
unit : '120*40*75【桌子尺寸】', |
|
|
|
state_dictText : '已完成', |
|
|
|
price : 199.99, |
|
|
|
id : '020644568964457', |
|
|
|
createTime : '2024-01-18 15:39', |
|
|
|
projectName : '桌布租赁' |
|
|
|
}, |
|
|
|
// msgShop : { |
|
|
|
// money : 99.99, |
|
|
|
// image : 'https://img95.699pic.com/photo/50058/1378.jpg_wh860.jpg', |
|
|
|
// projectExplain : '1.xxxxxxxxxx xxxxxxxxxx。2.xxxxxx xxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxx xxxxxxxxxxxxxxxx。3.。', |
|
|
|
// }, |
|
|
|
// order : { |
|
|
|
// money : 99.99, |
|
|
|
// address : '广东省广州市越秀区城南故事C3栋2802', |
|
|
|
// name : '李**', |
|
|
|
// phone : '150*****091', |
|
|
|
// unit : '120*40*75【桌子尺寸】', |
|
|
|
// state_dictText : '已完成', |
|
|
|
// price : 199.99, |
|
|
|
// id : '020644568964457', |
|
|
|
// createTime : '2024-01-18 15:39', |
|
|
|
// projectName : '桌布租赁' |
|
|
|
// }, |
|
|
|
|
|
|
|
order : {}, |
|
|
|
id : 0, |
|
|
|
} |
|
|
|
}, |
|
|
@ -253,9 +218,12 @@ |
|
|
|
methods: { |
|
|
|
getDetail(){ |
|
|
|
this.$api('getOrderDetail', { |
|
|
|
id : this.id |
|
|
|
orderId : this.id |
|
|
|
}, res => { |
|
|
|
|
|
|
|
if(res.code == 200){ |
|
|
|
this.order = res.result |
|
|
|
this.stepsCurrent= res.result.state |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
} |
|
|
|