|
|
@@ -68,13 +68,13 @@ async function handleAfterSale() {
|
|
|
}
|
|
|
function handleNav() {
|
|
|
uni.openLocation({
|
|
|
- latitude: Number(orderInfo.value?.djkOrderAttachInfo?.shopLat),
|
|
|
- longitude: Number(orderInfo.value?.djkOrderAttachInfo?.shopLng),
|
|
|
+ latitude: Number(orderInfo.value?.shopInfo?.shopLat),
|
|
|
+ longitude: Number(orderInfo.value?.shopInfo?.shopLng),
|
|
|
})
|
|
|
}
|
|
|
function handlePhone() {
|
|
|
uni.makePhoneCall({
|
|
|
- phoneNumber: String(orderInfo.value?.djkOrderAttachInfo?.tel),
|
|
|
+ phoneNumber: String(orderInfo.value?.shopInfo?.tel),
|
|
|
})
|
|
|
}
|
|
|
</script>
|
|
|
@@ -84,7 +84,7 @@ function handlePhone() {
|
|
|
v-if="orderInfo" class="page-xsb"
|
|
|
>
|
|
|
<wd-navbar
|
|
|
- title="订单详情" :bordered="false" :z-index="99" safe-area-inset-top left-arrow placeholder fixed
|
|
|
+ title="订单详情" :bordered="false" :z-index="99" safe-area-inset-top placeholder left-arrow fixed
|
|
|
@click-left="router.back()"
|
|
|
/>
|
|
|
<view class="relative z-90 box-border bg-[#f6f6f6] px-24rpx">
|
|
|
@@ -169,7 +169,7 @@ function handlePhone() {
|
|
|
{{ orderInfo.djkOrderAttachInfo?.goodsName }}
|
|
|
</view>
|
|
|
<view class="mt16rpx text-24rpx text-gray">
|
|
|
- 有效期360天·需提前1天预约
|
|
|
+ 有效期{{ orderInfo.djkOrderAttachInfo?.effectiveTime }}天·需提前{{ orderInfo.djkOrderAttachInfo?.advanceBookingTime }}天预约
|
|
|
</view>
|
|
|
<view class="mt16rpx flex items-center justify-between">
|
|
|
<view class="text-36rpx text-#FF4D3A font-semibold">
|
|
|
@@ -213,7 +213,7 @@ function handlePhone() {
|
|
|
<view class="mt20rpx rounded-16rpx bg-white p24rpx">
|
|
|
<view class="mt20rpx h160rpx flex items-center justify-between bg-cover bg-center px24rpx" :style="{ backgroundImage: `url(${StaticUrl}/djk-shop-nav-bg.png)` }">
|
|
|
<view class="flex items-center">
|
|
|
- {{ orderInfo.djkOrderAttachInfo?.shopAddress }}
|
|
|
+ {{ orderInfo.shopInfo?.shopName }}
|
|
|
</view>
|
|
|
<view class="flex items-center">
|
|
|
<view class="mr40rpx flex flex-col items-center justify-center" @click="handleNav">
|