@nutui/nutui 3.1.15 → 3.1.17-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -1
- package/dist/nutui.d.ts +3 -1
- package/dist/nutui.es.js +2037 -1005
- package/dist/nutui.umd.js +2043 -1006
- package/dist/packages/_es/ActionSheet.js +2 -2
- package/dist/packages/_es/Address.js +60 -7
- package/dist/packages/_es/Audio.js +289 -0
- package/dist/packages/_es/Avatar.js +1 -1
- package/dist/packages/_es/BackTop.js +1 -1
- package/dist/packages/_es/Badge.js +1 -1
- package/dist/packages/_es/Barrage.js +1 -1
- package/dist/packages/_es/Button.js +13 -4
- package/dist/packages/_es/Calendar.js +428 -209
- package/dist/packages/_es/Card.js +1 -2
- package/dist/packages/_es/Cascader.js +2 -2
- package/dist/packages/_es/Cell.js +1 -1
- package/dist/packages/_es/CellGroup.js +1 -1
- package/dist/packages/_es/Checkbox.js +2 -2
- package/dist/packages/_es/CheckboxGroup.js +1 -1
- package/dist/packages/_es/CircleProgress.js +1 -1
- package/dist/packages/_es/Col.js +1 -1
- package/dist/packages/_es/Collapse.js +1 -1
- package/dist/packages/_es/CollapseItem.js +1 -1
- package/dist/packages/_es/CountDown.js +1 -1
- package/dist/packages/_es/CountUp.js +1 -1
- package/dist/packages/_es/DatePicker.js +1 -3
- package/dist/packages/_es/Dialog.js +1 -1
- package/dist/packages/_es/Divider.js +1 -1
- package/dist/packages/_es/Drag.js +1 -1
- package/dist/packages/_es/Elevator.js +10 -5
- package/dist/packages/_es/Empty.js +1 -1
- package/dist/packages/_es/FixedNav.js +1 -1
- package/dist/packages/_es/Form.js +1 -1
- package/dist/packages/_es/FormItem.js +1 -1
- package/dist/packages/_es/Grid.js +1 -1
- package/dist/packages/_es/GridItem.js +1 -1
- package/dist/packages/_es/Icon.js +1 -1
- package/dist/packages/_es/ImagePreview.js +1 -3
- package/dist/packages/_es/Indicator.js +1 -1
- package/dist/packages/_es/InfiniteLoading.js +1 -1
- package/dist/packages/_es/Input.js +21 -11
- package/dist/packages/_es/InputNumber.js +1 -1
- package/dist/packages/_es/Layout.js +1 -1
- package/dist/packages/_es/Menu.js +2 -2
- package/dist/packages/_es/MenuItem.js +1 -1
- package/dist/packages/_es/Navbar.js +6 -32
- package/dist/packages/_es/NoticeBar.js +1 -4
- package/dist/packages/_es/Notify.js +1 -1
- package/dist/packages/_es/NumberKeyboard.js +1 -2
- package/dist/packages/_es/OverLay.js +1 -1
- package/dist/packages/_es/Pagination.js +1 -1
- package/dist/packages/_es/Picker.js +170 -189
- package/dist/packages/_es/Popover.js +1 -1
- package/dist/packages/_es/Popup.js +1 -1
- package/dist/packages/_es/Price.js +2 -2
- package/dist/packages/_es/Progress.js +24 -11
- package/dist/packages/_es/Radio.js +2 -2
- package/dist/packages/_es/RadioGroup.js +1 -1
- package/dist/packages/_es/Range.js +3 -3
- package/dist/packages/_es/Rate.js +1 -1
- package/dist/packages/_es/Row.js +1 -1
- package/dist/packages/_es/SearchBar.js +1 -1
- package/dist/packages/_es/ShortPassword.js +5 -2
- package/dist/packages/_es/SideNavBar.js +1 -1
- package/dist/packages/_es/SideNavBarItem.js +1 -1
- package/dist/packages/_es/Signature.js +1 -1
- package/dist/packages/_es/Skeleton.js +8 -6
- package/dist/packages/_es/Sku.js +1 -2
- package/dist/packages/_es/Step.js +1 -1
- package/dist/packages/_es/Steps.js +1 -1
- package/dist/packages/_es/Sticky.js +143 -0
- package/dist/packages/_es/SubSideNavBar.js +1 -1
- package/dist/packages/_es/Swipe.js +2 -2
- package/dist/packages/_es/Swiper.js +1 -1
- package/dist/packages/_es/SwiperItem.js +3 -8
- package/dist/packages/_es/Switch.js +2 -2
- package/dist/packages/_es/TabPane.js +1 -1
- package/dist/packages/_es/Tabbar.js +1 -1
- package/dist/packages/_es/TabbarItem.js +1 -1
- package/dist/packages/_es/Table.js +2 -2
- package/dist/packages/_es/Tabs.js +1 -1
- package/dist/packages/_es/Tag.js +1 -1
- package/dist/packages/_es/TextArea.js +1 -1
- package/dist/packages/_es/TimeDetail.js +1 -1
- package/dist/packages/_es/TimePannel.js +1 -1
- package/dist/packages/_es/TimeSelect.js +1 -1
- package/dist/packages/_es/Toast.js +1 -1
- package/dist/packages/_es/Uploader.js +6 -4
- package/dist/packages/_es/Video.js +1 -55
- package/dist/packages/_es/common.js +1 -1
- package/dist/packages/_es/component.js +1 -1
- package/dist/packages/_es/index.js +1 -1
- package/dist/packages/_es/index2.js +28 -56
- package/dist/packages/_es/index3.js +56 -28
- package/dist/packages/_es/plugin-vue_export-helper.js +1 -1
- package/dist/packages/_es/pxCheck.js +1 -1
- package/dist/packages/_es/raf.js +1 -1
- package/dist/packages/_es/util.js +1 -1
- package/dist/packages/address/index.scss +8 -0
- package/dist/packages/audio/index.scss +66 -0
- package/dist/packages/audiooperate/index.scss +13 -0
- package/dist/packages/button/index.scss +3 -0
- package/dist/packages/calendar/index.scss +47 -41
- package/dist/packages/calendaritem/index.scss +57 -42
- package/dist/packages/elevator/index.scss +3 -0
- package/dist/packages/icon/index.scss +2 -2
- package/dist/packages/infiniteloading/index.scss +1 -1
- package/dist/packages/input/index.scss +8 -3
- package/dist/packages/menuitem/index.scss +1 -1
- package/dist/packages/navbar/index.scss +8 -34
- package/dist/packages/picker/index.scss +73 -17
- package/dist/packages/range/index.scss +4 -4
- package/dist/packages/row/index.scss +3 -0
- package/dist/packages/sticky/index.scss +5 -0
- package/dist/packages/tabbar/index.scss +4 -2
- package/dist/style.css +1 -1
- package/dist/styles/font/config.json +6 -1
- package/dist/styles/font/demo_index.html +118 -3
- package/dist/styles/font/iconfont.css +23 -3
- package/dist/styles/font/iconfont.js +25 -24
- package/dist/styles/font/iconfont.json +35 -0
- package/dist/styles/font/iconfont.ttf +0 -0
- package/dist/styles/font/iconfont.woff +0 -0
- package/dist/styles/font/iconfont.woff2 +0 -0
- package/dist/styles/themes/default.scss +40 -37
- package/dist/styles/variables.scss +34 -31
- package/package.json +12 -13
|
@@ -2,52 +2,49 @@
|
|
|
2
2
|
position: relative;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex: 1;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
color: $calendar-base-color;
|
|
9
|
-
font-size: $calendar-base-font;
|
|
10
|
-
background-color: $white;
|
|
5
|
+
color: #333333;
|
|
6
|
+
font-size: 16px;
|
|
7
|
+
background-color: #fff;
|
|
11
8
|
overflow: hidden;
|
|
12
|
-
|
|
9
|
+
height: 100%;
|
|
10
|
+
flex-direction: column;
|
|
13
11
|
&.nut-calendar-tile {
|
|
14
|
-
height: 100%;
|
|
15
|
-
padding-top: 46px;
|
|
16
|
-
padding-bottom: 0;
|
|
17
|
-
|
|
18
12
|
.nut-calendar-header {
|
|
19
13
|
.calendar-title {
|
|
20
14
|
font-size: $calendar-base-font;
|
|
21
15
|
}
|
|
22
16
|
}
|
|
23
17
|
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
18
|
+
.nut-calendar-taro {
|
|
19
|
+
height: 60vh;
|
|
20
|
+
}
|
|
21
|
+
.popup-box {
|
|
22
|
+
height: 100%;
|
|
23
|
+
}
|
|
24
|
+
.nut-calendar-content {
|
|
25
|
+
overflow-y: auto;
|
|
26
|
+
}
|
|
27
|
+
::-webkit-scrollbar {
|
|
28
|
+
display: none;
|
|
27
29
|
}
|
|
28
30
|
|
|
29
31
|
// 头部导航
|
|
30
32
|
.nut-calendar-header {
|
|
31
|
-
position: absolute;
|
|
32
|
-
top: -1px;
|
|
33
|
-
left: 0;
|
|
34
|
-
right: 0;
|
|
35
33
|
display: flex;
|
|
36
34
|
flex-direction: column;
|
|
37
35
|
text-align: center;
|
|
38
36
|
padding-top: 1px;
|
|
39
37
|
background-color: $white;
|
|
40
|
-
z-index: 1;
|
|
41
38
|
|
|
42
39
|
.calendar-title {
|
|
43
|
-
padding-top: 22px;
|
|
44
40
|
font-size: $calendar-title-font;
|
|
45
|
-
line-height:
|
|
46
|
-
|
|
41
|
+
line-height: 44px;
|
|
42
|
+
}
|
|
43
|
+
.calendar-top-slot {
|
|
44
|
+
height: 24px;
|
|
47
45
|
}
|
|
48
|
-
|
|
49
46
|
.calendar-curr-month {
|
|
50
|
-
padding:
|
|
47
|
+
padding: 7px 0;
|
|
51
48
|
line-height: 22px;
|
|
52
49
|
}
|
|
53
50
|
|
|
@@ -55,7 +52,8 @@
|
|
|
55
52
|
display: flex;
|
|
56
53
|
align-items: center;
|
|
57
54
|
justify-content: space-around;
|
|
58
|
-
height:
|
|
55
|
+
height: 36px;
|
|
56
|
+
border-radius: 0px 0px 12px 12px;
|
|
59
57
|
box-shadow: 0px 4px 10px 0px rgba($color: #000000, $alpha: 0.06);
|
|
60
58
|
|
|
61
59
|
.calendar-week-item {
|
|
@@ -70,13 +68,17 @@
|
|
|
70
68
|
// 月份
|
|
71
69
|
.nut-calendar-content {
|
|
72
70
|
flex: 1;
|
|
73
|
-
|
|
71
|
+
width: 100%;
|
|
72
|
+
display: block;
|
|
74
73
|
.calendar-months-panel {
|
|
75
74
|
position: relative;
|
|
76
75
|
width: 100%;
|
|
77
76
|
height: auto;
|
|
78
77
|
display: block;
|
|
79
|
-
|
|
78
|
+
box-sizing: border-box;
|
|
79
|
+
.viewArea {
|
|
80
|
+
display: block;
|
|
81
|
+
}
|
|
80
82
|
.calendar-month {
|
|
81
83
|
display: flex;
|
|
82
84
|
flex-direction: column;
|
|
@@ -109,14 +111,12 @@
|
|
|
109
111
|
|
|
110
112
|
.calendar-month-con {
|
|
111
113
|
overflow: hidden;
|
|
112
|
-
|
|
113
114
|
.calendar-month-item {
|
|
114
115
|
.calendar-month-day:nth-child(7n + 0),
|
|
115
116
|
.calendar-month-day:nth-child(7n + 1) {
|
|
116
117
|
color: $calendar-primary-color;
|
|
117
118
|
}
|
|
118
119
|
}
|
|
119
|
-
|
|
120
120
|
.calendar-month-day {
|
|
121
121
|
float: left;
|
|
122
122
|
width: 14.28%;
|
|
@@ -127,24 +127,43 @@
|
|
|
127
127
|
flex-direction: column;
|
|
128
128
|
position: relative;
|
|
129
129
|
|
|
130
|
-
.calendar-curr-tips
|
|
130
|
+
.calendar-curr-tips {
|
|
131
|
+
position: absolute;
|
|
132
|
+
width: 100%;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.calendar-curr-tip-curr {
|
|
136
|
+
position: absolute;
|
|
137
|
+
bottom: 6px;
|
|
138
|
+
width: 100%;
|
|
139
|
+
font-size: 12px;
|
|
140
|
+
line-height: 14px;
|
|
141
|
+
}
|
|
131
142
|
.calendar-day-tip {
|
|
132
143
|
position: absolute;
|
|
133
|
-
|
|
144
|
+
bottom: 6px;
|
|
134
145
|
width: 100%;
|
|
135
|
-
font-size:
|
|
136
|
-
line-height:
|
|
146
|
+
font-size: 12px;
|
|
147
|
+
line-height: 14px;
|
|
137
148
|
color: $calendar-primary-color;
|
|
138
149
|
}
|
|
139
|
-
|
|
150
|
+
.calendar-curr-tips-top {
|
|
151
|
+
top: 6px;
|
|
152
|
+
}
|
|
153
|
+
.calendar-curr-tips-bottom {
|
|
154
|
+
bottom: 6px;
|
|
155
|
+
}
|
|
140
156
|
&-active {
|
|
141
157
|
background-color: $calendar-primary-color;
|
|
142
158
|
color: $white !important;
|
|
143
159
|
|
|
144
160
|
.calendar-curr-tips {
|
|
161
|
+
// color: $white !important;
|
|
162
|
+
visibility: hidden;
|
|
163
|
+
}
|
|
164
|
+
.calendar-curr-tip-curr {
|
|
145
165
|
visibility: hidden;
|
|
146
166
|
}
|
|
147
|
-
|
|
148
167
|
.calendar-day-tip {
|
|
149
168
|
color: $white;
|
|
150
169
|
}
|
|
@@ -159,7 +178,7 @@
|
|
|
159
178
|
}
|
|
160
179
|
|
|
161
180
|
.calendar-day {
|
|
162
|
-
padding:
|
|
181
|
+
padding: 2px 0;
|
|
163
182
|
font-size: $calendar-day-font;
|
|
164
183
|
}
|
|
165
184
|
}
|
|
@@ -169,19 +188,15 @@
|
|
|
169
188
|
|
|
170
189
|
// 底部导航
|
|
171
190
|
.nut-calendar-footer {
|
|
172
|
-
position: absolute;
|
|
173
|
-
left: 0;
|
|
174
|
-
right: 0;
|
|
175
|
-
bottom: -1px;
|
|
176
191
|
display: flex;
|
|
177
|
-
height:
|
|
192
|
+
height: 62px;
|
|
178
193
|
width: 100%;
|
|
179
194
|
background-color: $white;
|
|
180
195
|
|
|
181
196
|
.calendar-confirm-btn {
|
|
182
197
|
height: 44px;
|
|
183
198
|
width: 100%;
|
|
184
|
-
margin:
|
|
199
|
+
margin: 10px 18px;
|
|
185
200
|
border-radius: 22px;
|
|
186
201
|
background: $button-primary-background-color;
|
|
187
202
|
color: $white;
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
&-loading,
|
|
24
24
|
&-loading1 {
|
|
25
25
|
display: inline-block;
|
|
26
|
-
animation:
|
|
26
|
+
animation: rotation 1s infinite linear;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
--animate-duration: 1s;
|
|
30
|
-
--animate-delay:
|
|
30
|
+
--animate-delay: 0s;
|
|
31
31
|
|
|
32
32
|
&-am-infinite {
|
|
33
33
|
-webkit-animation-iteration-count: infinite;
|
|
@@ -4,10 +4,13 @@
|
|
|
4
4
|
padding: 10px 0px 10px 25px;
|
|
5
5
|
display: flex;
|
|
6
6
|
background: $white;
|
|
7
|
-
border-bottom: 1px solid $input-border-bottom;
|
|
8
7
|
font-size: $input-font-size;
|
|
9
8
|
box-sizing: border-box;
|
|
10
9
|
|
|
10
|
+
&.nut-input-border {
|
|
11
|
+
border-bottom: 1px solid $input-border-bottom;
|
|
12
|
+
}
|
|
13
|
+
|
|
11
14
|
&.nut-input-require {
|
|
12
15
|
&::before {
|
|
13
16
|
position: absolute;
|
|
@@ -17,11 +20,13 @@
|
|
|
17
20
|
}
|
|
18
21
|
}
|
|
19
22
|
|
|
20
|
-
.input-text
|
|
21
|
-
|
|
23
|
+
.input-text,
|
|
24
|
+
&__text--readonly {
|
|
25
|
+
width: 90%;
|
|
22
26
|
flex: 1;
|
|
23
27
|
padding: 0 10px;
|
|
24
28
|
padding-right: 35px;
|
|
29
|
+
text-align: left;
|
|
25
30
|
outline: 0 none;
|
|
26
31
|
border: 0;
|
|
27
32
|
text-decoration: none;
|
|
@@ -3,12 +3,14 @@
|
|
|
3
3
|
display: flex;
|
|
4
4
|
align-items: center;
|
|
5
5
|
height: 44px;
|
|
6
|
+
box-sizing: border-box;
|
|
6
7
|
padding: 13px 16px;
|
|
7
8
|
background: $white;
|
|
8
9
|
box-shadow: 0px 1px 7px 0px rgba(237, 238, 241, 1);
|
|
9
10
|
font-size: $cell-title-font;
|
|
10
11
|
color: $cell-color;
|
|
11
12
|
margin-bottom: 20px;
|
|
13
|
+
overflow: hidden;
|
|
12
14
|
&:active::before {
|
|
13
15
|
opacity: 0.1;
|
|
14
16
|
}
|
|
@@ -54,40 +56,12 @@
|
|
|
54
56
|
display: inline-block;
|
|
55
57
|
}
|
|
56
58
|
|
|
57
|
-
.
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
height: 50px;
|
|
64
|
-
display: flex;
|
|
65
|
-
flex: 1;
|
|
66
|
-
justify-content: center;
|
|
67
|
-
align-items: center;
|
|
68
|
-
box-sizing: border-box;
|
|
69
|
-
text-align: center;
|
|
70
|
-
font-size: 14px;
|
|
71
|
-
color: rgba(26, 26, 26, 1);
|
|
72
|
-
margin-left: 10px;
|
|
73
|
-
}
|
|
74
|
-
.nut-tab-active {
|
|
75
|
-
color: #1a1a1a;
|
|
76
|
-
font-weight: bold;
|
|
77
|
-
font-size: 16px;
|
|
78
|
-
position: relative;
|
|
79
|
-
&::after {
|
|
80
|
-
content: '';
|
|
81
|
-
position: absolute;
|
|
82
|
-
bottom: 7px;
|
|
83
|
-
left: 50%;
|
|
84
|
-
transform: translateX(-50%);
|
|
85
|
-
width: 12px;
|
|
86
|
-
height: 4px;
|
|
87
|
-
background-image: url('https://img12.360buyimg.com/imagetools/jfs/t1/127200/40/18747/536/5fb36b5aE61cac2d8/638032e8da9b93f4.png');
|
|
88
|
-
background-size: 100% 100%;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
59
|
+
.nut-tabs__titles {
|
|
60
|
+
background: $white;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.nut-tabpane {
|
|
64
|
+
display: none;
|
|
91
65
|
}
|
|
92
66
|
}
|
|
93
67
|
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
.nut-picker {
|
|
2
|
+
color: #f00;
|
|
3
|
+
|
|
4
|
+
view {
|
|
5
|
+
display: block;
|
|
6
|
+
}
|
|
2
7
|
&__content {
|
|
3
8
|
display: block;
|
|
4
9
|
position: relative;
|
|
@@ -8,31 +13,19 @@
|
|
|
8
13
|
cursor: grab;
|
|
9
14
|
}
|
|
10
15
|
}
|
|
11
|
-
|
|
12
|
-
position: absolute;
|
|
13
|
-
top: 0;
|
|
14
|
-
left: 0;
|
|
15
|
-
z-index: 1;
|
|
16
|
-
width: 100%;
|
|
17
|
-
height: 100%;
|
|
18
|
-
background-image: linear-gradient(180deg, hsla(0, 0%, 100%, 0.9), hsla(0, 0%, 100%, 0.4)),
|
|
19
|
-
linear-gradient(0deg, hsla(0, 0%, 100%, 0.9), hsla(0, 0%, 100%, 0.4));
|
|
20
|
-
background-repeat: no-repeat;
|
|
21
|
-
background-position: top, bottom;
|
|
22
|
-
-webkit-transform: translateZ(0);
|
|
23
|
-
transform: translateZ(0);
|
|
24
|
-
pointer-events: none;
|
|
25
|
-
}
|
|
16
|
+
|
|
26
17
|
&__bar {
|
|
27
18
|
display: flex;
|
|
28
19
|
height: 56px;
|
|
29
20
|
align-items: center;
|
|
30
21
|
justify-content: space-between;
|
|
31
|
-
padding: 15px;
|
|
22
|
+
padding: 0 15px;
|
|
23
|
+
font-size: 16px;
|
|
32
24
|
}
|
|
33
25
|
&__column {
|
|
34
26
|
display: flex;
|
|
35
27
|
position: relative;
|
|
28
|
+
height: 252px;
|
|
36
29
|
}
|
|
37
30
|
&__columnitem {
|
|
38
31
|
width: 0;
|
|
@@ -57,10 +50,73 @@
|
|
|
57
50
|
}
|
|
58
51
|
&__hairline {
|
|
59
52
|
position: absolute;
|
|
60
|
-
|
|
53
|
+
top: 108px;
|
|
54
|
+
height: 34px;
|
|
61
55
|
width: 100%;
|
|
62
56
|
border: 1px solid #d8d8d8;
|
|
63
57
|
border-left: 0;
|
|
64
58
|
border-right: 0;
|
|
65
59
|
}
|
|
60
|
+
|
|
61
|
+
&__list {
|
|
62
|
+
position: relative;
|
|
63
|
+
display: block;
|
|
64
|
+
width: 100%;
|
|
65
|
+
height: 252px;
|
|
66
|
+
overflow: hidden;
|
|
67
|
+
text-align: center;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&-roller {
|
|
71
|
+
display: block;
|
|
72
|
+
position: absolute;
|
|
73
|
+
top: 108px;
|
|
74
|
+
width: 100%;
|
|
75
|
+
height: 36px;
|
|
76
|
+
z-index: 1;
|
|
77
|
+
transform-style: preserve-3d;
|
|
78
|
+
|
|
79
|
+
&-item {
|
|
80
|
+
display: block;
|
|
81
|
+
backface-visibility: hidden;
|
|
82
|
+
position: absolute;
|
|
83
|
+
top: 0;
|
|
84
|
+
width: 100%;
|
|
85
|
+
height: 36px;
|
|
86
|
+
line-height: 36px;
|
|
87
|
+
color: #808080;
|
|
88
|
+
font-size: 16px;
|
|
89
|
+
|
|
90
|
+
&-hidden {
|
|
91
|
+
visibility: hidden;
|
|
92
|
+
opacity: 0;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&-content {
|
|
98
|
+
display: block;
|
|
99
|
+
position: absolute;
|
|
100
|
+
top: 108px;
|
|
101
|
+
width: 100%;
|
|
102
|
+
height: 36px;
|
|
103
|
+
z-index: 2;
|
|
104
|
+
overflow: hidden;
|
|
105
|
+
border-left: 0;
|
|
106
|
+
border-right: 0;
|
|
107
|
+
}
|
|
108
|
+
&-list-panel {
|
|
109
|
+
display: block;
|
|
110
|
+
transform-style: preserve-3d;
|
|
111
|
+
}
|
|
112
|
+
&-item {
|
|
113
|
+
display: block;
|
|
114
|
+
white-space: nowrap;
|
|
115
|
+
overflow: hidden;
|
|
116
|
+
text-overflow: ellipsis;
|
|
117
|
+
height: 36px;
|
|
118
|
+
line-height: 36px;
|
|
119
|
+
text-align: center;
|
|
120
|
+
font-size: 16px;
|
|
121
|
+
}
|
|
66
122
|
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
.min,
|
|
8
8
|
.max {
|
|
9
9
|
font-size: $font-size-1;
|
|
10
|
-
color: $range-
|
|
10
|
+
color: $range-tip-font-color;
|
|
11
11
|
user-select: none;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
position: relative;
|
|
17
17
|
width: 100%;
|
|
18
18
|
height: 3px;
|
|
19
|
-
background-color: $
|
|
19
|
+
background-color: $range-bg-color;
|
|
20
20
|
border-radius: 2px;
|
|
21
21
|
cursor: pointer;
|
|
22
22
|
&::before {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
position: relative;
|
|
34
34
|
width: 100%;
|
|
35
35
|
height: 100%;
|
|
36
|
-
background: $
|
|
36
|
+
background: $range-bar-bg-color;
|
|
37
37
|
border-radius: inherit;
|
|
38
38
|
transition: all 0.2s;
|
|
39
39
|
}
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
justify-content: center;
|
|
76
76
|
user-select: none;
|
|
77
77
|
font-size: $font-size-1;
|
|
78
|
-
color: $range-
|
|
78
|
+
color: $range-tip-font-color;
|
|
79
79
|
transform: translate3d(0, -100%, 0);
|
|
80
80
|
}
|
|
81
81
|
}
|
|
@@ -11,14 +11,16 @@
|
|
|
11
11
|
&:last-child {
|
|
12
12
|
border-right: 0;
|
|
13
13
|
}
|
|
14
|
+
|
|
14
15
|
&-bottom {
|
|
15
16
|
position: fixed;
|
|
16
17
|
bottom: 0px;
|
|
17
18
|
left: 0px;
|
|
18
19
|
z-index: 888;
|
|
19
20
|
}
|
|
21
|
+
|
|
20
22
|
&-safebottom {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
+
margin-bottom: constant(safe-area-inset-bottom);
|
|
24
|
+
margin-bottom: env(safe-area-inset-bottom);
|
|
23
25
|
}
|
|
24
26
|
}
|