@nutui/nutui 4.0.0-beta.20 → 4.0.0-beta.21

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 (133) hide show
  1. package/dist/nutui.es.js +1 -1
  2. package/dist/nutui.umd.js +2 -2
  3. package/dist/packages/_es/Comment.js +3 -5
  4. package/dist/packages/_es/InputNumber.js +1 -1
  5. package/dist/packages/_es/Progress.js +27 -28
  6. package/dist/packages/_es/Switch.js +4 -1
  7. package/dist/packages/_es/Table.js +90 -93
  8. package/dist/packages/_es/Uploader.js +17 -16
  9. package/dist/packages/actionsheet/style.mjs +1 -2
  10. package/dist/packages/address/style.mjs +1 -3
  11. package/dist/packages/addresslist/style.mjs +1 -2
  12. package/dist/packages/animate/style.mjs +1 -0
  13. package/dist/packages/audio/style.mjs +1 -1
  14. package/dist/packages/audiooperate/style.mjs +1 -1
  15. package/dist/packages/avatar/style.mjs +1 -0
  16. package/dist/packages/avatargroup/style.mjs +1 -0
  17. package/dist/packages/backtop/style.mjs +1 -0
  18. package/dist/packages/badge/index.scss +5 -1
  19. package/dist/packages/badge/style.mjs +1 -0
  20. package/dist/packages/barrage/style.mjs +1 -0
  21. package/dist/packages/button/style.mjs +1 -0
  22. package/dist/packages/calendar/style.mjs +1 -3
  23. package/dist/packages/calendaritem/style.mjs +1 -0
  24. package/dist/packages/card/style.mjs +1 -2
  25. package/dist/packages/cascader/style.mjs +1 -5
  26. package/dist/packages/category/style.mjs +1 -0
  27. package/dist/packages/categorypane/style.mjs +1 -0
  28. package/dist/packages/cell/style.mjs +1 -0
  29. package/dist/packages/cellgroup/style.mjs +1 -0
  30. package/dist/packages/checkbox/style.mjs +1 -0
  31. package/dist/packages/checkboxgroup/style.mjs +1 -0
  32. package/dist/packages/circleprogress/style.mjs +1 -0
  33. package/dist/packages/col/style.mjs +1 -0
  34. package/dist/packages/collapse/style.mjs +1 -0
  35. package/dist/packages/collapseitem/style.mjs +1 -0
  36. package/dist/packages/comment/index.scss +6 -6
  37. package/dist/packages/comment/style.mjs +1 -1
  38. package/dist/packages/configprovider/style.mjs +1 -0
  39. package/dist/packages/countdown/style.mjs +1 -0
  40. package/dist/packages/countup/style.mjs +1 -0
  41. package/dist/packages/datepicker/style.mjs +1 -3
  42. package/dist/packages/dialog/style.mjs +1 -3
  43. package/dist/packages/divider/style.mjs +1 -0
  44. package/dist/packages/drag/style.mjs +1 -0
  45. package/dist/packages/ecard/index.scss +4 -0
  46. package/dist/packages/ecard/style.mjs +1 -1
  47. package/dist/packages/elevator/index.scss +14 -0
  48. package/dist/packages/elevator/style.mjs +1 -0
  49. package/dist/packages/ellipsis/style.mjs +1 -0
  50. package/dist/packages/empty/style.mjs +1 -0
  51. package/dist/packages/fixednav/style.mjs +1 -1
  52. package/dist/packages/form/style.mjs +1 -1
  53. package/dist/packages/formitem/style.mjs +1 -1
  54. package/dist/packages/grid/style.mjs +1 -0
  55. package/dist/packages/griditem/style.mjs +1 -0
  56. package/dist/packages/icon/style.mjs +1 -0
  57. package/dist/packages/image/style.mjs +1 -0
  58. package/dist/packages/imagepreview/style.mjs +1 -5
  59. package/dist/packages/indicator/style.mjs +1 -0
  60. package/dist/packages/infiniteloading/style.mjs +1 -0
  61. package/dist/packages/input/style.mjs +1 -0
  62. package/dist/packages/inputnumber/style.mjs +1 -0
  63. package/dist/packages/invoice/style.mjs +1 -7
  64. package/dist/packages/layout/style.mjs +1 -0
  65. package/dist/packages/list/style.mjs +1 -0
  66. package/dist/packages/menu/style.mjs +1 -0
  67. package/dist/packages/menuitem/style.mjs +1 -2
  68. package/dist/packages/navbar/style.mjs +1 -0
  69. package/dist/packages/noticebar/style.mjs +1 -0
  70. package/dist/packages/notify/style.mjs +1 -2
  71. package/dist/packages/numberkeyboard/style.mjs +1 -2
  72. package/dist/packages/overlay/style.mjs +1 -0
  73. package/dist/packages/pagination/style.mjs +1 -0
  74. package/dist/packages/picker/style.mjs +1 -2
  75. package/dist/packages/popover/style.mjs +1 -2
  76. package/dist/packages/popup/style.mjs +1 -1
  77. package/dist/packages/price/style.mjs +1 -0
  78. package/dist/packages/progress/index.scss +6 -6
  79. package/dist/packages/progress/style.mjs +1 -0
  80. package/dist/packages/pullrefresh/style.mjs +1 -0
  81. package/dist/packages/radio/style.mjs +1 -0
  82. package/dist/packages/radiogroup/style.mjs +1 -0
  83. package/dist/packages/range/style.mjs +1 -0
  84. package/dist/packages/rate/style.mjs +1 -0
  85. package/dist/packages/row/style.mjs +1 -0
  86. package/dist/packages/searchbar/style.mjs +1 -0
  87. package/dist/packages/shortpassword/style.mjs +1 -2
  88. package/dist/packages/sidenavbar/style.mjs +1 -0
  89. package/dist/packages/sidenavbaritem/style.mjs +1 -0
  90. package/dist/packages/signature/style.mjs +1 -1
  91. package/dist/packages/skeleton/style.mjs +1 -1
  92. package/dist/packages/sku/style.mjs +1 -4
  93. package/dist/packages/step/style.mjs +1 -0
  94. package/dist/packages/steps/style.mjs +1 -0
  95. package/dist/packages/sticky/style.mjs +1 -0
  96. package/dist/packages/subsidenavbar/style.mjs +1 -0
  97. package/dist/packages/swipe/style.mjs +1 -0
  98. package/dist/packages/swiper/style.mjs +1 -0
  99. package/dist/packages/swiperitem/style.mjs +1 -0
  100. package/dist/packages/switch/index.scss +7 -0
  101. package/dist/packages/switch/style.mjs +1 -0
  102. package/dist/packages/tabbar/style.mjs +1 -0
  103. package/dist/packages/tabbaritem/style.mjs +1 -1
  104. package/dist/packages/table/style.mjs +1 -0
  105. package/dist/packages/tabpane/style.mjs +1 -0
  106. package/dist/packages/tabs/style.mjs +1 -1
  107. package/dist/packages/tag/style.mjs +1 -0
  108. package/dist/packages/textarea/style.mjs +1 -0
  109. package/dist/packages/timedetail/style.mjs +1 -0
  110. package/dist/packages/timepannel/style.mjs +1 -0
  111. package/dist/packages/timeselect/style.mjs +1 -2
  112. package/dist/packages/toast/style.mjs +1 -0
  113. package/dist/packages/tour/style.mjs +1 -3
  114. package/dist/packages/trendarrow/style.mjs +1 -0
  115. package/dist/packages/uploader/index.scss +18 -13
  116. package/dist/packages/uploader/style.mjs +1 -2
  117. package/dist/packages/video/style.mjs +1 -0
  118. package/dist/packages/watermark/style.mjs +1 -0
  119. package/dist/smartips/web-types.json +3 -3
  120. package/dist/style.css +1 -1
  121. package/dist/styles/themes/default.scss +49 -49
  122. package/dist/styles/themes/jdb.scss +49 -49
  123. package/dist/styles/themes/jddkh.scss +49 -49
  124. package/dist/styles/themes/jdt.scss +49 -49
  125. package/dist/styles/variables-jdb.scss +1 -0
  126. package/dist/styles/variables-jddkh.scss +1 -0
  127. package/dist/styles/variables-jdt.scss +1 -0
  128. package/dist/styles/variables.scss +1 -0
  129. package/dist/types/__VUE/table/common.d.ts +9 -9
  130. package/dist/types/__VUE/table/index.vue.d.ts +13 -11
  131. package/dist/types/__VUE/table/renderColumn.d.ts +9 -9
  132. package/dist/types/index.d.ts +1 -1
  133. package/package.json +1 -1
