Commit 12670470 by Lin

style(reception): 调整接待中心组件样式以提升适应性和可读性

- 更新多个组件的字体大小和边距,使用 rpx 单位以适应不同屏幕
- 确保文本和布局在各个设备上的一致性和可读性
1 parent 715e6c44
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
<un-segmented <un-segmented
shape="circle" shape="circle"
type="card" type="card"
:font-size="14"
:model-value="tabIndex" :model-value="tabIndex"
active-color="#000000" active-color="#000000"
@update:model-value="onSegmentedTabIndex" @update:model-value="onSegmentedTabIndex"
...@@ -67,7 +68,7 @@ const onSegmentedTabIndex = (v: number): void => { ...@@ -67,7 +68,7 @@ const onSegmentedTabIndex = (v: number): void => {
.tabs-box { .tabs-box {
flex-direction: row; flex-direction: row;
justify-content: space-between; justify-content: space-between;
margin-bottom: 32px; margin-bottom: 32rpx;
} }
.compare-section { .compare-section {
...@@ -77,7 +78,7 @@ const onSegmentedTabIndex = (v: number): void => { ...@@ -77,7 +78,7 @@ const onSegmentedTabIndex = (v: number): void => {
.compare-row { .compare-row {
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
margin-bottom: 24px; margin-bottom: 24rpx;
} }
.compare-row-last { .compare-row-last {
...@@ -85,24 +86,24 @@ const onSegmentedTabIndex = (v: number): void => { ...@@ -85,24 +86,24 @@ const onSegmentedTabIndex = (v: number): void => {
} }
.compare-label { .compare-label {
font-size: 12px; font-size: 24rpx;
color: #64748b; color: #64748b;
width: 75px; width: 150rpx;
} }
.compare-bar-bg { .compare-bar-bg {
flex: 1; flex: 1;
height: 8px; height: 8rpx;
background-color: #f1f5f9; background-color: #f1f5f9;
border-radius: 999px; border-radius: 999rpx;
margin-right: 16px; margin-right: 16rpx;
overflow: hidden; overflow: hidden;
flex-direction: row; flex-direction: row;
} }
.compare-bar-fill { .compare-bar-fill {
height: 100%; height: 100%;
border-radius: 999px; border-radius: 999rpx;
} }
.bg-blue-500 { .bg-blue-500 {
...@@ -114,10 +115,10 @@ const onSegmentedTabIndex = (v: number): void => { ...@@ -114,10 +115,10 @@ const onSegmentedTabIndex = (v: number): void => {
} }
.compare-value { .compare-value {
font-size: 12px; font-size: 24rpx;
font-weight: bold; font-weight: bold;
color: #1e293b; color: #1e293b;
width: 48px; width: 96rpx;
text-align: right; text-align: right;
} }
</style> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!