From 14368e8a09c4b5793d0975f85e36a4c1d410ca36 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期五, 16 五月 2025 17:27:24 +0800 Subject: [PATCH] feat: UI --- packages/components/src/styles/orderCard.scss | 80 +++++++++++++++++++++++++++------------ 1 files changed, 55 insertions(+), 25 deletions(-) diff --git a/packages/components/src/styles/orderCard.scss b/packages/components/src/styles/orderCard.scss index 8578715..9619746 100644 --- a/packages/components/src/styles/orderCard.scss +++ b/packages/components/src/styles/orderCard.scss @@ -1,10 +1,9 @@ @use './common.scss' as *; .order-card { - border: 1px solid #e8e8e8; - border-radius: 12px; - padding: 20px; - margin-bottom: 20px; + border-radius: 24px; + padding: 40px 28px; + margin-bottom: 32px; background-color: #fff; &:last-child { @@ -13,46 +12,73 @@ .order-card-title { display: flex; - flex-direction: column; - border-bottom: 1px solid #e8e8e8; - padding-bottom: 20px; - margin-bottom: 20px; + border-bottom: 1px solid #f3f3f3; + padding-bottom: 32px; + margin-bottom: 32px; - .order-card-title-top { + .order-card-title-left { display: flex; + flex-direction: column; justify-content: space-between; color: #333333; - font-size: 28px; - line-height: 40px; - font-weight: 600; - margin-bottom: 12px; + flex: 1; + min-width: 0; + margin-right: 56px; + + .order-card-title-text { + font-size: 30px; + line-height: 42px; + font-weight: 400; + } } .order-card-title-ordernum { - font-size: 24px; - color: #999999; - flex: 1; - min-width: 0; + font-size: 28px; + line-height: 40px; + color: #575b6c; @include ellipsis; } - .order-card-title-ordernum-wrapper { - display: flex; - align-items: center; + .order-card-title-status { + width: 116px; + height: 116px; - .order-card-action { - font-size: 24px; - color: boleGetCssVar('color', 'primary'); + img { + width: 100%; + height: 100%; } } + } + + .order-card-content { + padding-bottom: 26px; + } + + .order-card-footer { + display: flex; + justify-content: flex-end; + padding-top: 32px; + border-top: solid 1px #f7f7f7; + } + + .order-card-action { + display: flex; + justify-content: center; + align-items: center; + padding: 6px 24px; + color: boleGetCssVar('color', 'primary'); + font-size: 26px; + line-height: 36px; + border: 1px solid boleGetCssVar('color', 'primary'); + border-radius: 8px; } } .order-card-item { display: flex; font-size: 28px; - line-height: 40px; - margin-bottom: 15px; + line-height: 48px; + margin-bottom: 8px; .order-card-item-label { color: #333333; @@ -69,4 +95,8 @@ color: boleGetCssVar('color', 'danger'); } } + + &:last-child { + margin-bottom: 0; + } } -- Gitblit v1.9.1