@nutui/nutui-react-taro 3.0.19-cpp.4 → 3.0.19-cpp.6

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 (56) hide show
  1. package/dist/cjs/packages/address/style/style.harmony.css +0 -1
  2. package/dist/cjs/packages/cascader/style/style.harmony.css +0 -1
  3. package/dist/cjs/packages/input/style/input.scss +0 -1
  4. package/dist/cjs/packages/input/style/style.css +0 -1
  5. package/dist/cjs/packages/input/style/style.harmony.css +0 -1
  6. package/dist/cjs/packages/input/style-jmapp/input.scss +0 -1
  7. package/dist/cjs/packages/input/style-jmapp/style.css +0 -1
  8. package/dist/cjs/packages/input/style-jrkf/input.scss +0 -1
  9. package/dist/cjs/packages/input/style-jrkf/style.css +0 -1
  10. package/dist/cjs/packages/noticebar/noticebar.js +47 -38
  11. package/dist/cjs/packages/tabs/style/style.css +0 -1
  12. package/dist/cjs/packages/tabs/style/style.harmony.css +0 -1
  13. package/dist/cjs/packages/tabs/style/tabs.scss +1 -1
  14. package/dist/cjs/packages/tabs/style-jmapp/style.css +0 -1
  15. package/dist/cjs/packages/tabs/style-jmapp/tabs.scss +1 -1
  16. package/dist/cjs/packages/tabs/style-jrkf/style.css +0 -1
  17. package/dist/cjs/packages/tabs/style-jrkf/tabs.scss +1 -1
  18. package/dist/cjs/packages/textarea/style/style.css +0 -1
  19. package/dist/cjs/packages/textarea/style/style.harmony.css +0 -1
  20. package/dist/cjs/packages/textarea/style/textarea.scss +1 -1
  21. package/dist/cjs/packages/textarea/style-jmapp/style.css +0 -1
  22. package/dist/cjs/packages/textarea/style-jmapp/textarea.scss +1 -1
  23. package/dist/cjs/packages/textarea/style-jrkf/style.css +0 -1
  24. package/dist/cjs/packages/textarea/style-jrkf/textarea.scss +1 -1
  25. package/dist/es/packages/address/style/style.harmony.css +0 -1
  26. package/dist/es/packages/cascader/style/style.harmony.css +0 -1
  27. package/dist/es/packages/input/style/input.scss +0 -1
  28. package/dist/es/packages/input/style/style.css +0 -1
  29. package/dist/es/packages/input/style/style.harmony.css +0 -1
  30. package/dist/es/packages/input/style-jmapp/input.scss +0 -1
  31. package/dist/es/packages/input/style-jmapp/style.css +0 -1
  32. package/dist/es/packages/input/style-jrkf/input.scss +0 -1
  33. package/dist/es/packages/input/style-jrkf/style.css +0 -1
  34. package/dist/es/packages/noticebar/noticebar.js +80 -75
  35. package/dist/es/packages/tabs/style/style.css +0 -1
  36. package/dist/es/packages/tabs/style/style.harmony.css +0 -1
  37. package/dist/es/packages/tabs/style/tabs.scss +1 -1
  38. package/dist/es/packages/tabs/style-jmapp/style.css +0 -1
  39. package/dist/es/packages/tabs/style-jmapp/tabs.scss +1 -1
  40. package/dist/es/packages/tabs/style-jrkf/style.css +0 -1
  41. package/dist/es/packages/tabs/style-jrkf/tabs.scss +1 -1
  42. package/dist/es/packages/textarea/style/style.css +0 -1
  43. package/dist/es/packages/textarea/style/style.harmony.css +0 -1
  44. package/dist/es/packages/textarea/style/textarea.scss +1 -1
  45. package/dist/es/packages/textarea/style-jmapp/style.css +0 -1
  46. package/dist/es/packages/textarea/style-jmapp/textarea.scss +1 -1
  47. package/dist/es/packages/textarea/style-jrkf/style.css +0 -1
  48. package/dist/es/packages/textarea/style-jrkf/textarea.scss +1 -1
  49. package/dist/nutui.react.umd.js +54 -47
  50. package/dist/style-jmapp.css +1 -1
  51. package/dist/style-jmapp.scss +36 -36
  52. package/dist/style-jrkf.css +1 -1
  53. package/dist/style-jrkf.scss +29 -29
  54. package/dist/style.css +1 -1
  55. package/dist/style.scss +32 -32
  56. package/package.json +1 -1