@@ -73,10 +73,9 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
73
73
  createVNode(_component_nut_rate, {
74
74
  modelValue: _ctx.info.score,
75
75
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.info.score = $event),
76
- size: "15",
76
+ size: "12",
77
77
  spacing: "5",
78
78
  readonly: "",
79
- touchable: false,
80
79
  onChange: _ctx.handleClick
81
80
  }, null, 8, ["modelValue", "onChange"])
82
81
  ])
@@ -99,10 +98,9 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
99
98
  createVNode(_component_nut_rate, {
100
99
  modelValue: _ctx.info.score,
101
100
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => _ctx.info.score = $event),
102
- size: "15",
101
+ size: "12",
103
102
  spacing: "3",
104
- readonly: "",
105
- touchable: false
103
+ readonly: ""
106
104
  }, null, 8, ["modelValue"]),
107
105
  createElementVNode("i", {
108
106
  class: normalizeClass([`nut-comment-header__${_ctx.type}-score-i`])
@@ -147,7 +147,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
147
147
  type: "number",
148
148
  min: _ctx.min,
149
149
  max: _ctx.max,
150
- style: normalizeStyle({ width: _ctx.pxCheck(_ctx.inputWidth) }),
150
+ style: normalizeStyle({ width: _ctx.pxCheck(_ctx.inputWidth), height: _ctx.pxCheck(_ctx.buttonSize) }),
151
151
  disabled: _ctx.disabled,
152
152
  readonly: _ctx.readonly,
153
153
  value: _ctx.modelValue,
@@ -97,35 +97,34 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
97
97
  createElementVNode("div", {
98
98
  class: normalizeClass(["nut-progress-inner", _ctx.status == "active" ? "nut-active" : ""]),
99
99
  style: normalizeStyle(_ctx.bgStyle)
100
+ }, null, 6),
101
+ _ctx.showText && _ctx.textInside && !_ctx.slotDefault ? (openBlock(), createElementBlock("div", {
102
+ key: 0,
103
+ class: "nut-progress-text nut-progress-insidetext",
104
+ ref: "insideText",
105
+ style: normalizeStyle({
106
+ lineHeight: _ctx.height,
107
+ left: `${_ctx.percentage}%`,
108
+ transform: `translate(-${+_ctx.percentage}%,-50%)`,
109
+ background: _ctx.textBackground || _ctx.strokeColor
110
+ })
111
+ }, [
112
+ createElementVNode("span", {
113
+ style: normalizeStyle(_ctx.textStyle)
114
+ }, toDisplayString(_ctx.percentage) + toDisplayString(_ctx.isShowPercentage ? "%" : ""), 5)
115
+ ], 4)) : createCommentVNode("", true),
116
+ _ctx.showText && _ctx.textInside && _ctx.slotDefault ? (openBlock(), createElementBlock("div", {
117
+ key: 1,
118
+ ref: "insideText",
119
+ style: normalizeStyle({
120
+ position: `absolute`,
121
+ top: `50%`,
122
+ left: `${_ctx.percentage}%`,
123
+ transform: `translate(-${+_ctx.percentage}%,-50%)`
124
+ })
100
125
  }, [
101
- _ctx.showText && _ctx.textInside && !_ctx.slotDefault ? (openBlock(), createElementBlock("div", {
102
- key: 0,
103
- class: "nut-progress-text nut-progress-insidetext",
104
- ref: "insideText",
105
- style: normalizeStyle({
106
- lineHeight: _ctx.height,
107
- left: `${_ctx.percentage}%`,
108
- transform: `translate(-${+_ctx.percentage}%,-50%)`,
109
- background: _ctx.textBackground || _ctx.strokeColor
110
- })
111
- }, [
112
- createElementVNode("span", {
113
- style: normalizeStyle(_ctx.textStyle)
114
- }, toDisplayString(_ctx.percentage) + toDisplayString(_ctx.isShowPercentage ? "%" : ""), 5)
115
- ], 4)) : createCommentVNode("", true),
116
- _ctx.showText && _ctx.textInside && _ctx.slotDefault ? (openBlock(), createElementBlock("div", {
117
- key: 1,
118
- ref: "insideText",
119
- style: normalizeStyle({
120
- position: `absolute`,
121
- top: `50%`,
122
- left: `${_ctx.percentage}%`,
123
- transform: `translate(-${+_ctx.percentage}%,-50%)`
124
- })
125
- }, [
126
- renderSlot(_ctx.$slots, "default")
127
- ], 4)) : createCommentVNode("", true)
128
- ], 6)
126
+ renderSlot(_ctx.$slots, "default")
127
+ ], 4)) : createCommentVNode("", true)
129
128
  ], 6),
