|
|
|
@ -18,7 +18,10 @@ |
|
|
|
|
<!-- 待收货 --> |
|
|
|
|
<block v-else-if="order.receipt_status == ReceiptStatusEnum.NOT_RECEIVED.value"> |
|
|
|
|
<image class="image" src="/static/order/status/wait_receipt.png" mode="aspectFit"></image> |
|
|
|
|
</block> |
|
|
|
|
<view class="qujianma" v-if="order.ziti_address"> |
|
|
|
|
取件码:{{order.order_id}} |
|
|
|
|
</view> |
|
|
|
|
</block> |
|
|
|
|
</block> |
|
|
|
|
<!-- 已完成 --> |
|
|
|
|
<block v-if="order.order_status == OrderStatusEnum.COMPLETED.value"> |
|
|
|
@ -32,6 +35,7 @@ |
|
|
|
|
<view class="status-text"> |
|
|
|
|
<text>{{ order.state_text }}</text> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
|
<!-- 下一步操作 --> |
|
|
|
|
<!-- <view class="next-action" v-if="order.order_status == OrderStatusEnum.NORMAL.value"> |
|
|
|
@ -49,12 +53,12 @@ |
|
|
|
|
<!-- 快递配送:配送地址 --> |
|
|
|
|
<view v-if="order.delivery_type == DeliveryTypeEnum.EXPRESS.value" class="delivery-address i-card"> |
|
|
|
|
<view class="link-man"> |
|
|
|
|
<text class="name">{{ order.address.name }}</text> |
|
|
|
|
<text class="phone">{{ order.address.phone }}</text> |
|
|
|
|
<text class="name">{{ order.address?order.address.name:'' }}</text> |
|
|
|
|
<text class="phone">{{ order.address?order.address.phone:'' }}</text> |
|
|
|
|
</view> |
|
|
|
|
<view class="address"> |
|
|
|
|
<text class="region" v-for="(region, idx) in order.address.region" :key="idx">{{ region }}</text> |
|
|
|
|
<text class="detail">{{ order.address.detail }}</text> |
|
|
|
|
<text class="detail">{{ order.address&&order.address.detail }}</text> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
@ -307,11 +311,11 @@ |
|
|
|
|
</view> |
|
|
|
|
<view class="addrContent"> |
|
|
|
|
<view class="personInfo"> |
|
|
|
|
收货地址:{{ order.address.name }} {{ order.address.phone }} |
|
|
|
|
收货地址:{{ order.address?order.address.name:'' }} {{ order.address?order.address.phone:'' }} |
|
|
|
|
</view> |
|
|
|
|
<view class="addressText"> |
|
|
|
|
<text class="region" v-for="(region, idx) in order.address.region" :key="idx">{{ region }}</text> |
|
|
|
|
<text class="detail">{{ order.address.detail }}</text> |
|
|
|
|
<text class="detail">{{ order.address?order.address.detail:'' }}</text> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
@ -393,6 +397,11 @@ |
|
|
|
|
OrderApi.detail(app.orderId) |
|
|
|
|
.then(result => { |
|
|
|
|
app.order = result.data.order |
|
|
|
|
if(app.order.address){ |
|
|
|
|
app.order.address = app.order.address |
|
|
|
|
}else{ |
|
|
|
|
app.order.address = app.order.ziti_address |
|
|
|
|
} |
|
|
|
|
app.setting = result.data.setting |
|
|
|
|
app.isLoading = false |
|
|
|
|
}) |
|
|
|
@ -520,7 +529,7 @@ |
|
|
|
|
background-color: #F92404; |
|
|
|
|
height: 280rpx; |
|
|
|
|
padding: 56rpx 30rpx 0 30rpx; |
|
|
|
|
|
|
|
|
|
position: relative; |
|
|
|
|
.order-status { |
|
|
|
|
display: flex; |
|
|
|
|
align-items: center; |
|
|
|
@ -580,6 +589,8 @@ |
|
|
|
|
box-shadow: 0 1rpx 5rpx 0px rgba(0, 0, 0, 0.05); |
|
|
|
|
margin: 0 auto 20rpx auto; |
|
|
|
|
border-radius: 20rpx; |
|
|
|
|
position: relative; |
|
|
|
|
z-index: 9; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// 自提门店 |
|
|
|
@ -1015,4 +1026,19 @@ |
|
|
|
|
margin-top:22rpx; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.shouhuo{ |
|
|
|
|
border:1px solid #000; |
|
|
|
|
} |
|
|
|
|
.qujianma{ |
|
|
|
|
position: absolute; |
|
|
|
|
right: 25rpx; |
|
|
|
|
top: 50%; |
|
|
|
|
transform: translateY(-50%); |
|
|
|
|
z-index:2; |
|
|
|
|
|
|
|
|
|
font-family: Source Han Sans SC; |
|
|
|
|
font-weight: 400; |
|
|
|
|
font-size: 36rpx; |
|
|
|
|
color: #FFFFFF; |
|
|
|
|
} |
|
|
|
|
</style> |