diff --git a/src/components/site/order_modal/order_modal.vue b/src/components/site/order_modal/order_modal.vue index 8377c60..af290dd 100644 --- a/src/components/site/order_modal/order_modal.vue +++ b/src/components/site/order_modal/order_modal.vue @@ -39,7 +39,7 @@ - + 是否联动开灯: @@ -61,7 +61,7 @@ 操作人: - {{ orderInfo.operator || ' ' }} + {{ orderInfo.operator || '-' }} @@ -126,9 +126,13 @@ - 分享给朋友 - 取消占用 + + 分享给朋友 + 取消占用 + + 收款 + 已收款 @@ -151,6 +155,14 @@ export default { let { orderInfo } = this; return orderInfo.type == 'mini_program' || orderInfo.type == 'course_venue' || orderInfo.type == 'fixed_venue' + }, + isOverTime(){ + let { orderInfo } = this; + let endTime = orderInfo?.stadium_order?.end_time || new Date().getTime(); + let nowTimeStamp = new Date().getTime(); + let endTimeStamp = new Date(endTime.toString().replace(/\-/g, '/')).getTime(); + return nowTimeStamp > endTimeStamp; + } }, props: { @@ -487,6 +499,10 @@ export default { border-color: #EA5061; color: #fff; } + &.gray{ + border-color: #D8D8D8; + color: #D8D8D8; + } } } }