Files
TakeoutSaaS.C-Side-Mini-Pro…/src/pages/order/detail/styles/goods.scss

125 lines
1.8 KiB
SCSS

@use '../../../../styles/variables' as *;
.od-page__goods-section {
padding: 18px 20px;
}
.od-page__goods-list {
display: flex;
flex-direction: column;
}
.od-page__good {
display: flex;
align-items: flex-start;
gap: 12px;
padding: 12px 0;
border-bottom: 0.5px solid $border;
&:last-child { border-bottom: none; }
}
.od-page__good-img-placeholder {
width: 52px;
height: 52px;
border-radius: $r-sm;
background: $border;
flex-shrink: 0;
}
.od-page__good-info {
flex: 1;
min-width: 0;
}
.od-page__good-name {
font-size: 14px;
font-weight: 600;
color: $text-1;
}
.od-page__good-spec {
font-size: 12px;
color: $text-4;
margin-top: 2px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.od-page__good-right {
flex-shrink: 0;
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 2px;
}
.od-page__good-price {
font-size: 14px;
font-weight: 700;
color: $text-1;
}
.od-page__good-unit {
font-size: 11px;
}
.od-page__good-qty {
font-size: 12px;
color: $text-4;
}
.od-page__divider {
height: 0.5px;
background: $border;
margin: 0 20px;
}
.od-page__fees {
padding: 14px 20px;
}
.od-page__fee-row {
display: flex;
justify-content: space-between;
align-items: center;
padding: 3px 0;
&--total {
margin-top: 8px;
padding-top: 10px;
border-top: 0.5px solid $border;
}
}
.od-page__fee-label {
font-size: 13px;
color: $text-3;
.od-page__fee-row--total & {
font-size: 15px;
font-weight: 700;
color: $text-1;
}
}
.od-page__fee-value {
font-size: 13px;
color: $text-2;
font-weight: 500;
&--green { color: $primary; }
&--total {
font-size: 20px;
font-weight: 800;
color: $primary-dark;
}
}
.od-page__fee-unit {
font-size: 12px;
font-weight: 700;
}