@nutui/nutui 3.1.15-beta.0 → 3.1.16
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 +57 -0
- package/README.md +3 -3
- package/dist/nutui.d.ts +8 -5
- package/dist/nutui.es.js +826 -644
- package/dist/nutui.umd.js +832 -647
- package/dist/packages/_es/ActionSheet.js +1 -1
- package/dist/packages/_es/Address.js +2 -4
- 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 +1 -1
- package/dist/packages/_es/Calendar.js +1 -1
- package/dist/packages/_es/Card.js +1 -1
- package/dist/packages/_es/Cascader.js +1 -1
- package/dist/packages/_es/Cell.js +1 -1
- package/dist/packages/_es/CellGroup.js +1 -1
- package/dist/packages/_es/Checkbox.js +1 -1
- 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 +11 -3
- package/dist/packages/_es/CountDown.js +1 -1
- package/dist/packages/_es/CountUp.js +1 -1
- package/dist/packages/_es/DatePicker.js +2 -4
- 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 +1 -1
- package/dist/packages/_es/Empty.js +1 -1
- package/dist/packages/_es/FixedNav.js +1 -1
- package/dist/packages/_es/Form.js +9 -6
- 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 -1
- package/dist/packages/_es/Indicator.js +1 -1
- package/dist/packages/_es/InfiniteLoading.js +1 -1
- package/dist/packages/_es/Input.js +15 -10
- package/dist/packages/_es/InputNumber.js +2 -2
- package/dist/packages/_es/Layout.js +1 -1
- package/dist/packages/_es/Menu.js +3 -3
- package/dist/packages/_es/MenuItem.js +1 -1
- package/dist/packages/_es/Navbar.js +6 -32
- package/dist/packages/_es/NoticeBar.js +2 -2
- package/dist/packages/_es/Notify.js +1 -1
- package/dist/packages/_es/NumberKeyboard.js +1 -1
- 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 +8 -4
- package/dist/packages/_es/Price.js +2 -2
- package/dist/packages/_es/Progress.js +1 -1
- package/dist/packages/_es/Radio.js +1 -1
- package/dist/packages/_es/RadioGroup.js +1 -1
- package/dist/packages/_es/Range.js +2 -2
- 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 +1 -1
- package/dist/packages/_es/SideNavBar.js +104 -0
- package/dist/packages/_es/SideNavBarItem.js +50 -0
- package/dist/packages/_es/Signature.js +1 -1
- package/dist/packages/_es/Skeleton.js +1 -1
- 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/SubSideNavBar.js +104 -0
- package/dist/packages/_es/Swipe.js +1 -1
- package/dist/packages/_es/Swiper.js +1 -1
- package/dist/packages/_es/SwiperItem.js +1 -1
- package/dist/packages/_es/Switch.js +1 -1
- package/dist/packages/_es/TabPane.js +1 -1
- package/dist/packages/_es/Tabbar.js +6 -2
- package/dist/packages/_es/TabbarItem.js +1 -1
- package/dist/packages/_es/Table.js +9 -3
- package/dist/packages/_es/Tabs.js +1 -1
- package/dist/packages/_es/Tag.js +1 -1
- package/dist/packages/_es/TextArea.js +9 -4
- 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 -1
- 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 +1 -1
- package/dist/packages/_es/index3.js +1 -1
- 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/actionsheet/index.scss +2 -2
- package/dist/packages/address/index.scss +2 -0
- package/dist/packages/button/index.scss +3 -0
- package/dist/packages/cascader/index.scss +13 -13
- package/dist/packages/icon/index.scss +101 -11
- package/dist/packages/input/index.scss +4 -1
- package/dist/packages/menu/index.scss +10 -6
- package/dist/packages/menuitem/index.scss +9 -8
- package/dist/packages/navbar/index.scss +8 -34
- package/dist/packages/noticebar/index.scss +11 -11
- package/dist/packages/picker/index.scss +74 -22
- package/dist/packages/progress/index.scss +2 -8
- package/dist/packages/shortpassword/index.scss +6 -6
- package/dist/packages/sidenavbar/index.scss +14 -0
- package/dist/packages/sidenavbaritem/index.scss +10 -0
- package/dist/packages/sku/index.scss +1 -1
- package/dist/packages/subsidenavbar/index.scss +39 -0
- package/dist/packages/tabbar/index.scss +5 -1
- package/dist/packages/textarea/index.scss +1 -1
- package/dist/style.css +1 -1
- package/dist/styles/animation/icon.scss +245 -0
- package/dist/styles/animation/index.scss +1 -0
- package/dist/styles/font/config.json +36 -0
- package/dist/styles/font/demo_index.html +26 -3
- package/dist/styles/font/iconfont.css +7 -3
- package/dist/styles/font/iconfont.js +1 -1
- package/dist/styles/font/iconfont.json +7 -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 +41 -38
- package/dist/styles/themes/jdd.scss +2 -0
- package/dist/styles/variables.scss +72 -68
- package/package.json +7 -3
package/dist/packages/_es/raf.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
margin: 0;
|
|
7
7
|
text-align: center;
|
|
8
8
|
background-color: $white;
|
|
9
|
-
border-bottom: 1px solid $light-color;
|
|
9
|
+
border-bottom: 1px solid $actionsheet-light-color;
|
|
10
10
|
font-size: $font-size-base;
|
|
11
11
|
color: $title-color;
|
|
12
12
|
}
|
|
@@ -63,6 +63,6 @@
|
|
|
63
63
|
|
|
64
64
|
.nut-actionsheet-cancel {
|
|
65
65
|
margin-top: 5px;
|
|
66
|
-
border-top: 1px solid $light-color;
|
|
66
|
+
border-top: 1px solid $actionsheet-light-color;
|
|
67
67
|
}
|
|
68
68
|
}
|
|
@@ -80,6 +80,7 @@
|
|
|
80
80
|
|
|
81
81
|
.region-item-icon {
|
|
82
82
|
margin-right: 6px;
|
|
83
|
+
color: $address-icon-color !important;
|
|
83
84
|
}
|
|
84
85
|
}
|
|
85
86
|
}
|
|
@@ -115,6 +116,7 @@
|
|
|
115
116
|
}
|
|
116
117
|
.exist-item-icon {
|
|
117
118
|
margin-right: 9px;
|
|
119
|
+
color: $address-icon-color !important;
|
|
118
120
|
}
|
|
119
121
|
span {
|
|
120
122
|
display: inline-block;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.nut-cascader {
|
|
2
2
|
width: 100%;
|
|
3
|
-
font-size: $
|
|
4
|
-
line-height: $
|
|
3
|
+
font-size: $cascader-font-size;
|
|
4
|
+
line-height: $cascader-line-height;
|
|
5
5
|
|
|
6
6
|
.nut-tabpane {
|
|
7
7
|
padding: 0;
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
.nut-tabs__titles-item {
|
|
11
11
|
flex: initial;
|
|
12
12
|
min-width: auto;
|
|
13
|
-
padding: $
|
|
13
|
+
padding: $cascader-tabs-item-padding;
|
|
14
14
|
white-space: nowrap;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
.nut-tabs__titles {
|
|
18
|
-
padding: $
|
|
18
|
+
padding: $cascader-tabs-item-padding;
|
|
19
19
|
background: #fff;
|
|
20
20
|
}
|
|
21
21
|
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
display: flex;
|
|
24
24
|
justify-content: center;
|
|
25
25
|
align-items: center;
|
|
26
|
-
padding: $
|
|
26
|
+
padding: $cascader-bar-padding;
|
|
27
27
|
text-align: center;
|
|
28
28
|
font-weight: bold;
|
|
29
|
-
line-height: $
|
|
30
|
-
color: $
|
|
31
|
-
font-size: $
|
|
29
|
+
line-height: $cascader-bar-line-height;
|
|
30
|
+
color: $cascader-bar-color;
|
|
31
|
+
font-size: $cascader-bar-font-size;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
&-pane {
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
&-item {
|
|
46
46
|
display: flex;
|
|
47
47
|
align-items: center;
|
|
48
|
-
padding: $
|
|
48
|
+
padding: $cascader-item-padding;
|
|
49
49
|
margin: 0;
|
|
50
50
|
cursor: pointer;
|
|
51
|
-
font-size: $
|
|
52
|
-
color: $
|
|
51
|
+
font-size: $cascader-item-font-size;
|
|
52
|
+
color: $cascader-item-color;
|
|
53
53
|
|
|
54
54
|
&__title {
|
|
55
55
|
flex: 1;
|
|
@@ -65,12 +65,12 @@
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
&.active:not(.disabled) {
|
|
68
|
-
color: $
|
|
68
|
+
color: $cascader-item-active-color;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
&.active &__icon-check {
|
|
72
72
|
visibility: visible;
|
|
73
|
-
color: $
|
|
73
|
+
color: $cascader-item-active-color;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
&.disabled {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@import '../../styles/font/iconfont.css';
|
|
2
|
+
|
|
2
3
|
.nut-icon {
|
|
3
4
|
display: inline-block;
|
|
4
5
|
position: relative;
|
|
@@ -22,20 +23,109 @@
|
|
|
22
23
|
&-loading,
|
|
23
24
|
&-loading1 {
|
|
24
25
|
display: inline-block;
|
|
25
|
-
animation:
|
|
26
|
+
animation: rotation 1s infinite linear;
|
|
26
27
|
}
|
|
27
|
-
}
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
--animate-duration: 1s;
|
|
30
|
+
--animate-delay: 0s;
|
|
31
|
+
|
|
32
|
+
&-am-infinite {
|
|
33
|
+
-webkit-animation-iteration-count: infinite;
|
|
34
|
+
-webkit-animation-direction: alternate;
|
|
35
|
+
animation-iteration-count: infinite;
|
|
36
|
+
animation-direction: alternate;
|
|
33
37
|
}
|
|
34
|
-
|
|
38
|
+
&-am-jump {
|
|
39
|
+
-webkit-animation-name: nutJumpOne;
|
|
40
|
+
-webkit-animation-duration: var(--animate-duration);
|
|
41
|
+
-webkit-animation-timing-function: ease;
|
|
42
|
+
-webkit-animation-delay: var(--animate-delay);
|
|
43
|
+
|
|
44
|
+
animation-name: nutJumpOne;
|
|
45
|
+
animation-duration: var(--animate-duration);
|
|
46
|
+
animation-timing-function: ease;
|
|
47
|
+
animation-delay: var(--animate-delay);
|
|
48
|
+
|
|
49
|
+
&.nut-icon-am-infinite {
|
|
50
|
+
-webkit-animation-name: nutJump;
|
|
51
|
+
animation-name: nutJump;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&-am-rotate {
|
|
56
|
+
-webkit-animation-name: rotation;
|
|
57
|
+
-webkit-animation-duration: var(--animate-duration);
|
|
58
|
+
-webkit-animation-timing-function: linear;
|
|
59
|
+
-webkit-animation-delay: var(--animate-delay);
|
|
60
|
+
|
|
61
|
+
animation-name: rotation;
|
|
62
|
+
animation-duration: var(--animate-duration);
|
|
63
|
+
animation-timing-function: linear;
|
|
64
|
+
animation-delay: var(--animate-delay);
|
|
65
|
+
|
|
66
|
+
&.nut-icon-am-infinite {
|
|
67
|
+
-webkit-animation-direction: normal;
|
|
68
|
+
animation-direction: normal;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
&-am-blink {
|
|
72
|
+
-webkit-animation-name: nutBlink;
|
|
73
|
+
-webkit-animation-duration: var(--animate-duration);
|
|
74
|
+
-webkit-animation-timing-function: ease-in-out;
|
|
75
|
+
-webkit-animation-delay: var(--animate-delay);
|
|
76
|
+
|
|
77
|
+
animation-name: nutBlink;
|
|
78
|
+
animation-duration: var(--animate-duration);
|
|
79
|
+
animation-timing-function: linear;
|
|
80
|
+
animation-delay: var(--animate-delay);
|
|
81
|
+
}
|
|
82
|
+
&-am-breathe {
|
|
83
|
+
-webkit-animation-name: nutBreathe;
|
|
84
|
+
-webkit-animation-duration: var(--animate-duration);
|
|
85
|
+
-webkit-animation-timing-function: ease-in-out;
|
|
86
|
+
-webkit-animation-delay: var(--animate-delay);
|
|
87
|
+
|
|
88
|
+
animation-name: nutBreathe;
|
|
89
|
+
animation-duration: var(--animate-duration);
|
|
90
|
+
animation-timing-function: ease-in-out;
|
|
91
|
+
animation-delay: var(--animate-delay);
|
|
92
|
+
}
|
|
93
|
+
&-am-flash {
|
|
94
|
+
-webkit-animation-name: nutFlash;
|
|
95
|
+
-webkit-animation-duration: var(--animate-duration);
|
|
96
|
+
-webkit-animation-timing-function: ease-in-out;
|
|
97
|
+
-webkit-animation-delay: var(--animate-delay);
|
|
98
|
+
|
|
99
|
+
animation-name: nutFlash;
|
|
100
|
+
animation-duration: var(--animate-duration);
|
|
101
|
+
animation-timing-function: ease-in-out;
|
|
102
|
+
animation-delay: var(--animate-delay);
|
|
103
|
+
}
|
|
104
|
+
&-am-bounce {
|
|
105
|
+
-webkit-animation-name: nutBounce;
|
|
106
|
+
-webkit-animation-duration: var(--animate-duration);
|
|
107
|
+
-webkit-animation-timing-function: ease-in-out;
|
|
108
|
+
-webkit-animation-delay: var(--animate-delay);
|
|
109
|
+
animation-name: nutBounce;
|
|
110
|
+
animation-duration: var(--animate-duration);
|
|
111
|
+
animation-timing-function: ease-in-out;
|
|
112
|
+
animation-delay: var(--animate-delay);
|
|
113
|
+
|
|
114
|
+
&.nut-icon-am-infinite {
|
|
115
|
+
-webkit-animation-direction: normal;
|
|
116
|
+
animation-direction: normal;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&-am-shake {
|
|
121
|
+
-webkit-animation-name: nutShake;
|
|
122
|
+
-webkit-animation-duration: var(--animate-duration);
|
|
123
|
+
-webkit-animation-timing-function: ease-in-out;
|
|
124
|
+
-webkit-animation-delay: var(--animate-delay);
|
|
35
125
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
-
|
|
39
|
-
|
|
126
|
+
animation-name: nutShake;
|
|
127
|
+
animation-duration: var(--animate-duration);
|
|
128
|
+
animation-timing-function: ease-in-out;
|
|
129
|
+
animation-delay: var(--animate-delay);
|
|
40
130
|
}
|
|
41
131
|
}
|
|
@@ -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;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
.nut-menu__bar {
|
|
2
2
|
position: relative;
|
|
3
3
|
display: flex;
|
|
4
|
-
line-height: $
|
|
4
|
+
line-height: $menu-bar-line-height;
|
|
5
5
|
background-color: $white;
|
|
6
|
-
border-bottom: 1px solid $
|
|
6
|
+
border-bottom: 1px solid $menu-bar-border-bottom-color;
|
|
7
7
|
|
|
8
8
|
&.opened {
|
|
9
|
-
z-index: $
|
|
9
|
+
z-index: $menu-bar-opened-z-index;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.nut-menu__item {
|
|
@@ -16,8 +16,12 @@
|
|
|
16
16
|
color: $title-color;
|
|
17
17
|
min-width: 0;
|
|
18
18
|
|
|
19
|
+
&.active {
|
|
20
|
+
color: $menu-item-active-text-color;
|
|
21
|
+
}
|
|
22
|
+
|
|
19
23
|
&.disabled {
|
|
20
|
-
color: $
|
|
24
|
+
color: $menu-item-disabled-color;
|
|
21
25
|
}
|
|
22
26
|
|
|
23
27
|
.nut-menu__title-icon {
|
|
@@ -33,8 +37,8 @@
|
|
|
33
37
|
.nut-menu__title-text {
|
|
34
38
|
@include text-ellipsis;
|
|
35
39
|
display: block;
|
|
36
|
-
padding-left: $
|
|
37
|
-
padding-right: $
|
|
40
|
+
padding-left: $menu-title-text-padding-left;
|
|
41
|
+
padding-right: $menu-title-text-padding-right;
|
|
38
42
|
}
|
|
39
43
|
|
|
40
44
|
&.active .nut-menu__title-icon {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
.nut-menu-item {
|
|
2
2
|
.active {
|
|
3
3
|
font-weight: 500;
|
|
4
|
+
color: $menu-item-active-text-color !important;
|
|
4
5
|
}
|
|
5
6
|
}
|
|
6
7
|
|
|
7
8
|
.nut-menu-item__content {
|
|
8
|
-
padding: $
|
|
9
|
-
max-height: $
|
|
9
|
+
padding: $menu-item-content-padding;
|
|
10
|
+
max-height: $menu-item-content-max-height;
|
|
10
11
|
overflow-y: auto;
|
|
11
12
|
display: flex;
|
|
12
13
|
flex-wrap: wrap;
|
|
@@ -14,13 +15,13 @@
|
|
|
14
15
|
.nut-menu-item__option {
|
|
15
16
|
color: $title-color;
|
|
16
17
|
font-size: $font-size-2;
|
|
17
|
-
padding-top: $
|
|
18
|
-
padding-bottom: $
|
|
18
|
+
padding-top: $menu-item-option-padding-top;
|
|
19
|
+
padding-bottom: $menu-item-option-padding-bottom;
|
|
19
20
|
display: flex;
|
|
20
21
|
align-items: center;
|
|
21
22
|
|
|
22
23
|
i {
|
|
23
|
-
margin-right: $
|
|
24
|
+
margin-right: $menu-item-option-i-margin-right;
|
|
24
25
|
}
|
|
25
26
|
}
|
|
26
27
|
}
|
|
@@ -33,14 +34,14 @@
|
|
|
33
34
|
.nut-menu__pop {
|
|
34
35
|
transition: all 0 ease 0;
|
|
35
36
|
transform: none;
|
|
36
|
-
top: auto !important;
|
|
37
|
+
// top: auto !important;
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
.placeholder-element {
|
|
40
41
|
position: fixed;
|
|
41
|
-
top: -$
|
|
42
|
+
top: -$menu-bar-line-height;
|
|
42
43
|
left: 0;
|
|
43
44
|
right: 0;
|
|
44
|
-
z-index: $
|
|
45
|
+
z-index: $menu-bar-opened-z-index;
|
|
45
46
|
background-color: transparent;
|
|
46
47
|
}
|
|
@@ -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,8 +1,8 @@
|
|
|
1
1
|
.nut-noticebar-page {
|
|
2
2
|
width: 100%;
|
|
3
3
|
display: flex;
|
|
4
|
-
height: $
|
|
5
|
-
font-size: $
|
|
4
|
+
height: $noticebar-height;
|
|
5
|
+
font-size: $noticebar-font-size;
|
|
6
6
|
position: relative;
|
|
7
7
|
align-items: center;
|
|
8
8
|
&.wrapable {
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
padding-right: 40px;
|
|
24
24
|
}
|
|
25
25
|
.left-icon {
|
|
26
|
-
height: $
|
|
27
|
-
min-width: $
|
|
26
|
+
height: $noticebar-left-icon-width;
|
|
27
|
+
min-width: $noticebar-left-icon-width;
|
|
28
28
|
margin: 0 5px 0 10px;
|
|
29
29
|
background-size: 100% 100%;
|
|
30
30
|
}
|
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
display: flex;
|
|
33
33
|
align-items: center;
|
|
34
34
|
justify-content: center;
|
|
35
|
-
width: $
|
|
35
|
+
width: $noticebar-right-icon-width;
|
|
36
36
|
margin: 0 10px 0 5px;
|
|
37
37
|
}
|
|
38
38
|
.wrap {
|
|
39
39
|
flex: 1;
|
|
40
|
-
height: $
|
|
41
|
-
line-height: $
|
|
40
|
+
height: $noticebar-line-height;
|
|
41
|
+
line-height: $noticebar-line-height;
|
|
42
42
|
overflow: hidden;
|
|
43
43
|
position: relative;
|
|
44
44
|
}
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
// 垂直方向的滚动
|
|
79
79
|
@keyframes nut-notice-bar-play-vertical {
|
|
80
80
|
to {
|
|
81
|
-
transform: translateY($
|
|
81
|
+
transform: translateY($noticebar-height);
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
|
|
@@ -87,8 +87,8 @@
|
|
|
87
87
|
position: relative;
|
|
88
88
|
display: flex;
|
|
89
89
|
justify-content: space-between;
|
|
90
|
-
height: $
|
|
91
|
-
font-size: $
|
|
90
|
+
height: $noticebar-height;
|
|
91
|
+
font-size: $noticebar-font-size;
|
|
92
92
|
overflow: hidden;
|
|
93
93
|
|
|
94
94
|
.horseLamp_list {
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
.horseLamp_list_item {
|
|
100
100
|
display: flex;
|
|
101
101
|
align-items: center;
|
|
102
|
-
height: $
|
|
102
|
+
height: $noticebar-height;
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
|
|
@@ -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,35 +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(
|
|
19
|
-
180deg,
|
|
20
|
-
hsla(0, 0%, 100%, 0.9),
|
|
21
|
-
hsla(0, 0%, 100%, 0.4)
|
|
22
|
-
),
|
|
23
|
-
linear-gradient(0deg, hsla(0, 0%, 100%, 0.9), hsla(0, 0%, 100%, 0.4));
|
|
24
|
-
background-repeat: no-repeat;
|
|
25
|
-
background-position: top, bottom;
|
|
26
|
-
-webkit-transform: translateZ(0);
|
|
27
|
-
transform: translateZ(0);
|
|
28
|
-
pointer-events: none;
|
|
29
|
-
}
|
|
16
|
+
|
|
30
17
|
&__bar {
|
|
31
18
|
display: flex;
|
|
32
19
|
height: 56px;
|
|
33
20
|
align-items: center;
|
|
34
21
|
justify-content: space-between;
|
|
35
|
-
padding: 15px;
|
|
22
|
+
padding: 0 15px;
|
|
23
|
+
font-size: 16px;
|
|
36
24
|
}
|
|
37
25
|
&__column {
|
|
38
26
|
display: flex;
|
|
39
27
|
position: relative;
|
|
28
|
+
height: 252px;
|
|
40
29
|
}
|
|
41
30
|
&__columnitem {
|
|
42
31
|
width: 0;
|
|
@@ -44,7 +33,7 @@
|
|
|
44
33
|
height: 100%;
|
|
45
34
|
}
|
|
46
35
|
&__left {
|
|
47
|
-
color:
|
|
36
|
+
color: $picker-cancel-color;
|
|
48
37
|
font-size: 16px;
|
|
49
38
|
}
|
|
50
39
|
&__button {
|
|
@@ -61,10 +50,73 @@
|
|
|
61
50
|
}
|
|
62
51
|
&__hairline {
|
|
63
52
|
position: absolute;
|
|
64
|
-
|
|
53
|
+
top: 108px;
|
|
54
|
+
height: 34px;
|
|
65
55
|
width: 100%;
|
|
66
56
|
border: 1px solid #d8d8d8;
|
|
67
57
|
border-left: 0;
|
|
68
58
|
border-right: 0;
|
|
69
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
|
+
}
|
|
70
122
|
}
|
|
@@ -11,13 +11,7 @@
|
|
|
11
11
|
width: 30%;
|
|
12
12
|
height: 100%;
|
|
13
13
|
border-radius: 12px;
|
|
14
|
-
background:
|
|
15
|
-
268deg,
|
|
16
|
-
rgba(250, 44, 25, 1) 0%,
|
|
17
|
-
rgba(250, 63, 25, 1) 44.59259259%,
|
|
18
|
-
rgba(250, 89, 25, 1) 83.40740741%,
|
|
19
|
-
rgba(250, 100, 25, 1) 100%
|
|
20
|
-
);
|
|
14
|
+
background: $progress-inner-background-color;
|
|
21
15
|
-webkit-transition: all 0.4s;
|
|
22
16
|
transition: all 0.4s;
|
|
23
17
|
position: relative;
|
|
@@ -89,7 +83,7 @@
|
|
|
89
83
|
}
|
|
90
84
|
.nut-progress-insidetext {
|
|
91
85
|
padding: 3px 5px 3px 6px;
|
|
92
|
-
background:
|
|
86
|
+
background: $progress-insidetext-background;
|
|
93
87
|
border-radius: 5px;
|
|
94
88
|
position: absolute;
|
|
95
89
|
transition: all 0.4s;
|