@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.
Files changed (130) hide show
  1. package/CHANGELOG.md +39 -1
  2. package/README.md +3 -3
  3. package/dist/nutui.d.ts +8 -5
  4. package/dist/nutui.es.js +727 -413
  5. package/dist/nutui.umd.js +733 -416
  6. package/dist/packages/_es/ActionSheet.js +1 -1
  7. package/dist/packages/_es/Address.js +2 -4
  8. package/dist/packages/_es/Avatar.js +1 -1
  9. package/dist/packages/_es/BackTop.js +1 -1
  10. package/dist/packages/_es/Badge.js +1 -1
  11. package/dist/packages/_es/Barrage.js +1 -1
  12. package/dist/packages/_es/Button.js +1 -1
  13. package/dist/packages/_es/Calendar.js +1 -1
  14. package/dist/packages/_es/Card.js +1 -1
  15. package/dist/packages/_es/Cascader.js +1 -1
  16. package/dist/packages/_es/Cell.js +1 -1
  17. package/dist/packages/_es/CellGroup.js +1 -1
  18. package/dist/packages/_es/Checkbox.js +1 -1
  19. package/dist/packages/_es/CheckboxGroup.js +1 -1
  20. package/dist/packages/_es/CircleProgress.js +1 -1
  21. package/dist/packages/_es/Col.js +1 -1
  22. package/dist/packages/_es/Collapse.js +1 -1
  23. package/dist/packages/_es/CollapseItem.js +11 -3
  24. package/dist/packages/_es/CountDown.js +1 -1
  25. package/dist/packages/_es/CountUp.js +1 -1
  26. package/dist/packages/_es/DatePicker.js +2 -3
  27. package/dist/packages/_es/Dialog.js +1 -1
  28. package/dist/packages/_es/Divider.js +1 -1
  29. package/dist/packages/_es/Drag.js +1 -1
  30. package/dist/packages/_es/Elevator.js +1 -1
  31. package/dist/packages/_es/Empty.js +1 -1
  32. package/dist/packages/_es/FixedNav.js +1 -1
  33. package/dist/packages/_es/Form.js +10 -7
  34. package/dist/packages/_es/FormItem.js +1 -1
  35. package/dist/packages/_es/Grid.js +1 -1
  36. package/dist/packages/_es/GridItem.js +1 -1
  37. package/dist/packages/_es/Icon.js +1 -1
  38. package/dist/packages/_es/ImagePreview.js +104 -10
  39. package/dist/packages/_es/Indicator.js +1 -1
  40. package/dist/packages/_es/InfiniteLoading.js +1 -1
  41. package/dist/packages/_es/Input.js +1 -1
  42. package/dist/packages/_es/InputNumber.js +2 -2
  43. package/dist/packages/_es/Layout.js +1 -1
  44. package/dist/packages/_es/Menu.js +3 -3
  45. package/dist/packages/_es/MenuItem.js +1 -1
  46. package/dist/packages/_es/Navbar.js +1 -1
  47. package/dist/packages/_es/NoticeBar.js +2 -2
  48. package/dist/packages/_es/Notify.js +1 -1
  49. package/dist/packages/_es/NumberKeyboard.js +1 -1
  50. package/dist/packages/_es/OverLay.js +1 -1
  51. package/dist/packages/_es/Pagination.js +1 -1
  52. package/dist/packages/_es/Picker.js +1 -1
  53. package/dist/packages/_es/Popover.js +1 -1
  54. package/dist/packages/_es/Popup.js +8 -4
  55. package/dist/packages/_es/Price.js +1 -1
  56. package/dist/packages/_es/Progress.js +1 -1
  57. package/dist/packages/_es/Radio.js +1 -1
  58. package/dist/packages/_es/RadioGroup.js +1 -1
  59. package/dist/packages/_es/Range.js +2 -2
  60. package/dist/packages/_es/Rate.js +1 -1
  61. package/dist/packages/_es/Row.js +1 -1
  62. package/dist/packages/_es/SearchBar.js +1 -1
  63. package/dist/packages/_es/ShortPassword.js +1 -1
  64. package/dist/packages/_es/SideNavBar.js +104 -0
  65. package/dist/packages/_es/SideNavBarItem.js +50 -0
  66. package/dist/packages/_es/Signature.js +1 -1
  67. package/dist/packages/_es/Skeleton.js +1 -1
  68. package/dist/packages/_es/Sku.js +1 -1
  69. package/dist/packages/_es/Step.js +1 -1
  70. package/dist/packages/_es/Steps.js +1 -1
  71. package/dist/packages/_es/SubSideNavBar.js +104 -0
  72. package/dist/packages/_es/Swipe.js +1 -1
  73. package/dist/packages/_es/Swiper.js +1 -1
  74. package/dist/packages/_es/SwiperItem.js +1 -1
  75. package/dist/packages/_es/Switch.js +1 -1
  76. package/dist/packages/_es/TabPane.js +1 -1
  77. package/dist/packages/_es/Tabbar.js +6 -2
  78. package/dist/packages/_es/TabbarItem.js +1 -1
  79. package/dist/packages/_es/Table.js +9 -3
  80. package/dist/packages/_es/Tabs.js +1 -1
  81. package/dist/packages/_es/Tag.js +1 -1
  82. package/dist/packages/_es/TextArea.js +9 -4
  83. package/dist/packages/_es/TimeDetail.js +1 -1
  84. package/dist/packages/_es/TimePannel.js +1 -1
  85. package/dist/packages/_es/TimeSelect.js +1 -1
  86. package/dist/packages/_es/Toast.js +1 -1
  87. package/dist/packages/_es/Uploader.js +1 -1
  88. package/dist/packages/_es/Video.js +1 -1
  89. package/dist/packages/_es/common.js +1 -1
  90. package/dist/packages/_es/component.js +1 -1
  91. package/dist/packages/_es/index.js +1 -1
  92. package/dist/packages/_es/index2.js +1 -1
  93. package/dist/packages/_es/index3.js +1 -1
  94. package/dist/packages/_es/plugin-vue_export-helper.js +1 -1
  95. package/dist/packages/_es/pxCheck.js +1 -1
  96. package/dist/packages/_es/raf.js +1 -1
  97. package/dist/packages/_es/util.js +1 -1
  98. package/dist/packages/actionsheet/index.scss +2 -2
  99. package/dist/packages/address/index.scss +2 -0
  100. package/dist/packages/cascader/index.scss +13 -13
  101. package/dist/packages/icon/index.scss +101 -11
  102. package/dist/packages/imagepreview/index.scss +1 -0
  103. package/dist/packages/menu/index.scss +10 -6
  104. package/dist/packages/menuitem/index.scss +8 -7
  105. package/dist/packages/noticebar/index.scss +11 -11
  106. package/dist/packages/picker/index.scss +2 -6
  107. package/dist/packages/progress/index.scss +2 -8
  108. package/dist/packages/shortpassword/index.scss +6 -6
  109. package/dist/packages/sidenavbar/index.scss +14 -0
  110. package/dist/packages/sidenavbaritem/index.scss +10 -0
  111. package/dist/packages/sku/index.scss +1 -1
  112. package/dist/packages/subsidenavbar/index.scss +39 -0
  113. package/dist/packages/tabbar/index.scss +5 -1
  114. package/dist/packages/textarea/index.scss +1 -1
  115. package/dist/style.css +1 -1
  116. package/dist/styles/animation/icon.scss +245 -0
  117. package/dist/styles/animation/index.scss +1 -0
  118. package/dist/styles/font/config.json +36 -0
  119. package/dist/styles/font/demo_index.html +26 -3
  120. package/dist/styles/font/iconfont.css +7 -3
  121. package/dist/styles/font/iconfont.js +1 -1
  122. package/dist/styles/font/iconfont.json +7 -0
  123. package/dist/styles/font/iconfont.ttf +0 -0
  124. package/dist/styles/font/iconfont.woff +0 -0
  125. package/dist/styles/font/iconfont.woff2 +0 -0
  126. package/dist/styles/themes/default.scss +47 -44
  127. package/dist/styles/themes/jdd.scss +2 -0
  128. package/dist/styles/variables.scss +72 -68
  129. package/package.json +7 -3
  130. 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.13 Wed Dec 22 2021 20:42:09 GMT+0800 (GMT+08:00)
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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.13 Wed Dec 22 2021 20:42:09 GMT+0800 (GMT+08:00)
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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.13 Wed Dec 22 2021 20:42:09 GMT+0800 (GMT+08:00)
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.13 Wed Dec 22 2021 20:42:09 GMT+0800 (GMT+08:00)
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.13 Wed Dec 22 2021 20:42:09 GMT+0800 (GMT+08:00)
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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.13 Wed Dec 22 2021 20:42:09 GMT+0800 (GMT+08:00)
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
  */
