@cmstops/pro-compo 0.3.10 → 0.3.12

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.
@@ -6,60 +6,59 @@ import _sfc_main$4 from "../imageCrop/component.js";
6
6
  import _sfc_main$1 from "./components/card.js";
7
7
  import _sfc_main$2 from "./components/colorPalette.js";
8
8
  import { DEFAULT_BASE_API } from "../config.js";
9
- const _hoisted_1 = { class: "select-thumb-container" };
10
- const _hoisted_2 = {
9
+ const _hoisted_1 = {
11
10
  key: 0,
12
11
  class: "star"
13
12
  };
14
- const _hoisted_3 = {
13
+ const _hoisted_2 = {
15
14
  key: 1,
16
15
  style: { "margin-left": "10px" },
17
16
  class: "tip"
18
17
  };
19
- const _hoisted_4 = { class: "thumbbox" };
20
- const _hoisted_5 = {
18
+ const _hoisted_3 = { class: "thumbbox" };
19
+ const _hoisted_4 = {
21
20
  key: 0,
22
21
  class: "thumb-list-view"
23
22
  };
24
- const _hoisted_6 = { class: "thumb-list-view" };
25
- const _hoisted_7 = { style: { "margin-top": "-10px" } };
26
- const _hoisted_8 = {
23
+ const _hoisted_5 = { class: "thumb-list-view" };
24
+ const _hoisted_6 = { style: { "margin-top": "-10px" } };
25
+ const _hoisted_7 = {
27
26
  key: 0,
28
27
  class: "tip"
29
28
  };
30
- const _hoisted_9 = /* @__PURE__ */ createElementVNode("span", { style: { "margin-right": "10px" } }, "\u72EC\u7ACB\u8F6E\u64AD\u56FE", -1);
31
- const _hoisted_10 = { class: "thumbbox" };
32
- const _hoisted_11 = {
29
+ const _hoisted_8 = /* @__PURE__ */ createElementVNode("span", { style: { "margin-right": "10px" } }, "\u72EC\u7ACB\u8F6E\u64AD\u56FE", -1);
30
+ const _hoisted_9 = { class: "thumbbox" };
31
+ const _hoisted_10 = {
33
32
  key: 2,
34
33
  class: "title"
35
34
  };
36
- const _hoisted_12 = /* @__PURE__ */ createElementVNode("span", null, "\u72EC\u7ACB\u8F6E\u64AD\u56FE\u80CC\u666F\u989C\u8272", -1);
37
- const _hoisted_13 = [
38
- _hoisted_12
35
+ const _hoisted_11 = /* @__PURE__ */ createElementVNode("span", null, "\u72EC\u7ACB\u8F6E\u64AD\u56FE\u80CC\u666F\u989C\u8272", -1);
36
+ const _hoisted_12 = [
37
+ _hoisted_11
39
38
  ];
40
- const _hoisted_14 = { key: 0 };
41
- const _hoisted_15 = {
39
+ const _hoisted_13 = { key: 0 };
40
+ const _hoisted_14 = {
42
41
  key: 0,
43
42
  class: "star"
44
43
  };
45
- const _hoisted_16 = { key: 1 };
46
- const _hoisted_17 = {
44
+ const _hoisted_15 = { key: 1 };
45
+ const _hoisted_16 = {
47
46
  key: 2,
48
47
  class: "tip",
49
48
  style: { "margin-left": "10px" }
50
49
  };
51
- const _hoisted_18 = { class: "thumbbox" };
52
- const _hoisted_19 = {
50
+ const _hoisted_17 = { class: "thumbbox" };
51
+ const _hoisted_18 = {
53
52
  key: 0,
54
53
  class: "tip"
55
54
  };
56
- const _hoisted_20 = {
55
+ const _hoisted_19 = {
57
56
  key: 1,
58
57
  class: "title"
59
58
  };
60
- const _hoisted_21 = /* @__PURE__ */ createElementVNode("span", null, "\u56FE\u7247\u80CC\u666F\u989C\u8272", -1);
61
- const _hoisted_22 = [
62
- _hoisted_21
59
+ const _hoisted_20 = /* @__PURE__ */ createElementVNode("span", null, "\u56FE\u7247\u80CC\u666F\u989C\u8272", -1);
60
+ const _hoisted_21 = [
61
+ _hoisted_20
63
62
  ];
64
63
  const _sfc_main = defineComponent({
65
64
  ...{ name: "selectThumb" },
@@ -87,6 +86,7 @@ const _sfc_main = defineComponent({
87
86
  const emit = __emit;
88
87
  const props = __props;
89
88
  const BASE_API = props.BASE_API || DEFAULT_BASE_API;
89
+ const selectThumbRef = ref();
90
90
  const oldData = ref(null);
91
91
  const styleData = ref({});
92
92
  const thumbBannerModel = ref("banner");
@@ -95,6 +95,7 @@ const _sfc_main = defineComponent({
95
95
  const thumbOptionIndex = ref(0);
96
96
  const aspectRatioProp = ref(16 / 9);
97
97
  const cropperData = ref([]);
98
+ const tempThumbFiles = ref([]);
98
99
  if (props.mediaUseType) {
99
100
  provide("mediaUseType", props.mediaUseType);
100
101
  }
@@ -230,6 +231,15 @@ const _sfc_main = defineComponent({
230
231
  const previewList = computed(() => {
231
232
  return thumbList.value.map((item) => item.url);
232
233
  });
234
+ const fileForShowThumb = (data) => {
235
+ tempThumbFiles.value.push(data);
236
+ submitCallback(tempThumbFiles.value);
237
+ };
238
+ const changeThumbType = (type, index) => {
239
+ tempThumbFiles.value = [];
240
+ thumbBannerModel.value = type;
241
+ thumbOptionIndex.value = index;
242
+ };
233
243
  const openDialogMediaSelection = (type, index) => {
234
244
  thumbBannerModel.value = type || "thumb";
235
245
  thumbOptionIndex.value = index || 0;
@@ -255,8 +265,14 @@ const _sfc_main = defineComponent({
255
265
  } else if (thumbBannerModel.value === "thumb") {
256
266
  let temp = [];
257
267
  if (model.value === "1") {
268
+ let idx = 0;
258
269
  temp = JSON.parse(JSON.stringify(styleData.value.data));
259
- temp[thumbOptionIndex.value] = { url: data[0].url, thumb: data[0].url };
270
+ for (let i = thumbOptionIndex.value; i < thumbOptionIndex.value + data.length; i++) {
271
+ if (i >= 3)
272
+ return;
273
+ temp[i] = { url: data[idx].url, thumb: data[idx].url };
274
+ idx++;
275
+ }
260
276
  } else {
261
277
  temp = [{ url: data[0].url, thumb: data[0].url }];
262
278
  }
@@ -352,7 +368,11 @@ const _sfc_main = defineComponent({
352
368
  };
353
369
  return (_ctx, _cache) => {
354
370
  var _a, _b, _c, _d, _e, _f;
355
- return openBlock(), createElementBlock("div", _hoisted_1, [
371
+ return openBlock(), createElementBlock("div", {
372
+ ref_key: "selectThumbRef",
373
+ ref: selectThumbRef,
374
+ class: "select-thumb-container"
375
+ }, [
356
376
  createCommentVNode(" \u5C01\u9762\u6807\u9898"),
357
377
  createElementVNode("div", {
358
378
  class: normalizeClass(["banner-view", { flex: _ctx.flex }])
@@ -362,46 +382,54 @@ const _sfc_main = defineComponent({
362
382
  class: "title",
363
383
  style: normalizeStyle({ width: _ctx.offset })
364
384
  }, [
365
- _ctx.titleValid ? (openBlock(), createElementBlock("span", _hoisted_2, "*")) : createCommentVNode("v-if", true),
385
+ _ctx.titleValid ? (openBlock(), createElementBlock("span", _hoisted_1, "*")) : createCommentVNode("v-if", true),
366
386
  createElementVNode("span", null, toDisplayString(_ctx.title ? _ctx.title : "\u5C01\u9762"), 1),
367
387
  createCommentVNode(" \u4E0A\u4E0B\u5E03\u5C40\u663E\u793A tip"),
368
- ((_a = curtemplate.value) == null ? void 0 : _a.value) !== "4" && !_ctx.flex ? (openBlock(), createElementBlock("span", _hoisted_3, " (" + toDisplayString((_b = curtemplate.value) == null ? void 0 : _b.alias) + "\u6BD4\u4F8B\uFF1A" + toDisplayString((_c = curtemplate.value) == null ? void 0 : _c.ratioStr) + ") ", 1)) : createCommentVNode("v-if", true)
388
+ ((_a = curtemplate.value) == null ? void 0 : _a.value) !== "4" && !_ctx.flex ? (openBlock(), createElementBlock("span", _hoisted_2, " (" + toDisplayString((_b = curtemplate.value) == null ? void 0 : _b.alias) + "\u6BD4\u4F8B\uFF1A" + toDisplayString((_c = curtemplate.value) == null ? void 0 : _c.ratioStr) + ") ", 1)) : createCommentVNode("v-if", true)
369
389
  ], 4)) : createCommentVNode("v-if", true),
370
- createElementVNode("div", _hoisted_4, [
371
- ["thumbs"].includes(_ctx.mode) ? (openBlock(), createElementBlock("div", _hoisted_5, [
390
+ createElementVNode("div", _hoisted_3, [
391
+ ["thumbs"].includes(_ctx.mode) ? (openBlock(), createElementBlock("div", _hoisted_4, [
372
392
  (openBlock(true), createElementBlock(Fragment, null, renderList(thumbsLengthList.value, (item, index) => {
373
393
  return openBlock(), createBlock(_sfc_main$1, {
374
394
  key: index,
375
395
  id: `thumb-card-${index}`,
376
396
  data: thumbList.value[index],
377
397
  "onUpdate:data": ($event) => thumbList.value[index] = $event,
398
+ parentRef: selectThumbRef.value,
399
+ idx: index,
378
400
  "preview-list": previewList.value,
379
401
  "thumb-model": "thumb",
402
+ onFileForShowThumb: fileForShowThumb,
403
+ onChangeThumbType: changeThumbType,
380
404
  onUploadLocal: _cache[0] || (_cache[0] = (cb) => _ctx.$emit("upload", cb)),
381
405
  onOpen: ($event) => openDialogMediaSelection($event, index)
382
- }, null, 8, ["id", "data", "onUpdate:data", "preview-list", "onOpen"]);
406
+ }, null, 8, ["id", "data", "onUpdate:data", "parentRef", "idx", "preview-list", "onOpen"]);
383
407
  }), 128))
384
408
  ])) : currentModel.value ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
385
409
  createCommentVNode(" \u5C01\u9762\u56FEcard "),
386
- createElementVNode("div", _hoisted_6, [
410
+ createElementVNode("div", _hoisted_5, [
387
411
  (openBlock(true), createElementBlock(Fragment, null, renderList(currentModel.value.maxLength, (item, index) => {
388
412
  return openBlock(), createBlock(_sfc_main$1, {
389
413
  key: index,
390
414
  id: `thumb-card-${index}`,
391
415
  data: thumbList.value[index],
392
416
  "onUpdate:data": ($event) => thumbList.value[index] = $event,
417
+ parentRef: selectThumbRef.value,
393
418
  model: model.value,
419
+ idx: index,
394
420
  "preview-list": previewList.value,
395
421
  "thumb-model": "thumb",
422
+ onFileForShowThumb: fileForShowThumb,
423
+ onChangeThumbType: changeThumbType,
396
424
  onUploadLocal: _cache[1] || (_cache[1] = (cb) => _ctx.$emit("upload", cb)),
397
425
  onOpen: ($event) => openDialogMediaSelection($event, index)
398
- }, null, 8, ["id", "data", "onUpdate:data", "model", "preview-list", "onOpen"]);
426
+ }, null, 8, ["id", "data", "onUpdate:data", "parentRef", "model", "idx", "preview-list", "onOpen"]);
399
427
  }), 128))
400
428
  ])
401
429
  ], 2112)) : createCommentVNode("v-if", true),
402
430
  createCommentVNode(" \u5DE6\u53F3\u5E03\u5C40\u663E\u793Atip "),
403
- createElementVNode("div", _hoisted_7, [
404
- ((_d = curtemplate.value) == null ? void 0 : _d.value) !== "4" && _ctx.flex ? (openBlock(), createElementBlock("span", _hoisted_8, " (" + toDisplayString((_e = curtemplate.value) == null ? void 0 : _e.alias) + "\u6BD4\u4F8B\uFF1A" + toDisplayString((_f = curtemplate.value) == null ? void 0 : _f.ratioStr) + ") ", 1)) : createCommentVNode("v-if", true)
431
+ createElementVNode("div", _hoisted_6, [
432
+ ((_d = curtemplate.value) == null ? void 0 : _d.value) !== "4" && _ctx.flex ? (openBlock(), createElementBlock("span", _hoisted_7, " (" + toDisplayString((_e = curtemplate.value) == null ? void 0 : _e.alias) + "\u6BD4\u4F8B\uFF1A" + toDisplayString((_f = curtemplate.value) == null ? void 0 : _f.ratioStr) + ") ", 1)) : createCommentVNode("v-if", true)
405
433
  ]),
406
434
  ["doc"].includes(_ctx.mode) ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
407
435
  createCommentVNode(" \u9009\u62E9\u5927\u56FE\u3001\u4E09\u56FE\u3001\u5355\u56FE...\u7B49\u6A21\u5F0F "),
@@ -440,7 +468,7 @@ const _sfc_main = defineComponent({
440
468
  class: "title",
441
469
  style: normalizeStyle({ width: _ctx.offset })
442
470
  }, [
443
- _hoisted_9,
471
+ _hoisted_8,
444
472
  createCommentVNode(" \u4E0A\u4E0B\u5E03\u5C40\u5F00\u5173\u5728\u6807\u9898\u540E "),
445
473
  !_ctx.flex ? (openBlock(), createBlock(unref(Switch), {
446
474
  key: 0,
@@ -449,7 +477,7 @@ const _sfc_main = defineComponent({
449
477
  size: "small"
450
478
  }, null, 8, ["modelValue"])) : createCommentVNode("v-if", true)
451
479
  ], 4),
452
- createElementVNode("div", _hoisted_10, [
480
+ createElementVNode("div", _hoisted_9, [
453
481
  createCommentVNode(" \u5DE6\u53F3\u5E03\u5C40\u5F00\u5173\u663E\u793A "),
454
482
  _ctx.flex ? (openBlock(), createBlock(unref(Switch), {
455
483
  key: 0,
@@ -463,12 +491,15 @@ const _sfc_main = defineComponent({
463
491
  id: `banner-card`,
464
492
  data: banner.value,
465
493
  "onUpdate:data": _cache[5] || (_cache[5] = ($event) => banner.value = $event),
494
+ parentRef: selectThumbRef.value,
466
495
  "preview-list": previewList.value,
467
496
  "thumb-model": "banner",
497
+ onFileForShowThumb: fileForShowThumb,
498
+ onChangeThumbType: changeThumbType,
468
499
  onUploadLocal: _cache[6] || (_cache[6] = (cb) => _ctx.$emit("upload", cb)),
469
500
  onOpen: openDialogMediaSelection
470
- }, null, 8, ["data", "preview-list"])) : createCommentVNode("v-if", true),
471
- hasBanner.value && styleData.value.banner_theme_color ? (openBlock(), createElementBlock("div", _hoisted_11, _hoisted_13)) : createCommentVNode("v-if", true),
501
+ }, null, 8, ["data", "parentRef", "preview-list"])) : createCommentVNode("v-if", true),
502
+ hasBanner.value && styleData.value.banner_theme_color ? (openBlock(), createElementBlock("div", _hoisted_10, _hoisted_12)) : createCommentVNode("v-if", true),
472
503
  createCommentVNode(" banner\u8C03\u8272\u677F "),
473
504
  hasBanner.value ? (openBlock(), createBlock(_sfc_main$2, {
474
505
  key: 3,
@@ -486,24 +517,27 @@ const _sfc_main = defineComponent({
486
517
  class: "title",
487
518
  style: normalizeStyle({ width: _ctx.offset })
488
519
  }, [
489
- docSeriesShowTopThemeColor.value ? (openBlock(), createElementBlock("span", _hoisted_14, [
490
- _ctx.topImageTitleValid ? (openBlock(), createElementBlock("span", _hoisted_15, "*")) : createCommentVNode("v-if", true),
520
+ docSeriesShowTopThemeColor.value ? (openBlock(), createElementBlock("span", _hoisted_13, [
521
+ _ctx.topImageTitleValid ? (openBlock(), createElementBlock("span", _hoisted_14, "*")) : createCommentVNode("v-if", true),
491
522
  createElementVNode("span", null, toDisplayString(_ctx.topImageTitle || "\u5C01\u9762\u5934\u56FE"), 1)
492
- ])) : (openBlock(), createElementBlock("span", _hoisted_16, "PC\u5C01\u9762\u56FE")),
493
- !_ctx.flex ? (openBlock(), createElementBlock("span", _hoisted_17, " (\u5EFA\u8BAE\u5C3A\u5BF8\uFF1A1242px*662px) ")) : createCommentVNode("v-if", true)
523
+ ])) : (openBlock(), createElementBlock("span", _hoisted_15, "PC\u5C01\u9762\u56FE")),
524
+ !_ctx.flex ? (openBlock(), createElementBlock("span", _hoisted_16, " (\u5EFA\u8BAE\u5C3A\u5BF8\uFF1A1242px*662px) ")) : createCommentVNode("v-if", true)
494
525
  ], 4),
495
- createElementVNode("div", _hoisted_18, [
526
+ createElementVNode("div", _hoisted_17, [
496
527
  createVNode(_sfc_main$1, {
497
528
  id: `pc-banner-card`,
498
529
  data: pcBanner.value,
499
530
  "onUpdate:data": _cache[7] || (_cache[7] = ($event) => pcBanner.value = $event),
531
+ parentRef: selectThumbRef.value,
500
532
  previewList: previewList.value,
501
533
  thumbModel: "pcBanner",
534
+ onFileForShowThumb: fileForShowThumb,
535
+ onChangeThumbType: changeThumbType,
502
536
  onUploadLocal: _cache[8] || (_cache[8] = (cb) => _ctx.$emit("upload", cb)),
503
537
  onOpen: openDialogMediaSelection
504
- }, null, 8, ["data", "previewList"]),
505
- _ctx.flex ? (openBlock(), createElementBlock("span", _hoisted_19, "(\u5EFA\u8BAE\u5C3A\u5BF8\uFF1A1242px*662px)")) : createCommentVNode("v-if", true),
506
- docSeriesShowTopThemeColor.value && styleData.value.top_theme_color ? (openBlock(), createElementBlock("div", _hoisted_20, _hoisted_22)) : createCommentVNode("v-if", true),
538
+ }, null, 8, ["data", "parentRef", "previewList"]),
539
+ _ctx.flex ? (openBlock(), createElementBlock("span", _hoisted_18, "(\u5EFA\u8BAE\u5C3A\u5BF8\uFF1A1242px*662px)")) : createCommentVNode("v-if", true),
540
+ docSeriesShowTopThemeColor.value && styleData.value.top_theme_color ? (openBlock(), createElementBlock("div", _hoisted_19, _hoisted_21)) : createCommentVNode("v-if", true),
507
541
  docSeriesShowTopThemeColor.value ? (openBlock(), createBlock(_sfc_main$2, {
508
542
  key: 2,
509
543
  model: "top",
@@ -533,7 +567,7 @@ const _sfc_main = defineComponent({
533
567
  "generate-assets": false,
534
568
  onConfirm: cropConfirm
535
569
  }, null, 8, ["visible", "aspect-ratio-prop", "BASE_API", "corp-data"])) : createCommentVNode("v-if", true)
536
- ]);
570
+ ], 512);
537
571
  };
538
572
  }
539
573
  });
@@ -1,4 +1,4 @@
1
- import { defineComponent, computed, openBlock, createBlock, unref, withCtx, createElementVNode, normalizeStyle, normalizeClass, createElementBlock, createVNode, Transition, withModifiers, createCommentVNode } from "vue";
1
+ import { defineComponent, computed, openBlock, createBlock, unref, withCtx, createElementVNode, normalizeClass, createElementBlock, createVNode, Transition, withModifiers, createCommentVNode, normalizeStyle } from "vue";
2
2
  import { Popover, Image } from "@arco-design/web-vue";
3
3
  import { IconEdit, IconDelete, IconPlus } from "@arco-design/web-vue/es/icon";
4
4
  import { DEFAULT_BASE_API } from "../../config.js";
@@ -13,14 +13,17 @@ const _sfc_main = defineComponent({
13
13
  data: {},
14
14
  previewList: {},
15
15
  thumbModel: {},
16
+ parentRef: {},
17
+ idx: {},
16
18
  along: { type: Boolean },
17
- model: {},
18
- changeThumbModel: { type: Function }
19
+ model: {}
19
20
  },
20
21
  emits: [
21
22
  "open",
22
23
  "remove",
23
24
  "change",
25
+ "changeThumbType",
26
+ "fileForShowThumb",
24
27
  "uploadLocal",
25
28
  "update:data"
26
29
  ],
@@ -36,16 +39,11 @@ const _sfc_main = defineComponent({
36
39
  [`model-${props.model}`]: ((_a = props.data) == null ? void 0 : _a.url) && props.model
37
40
  };
38
41
  });
39
- const btnStyle = computed(() => {
40
- return {
41
- padding: "5px 10px",
42
- cursor: "pointer"
43
- };
44
- });
45
42
  const clickMask = () => {
46
43
  props.along && openDialogMediaSelection();
47
44
  };
48
45
  const loaclUpload = () => {
46
+ emit("changeThumbType", props.thumbModel, props.idx || 0);
49
47
  emit("uploadLocal", (file) => {
50
48
  let { data } = props;
51
49
  if (!file)
@@ -54,7 +52,7 @@ const _sfc_main = defineComponent({
54
52
  data = {};
55
53
  }
56
54
  data.url = file.url;
57
- emit("update:data", data);
55
+ emit("fileForShowThumb", data);
58
56
  });
59
57
  };
60
58
  const openDialogMediaSelection = () => {
@@ -66,17 +64,12 @@ const _sfc_main = defineComponent({
66
64
  return (_ctx, _cache) => {
67
65
  return openBlock(), createBlock(unref(Popover), {
68
66
  trigger: "hover",
69
- "content-style": { padding: 0 }
67
+ position: "bottom",
68
+ "popup-container": props.parentRef
70
69
  }, {
71
70
  content: withCtx(() => [
72
- createElementVNode("div", {
73
- style: normalizeStyle(btnStyle.value),
74
- onClick: openDialogMediaSelection
75
- }, "\u7D20\u6750\u5E93\u9009\u62E9", 4),
76
- createElementVNode("div", {
77
- style: normalizeStyle(btnStyle.value),
78
- onClick: loaclUpload
79
- }, "\u672C\u5730\u4E0A\u4F20", 4)
71
+ createElementVNode("div", { onClick: openDialogMediaSelection }, "\u7D20\u6750\u5E93\u9009\u62E9"),
72
+ createElementVNode("div", { onClick: loaclUpload }, "\u672C\u5730\u4E0A\u4F20")
80
73
  ]),
81
74
  default: withCtx(() => {
82
75
  var _a;
@@ -125,7 +118,7 @@ const _sfc_main = defineComponent({
125
118
  ];
126
119
  }),
127
120
  _: 1
128
- });
121
+ }, 8, ["popup-container"]);
129
122
  };
130
123
  }
131
124
  });
@@ -1,3 +1,6 @@
1
+ .select-thumb-container {
2
+ position: relative;
3
+ }
1
4
  .select-thumb-container .thumb-card-container {
2
5
  position: relative;
3
6
  width: 100px;
@@ -108,6 +111,16 @@
108
111
  transition: transform 0.15s ease-in 0.05s;
109
112
  transform-origin: center;
110
113
  }
114
+ .select-thumb-container .arco-trigger-popup .arco-popover-popup-content {
115
+ padding: 0;
116
+ }
117
+ .select-thumb-container .arco-trigger-popup .arco-popover-popup-content .arco-popover-content div {
118
+ padding: 5px 10px;
119
+ }
120
+ .select-thumb-container .arco-trigger-popup .arco-popover-popup-content .arco-popover-content div:hover {
121
+ background-color: #f3f6f9;
122
+ cursor: pointer;
123
+ }
111
124
  .select-thumb-container .title {
112
125
  margin-bottom: 10px;
113
126
  color: #4e5969;
@@ -1,8 +1,26 @@
1
1
  .select-thumb-container {
2
+ position: relative;
2
3
  @radio-button-size: 32px;
3
4
  @import './card.less';
4
5
  @import './colorPalette.less';
5
6
 
7
+ .arco-trigger-popup {
8
+ .arco-popover-popup-content {
9
+ padding: 0;
10
+
11
+ .arco-popover-content {
12
+ div {
13
+ padding: 5px 10px;
14
+
15
+ &:hover {
16
+ background-color: #f3f6f9;
17
+ cursor: pointer;
18
+ }
19
+ }
20
+ }
21
+ }
22
+ }
23
+
6
24
  .title {
7
25
  margin-bottom: 10px;
8
26
  color: #4e5969;
package/lib/index.css CHANGED
@@ -3438,6 +3438,9 @@
3438
3438
  .user-select-content .arco-tree-node:hover .tree-action {
3439
3439
  display: flex;
3440
3440
  }
3441
+ .select-thumb-container {
3442
+ position: relative;
3443
+ }
3441
3444
  .select-thumb-container .thumb-card-container {
3442
3445
  position: relative;
3443
3446
  width: 100px;
@@ -3548,6 +3551,16 @@
3548
3551
  transition: transform 0.15s ease-in 0.05s;
3549
3552
  transform-origin: center;
3550
3553
  }
3554
+ .select-thumb-container .arco-trigger-popup .arco-popover-popup-content {
3555
+ padding: 0;
3556
+ }
3557
+ .select-thumb-container .arco-trigger-popup .arco-popover-popup-content .arco-popover-content div {
3558
+ padding: 5px 10px;
3559
+ }
3560
+ .select-thumb-container .arco-trigger-popup .arco-popover-popup-content .arco-popover-content div:hover {
3561
+ background-color: #f3f6f9;
3562
+ cursor: pointer;
3563
+ }
3551
3564
  .select-thumb-container .title {
3552
3565
  margin-bottom: 10px;
3553
3566
  color: #4e5969;