功能:重建指尖管理师规划系统

This commit is contained in:
xiaowang
2026-06-04 16:39:06 +08:00
parent 73483e7b0c
commit 677890f518
413 changed files with 9602 additions and 795 deletions
+568 -34
View File
@@ -85,6 +85,86 @@
<button type="button" @click="copyOrderNo(order.orderNo)">复制订单号</button>
</div>
<section v-if="isQuoteConfirming(order)" class="quote-panel" :class="{ 'quote-panel--collapsed': isQuoteHistoryCollapsed(order) }">
<div class="quote-panel__head">
<div>
<span>报价摘要</span>
<strong>{{ quoteStatusText(order) }}</strong>
</div>
<div class="quote-panel__head-actions">
<em>{{ quoteExpireText(order) }}</em>
<button
v-if="order.quoteUserConfirmed"
type="button"
class="quote-history-toggle"
@click="toggleQuoteHistory(order)"
>
{{ isQuoteHistoryCollapsed(order) ? '展开历史' : '收起历史' }}
</button>
</div>
</div>
<div v-if="isQuoteHistoryCollapsed(order)" class="quote-collapsed-summary">
<span>你已确认当前报价</span>
<span>{{ quoteHistoryCountText(order) }}</span>
<span>{{ quoteExpireText(order) }}</span>
</div>
<template v-else>
<p class="quote-remark">客户备注:{{ order.customerRemark || '暂无备注' }}</p>
<div class="quote-flags">
<span :class="{ active: order.quoteUserConfirmed }">用户{{ order.quoteUserConfirmed ? '已确认' : '待确认' }}</span>
<span :class="{ active: order.quoteShopConfirmed }">门店{{ order.quoteShopConfirmed ? '已确认' : '待确认' }}</span>
</div>
<div class="quote-items">
<div v-for="item in orderItems(order)" :key="item.id || item.productId" class="quote-item">
<strong>{{ item.productTitle || '预约项目' }}</strong>
<span>参考价 {{ formatQuoteAmount(quoteReferencePrice(item), '待确认') }}</span>
<span>当前报价 {{ formatQuoteAmount(item.quotedPrice, '待报价') }}</span>
<span>最终价 {{ formatQuoteAmount(item.confirmedPrice, '待确认') }}</span>
</div>
</div>
<div class="quote-history">
<strong>报价历史</strong>
<div v-if="quoteMessages(order).length" class="quote-history__list">
<article v-for="(quoteMessage, index) in quoteMessages(order)" :key="quoteMessageKey(quoteMessage, index)" class="quote-history__item">
<div>
<span>{{ quoteActorText(quoteMessage) }}</span>
<em>{{ quoteActionText(quoteMessage) }}</em>
<small>{{ formatTimelineTime(quoteMessage.createTime) || '--' }}</small>
</div>
<p v-if="quoteMessage.remark">{{ quoteMessage.remark }}</p>
<div v-if="quoteMessageItems(quoteMessage).length" class="quote-history__prices">
<span v-for="quoteItem in quoteMessageItems(quoteMessage)" :key="quoteMessageItemKey(quoteItem)">
{{ quoteMessageItemText(order, quoteItem) }}
</span>
</div>
</article>
</div>
<p v-else>暂无报价历史</p>
</div>
<div v-if="!order.quoteUserConfirmed" class="quote-reply">
<a-textarea
v-model:value="quoteReplyForms[String(order.id)]"
:rows="2"
:maxlength="300"
placeholder="给门店补充说明或回复当前报价"
/>
<div class="quote-reply__actions">
<button type="button" class="order-action" :disabled="isQuoteBusy(order)" @click="submitQuoteReply(order)">发送回复</button>
<button
type="button"
class="order-action order-action--primary"
:disabled="isQuoteBusy(order) || !orderHasCurrentQuote(order)"
@click="confirmQuote(order)"
>
确认当前报价
</button>
</div>
</div>
<div v-else class="quote-confirmed-bar">你已确认当前报价,报价内容已归档为历史</div>
</template>
</section>
<div v-if="orderExtensionItems(order).length" class="order-extension-list">
<div
v-for="item in orderExtensionItems(order)"
@@ -257,7 +337,12 @@ const orderReviews = ref<Record<string, OrderArtistReviewVO[]>>({})
* Usage: import, call, read, or update this const from the owning page/module while preserving the surrounding loading and permission flow.
*/
const pendingChangeRequests = ref<OrderArtistChangeRequestVO[]>([])
type OrderStatusFilter = 'all' | 'pendingPayment' | 'active' | 'pendingReview' | 'completed'
type OrderStatusFilter = 'all' | 'priceConfirming' | 'pendingPayment' | 'active' | 'pendingReview' | 'completed'
const ORDER_STATUS_FILTER_VALUES: OrderStatusFilter[] = ['all', 'priceConfirming', 'pendingPayment', 'active', 'pendingReview', 'completed']
const normalizeRouteStatusFilter = (value: unknown): OrderStatusFilter | undefined => {
const raw = Array.isArray(value) ? value[0] : value
return ORDER_STATUS_FILTER_VALUES.includes(raw as OrderStatusFilter) ? raw as OrderStatusFilter : undefined
}
/**
* Purpose: reviewModalOpen supports OrderView.vue by holding or executing the review modal open page or API role.
* Usage: import, call, read, or update this const from the owning page/module while preserving the surrounding loading and permission flow.
@@ -302,6 +387,10 @@ const filters = reactive({
minAmount: undefined as number | undefined,
maxAmount: undefined as number | undefined
})
const routeStatusFilter = normalizeRouteStatusFilter(route.query.status)
if (routeStatusFilter) {
filters.status = routeStatusFilter
}
/**
* Purpose: reviewForm supports OrderView.vue by holding or executing the review form page or API role.
* Usage: import, call, read, or update this const from the owning page/module while preserving the surrounding loading and permission flow.
@@ -324,10 +413,14 @@ const afterSaleForm = reactive({
reason: '',
refundAmount: undefined as number | undefined
})
const quoteReplyForms = reactive<Record<string, string>>({})
const quoteActionLoading = reactive<Record<string, boolean>>({})
const quoteHistoryExpanded = reactive<Record<string, boolean>>({})
const statusTabs = computed(() => {
const tabs: Array<{ label: string, value: OrderStatusFilter }> = [
{ label: '全部', value: 'all' },
{ label: '确认价格中', value: 'priceConfirming' },
{ label: '待支付', value: 'pendingPayment' },
{ label: '预约中', value: 'active' },
{ label: '待评价', value: 'pendingReview' },
@@ -373,12 +466,13 @@ const focusedOrderItemId = ref('')
/** focusedReviewId stores message/deep-link review focus. */
const focusedReviewId = ref('')
const isQuoteConfirming = (order: any) => Number(order?.status) === 0
const orderPaymentStatus = (order: any) => String(order.paymentStatus || order.payStatus || '').toUpperCase()
const isOrderPaid = (order: any) => orderPaymentStatus(order) === 'PAID'
const orderNeedsPayment = (order: any) => Number(order.status) === 1 && !isOrderPaid(order)
const canPreparePayment = (order: any) => orderNeedsPayment(order) && orderPaymentStatus(order) !== 'PAYING'
const canMockPay = (order: any) => Number(order.status) === 1 && orderPaymentStatus(order) === 'PAYING'
const canApplyAfterSale = (order: any) => Number(order.status) === 2 || isOrderPaid(order)
const canApplyAfterSale = (order: any) => !isQuoteConfirming(order) && (Number(order.status) === 2 || isOrderPaid(order))
/**
* Purpose: sameId supports OrderView.vue by holding or executing the same id page or API role.
@@ -466,6 +560,7 @@ const orderIsActive = (order: any) => {
const orderMatchesStatus = (order: any, status: OrderStatusFilter) => {
if (status === 'all') return true
if (status === 'priceConfirming') return isQuoteConfirming(order)
if (status === 'pendingPayment') return orderNeedsPayment(order)
if (status === 'active') return orderIsActive(order)
if (status === 'pendingReview') return orderNeedsReview(order)
@@ -474,6 +569,7 @@ const orderMatchesStatus = (order: any, status: OrderStatusFilter) => {
}
const orderDisplayStatus = (order: any) => {
if (isQuoteConfirming(order)) return order.statusText || '确认价格中'
if (Number(order.status) === 3) return '已取消'
if (orderNeedsPayment(order)) return '待支付'
if (orderNeedsReview(order)) return '待评价'
@@ -483,6 +579,7 @@ const orderDisplayStatus = (order: any) => {
}
const orderStatusClass = (order: any) => {
if (isQuoteConfirming(order)) return 'price-confirming'
if (Number(order.status) === 3) return 'cancelled'
if (orderNeedsPayment(order)) return 'pending-payment'
if (orderNeedsReview(order)) return 'pending-review'
@@ -492,10 +589,14 @@ const orderStatusClass = (order: any) => {
}
const orderTimeLabel = (order: any) => {
if (isQuoteConfirming(order)) return '报价有效期'
return Number(order.status) === 2 ? '完成时间' : '预约时间'
}
const orderTimeText = (order: any) => {
if (isQuoteConfirming(order)) {
return formatTimelineTime(order.quoteExpireTime) || '待门店确认'
}
if (Number(order.status) === 2) {
return formatTimelineTime(order.completeTime || order.updateTime) || orderAppointmentTime(order)
}
@@ -506,6 +607,7 @@ const orderTimeText = (order: any) => {
}
const orderAmountLabel = (order: any) => {
if (isQuoteConfirming(order)) return '参考金额'
return orderNeedsPayment(order) ? '订单金额' : '实付金额'
}
@@ -577,6 +679,77 @@ const formatAmount = (value: unknown) => {
return `¥${Number.isFinite(amount) ? amount.toFixed(2) : '0.00'}`
}
const hasAmount = (value: unknown) => value !== undefined && value !== null && value !== '' && Number.isFinite(Number(value))
const formatQuoteAmount = (value: unknown, fallback = '--') => {
return hasAmount(value) ? formatAmount(value) : fallback
}
const quoteReferencePrice = (item: any) => item?.referencePrice ?? item?.price
const quoteMessages = (order: any) => Array.isArray(order?.quoteMessages) ? order.quoteMessages : []
const quoteMessageItems = (quoteMessage: any) => Array.isArray(quoteMessage?.items) ? quoteMessage.items : []
const quoteStatusText = (order: any) => order?.quoteStatusText || order?.statusText || '确认价格中'
const quoteExpireText = (order: any) => {
const expireTime = formatTimelineTime(order?.quoteExpireTime)
return expireTime ? `有效期至 ${expireTime}` : '等待门店报价'
}
const quoteActorText = (quoteMessage: any) => {
if (quoteMessage?.actorTypeText) return quoteMessage.actorTypeText
if (String(quoteMessage?.actorType || '').toUpperCase() === 'USER') return '用户'
if (String(quoteMessage?.actorType || '').toUpperCase() === 'SHOP') return '门店'
return '系统'
}
const quoteActionText = (quoteMessage: any) => quoteMessage?.actionText || quoteMessage?.action || '报价更新'
const quoteMessageKey = (quoteMessage: any, index: string | number) => {
return String(quoteMessage?.id ?? `${quoteMessage?.createTime || 'quote'}-${quoteMessage?.action || index}`)
}
const quoteMessageItemKey = (quoteItem: any) => {
return String(quoteItem?.orderItemId ?? quoteItem?.productId ?? quoteItem?.id ?? JSON.stringify(quoteItem))
}
const quoteMessageItemText = (order: any, quoteItem: any) => {
const sourceItem = orderItems(order).find((item: any) => sameId(item.id, quoteItem?.orderItemId) || sameId(item.productId, quoteItem?.productId))
const title = quoteItem?.productTitle || sourceItem?.productTitle || '预约项目'
const amount = quoteItem?.confirmedPrice ?? quoteItem?.quotedPrice ?? quoteItem?.price
return hasAmount(amount) ? `${title}:${formatAmount(amount)}` : title
}
const orderHasCurrentQuote = (order: any) => {
return orderItems(order).some((item: any) => hasAmount(item?.quotedPrice ?? item?.confirmedPrice))
}
const quoteOrderKey = (order: any) => String(order?.id || '')
const isQuoteHistoryCollapsed = (order: any) => {
return Boolean(order?.quoteUserConfirmed) && !quoteHistoryExpanded[quoteOrderKey(order)]
}
const toggleQuoteHistory = (order: any) => {
const key = quoteOrderKey(order)
if (!key) return
quoteHistoryExpanded[key] = !quoteHistoryExpanded[key]
}
const quoteHistoryCountText = (order: any) => {
const count = quoteMessages(order).length
return count > 0 ? `${count} 条报价历史` : '暂无报价历史'
}
const isQuoteBusy = (order: any) => Boolean(quoteActionLoading[quoteOrderKey(order)])
const setQuoteBusy = (order: any, busy: boolean) => {
const key = quoteOrderKey(order)
if (key) quoteActionLoading[key] = busy
}
/**
* Purpose: formatRating supports OrderView.vue by holding or executing the format rating page or API role.
* Usage: import, call, read, or update this const from the owning page/module while preserving the surrounding loading and permission flow.
@@ -618,6 +791,53 @@ const mockPay = async (order: any) => {
}
}
const submitQuoteReply = async (order: any) => {
const key = quoteOrderKey(order)
const remark = String(quoteReplyForms[key] || '').trim()
if (!remark) {
message.warning('请先填写回复内容')
return
}
setQuoteBusy(order, true)
try {
await runWithGlobalLoading(async () => {
await orderApi.replyQuote(order.id, { remark })
await loadOrders()
})
quoteReplyForms[key] = ''
message.success('报价回复已发送')
} catch (error: any) {
message.error(error?.message || '发送报价回复失败')
} finally {
setQuoteBusy(order, false)
}
}
const confirmQuote = (order: any) => {
if (!orderHasCurrentQuote(order)) {
message.warning('当前暂无可确认报价')
return
}
Modal.confirm({
title: '确认当前报价',
content: '确认后门店会继续处理预约,请确认当前报价无误。',
onOk: async () => {
setQuoteBusy(order, true)
try {
await runWithGlobalLoading(async () => {
await orderApi.confirmUserQuote(order.id)
await loadOrders()
})
message.success('已确认当前报价')
} catch (error: any) {
message.error(error?.message || '确认报价失败')
} finally {
setQuoteBusy(order, false)
}
}
})
}
const openAfterSaleModal = (order: any) => {
activeAfterSaleOrder.value = order
const firstItem = (order.items || [])[0]
@@ -1741,30 +1961,30 @@ onMounted(async () => {
.order-content {
width: var(--order-shell-width);
max-width: var(--order-shell-width);
padding: 24px 20px 36px;
padding: 8px 16px 32px;
}
.status-tabs {
position: sticky;
top: 64px;
position: static;
top: auto;
z-index: 40;
gap: 16px;
margin: 0 -20px 32px;
padding: 16px 20px;
gap: 8px;
margin: 0 -16px 14px;
padding: 10px 16px 12px;
background: rgba(255, 248, 244, 0.72);
backdrop-filter: blur(12px);
}
.status-tab {
gap: 8px;
gap: 6px;
min-width: auto;
height: 38px;
padding: 0 24px;
height: 36px;
padding: 0 16px;
border: 1px solid rgba(212, 194, 195, 0.38);
border-radius: 999px;
color: var(--order-muted);
background: var(--order-surface-solid);
font-size: 14px;
font-size: 13px;
font-weight: 600;
box-shadow: none;
}
@@ -1783,7 +2003,7 @@ onMounted(async () => {
}
.order-list {
gap: 24px;
gap: 16px;
}
.order-card,
@@ -1796,10 +2016,11 @@ onMounted(async () => {
}
.order-card {
display: flex;
flex-direction: column;
gap: 24px;
padding: 20px;
display: grid;
grid-template-columns: 116px minmax(0, 1fr);
gap: 12px;
align-items: start;
padding: 12px;
transform: none;
}
@@ -1814,6 +2035,7 @@ onMounted(async () => {
.order-card__cover {
display: grid;
grid-row: 1 / span 3;
width: 100%;
aspect-ratio: 1;
place-items: center;
@@ -1838,7 +2060,7 @@ onMounted(async () => {
}
.order-card__body {
display: grid;
display: contents;
flex: 1;
gap: 12px;
min-width: 0;
@@ -1848,7 +2070,9 @@ onMounted(async () => {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 14px;
gap: 8px;
grid-column: 2;
min-width: 0;
}
.order-card__title-block {
@@ -1862,7 +2086,7 @@ onMounted(async () => {
overflow-wrap: anywhere;
color: var(--order-text);
font-family: Georgia, 'Times New Roman', serif;
font-size: 24px;
font-size: 17px;
font-weight: 500;
line-height: 1.3;
}
@@ -1870,10 +2094,10 @@ onMounted(async () => {
.order-card__title-block p {
display: flex;
align-items: center;
gap: 8px;
gap: 6px;
margin: 0;
color: var(--order-primary);
font-size: 14px;
font-size: 13px;
font-weight: 600;
line-height: 1.35;
}
@@ -1902,6 +2126,11 @@ onMounted(async () => {
background: var(--order-gold-soft);
}
.status-pill.price-confirming {
color: #6b4600;
background: #fff2cc;
}
.status-pill.active,
.status-pill.pending-review {
color: #623c40;
@@ -1920,9 +2149,11 @@ onMounted(async () => {
.order-info-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 16px;
padding: 12px 0;
grid-column: 2;
grid-template-columns: minmax(0, 1fr);
gap: 8px;
min-width: 0;
padding: 8px 0;
border-top: 1px solid rgba(212, 194, 195, 0.22);
border-bottom: 1px solid rgba(212, 194, 195, 0.22);
}
@@ -1956,8 +2187,10 @@ onMounted(async () => {
.order-card__meta {
display: flex;
flex-wrap: wrap;
grid-column: 2;
gap: 8px 12px;
align-items: center;
min-width: 0;
color: var(--order-muted);
font-size: 12px;
line-height: 1.45;
@@ -1973,8 +2206,257 @@ onMounted(async () => {
cursor: pointer;
}
.quote-panel {
display: grid;
grid-column: 1 / -1;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
gap: 8px 10px;
min-width: 0;
padding: 10px;
border: 1px solid rgba(212, 194, 195, 0.36);
border-radius: 12px;
background: rgba(255, 248, 236, 0.72);
}
.quote-panel--collapsed {
gap: 7px;
}
.quote-panel__head {
display: grid;
grid-column: 1 / -1;
grid-template-columns: minmax(0, 1fr) auto;
gap: 8px;
align-items: start;
min-width: 0;
}
.quote-panel__head-actions {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
gap: 6px;
min-width: 0;
}
.quote-panel__head div {
display: grid;
gap: 4px;
min-width: 0;
}
.quote-panel__head span,
.quote-panel__head em,
.quote-collapsed-summary span,
.quote-flags span,
.quote-item span,
.quote-history__item small,
.quote-confirmed {
color: var(--order-muted);
font-size: 12px;
font-style: normal;
line-height: 1.35;
}
.quote-history-toggle {
min-height: 24px;
padding: 0 9px;
border: 1px solid rgba(130, 116, 116, 0.28);
border-radius: 999px;
color: var(--order-primary);
background: rgba(255, 255, 255, 0.62);
font: inherit;
font-size: 12px;
font-weight: 700;
cursor: pointer;
}
.quote-collapsed-summary,
.quote-confirmed-bar {
grid-column: 1 / -1;
min-width: 0;
border-radius: 10px;
background: rgba(255, 255, 255, 0.56);
}
.quote-collapsed-summary {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 5px 10px;
padding: 8px 10px;
}
.quote-collapsed-summary span:first-child {
color: var(--order-primary);
font-weight: 800;
}
.quote-collapsed-summary span:last-child {
grid-column: 1 / -1;
}
.quote-confirmed-bar {
padding: 8px 10px;
color: var(--order-primary);
font-size: 12px;
font-weight: 800;
line-height: 1.4;
}
.quote-panel__head strong {
color: var(--order-text);
font-size: 14px;
line-height: 1.35;
}
.quote-remark {
margin: 0;
overflow-wrap: anywhere;
color: var(--order-muted);
font-size: 12px;
line-height: 1.45;
}
.quote-flags {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
gap: 6px;
}
.quote-flags span {
padding: 3px 8px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.56);
}
.quote-flags span.active {
color: var(--order-primary);
background: rgba(124, 83, 87, 0.12);
}
.quote-items {
display: grid;
grid-column: 1 / -1;
gap: 6px;
}
.quote-item {
display: grid;
grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
gap: 5px 10px;
align-items: center;
min-width: 0;
padding: 8px 10px;
border-radius: 10px;
background: rgba(255, 255, 255, 0.58);
}
.quote-item strong {
min-width: 0;
overflow-wrap: anywhere;
color: var(--order-text);
font-size: 13px;
line-height: 1.35;
}
.quote-history {
display: grid;
grid-column: 1 / -1;
gap: 6px;
}
.quote-history > strong {
color: var(--order-text);
font-size: 13px;
}
.quote-history > p {
margin: 0;
color: var(--order-muted);
font-size: 13px;
}
.quote-history__list {
display: grid;
gap: 6px;
}
.quote-history__item {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 5px 10px;
min-width: 0;
padding: 8px 10px;
border-radius: 10px;
background: rgba(255, 255, 255, 0.58);
}
.quote-history__item div {
display: flex;
flex-wrap: wrap;
grid-column: 1 / -1;
gap: 5px 8px;
align-items: center;
min-width: 0;
}
.quote-history__item span,
.quote-history__item em {
color: var(--order-primary);
font-size: 12px;
font-style: normal;
font-weight: 700;
}
.quote-history__item p {
grid-column: 1 / -1;
margin: 0;
overflow-wrap: anywhere;
color: var(--order-muted);
font-size: 12px;
line-height: 1.4;
}
.quote-history__prices {
display: flex;
flex-wrap: wrap;
grid-column: 1 / -1;
gap: 6px;
}
.quote-history__prices span {
padding: 3px 7px;
border-radius: 8px;
color: var(--order-muted);
background: rgba(252, 242, 234, 0.82);
font-size: 12px;
}
.quote-reply {
display: grid;
grid-column: 1 / -1;
gap: 8px;
}
.quote-reply__actions {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
gap: 8px;
}
.quote-confirmed {
display: inline-flex;
align-items: center;
min-height: 38px;
color: var(--order-primary);
font-weight: 700;
}
.order-extension-list {
display: grid;
grid-column: 1 / -1;
gap: 10px;
padding-top: 2px;
}
@@ -2040,6 +2522,12 @@ onMounted(async () => {
transform: scale(.98);
}
.order-action:disabled {
cursor: not-allowed;
opacity: .55;
transform: none;
}
.change-request {
padding: 12px;
}
@@ -2060,6 +2548,7 @@ onMounted(async () => {
.order-card__actions {
display: flex;
flex-wrap: wrap;
grid-column: 1 / -1;
gap: 12px;
justify-content: flex-end;
padding-top: 4px;
@@ -2081,23 +2570,29 @@ onMounted(async () => {
@media (max-width: 374px) {
.order-content {
padding-right: 16px;
padding-left: 16px;
padding-top: 6px;
padding-right: 12px;
padding-left: 12px;
}
.status-tabs {
margin-right: -16px;
margin-left: -16px;
padding-right: 16px;
padding-left: 16px;
gap: 6px;
margin-right: -12px;
margin-bottom: 12px;
margin-left: -12px;
padding-right: 12px;
padding-left: 12px;
}
.status-tab {
padding: 0 18px;
height: 34px;
padding: 0 14px;
font-size: 12px;
}
.order-card {
padding: 16px;
grid-template-columns: 96px minmax(0, 1fr);
padding: 12px;
}
.order-card__head,
@@ -2107,18 +2602,27 @@ onMounted(async () => {
}
@media (min-width: 768px) {
.order-page {
--order-shell-width: min(calc(100vw - 48px), var(--frontend-content-max-width, 1120px));
}
.order-content {
padding: 24px 64px 42px;
padding: 18px 0 42px;
}
.status-tabs {
position: sticky;
top: 64px;
margin-right: 0;
margin-bottom: 20px;
margin-left: 0;
padding-right: 0;
padding-left: 0;
}
.order-card {
display: flex;
align-items: flex-start;
flex-direction: row;
gap: 24px;
padding: 24px;
@@ -2126,7 +2630,37 @@ onMounted(async () => {
.order-card__cover {
flex: 0 0 160px;
grid-row: auto;
width: 160px;
height: 160px;
align-self: flex-start;
}
.order-card__body {
display: grid;
}
.order-card__head,
.order-info-grid,
.order-card__meta,
.quote-panel,
.order-extension-list,
.order-card__actions {
grid-column: auto;
}
.order-info-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 16px;
padding: 12px 0;
}
.order-card__title-block h2 {
font-size: 24px;
}
.quote-item {
grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(82px, auto));
}
}
</style>