@@ -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.13 Wed Dec 22 2021 20:42:09 GMT+0800 (GMT+08:00)
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.13 Wed Dec 22 2021 20:42:09 GMT+0800 (GMT+08:00)
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.13 Wed Dec 22 2021 20:42:09 GMT+0800 (GMT+08:00)
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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.13 Wed Dec 22 2021 20:42:09 GMT+0800 (GMT+08:00)
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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.13 Wed Dec 22 2021 20:42:09 GMT+0800 (GMT+08:00)
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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.13 Wed Dec 22 2021 20:42:09 GMT+0800 (GMT+08:00)
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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.13 Wed Dec 22 2021 20:42:09 GMT+0800 (GMT+08:00)
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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.13 Wed Dec 22 2021 20:42:09 GMT+0800 (GMT+08:00)
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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.13 Wed Dec 22 2021 20:42:09 GMT+0800 (GMT+08:00)
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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.13 Wed Dec 22 2021 20:42:09 GMT+0800 (GMT+08:00)
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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.13 Wed Dec 22 2021 20:42:09 GMT+0800 (GMT+08:00)
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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.13 Wed Dec 22 2021 20:42:09 GMT+0800 (GMT+08:00)
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
  */
@@ -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: $nut-cascader-font-size;
4
- line-height: $nut-cascader-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: $nut-cascader-tabs-item-padding;
13
+ padding: $cascader-tabs-item-padding;
14
14
  white-space: nowrap;