130
129
  _ctx.showText && !_ctx.textInside ? (openBlock(), createElementBlock("div", _hoisted_2, [
131
130
  _ctx.status == "active" || _ctx.status == "" ? (openBlock(), createElementBlock("span", {
@@ -97,7 +97,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
97
97
  }, [
98
98
  createElementVNode("view", _hoisted_1, [
99
99
  _ctx.loading ? renderSlot(_ctx.$slots, "icon", { key: 0 }, () => [
100
- createVNode(_component_Loading1, { name: "loading" })
100
+ createVNode(_component_Loading1, {
101
+ name: "loading",
102
+ color: _ctx.activeColor
103
+ }, null, 8, ["color"])
101
104
  ]) : createCommentVNode("", true),
102
105
  _ctx.activeText ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
103
106
  withDirectives(createElementVNode("view", { class: "nut-switch-label open" }, toDisplayString(_ctx.activeText), 513), [
@@ -1,9 +1,9 @@
1
+ import { defineComponent, h, reactive, computed, watch, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, renderList, normalizeStyle, createTextVNode, toDisplayString, renderSlot, createBlock, createCommentVNode } from "vue";
1
2
  import { c as createComponent } from "./component-81a4c1d0.js";
2
- import { h, reactive, computed, watch, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, renderList, normalizeStyle, createTextVNode, toDisplayString, renderSlot, createBlock, createCommentVNode } from "vue";
3
3
  import { DownArrow } from "@nutui/icons-vue";
4
4
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
5
5
  import "../locale/lang";
6
- const RenderColumn = {
6
+ const RenderColumn = defineComponent({
7
7
  setup(props) {
8
8
  return () => h(`view`, {}, props.slots[0] ? props.slots[0](props.record) : props.slots[1](props.record));
9
9
  },
@@ -11,103 +11,100 @@ const RenderColumn = {
11
11
  slots: Array,
12
12
  record: Object
13
13
  }
14
- };
15
- const component = (componentName2, translate2) => {
16
- return {
17
- components: {
18
- RenderColumn,
19
- DownArrow
14
+ });
15
+ const { componentName, create, translate } = createComponent("table");
16
+ const _sfc_main = create({
17
+ components: {
18
+ RenderColumn,
19
+ DownArrow
20
+ },
21
+ props: {
22
+ bordered: {
23
+ type: Boolean,
24
+ default: true
20
25
  },
21
- props: {
22
- bordered: {
23
- type: Boolean,
24
- default: true
25
- },
26
- columns: {
27
- type: Array,
28
- default: () => {
29
- return [];
30
- }
31
- },
32
- data: {
33
- type: Object,
34
- default: () => {
35
- return {};
36
- }
37
- },
38
- summary: {
39
- type: Function,
40
- default: null
41
- },
42
- striped: {
43
- type: Boolean,
44
- default: false
26
+ columns: {
27
+ type: Array,
28
+ default: () => {
29
+ return [];
45
30
  }
46
31
  },
47
- emits: ["sorter"],
48
- setup(props, { emit, slots }) {
49
- const state = reactive({
50
- curData: props.data
51
- });
52
- const classes = computed(() => {
53
- const prefixCls = componentName2;
54
- return {
55
- [prefixCls]: true
56
- };
57
- });
58
- const cellClasses = (item) => {
59
- return {
60
- "nut-table__main__head__tr--border": props.bordered,
61
- [`nut-table__main__head__tr--align${item.align ? item.align : ""}`]: true
62
- };
63
- };
64
- const stylehead = (item) => {
65
- return item.stylehead ? item.stylehead : "";
66
- };
67
- const stylecolumn = (item) => {
68
- return item.stylecolumn ? item.stylecolumn : "";
69
- };
70
- const getColumnItem = (value) => {
71
- return props.columns.filter((item) => item.key === value)[0];
72
- };
73
- const getColumnItemStyle = (value) => {
74
- const style = props.columns.filter((item) => item.key === value);
75
- return style[0].stylecolumn ? style[0].stylecolumn : "";
76
- };
77
- const handleSorterClick = (item) => {
78
- if (item.sorter) {
79
- emit("sorter", item);
80
- state.curData = typeof item.sorter === "function" ? state.curData.sort(item.sorter) : item.sorter === "default" ? state.curData.sort() : state.curData;
81
- }
82
- };
83
- const sortDataItem = () => {
84
- return props.columns.map((columns) => {
85
- return [columns.key, columns.render];
86
- });
32
+ data: {
33
+ type: Object,
34
+ default: () => {
35
+ return {};
36
+ }
37
+ },
38
+ summary: {
39
+ type: Function,
40
+ default: null
41
+ },
42
+ striped: {
43
+ type: Boolean,
44
+ default: false
45
+ }
46
+ },
47
+ emits: ["sorter"],
48
+ setup(props, { emit, slots }) {
49
+ const state = reactive({
50
+ curData: props.data
51
+ });
52
+ const classes = computed(() => {
53
+ const prefixCls = componentName;
54
+ return {
55
+ [prefixCls]: true
87
56
  };
88
- watch(
89
- () => props.data,
90
- (val) => {
91
- state.curData = val.slice();
92
- }
93
- );
57
+ });
58
+ const cellClasses = (item) => {
94
59
  return {
95
- ...toRefs(state),
96
- classes,
97
- cellClasses,
98
- getColumnItem,
99
- getColumnItemStyle,
100
- handleSorterClick,
101
- sortDataItem,
102
- translate: translate2,
103
- stylehead,
104
- stylecolumn
60
+ "nut-table__main__head__tr--border": props.bordered,
61
+ [`nut-table__main__head__tr--align${item.align ? item.align : ""}`]: true
105
62
  };
106
- }
107
- };
108
- };
109
- const { componentName, create, translate } = createComponent("table");
110
- const _sfc_main = create(component(componentName, translate));
63
+ };
64
+ const stylehead = (item) => {
65
+ return item.stylehead ? item.stylehead : "";
66
+ };
67
+ const stylecolumn = (item) => {
68
+ return item.stylecolumn ? item.stylecolumn : "";
69
+ };
70
+ const getColumnItem = (value) => {
71
+ return props.columns.filter((item) => item.key === value)[0];
72
+ };
73
+ const getColumnItemStyle = (value) => {
74
+ const style = props.columns.filter((item) => item.key === value);
75
+ return style[0].stylecolumn ? style[0].stylecolumn : "";
76
+ };
77
+ const handleSorterClick = (item) => {
78
+ if (item.sorter) {
79
+ emit("sorter", item);
80
+ state.curData = typeof item.sorter === "function" ? state.curData.sort(item.sorter) : item.sorter === "default" ? state.curData.sort() : state.curData;
81
+ }
82
+ };
83
+ const sortDataItem = () => {
84
+ return props.columns.map((columns) => {
85
+ return [columns.key, columns.render];
86
+ });
87
+ };
88
+ watch(
89
+ () => props.data,
90
+ (val) => {
91
+ state.curData = val.slice();
92
+ }
93
+ );
94
+ return {
95
+ ...toRefs(state),
96
+ classes,
97
+ cellClasses,
98
+ getColumnItem,
99
+ getColumnItemStyle,
100
+ handleSorterClick,
101
+ sortDataItem,
102
+ translate,
103
+ stylehead,
104
+ stylecolumn
105
+ };
106
+ }
107
+ });
111
108
  const _hoisted_1 = { class: "nut-table__main__head" };
112
109
  const _hoisted_2 = { class: "nut-table__main__head__tr" };
113
110
  const _hoisted_3 = ["onClick"];
@@ -4,7 +4,7 @@ var __publicField = (obj, key, value) => {
4
4
  __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
5
  return value;
6
6
  };
7
- import { reactive, computed, h, resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createBlock, resolveDynamicComponent, createCommentVNode, Fragment, renderList, createElementVNode, toDisplayString, createVNode, createTextVNode } from "vue";
7
+ import { reactive, computed, h, resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createBlock, resolveDynamicComponent, createCommentVNode, Fragment, renderList, createElementVNode, toDisplayString, createVNode } from "vue";
8
8
  import { c as createComponent } from "./component-81a4c1d0.js";
9
9
  import { f as funInterceptor } from "./interceptor-956b24fc.js";
10
10
  import Progress from "./Progress.js";
@@ -364,12 +364,14 @@ const _hoisted_7 = {
364
364
  class: "nut-uploader__preview-img__file"
365
365
  };
366
366
  const _hoisted_8 = ["onClick"];
367
- const _hoisted_9 = { class: "tips" };
368
- const _hoisted_10 = {
367
+ const _hoisted_9 = { class: "file__name_tips" };
368
+ const _hoisted_10 = { class: "tips" };
369
+ const _hoisted_11 = {
369
370
  key: 1,
370
371
  class: "nut-uploader__preview-list"
371
372
  };
372
- const _hoisted_11 = ["onClick"];
373
+ const _hoisted_12 = ["onClick"];
374
+ const _hoisted_13 = { class: "file__name_tips" };
373
375
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
374
376
  const _component_Failure = resolveComponent("Failure");
375
377
  const _component_Loading = resolveComponent("Loading");
@@ -426,24 +428,23 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
426
428
  onClick: ($event) => _ctx.fileItemClick(item),
427
429
  class: "nut-uploader__preview-img__file__name"
428
430
  }, [
429
- createVNode(_component_Link, { color: "#808080" }),
430
- createTextVNode(" " + toDisplayString(item.name), 1)
431
+ createElementVNode("view", _hoisted_9, toDisplayString(item.name), 1)
431
432
  ], 8, _hoisted_8)
432
433
  ])),
433
- createElementVNode("view", _hoisted_9, toDisplayString(item.name), 1)
434
- ])) : _ctx.listType == "list" ? (openBlock(), createElementBlock("view", _hoisted_10, [
434
+ createElementVNode("view", _hoisted_10, toDisplayString(item.name), 1)
435
+ ])) : _ctx.listType == "list" ? (openBlock(), createElementBlock("view", _hoisted_11, [
435
436
  createElementVNode("view", {
436
437
  onClick: ($event) => _ctx.fileItemClick(item),
437
438
  class: normalizeClass(["nut-uploader__preview-img__file__name", [item.status]])
438
439
  }, [
439
- createVNode(_component_Link),
440
- createTextVNode(" " + toDisplayString(item.name), 1)
441
- ], 10, _hoisted_11),
442
- createVNode(_component_Del, {
443
- color: "#808080",
444
- class: "nut-uploader__preview-img__file__del",
445
- onClick: ($event) => _ctx.onDelete(item, index2)
446
- }, null, 8, ["onClick"]),
440
+ createVNode(_component_Link, { class: "nut-uploader__preview-img__file__link" }),
441
+ createElementVNode("view", _hoisted_13, toDisplayString(item.name), 1),
442
+ createVNode(_component_Del, {
443
+ color: "#808080",
444
+ class: "nut-uploader__preview-img__file__del",
445
+ onClick: ($event) => _ctx.onDelete(item, index2)
446
+ }, null, 8, ["onClick"])
447
+ ], 10, _hoisted_12),
447
448
  item.status == "uploading" ? (openBlock(), createBlock(_component_nut_progress, {
448
449
  key: 0,
449
450
  size: "small",
@@ -1,5 +1,4 @@
1
- import '../overlay/index.scss';
2
1
  import '../../styles/reset.css';
2
+ import '../overlay/index.scss';
3
3
  import '../popup/index.scss';
4
- import '../../styles/reset.css';
5
4
  import './index.scss';
@@ -1,7 +1,5 @@
1
- import '../elevator/index.scss';
2
1
  import '../../styles/reset.css';
2
+ import '../elevator/index.scss';
3
3
  import '../overlay/index.scss';
4
- import '../../styles/reset.css';
5
4
  import '../popup/index.scss';
6
- import '../../styles/reset.css';
7
5
  import './index.scss';
@@ -1,5 +1,4 @@
1
- import '../swipe/index.scss';
2
1
  import '../../styles/reset.css';
2
+ import '../swipe/index.scss';
3
3
  import '../button/index.scss';
4
- import '../../styles/reset.css';
5
4
  import './index.scss';
@@ -1 +1,2 @@
1
+ import '../../styles/reset.css';
1
2
  import './index.scss';
@@ -1,3 +1,3 @@
1
- import '../range/index.scss';
2
1
  import '../../styles/reset.css';
2
+ import '../range/index.scss';
3
3
  import './index.scss';
@@ -1,3 +1,3 @@
1
- import '../button/index.scss';
2
1
  import '../../styles/reset.css';
2
+ import '../button/index.scss';
3
3
  import './index.scss';
@@ -1 +1,2 @@
1
+ import '../../styles/reset.css';
1
2
  import './index.scss';
@@ -1 +1,2 @@
1
+ import '../../styles/reset.css';
1
2
  import './index.scss';
@@ -1 +1,2 @@
1
+ import '../../styles/reset.css';
1
2
  import './index.scss';
@@ -10,16 +10,20 @@
10
10
  position: relative;
11
11
  display: inline-block;
12
12
  .nut-badge__icon {
13
+ display: flex;
14
+ align-items: center;
13
15
  line-height: normal;
14
16
  transform: $badge-content-transform;
15
17
  position: absolute;
16
18
  background: $badge-background-color;
17
- padding: $badge-padding;
19
+ padding: $badge-icon-padding;
18
20
  text-align: center;
19
21
  border-radius: $badge-border-radius;
20
22
  z-index: $badge-z-index;
21
23
  }
22
24
  .nut-badge__content {
25
+ display: flex;
26
+ align-items: center;
23
27
  transform: $badge-content-transform;
24
28
  &--sup {
25
29
  position: absolute;
@@ -1 +1,2 @@
1
+ import '../../styles/reset.css';
1
2
  import './index.scss';
@@ -1 +1,2 @@
1
+ import '../../styles/reset.css';
1
2
  import './index.scss';
@@ -1 +1,2 @@
1
+ import '../../styles/reset.css';
1
2
  import './index.scss';
@@ -1,7 +1,5 @@
1
- import '../calendaritem/index.scss';
2
1
  import '../../styles/reset.css';
2
+ import '../calendaritem/index.scss';
3
3
  import '../overlay/index.scss';
4
- import '../../styles/reset.css';
5
4
  import '../popup/index.scss';
6
- import '../../styles/reset.css';
7
5
  import './index.scss';
@@ -1 +1,2 @@
1
+ import '../../styles/reset.css';
1
2
  import './index.scss';
@@ -1,5 +1,4 @@
1
- import '../tag/index.scss';
2
1
  import '../../styles/reset.css';
2
+ import '../tag/index.scss';
3
3
  import '../price/index.scss';
4
- import '../../styles/reset.css';
5
4
  import './index.scss';
@@ -1,11 +1,7 @@
1
- import '../tabpane/index.scss';
2
1
  import '../../styles/reset.css';
2
+ import '../tabpane/index.scss';
3
3
  import '../sticky/index.scss';
4
- import '../../styles/reset.css';
5
4
  import '../tabs/index.scss';
6
- import '../../styles/reset.css';
7
5
  import '../overlay/index.scss';
8
- import '../../styles/reset.css';
9
6
  import '../popup/index.scss';
10
- import '../../styles/reset.css';
11
7
  import './index.scss';
@@ -1 +1,2 @@
1
+ import '../../styles/reset.css';
1
2
  import './index.scss';
@@ -1 +1,2 @@
1
+ import '../../styles/reset.css';
1
2
  import './index.scss';
@@ -1 +1,2 @@
1
+ import '../../styles/reset.css';
1
2
  import './index.scss';
@@ -1 +1,2 @@
1
+ import '../../styles/reset.css';
1
2
  import './index.scss';
@@ -1 +1,2 @@
1
+ import '../../styles/reset.css';
1
2
  import './index.scss';
@@ -1 +1,2 @@
1
+ import '../../styles/reset.css';
1
2
  import './index.scss';
@@ -1 +1,2 @@
1
+ import '../../styles/reset.css';
1
2
  import './index.scss';
@@ -1 +1,2 @@
1
+ import '../../styles/reset.css';
1
2
  import './index.scss';
@@ -1 +1,2 @@
1
+ import '../../styles/reset.css';
1
2
  import './index.scss';
@@ -1 +1,2 @@
1
+ import '../../styles/reset.css';
1
2
  import './index.scss';
@@ -213,9 +213,9 @@
213
213
  display: flex;
214
214
  align-items: center;
215
215
  justify-content: center;
216
- width: 105px;
217
- height: 105px;
218
- line-height: 105px;
216
+ width: 100%;
217
+ height: 90px;
218
+ line-height: 90px;
219
219
  background: rgba(0, 0, 0, 0.5);
220
220
  font-size: 12px;
221
221
  color: rgba(255, 255, 255, 1);
@@ -226,14 +226,14 @@
226
226
  flex-wrap: wrap;
227
227
  justify-content: space-between;
228
228
  overflow: hidden;
229
- width: 331px;
229
+ width: 100%;
230
230
  margin: 10px auto 15px;
231
231
 
232
232
  .nut-comment-images__item {
233
233
  margin: 8px 8px 0 0;
234
234
 
235
- width: 105px;
236
- height: 105px;
235
+ width: calc(34% - 8px);
236
+ height: 90px;
237
237
 
238
238
  img {
239
239
  width: 100%;
@@ -1,3 +1,3 @@
1
- import '../rate/index.scss';
2
1
  import '../../styles/reset.css';
2
+ import '../rate/index.scss';
3
3
  import './index.scss';
@@ -1 +1,2 @@
1
+ import '../../styles/reset.css';
1
2
  import './index.scss';
@@ -1 +1,2 @@
1
+ import '../../styles/reset.css';
1
2
  import './index.scss';
@@ -1 +1,2 @@
1
+ import '../../styles/reset.css';
1
2
  import './index.scss';
@@ -1,7 +1,5 @@
1
- import '../overlay/index.scss';
2
1
  import '../../styles/reset.css';
2
+ import '../overlay/index.scss';
3
3
  import '../popup/index.scss';
4
- import '../../styles/reset.css';
5
4
  import '../picker/index.scss';
6
- import '../../styles/reset.css';
7
5
  import './index.scss';
@@ -1,7 +1,5 @@
1
- import '../button/index.scss';
2
1
  import '../../styles/reset.css';
2
+ import '../button/index.scss';
3
3
  import '../overlay/index.scss';
4
- import '../../styles/reset.css';
5
4
  import '../popup/index.scss';
6
- import '../../styles/reset.css';
7
5
  import './index.scss';
@@ -1 +1,2 @@
1
+ import '../../styles/reset.css';
1
2
  import './index.scss';
@@ -1 +1,2 @@
1
+ import '../../styles/reset.css';
1
2
  import './index.scss';
@@ -25,6 +25,10 @@
25
25
  background-color: transparent;
26
26
  color: $dark-color3;
27
27
  }
28
+ .nut-ecard-input {
29
+ outline: none;
30
+ border: none;
31
+ }
28
32
  }
29
33
  }
30
34
  }