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