@@ -56,6 +56,7 @@ import { Elevator } from '@nutui/nutui-react'
56
56
57
57
| 屬性 | 說明 | 類型 | 默認值 |
58
58
| --- | --- | --- | --- |
59
+ | mode | 電梯結構展示模式 | ` horizontal ` \| ` vertical ` | ` horizontal ` |
59
60
| height | 電梯區域的高度 | ` number ` \| ` string ` | ` 200px ` |
60
61
| floorKey | 索引 key 值 | ` string ` | ` title ` |
61
62
| list | 索引列表 | ` Array(item 需包含 id、name 屬性, name 支持傳入 html 結構) ` | ` [{id: 0, name: ''}] ` |
@@ -79,30 +80,23 @@ import { Elevator } from '@nutui/nutui-react'
79
80
| \- -nutui-elevator-list-item-padding | 樓層區域列表項內邊距 | ` 0 36px 0 20px ` |
80
81
| \- -nutui-elevator-list-item-name-height | 樓層區域列表項高度 | ` 34px ` |
81
82
| \- -nutui-elevator-list-item-code-font-size | 樓層區域列表項標題字體大小 | ` $font-size-base ` |
82
- | \- -nutui-elevator-list-item-code-color | 樓層區域列表項標題顏色 | ` $color-title ` |
83
+ | \- -nutui-elevator-list-item-code-color | 樓層區域列表項標題顏色 | ` $color-text-help ` |
83
84
| \- -nutui-elevator-list-item-code-font-weight | 樓層區域列表項標題字體粗細 | ` $font-weight-bold ` |
84
- | \- -nutui-elevator-list-item-code-height | 樓層區域列表項標題高度 | ` 35px ` |
85
- | \- -nutui-elevator-list-item-code-line-height | 樓層區域列表項標題行高 | ` 35px ` |
85
+ | \- -nutui-elevator-list-item-code-height | 樓層區域列表項標題高度 | ` 34px ` |
86
86
| \- -nutui-elevator-list-item-code-border-bottom | 樓層區域列表項標題下邊框寬度 | ` 1px solid $color-border ` |
87
- | \- -nutui-elevator-list-item-code-background-color | 樓層區域列表項標題背景色 | ` inherit ` |
88
- | \- -nutui-elevator-list-item-code-current-bg-color | 電梯提示背景顏色 | ` #fff ` |
87
+ | \- -nutui-elevator-list-item-code-current-bg-color | 電梯提示背景顏色 | ` $color-text-disabled ` |
89
88
| \- -nutui-elevator-list-item-code-current-border-radius | 電梯提示圓角 | ` 50% ` |
90
89
| \- -nutui-elevator-list-item-code-current-width | 電梯提示寬度 | ` 45px ` |
91
90
| \- -nutui-elevator-list-item-code-current-height | 電梯提示高度 | ` 45px ` |
92
- | \- -nutui-elevator-list-item-code-current-line-height | 電梯提示行高 | ` 45px ` |
93
91
| \- -nutui-elevator-list-item-code-current-right | 電梯提示定位後右邊緣位置 | ` 60px ` |
94
92
| \- -nutui-elevator-list-item-code-current-top | 電梯提示定位後top邊緣位置 | ` 50% ` |
95
- | \- -nutui-elevator-list-item-code-current-text-align | 電梯提示文字對齊方式 | ` center ` |
96
- | \- -nutui-elevator-bars-right | 電梯樓層定位後右邊緣位置 | ` 10px ` |
93
+ | \- -nutui-elevator-bars-right | 電梯樓層定位後右邊緣位置 | ` 16px ` |
97
94
| \- -nutui-elevator-bars-top | 電梯樓層定位後頂部邊緣位置 | ` 50% ` |
98
95
| \- -nutui-elevator-bars-transform | 電梯樓層定位後滑動距離 | ` translateY(-50%) ` |
99
- | \- -nutui-elevator-bars-padding | 電梯樓層內邊距 | ` 15px 0 ` |
100
- | \- -nutui-elevator-bars-background-color | 電梯樓層背景顏色 | ` #eeeff2 ` |
101
- | \- -nutui-elevator-bars-border-radius | 電梯樓層圓角大小 | ` 6px ` |
102
- | \- -nutui-elevator-bars-active-color | 電梯樓層高亮文字顏色 | ` $color-primary ` |
96
+ | \- -nutui-elevator-bars-active-color | 電梯樓層高亮文字顏色 | ` white ` |
97
+ | \- -nutui-elevator-bars-color | 電梯樓層文字顏色 | ` $color-text-help ` |
103
98
| \- -nutui-elevator-bars-z-index | 電梯樓層層級 | ` 1 ` |
104
- | \- -nutui-elevator-bars-inner-item-padding | 電梯樓層標識項內邊距 | ` 3px ` |
105
- | \- -nutui-elevator-bars-font-size | 電梯樓層標識項字體大小 | ` 10px ` |
99
+ | \- -nutui-elevator-bars-font-size | 電梯樓層標識項字體大小 | ` $font-size-xxs ` |
106
100
| \- -nutui-elevator-list-fixed-color | 吸頂樓層文字顏色 | ` $color-primary ` |
107
101
| \- -nutui-elevator-list-fixed-bg-color | 吸頂樓層背景顏色 | ` $white ` |
108
102
| \- -nutui-elevator-list-fixed-box-shadow | 吸頂樓層陰影 | ` 0 0 10px #eee ` |
0 commit comments