Commit 12670470 by Lin

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

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