@@ -588,7 +588,6 @@
588
588
  flex: 1 0 auto;
589
589
  padding: 0 var(--nutui-tabs-titles-gap, 12px);
590
590
  height: var(--nutui-tabs-titles-height, 44px);
591
- line-height: var(--nutui-tabs-titles-height, 44px);
592
591
  min-width: var(--nutui-tabs-titles-item-min-width, 50px);
593
592
  font-size: var(--nutui-tabs-titles-font-size, var(--nutui-font-size-base, 14px));
594
593
  color: var(--nutui-tabs-titles-item-color, var(--nutui-color-title, #1a1a1a));
@@ -445,7 +445,6 @@
445
445
  flex: 1 0 auto;
446
446
  padding: 0 var(--nutui-tabs-titles-gap, 12px);
447
447
  height: var(--nutui-tabs-titles-height, 44px);
448
- line-height: var(--nutui-tabs-titles-height, 44px);
449
448
  min-width: var(--nutui-tabs-titles-item-min-width, 50px);
450
449
  font-size: var(--nutui-tabs-titles-font-size, var(--nutui-font-size-base, 14px));
451
450
  color: var(--nutui-tabs-titles-item-color, var(--nutui-color-title, #1a1a1a));
@@ -33,7 +33,6 @@
33
33
  flex: 1;
34
34
  color: $color-title;
35
35
  font-size: $input-font-size;
36
- line-height: $input-lineheight;
37
36
  padding: 0;
38
37
  border: 0;
39
38
  outline: 0 none;
@@ -34,7 +34,6 @@
34
34
  flex: 1;
35
35
  color: var(--nutui-color-title, #1a1a1a);
36
36
  font-size: var(--nutui-input-font-size, var(--nutui-font-size-base, 14px));
37
- line-height: var(--nutui-input-lineheight, var(--nutui-font-size-xl, 18px));
38
37
  padding: 0;
39
38
  border: 0;
40
39
  outline: 0 none;
@@ -34,7 +34,6 @@
34
34
  flex: 1;
35
35
  color: var(--nutui-color-title, #1a1a1a);
36
36
  font-size: var(--nutui-input-font-size, var(--nutui-font-size-base, 14px));
37
- line-height: var(--nutui-input-lineheight, var(--nutui-font-size-xl, 18px));
38
37
  padding: 0;
39
38
  border: 0;
40
39
  outline: 0 none;
@@ -33,7 +33,6 @@
33
33
  flex: 1;
34
34
  color: $color-title;
35
35
  font-size: $input-font-size;
36
- line-height: $input-lineheight;
37
36
  padding: 0;
38
37
  border: 0;
39
38
  outline: 0 none;
@@ -34,7 +34,6 @@
34
34
  flex: 1;
35
35
  color: var(--nutui-color-title);
36
36
  font-size: var(--nutui-input-font-size, var(--nutui-font-text));
37
- line-height: var(--nutui-input-lineheight, var(--nutui-font-text-large));
38
37
  padding: 0;
39
38
  border: 0;
40
39
  outline: 0 none;
@@ -33,7 +33,6 @@
33
33
  flex: 1;
34
34
  color: $color-title;
35
35
  font-size: $input-font-size;
36
- line-height: $input-lineheight;
37
36
  padding: 0;
38
37
  border: 0;
39
38
  outline: 0 none;
@@ -34,7 +34,6 @@
34
34
  flex: 1;
35
35
  color: var(--nutui-color-title);
36
36
  font-size: var(--nutui-input-font-size, var(--nutui-font-text));
37
- line-height: var(--nutui-input-lineheight, var(--nutui-font-text-large));
38
37
  padding: 0;
39
38
  border: 0;
40
39
  outline: 0 none;
@@ -48,7 +48,7 @@ var NoticeBar = function NoticeBar(props) {
48
48
  var classPrefix = 'nut-noticebar';
49
49
  var wrapRef = (0, _react.useRef)(null);
50
50
  var contentRef = (0, _react.useRef)(null);
51
- var _useState = (0, _sliced_to_array._)((0, _react.useState)(true), 2), showNoticeBar = _useState[0], SetShowNoticeBar = _useState[1];
51
+ var _useState = (0, _sliced_to_array._)((0, _react.useState)(true), 2), showNoticeBar = _useState[0], setShowNoticeBar = _useState[1];
52
52
  var scrollList = (0, _react.useRef)([]);
53
53
  var _useState1 = (0, _sliced_to_array._)((0, _react.useState)(0), 2), wrapWidth = _useState1[0], SetWrapWidth = _useState1[1];
54
54
  var _useState2 = (0, _sliced_to_array._)((0, _react.useState)(true), 2), firstRound = _useState2[0], SetFirstRound = _useState2[1];
@@ -156,6 +156,9 @@ var NoticeBar = function NoticeBar(props) {
156
156
  ];
157
157
  case 2:
158
158
  contentRes = _state.sent();
159
+ if (!warpRes || !contentRes) return [
160
+ 2
161
+ ];
159
162
  wrapW = warpRes.width;
160
163
  offsetW = contentRes.width;
161
164
  canScroll = align === 'left' && scrollable == null ? offsetW > wrapW : scrollable;
@@ -180,12 +183,6 @@ var NoticeBar = function NoticeBar(props) {
180
183
  click && click(event);
181
184
  onClick && onClick(event);
182
185
  };
183
- var onClickIcon = function onClickIcon(event) {
184
- event.stopPropagation();
185
- SetShowNoticeBar(!closeable);
186
- close && close(event);
187
- onClose && onClose(event);
188
- };
189
186
  var onAnimationEnd = function onAnimationEnd() {
190
187
  SetFirstRound(false);
191
188
  setTimeout(function() {
@@ -208,13 +205,16 @@ var NoticeBar = function NoticeBar(props) {
208
205
  SetAnimate(false);
209
206
  }, time);
210
207
  };
211
- // 点击滚动单元
212
- var handleClickIcon = function handleClickIcon(event) {
208
+ var handleClickIcon = (0, _react.useCallback)(function(event) {
213
209
  event.stopPropagation();
214
- SetShowNoticeBar(!closeable);
210
+ setShowNoticeBar(!closeable);
215
211
  close && close(event);
216
212
  onClose && onClose(event);
217
- };
213
+ }, [
214
+ close,
215
+ onClose,
216
+ closeable
217
+ ]);
218
218
  var isEllipsis = function isEllipsis() {
219
219
  if (isCanScroll == null && align === 'left') {
220
220
  return wrap;
@@ -362,10 +362,12 @@ var NoticeBar = function NoticeBar(props) {
362
362
  };
363
363
  // 无缝滚动第一个元素位移控制
364
364
  var itemStyle = function itemStyle(index) {
365
- var style = {};
365
+ var style = {
366
+ width: '100%'
367
+ };
366
368
  if (height) {
367
369
  style.height = "".concat(height, "px");
368
- style.lineHeight = "".concat(height, "px");
370
+ // style.lineHeight = `${height}px`
369
371
  }
370
372
  var offset = childOffset[index];
371
373
  if (offset) {
@@ -434,6 +436,32 @@ var NoticeBar = function NoticeBar(props) {
434
436
  container.current = ref;
435
437
  setIsContainerReady(true);
436
438
  }, []);
439
+ var renderLeftIcon = (0, _react.useCallback)(function() {
440
+ return /*#__PURE__*/ _react.default.createElement(_react.default.Fragment, null, leftIcon ? /*#__PURE__*/ _react.default.createElement(_components.View, {
441
+ className: "nut-noticebar-box-left-icon"
442
+ }, leftIcon) : null);
443
+ }, [
444
+ leftIcon
445
+ ]);
446
+ var renderRight = (0, _react.useCallback)(function() {
447
+ return /*#__PURE__*/ _react.default.createElement(_react.default.Fragment, null, right ? /*#__PURE__*/ _react.default.createElement(_components.View, {
448
+ className: "nut-noticebar-box-right"
449
+ }, right) : null);
450
+ }, [
451
+ right
452
+ ]);
453
+ var renderRightIcon = (0, _react.useCallback)(function() {
454
+ return /*#__PURE__*/ _react.default.createElement(_react.default.Fragment, null, rightIcon || closeable ? /*#__PURE__*/ _react.default.createElement(_components.View, {
455
+ className: "nut-noticebar-box-right-icon",
456
+ onClick: handleClickIcon
457
+ }, rightIcon || /*#__PURE__*/ _react.default.createElement(_iconsreacttaro.Close, {
458
+ size: 12
459
+ })) : null);
460
+ }, [
461
+ rightIcon,
462
+ closeable,
463
+ handleClickIcon
464
+ ]);
437
465
  return /*#__PURE__*/ _react.default.createElement(_components.View, {
438
466
  className: cls,
439
467
  style: style
@@ -441,9 +469,7 @@ var NoticeBar = function NoticeBar(props) {
441
469
  className: noticebarClass,
442
470
  style: barStyle,
443
471
  onClick: handleClick
444
- }, leftIcon ? /*#__PURE__*/ _react.default.createElement(_components.View, {
445
- className: "nut-noticebar-box-left-icon"
446
- }, leftIcon) : null, /*#__PURE__*/ _react.default.createElement(_components.View, {
472
+ }, renderLeftIcon(), /*#__PURE__*/ _react.default.createElement(_components.View, {
447
473
  ref: wrapRef,
448
474
  className: "nut-noticebar-box-wrap"
449
475
  }, /*#__PURE__*/ _react.default.createElement(_components.View, {
@@ -451,21 +477,12 @@ var NoticeBar = function NoticeBar(props) {
451
477
  className: "nut-noticebar-box-wrap-content ".concat(animationClass, " ").concat(isEllipsis() ? 'nut-ellipsis' : ''),
452
478
  style: contentStyle,
453
479
  onAnimationEnd: onAnimationEnd
454
- }, children, content)), right ? /*#__PURE__*/ _react.default.createElement(_components.View, {
455
- className: "nut-noticebar-box-right"
456
- }, right) : null, closeable || rightIcon ? /*#__PURE__*/ _react.default.createElement(_components.View, {
457
- className: "nut-noticebar-box-right-icon",
458
- onClick: onClickIcon
459
- }, rightIcon || /*#__PURE__*/ _react.default.createElement(_iconsreacttaro.Close, {
460
- size: 12
461
- })) : null) : null, showNoticeBar && hasVerticalContent && isVertical ? /*#__PURE__*/ _react.default.createElement(_components.View, {
480
+ }, children, content)), renderRight(), renderRightIcon()) : null, showNoticeBar && hasVerticalContent && isVertical ? /*#__PURE__*/ _react.default.createElement(_components.View, {
462
481
  className: "nut-noticebar-vertical",
463
482
  style: barStyle,
464
483
  ref: containerRefCallback,
465
484
  onClick: handleClick
466
- }, leftIcon ? /*#__PURE__*/ _react.default.createElement(_components.View, {
467
- className: "nut-noticebar-box-left-icon"
468
- }, leftIcon) : null, children ? /*#__PURE__*/ _react.default.createElement(_components.View, {
485
+ }, renderLeftIcon(), children ? /*#__PURE__*/ _react.default.createElement(_components.View, {
469
486
  className: "nut-noticebar-box-wrap",
470
487
  ref: innerRef
471
488
  }, scrollList.current.map(function(item, index) {
@@ -480,8 +497,7 @@ var NoticeBar = function NoticeBar(props) {
480
497
  className: "nut-noticebar-box-horseLamp-list",
481
498
  style: horseLampStyle
482
499
  }, scrollList.current.map(function(item, index) {
483
- return(// eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions
484
- /*#__PURE__*/ /*#__PURE__*/ _react.default.createElement(_components.View, {
500
+ return /*#__PURE__*/ _react.default.createElement(_components.View, {
485
501
  className: "nut-noticebar-box-horseLamp-list-item",
486
502
  style: {
487
503
  height: height
@@ -490,14 +506,7 @@ var NoticeBar = function NoticeBar(props) {
490
506
  onClick: function onClick(e) {
491
507
  handleItemClick(e, item);
492
508
  }
493
- }, item));
494
- })), /*#__PURE__*/ _react.default.createElement(_components.View, {
495
- className: "nut-noticebar-box-right-icon",
496
- onClick: function onClick(e) {
497
- handleClickIcon(e);
498
- }
499
- }, rightIcon || (closeable ? /*#__PURE__*/ _react.default.createElement(_iconsreacttaro.Close, {
500
- size: 12
501
- }) : null))) : null);
509
+ }, item);
510
+ })), renderRight(), renderRightIcon()) : null);
502
511
  };
503
512
  NoticeBar.displayName = 'NutNoticeBar';
@@ -50,7 +50,6 @@
50
50
  flex: 1 0 auto;
51
51
  padding: 0 var(--nutui-tabs-titles-gap, 12px);
52
52
  height: var(--nutui-tabs-titles-height, 44px);
53
- line-height: var(--nutui-tabs-titles-height, 44px);
54
53
  min-width: var(--nutui-tabs-titles-item-min-width, 50px);
55
54
  font-size: var(--nutui-tabs-titles-font-size, var(--nutui-font-size-base, 14px));
56
55
  color: var(--nutui-tabs-titles-item-color, var(--nutui-color-title, #1a1a1a));
@@ -65,7 +65,6 @@
65
65
  flex: 1 0 auto;
66
66
  padding: 0 var(--nutui-tabs-titles-gap, 12px);
67
67
  height: var(--nutui-tabs-titles-height, 44px);
68
- line-height: var(--nutui-tabs-titles-height, 44px);
69
68
  min-width: var(--nutui-tabs-titles-item-min-width, 50px);
70
69
  font-size: var(--nutui-tabs-titles-font-size, var(--nutui-font-size-base, 14px));
71
70
  color: var(--nutui-tabs-titles-item-color, var(--nutui-color-title, #1a1a1a));
@@ -52,7 +52,7 @@
52
52
  flex: 1 0 auto;
53
53
  padding: 0 $tabs-titles-gap;
54
54
  height: $tabs-titles-height;
55
- line-height: $tabs-titles-height;
55
+ // line-height: $tabs-titles-height;
56
56
  min-width: $tabs-titles-item-min-width;
57
57
  font-size: $tabs-titles-font-size;
58
58
  color: $tabs-titles-item-color;
@@ -50,7 +50,6 @@
50
50
  flex: 1 0 auto;
51
51
  padding: 0 var(--nutui-tabs-titles-gap, 12px);
52
52
  height: var(--nutui-tabs-titles-height, 32px);
53
- line-height: var(--nutui-tabs-titles-height, 32px);
54
53
  min-width: var(--nutui-tabs-titles-item-min-width, 50px);
55
54
  font-size: var(--nutui-tabs-titles-font-size, var(--nutui-font-text));
56
55
  color: var(--nutui-tabs-titles-item-color, var(--nutui-color-title));
@@ -52,7 +52,7 @@
52
52
  flex: 1 0 auto;
53
53
  padding: 0 $tabs-titles-gap;
54
54
  height: $tabs-titles-height;
55
- line-height: $tabs-titles-height;
55
+ // line-height: $tabs-titles-height;
56
56
  min-width: $tabs-titles-item-min-width;
57
57
  font-size: $tabs-titles-font-size;
58
58
  color: $tabs-titles-item-color;
@@ -50,7 +50,6 @@
50
50
  flex: 1 0 auto;
51
51
  padding: 0 var(--nutui-tabs-titles-gap, 12px);
52
52
  height: var(--nutui-tabs-titles-height, 32px);
53
- line-height: var(--nutui-tabs-titles-height, 32px);
54
53
  min-width: var(--nutui-tabs-titles-item-min-width, 50px);
55
54
  font-size: var(--nutui-tabs-titles-font-size, var(--nutui-font-text));
56
55
  color: var(--nutui-tabs-titles-item-color, var(--nutui-color-title));
@@ -52,7 +52,7 @@
52
52
  flex: 1 0 auto;
53
53
  padding: 0 $tabs-titles-gap;
54
54
  height: $tabs-titles-height;
55
- line-height: $tabs-titles-height;
55
+ // line-height: $tabs-titles-height;
56
56
  min-width: $tabs-titles-item-min-width;
57
57
  font-size: $tabs-titles-font-size;
58
58
  color: $tabs-titles-item-color;
@@ -22,7 +22,6 @@
22
22
  .nut-textarea-limit {
23
23
  text-align: right;
24
24
  font-size: var(--nutui-font-size-base, 14px);
25
- line-height: var(--nutui-font-size-base, 14px);
26
25
  margin-top: var(--nutui-spacing-base, 8px);
27
26
  color: var(--nutui-color-text-help, #888b94);
28
27
  }
@@ -22,7 +22,6 @@
22
22
  .nut-textarea-limit {
23
23
  text-align: right;
24
24
  font-size: var(--nutui-font-size-base, 14px);
25
- line-height: var(--nutui-font-size-base, 14px);
26
25
  margin-top: var(--nutui-spacing-base, 8px);
27
26
  color: var(--nutui-color-text-help, #888b94);
28
27
  }
@@ -20,7 +20,7 @@
20
20
  &-limit {
21
21
  text-align: right;
22
22
  font-size: $font-size-base;
23
- line-height: $font-size-base;
23
+ // line-height: $font-size-base;
24
24
  margin-top: $spacing-base;
25
25
  color: $color-text-help;
26
26
  &-disabled {
@@ -22,7 +22,6 @@
22
22
  .nut-textarea-limit {
23
23
  text-align: right;
24
24
  font-size: var(--nutui-font-text);
25
- line-height: var(--nutui-font-text);
26
25
  margin-top: var(--nutui-spacing-base);
27
26
  color: var(--nutui-color-text-help);
28
27
  }
@@ -20,7 +20,7 @@
20
20
  &-limit {
21
21
  text-align: right;
22
22
  font-size: $font-size-base;
23
- line-height: $font-size-base;
23
+ // line-height: $font-size-base;
24
24
  margin-top: $spacing-base;
25
25
  color: $color-text-help;
26
26
  &-disabled {
@@ -22,7 +22,6 @@
22
22
  .nut-textarea-limit {
23
23
  text-align: right;
24
24
  font-size: var(--nutui-font-text);
25
- line-height: var(--nutui-font-text);
26
25
  margin-top: var(--nutui-spacing-base);
27
26
  color: var(--nutui-color-text-help);
28
27
  }
@@ -20,7 +20,7 @@
20
20
  &-limit {
21
21
  text-align: right;
22
22
  font-size: $font-size-base;
23
- line-height: $font-size-base;
23
+ // line-height: $font-size-base;
24
24
  margin-top: $spacing-base;
25
25
  color: $color-text-help;
26
26
  &-disabled {
@@ -588,7 +588,6 @@
588
588
  flex: 1 0 auto;
589
589
  padding: 0 var(--nutui-tabs-titles-gap, 12px);
590
590
  height: var(--nutui-tabs-titles-height, 44px);
591
- line-height: var(--nutui-tabs-titles-height, 44px);
592
591
  min-width: var(--nutui-tabs-titles-item-min-width, 50px);
593
592
  font-size: var(--nutui-tabs-titles-font-size, var(--nutui-font-size-base, 14px));
594
593
  color: var(--nutui-tabs-titles-item-color, var(--nutui-color-title, #1a1a1a));
@@ -445,7 +445,6 @@
445
445
  flex: 1 0 auto;
446
446
  padding: 0 var(--nutui-tabs-titles-gap, 12px);
447
447
  height: var(--nutui-tabs-titles-height, 44px);
448
- line-height: var(--nutui-tabs-titles-height, 44px);
449
448
  min-width: var(--nutui-tabs-titles-item-min-width, 50px);
450
449
  font-size: var(--nutui-tabs-titles-font-size, var(--nutui-font-size-base, 14px));
451
450
  color: var(--nutui-tabs-titles-item-color, var(--nutui-color-title, #1a1a1a));
@@ -33,7 +33,6 @@
33
33
  flex: 1;
34
34
  color: $color-title;
35
35
  font-size: $input-font-size;
36
- line-height: $input-lineheight;
37
36
  padding: 0;
38
37
  border: 0;
39
38
  outline: 0 none;
@@ -34,7 +34,6 @@
34
34
  flex: 1;
35
35
  color: var(--nutui-color-title, #1a1a1a);
36
36
  font-size: var(--nutui-input-font-size, var(--nutui-font-size-base, 14px));
37
- line-height: var(--nutui-input-lineheight, var(--nutui-font-size-xl, 18px));
38
37
  padding: 0;
39
38
  border: 0;
40
39
  outline: 0 none;
@@ -34,7 +34,6 @@
34
34
  flex: 1;
35
35
  color: var(--nutui-color-title, #1a1a1a);
36
36
  font-size: var(--nutui-input-font-size, var(--nutui-font-size-base, 14px));
37
- line-height: var(--nutui-input-lineheight, var(--nutui-font-size-xl, 18px));
38
37
  padding: 0;
39
38
  border: 0;
40
39
  outline: 0 none;
@@ -33,7 +33,6 @@
33
33
  flex: 1;
34
34
  color: $color-title;
35
35
  font-size: $input-font-size;
36
- line-height: $input-lineheight;
37
36
  padding: 0;
38
37
  border: 0;
39
38
  outline: 0 none;
@@ -34,7 +34,6 @@
34
34
  flex: 1;
35
35
  color: var(--nutui-color-title);
36
36
  font-size: var(--nutui-input-font-size, var(--nutui-font-text));
37
- line-height: var(--nutui-input-lineheight, var(--nutui-font-text-large));
38
37
  padding: 0;
39
38
  border: 0;
40
39
  outline: 0 none;
@@ -33,7 +33,6 @@
33
33
  flex: 1;
34
34
  color: $color-title;
35
35
  font-size: $input-font-size;
36
- line-height: $input-lineheight;
37
36
  padding: 0;
38
37
  border: 0;
39
38
  outline: 0 none;
@@ -34,7 +34,6 @@
34
34
  flex: 1;
35
35
  color: var(--nutui-color-title);
36
36
  font-size: var(--nutui-input-font-size, var(--nutui-font-text));
37
- line-height: var(--nutui-input-lineheight, var(--nutui-font-text-large));
38
37
  padding: 0;
39
38
  border: 0;
40
39
  outline: 0 none;