15
15
  }
16
16
 
17
17
  .nut-tabs__titles {
18
- padding: $nut-cascader-tabs-item-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: $nut-cascader-bar-padding;
26
+ padding: $cascader-bar-padding;
27
27
  text-align: center;
28
28
  font-weight: bold;
29
- line-height: $nut-cascader-bar-line-height;
30
- color: $nut-cascader-bar-color;
31
- font-size: $nut-cascader-bar-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: $nut-cascader-item-padding;
48
+ padding: $cascader-item-padding;
49
49
  margin: 0;
50
50
  cursor: pointer;
51
- font-size: $nut-cascader-item-font-size;
52
- color: $nut-cascader-item-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: $nut-cascader-item-active-color;
68
+ color: $cascader-item-active-color;
69
69
  }
70
70
 
71
71
  &.active &__icon-check {
72
72
  visibility: visible;
73
- color: $nut-cascader-item-active-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: loadingCircle 1s infinite linear;
26
+ animation: rotate 1s infinite linear;
26
27
  }
27
- }
28
28
 
29
- @-webkit-keyframes loadingCircle {
30
- 100% {
31
- -webkit-transform: rotate(360deg);
32
- transform: rotate(360deg);
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
- @keyframes loadingCircle {
37
- 100% {
38
- -webkit-transform: rotate(360deg);
39
- transform: rotate(360deg);
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
  }
@@ -13,6 +13,7 @@
13
13
 
14
14
  &-index {
15
15
  position: fixed;
16
+ z-index: 2002;
16
17
  top: 50px;
17
18
  text-align: center;
18
19
  left: 0;
@@ -1,12 +1,12 @@
1
1
  .nut-menu__bar {
2
2
  position: relative;
3
3
  display: flex;
4
- line-height: $nut-menu-bar-line-height;
4
+ line-height: $menu-bar-line-height;
5
5
  background-color: $white;
6
- border-bottom: 1px solid $nut-menu-bar-border-bottom-color;
6
+ border-bottom: 1px solid $menu-bar-border-bottom-color;
7
7
 
8
8
  &.opened {
9
- z-index: $nut-menu-bar-opened-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: $nut-menu-item-disabled-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: $nut-menu-title-text-padding-left;
37
- padding-right: $nut-menu-title-text-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: $nut-menu-item-content-padding;
9
- max-height: $nut-menu-item-content-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: $nut-menu-item-option-padding-top;
18
- padding-bottom: $nut-menu-item-option-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: $nut-menu-item-option-i-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: -$nut-menu-bar-line-height;
42
+ top: -$menu-bar-line-height;
42
43
  left: 0;
43
44
  right: 0;
44
- z-index: $nut-menu-bar-opened-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: $noticeBar-height;
5
- font-size: $noticeBar-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: $noticeBar-left-icon-width;
27
- min-width: $noticeBar-left-icon-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: $noticeBar-right-icon-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: $noticeBar-line-height;
41
- line-height: $noticeBar-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($noticeBar-height);
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: $noticeBar-height;
91
- font-size: $noticeBar-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: $noticeBar-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: #fa2c19;
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: linear-gradient(
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: rgba(250, 44, 25, 1);
86
+ background: $progress-insidetext-background;
93
87
  border-radius: 5px;
94
88
  position: absolute;
95
89
  transition: all 0.4s;