@nutui/nutui 3.1.13 → 3.1.15
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 +39 -1
- package/README.md +3 -3
- package/dist/nutui.d.ts +8 -5
- package/dist/nutui.es.js +727 -413
- package/dist/nutui.umd.js +733 -416
- 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 -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 +1 -1
- package/dist/packages/_es/Empty.js +1 -1
- package/dist/packages/_es/FixedNav.js +1 -1
- package/dist/packages/_es/Form.js +10 -7
- 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 +104 -10
- package/dist/packages/_es/Indicator.js +1 -1
- package/dist/packages/_es/InfiniteLoading.js +1 -1
- package/dist/packages/_es/Input.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/packages/_es/Popover.js +1 -1
- package/dist/packages/_es/Popup.js +8 -4
- package/dist/packages/_es/Price.js +1 -1
- 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 -1
- 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 +1 -1
- 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/cascader/index.scss +13 -13
- package/dist/packages/icon/index.scss +101 -11
- package/dist/packages/imagepreview/index.scss +1 -0
- package/dist/packages/menu/index.scss +10 -6
- package/dist/packages/menuitem/index.scss +8 -7
- package/dist/packages/noticebar/index.scss +11 -11
- package/dist/packages/picker/index.scss +2 -6
- 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 +47 -44
- package/dist/styles/themes/jdd.scss +2 -0
- package/dist/styles/variables.scss +72 -68
- package/package.json +7 -3
- package/dist/styles/.DS_Store +0 -0
|
@@ -19,7 +19,7 @@ var __publicField = (obj, key, value) => {
|
|
|
19
19
|
return value;
|
|
20
20
|
};
|
|
21
21
|
/*!
|
|
22
|
-
* @nutui/nutui v3.1.
|
|
22
|
+
* @nutui/nutui v3.1.15 Fri Jan 21 2022 15:38:52 GMT+0800 (GMT+08:00)
|
|
23
23
|
* (c) 2021 @jdf2e.
|
|
24
24
|
* Released under the MIT License.
|
|
25
25
|
*/
|
package/dist/packages/_es/Tag.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
2
|
+
* @nutui/nutui v3.1.15 Fri Jan 21 2022 15:38:52 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2021 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -44,6 +44,10 @@ const _sfc_main = create({
|
|
|
44
44
|
autosize: {
|
|
45
45
|
type: Boolean,
|
|
46
46
|
default: false
|
|
47
|
+
},
|
|
48
|
+
autofocus: {
|
|
49
|
+
type: Boolean,
|
|
50
|
+
default: false
|
|
47
51
|
}
|
|
48
52
|
},
|
|
49
53
|
emits: ["update:modelValue", "change", "blur", "focus"],
|
|
@@ -65,8 +69,8 @@ const _sfc_main = create({
|
|
|
65
69
|
if (props.maxLength && value.length > Number(props.maxLength)) {
|
|
66
70
|
value = value.substring(0, Number(props.maxLength));
|
|
67
71
|
}
|
|
68
|
-
emit("change", value, event);
|
|
69
72
|
emit("update:modelValue", value, event);
|
|
73
|
+
emit("change", value, event);
|
|
70
74
|
};
|
|
71
75
|
const change = (event) => {
|
|
72
76
|
const input = event.target;
|
|
@@ -98,7 +102,7 @@ const _sfc_main = create({
|
|
|
98
102
|
};
|
|
99
103
|
}
|
|
100
104
|
});
|
|
101
|
-
const _hoisted_1 = ["rows", "disabled", "readonly", "value", "maxlength", "placeholder"];
|
|
105
|
+
const _hoisted_1 = ["rows", "disabled", "readonly", "value", "maxlength", "placeholder", "autofocus"];
|
|
102
106
|
const _hoisted_2 = {
|
|
103
107
|
key: 0,
|
|
104
108
|
class: "nut-textarea__limit"
|
|
@@ -118,7 +122,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
118
122
|
onBlur: _cache[1] || (_cache[1] = (...args) => _ctx.blur && _ctx.blur(...args)),
|
|
119
123
|
onFocus: _cache[2] || (_cache[2] = (...args) => _ctx.focus && _ctx.focus(...args)),
|
|
120
124
|
maxlength: _ctx.maxLength,
|
|
121
|
-
placeholder: _ctx.placeholder
|
|
125
|
+
placeholder: _ctx.placeholder,
|
|
126
|
+
autofocus: _ctx.autofocus
|
|
122
127
|
}, null, 44, _hoisted_1),
|
|
123
128
|
_ctx.limitShow ? (openBlock(), createElementBlock("view", _hoisted_2, toDisplayString(_ctx.modelValue ? _ctx.modelValue.length : 0) + "/" + toDisplayString(_ctx.maxLength), 1)) : createCommentVNode("", true)
|
|
124
129
|
], 2);
|
|
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
/*!
|
|
21
|
-
* @nutui/nutui v3.1.
|
|
21
|
+
* @nutui/nutui v3.1.15 Fri Jan 21 2022 15:38:52 GMT+0800 (GMT+08:00)
|
|
22
22
|
* (c) 2021 @jdf2e.
|
|
23
23
|
* Released under the MIT License.
|
|
24
24
|
*/
|
|
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
/*!
|
|
21
|
-
* @nutui/nutui v3.1.
|
|
21
|
+
* @nutui/nutui v3.1.15 Fri Jan 21 2022 15:38:52 GMT+0800 (GMT+08:00)
|
|
22
22
|
* (c) 2021 @jdf2e.
|
|
23
23
|
* Released under the MIT License.
|
|
24
24
|
*/
|
|
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
/*!
|
|
21
|
-
* @nutui/nutui v3.1.
|
|
21
|
+
* @nutui/nutui v3.1.15 Fri Jan 21 2022 15:38:52 GMT+0800 (GMT+08:00)
|
|
22
22
|
* (c) 2021 @jdf2e.
|
|
23
23
|
* Released under the MIT License.
|
|
24
24
|
*/
|
|
@@ -19,7 +19,7 @@ var __publicField = (obj, key, value) => {
|
|
|
19
19
|
return value;
|
|
20
20
|
};
|
|
21
21
|
/*!
|
|
22
|
-
* @nutui/nutui v3.1.
|
|
22
|
+
* @nutui/nutui v3.1.15 Fri Jan 21 2022 15:38:52 GMT+0800 (GMT+08:00)
|
|
23
23
|
* (c) 2021 @jdf2e.
|
|
24
24
|
* Released under the MIT License.
|
|
25
25
|
*/
|
|
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
/*!
|
|
21
|
-
* @nutui/nutui v3.1.
|
|
21
|
+
* @nutui/nutui v3.1.15 Fri Jan 21 2022 15:38:52 GMT+0800 (GMT+08:00)
|
|
22
22
|
* (c) 2021 @jdf2e.
|
|
23
23
|
* Released under the MIT License.
|
|
24
24
|
*/
|
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: rotate 1s infinite linear;
|
|
26
27
|
}
|
|
27
|
-
}
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
--animate-duration: 1s;
|
|
30
|
+
--animate-delay: 1s;
|
|
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
|
}
|
|
@@ -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
|
}
|
|
@@ -38,9 +39,9 @@
|
|
|
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
|
}
|
|
@@ -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
|
|
|
@@ -15,11 +15,7 @@
|
|
|
15
15
|
z-index: 1;
|
|
16
16
|
width: 100%;
|
|
17
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
|
-
),
|
|
18
|
+
background-image: linear-gradient(180deg, hsla(0, 0%, 100%, 0.9), hsla(0, 0%, 100%, 0.4)),
|
|
23
19
|
linear-gradient(0deg, hsla(0, 0%, 100%, 0.9), hsla(0, 0%, 100%, 0.4));
|
|
24
20
|
background-repeat: no-repeat;
|
|
25
21
|
background-position: top, bottom;
|
|
@@ -44,7 +40,7 @@
|
|
|
44
40
|
height: 100%;
|
|
45
41
|
}
|
|
46
42
|
&__left {
|
|
47
|
-
color:
|
|
43
|
+
color: $picker-cancel-color;
|
|
48
44
|
font-size: 16px;
|
|
49
45
|
}
|
|
50
46
|
&__button {
|
|
@@ -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;
|