Commit e1c3bd10 by Lin

style(CustomerSide): 更新客户计数样式以优化布局和视觉效果

- 添加了最小高度以确保组件一致性。
- 合并了左侧和右侧客户计数的样式,提升了布局的灵活性。
- 调整了客户计数标签和数字的行高,确保文本显示的清晰度。
1 parent 46bcf1f3
...@@ -293,41 +293,50 @@ export default { ...@@ -293,41 +293,50 @@ export default {
border-radius: 10px; border-radius: 10px;
background: rgba(44, 102, 247, 0.05); background: rgba(44, 102, 247, 0.05);
box-sizing: border-box; box-sizing: border-box;
min-height: 32px;
.customer-count-left { .customer-count-left,
.customer-count-right {
display: flex; display: flex;
align-items: center; align-items: center;
}
.customer-count-left {
gap: 2px; gap: 2px;
min-width: 0; min-width: 0;
flex: 1;
}
.customer-count-right {
gap: 2px;
flex-shrink: 0;
margin-left: 8px;
} }
.customer-count-icon { .customer-count-icon {
width: 16px; width: 16px;
height: 16px; height: 16px;
flex-shrink: 0; flex-shrink: 0;
display: block;
} }
.customer-count-label { .customer-count-label,
font-size: 13px; .customer-count-num,
line-height: normal; .customer-count-unit {
color: #6C6F75; line-height: 16px;
white-space: nowrap; white-space: nowrap;
} }
.customer-count-right { .customer-count-label {
display: flex; font-size: 13px;
align-items: flex-start; color: #6C6F75;
gap: 2px;
flex-shrink: 0;
} }
.customer-count-num, .customer-count-num,
.customer-count-unit { .customer-count-unit {
font-size: 14px; font-size: 14px;
line-height: normal;
font-weight: 500; font-weight: 500;
color: #2C66F7; color: #2C66F7;
white-space: nowrap;
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!