diff --git a/app/components/catalog/OrderDetailBottomSheet.vue b/app/components/catalog/OrderDetailBottomSheet.vue new file mode 100644 index 0000000..95b821b --- /dev/null +++ b/app/components/catalog/OrderDetailBottomSheet.vue @@ -0,0 +1,391 @@ + + + + + + + + + + + + + + + + + {{ t('common.error') }} + {{ orderError }} + + + + + + + + + + {{ orderTitle }} + + #{{ order.name }} + {{ order.status }} + + + + + + + + + + + + + + + + + + + + + + + + {{ orderError }} + + {{ t('ordersDetail.errors.retry') }} + + + + + + + + + {{ meta }} + + + + + + + + {{ t('ordersDetail.sections.stages.title', 'Маршрут') }} + + + + + + + + + {{ stage.from }} + + → {{ stage.to }} + + + {{ stage.meta.join(' · ') }} + + + + + + + + + + + {{ t('ordersDetail.sections.timeline.title') }} + + + + + + + + + {{ t('ordersDetail.sections.map.title', 'Карта') }} + + + + + + + + + + + + + + + + + + + diff --git a/app/pages/clientarea/orders/index.vue b/app/pages/clientarea/orders/index.vue index 9c35e12..0ac3abd 100644 --- a/app/pages/clientarea/orders/index.vue +++ b/app/pages/clientarea/orders/index.vue @@ -1,17 +1,18 @@ - + + @@ -58,38 +59,35 @@ - - - - #{{ item.name }} - - {{ getStatusText(item.status) }} - + + #{{ item.name }} + + {{ getStatusText(item.status) }} + + + + + + {{ item.sourceLocationName }} - - - - {{ item.sourceLocationName }} - - - - {{ item.destinationLocationName }} - - - - {{ getOrderDate(item) }} + + + {{ item.destinationLocationName }} - + + {{ getOrderDate(item) }} + + @@ -105,7 +103,15 @@ {{ displayItems.length }} {{ t('catalog.of') }} {{ filteredItems.length }} - + + + + +