@cmstops/pro-compo 0.1.56 → 0.1.58
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.
- package/dist/index.css +14 -11
- package/dist/index.min.css +1 -1
- package/es/index.css +14 -11
- package/es/resourceModal/style/MediaSelection.less +1 -1
- package/es/resourceModal/style/index.css +1 -1
- package/es/selectThumb/component.js +188 -118
- package/es/selectThumb/style/index.css +13 -10
- package/es/selectThumb/style/index.less +22 -12
- package/lib/index.css +14 -11
- package/lib/resourceModal/style/MediaSelection.less +1 -1
- package/lib/resourceModal/style/index.css +1 -1
- package/lib/selectThumb/component.js +187 -117
- package/lib/selectThumb/style/index.css +13 -10
- package/lib/selectThumb/style/index.less +22 -12
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, provide, computed, watch, nextTick, openBlock, createElementBlock,
|
|
1
|
+
import { defineComponent, ref, provide, computed, watch, nextTick, openBlock, createElementBlock, createElementVNode, normalizeClass, normalizeStyle, withDirectives, vShow, toDisplayString, createCommentVNode, Fragment, renderList, createBlock, createVNode, unref, withCtx, createTextVNode } from "vue";
|
|
2
2
|
import { RadioGroup, Radio, Switch } from "@arco-design/web-vue";
|
|
3
3
|
import { docThumbObjMap, docThumbArrMap, docThumbRatioMap } from "../utils/doc.js";
|
|
4
4
|
import _sfc_main$3 from "../resourceModal/component.js";
|
|
@@ -7,37 +7,36 @@ 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
9
|
const _hoisted_1 = { class: "select-thumb-container" };
|
|
10
|
-
const _hoisted_2 = {
|
|
11
|
-
|
|
12
|
-
class: "title"
|
|
13
|
-
};
|
|
14
|
-
const _hoisted_3 = {
|
|
15
|
-
key: 0,
|
|
16
|
-
class: "tip"
|
|
17
|
-
};
|
|
10
|
+
const _hoisted_2 = { class: "star" };
|
|
11
|
+
const _hoisted_3 = { class: "thumbbox" };
|
|
18
12
|
const _hoisted_4 = {
|
|
19
|
-
key:
|
|
13
|
+
key: 0,
|
|
20
14
|
class: "thumb-list-view"
|
|
21
15
|
};
|
|
22
|
-
const _hoisted_5 = {
|
|
23
|
-
const _hoisted_6 = {
|
|
24
|
-
const _hoisted_7 =
|
|
16
|
+
const _hoisted_5 = { style: { "margin-top": "-10px" } };
|
|
17
|
+
const _hoisted_6 = /* @__PURE__ */ createElementVNode("span", { style: { "margin-right": "10px" } }, "\u72EC\u7ACB\u8F6E\u64AD\u56FE", -1);
|
|
18
|
+
const _hoisted_7 = { class: "thumbbox" };
|
|
25
19
|
const _hoisted_8 = { class: "title" };
|
|
26
20
|
const _hoisted_9 = /* @__PURE__ */ createElementVNode("span", null, "\u72EC\u7ACB\u8F6E\u64AD\u56FE\u80CC\u666F\u989C\u8272", -1);
|
|
27
21
|
const _hoisted_10 = [
|
|
28
22
|
_hoisted_9
|
|
29
23
|
];
|
|
30
|
-
const _hoisted_11 = {
|
|
31
|
-
const _hoisted_12 = {
|
|
32
|
-
const _hoisted_13 = {
|
|
33
|
-
const _hoisted_14 = { key:
|
|
24
|
+
const _hoisted_11 = { key: 0 };
|
|
25
|
+
const _hoisted_12 = { key: 1 };
|
|
26
|
+
const _hoisted_13 = /* @__PURE__ */ createElementVNode("span", { class: "star" }, "*", -1);
|
|
27
|
+
const _hoisted_14 = { key: 2 };
|
|
34
28
|
const _hoisted_15 = /* @__PURE__ */ createElementVNode("span", { class: "star" }, "*", -1);
|
|
35
|
-
const _hoisted_16 = { key:
|
|
36
|
-
const _hoisted_17 =
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
29
|
+
const _hoisted_16 = { key: 3 };
|
|
30
|
+
const _hoisted_17 = {
|
|
31
|
+
class: "tip",
|
|
32
|
+
style: { "margin-left": "10px" }
|
|
33
|
+
};
|
|
34
|
+
const _hoisted_18 = { class: "thumbbox" };
|
|
35
|
+
const _hoisted_19 = { class: "tip" };
|
|
36
|
+
const _hoisted_20 = { class: "title" };
|
|
37
|
+
const _hoisted_21 = /* @__PURE__ */ createElementVNode("span", null, "\u5934\u56FE\u80CC\u666F\u989C\u8272", -1);
|
|
38
|
+
const _hoisted_22 = [
|
|
39
|
+
_hoisted_21
|
|
41
40
|
];
|
|
42
41
|
const _sfc_main = defineComponent({
|
|
43
42
|
...{ name: "selectThumb" },
|
|
@@ -46,7 +45,10 @@ const _sfc_main = defineComponent({
|
|
|
46
45
|
BASE_API: {},
|
|
47
46
|
mode: {},
|
|
48
47
|
dataValue: {},
|
|
48
|
+
flex: { type: Boolean },
|
|
49
|
+
offset: {},
|
|
49
50
|
title: {},
|
|
51
|
+
titleValid: { type: Boolean },
|
|
50
52
|
showTitle: { type: Boolean },
|
|
51
53
|
cropper: { type: Boolean },
|
|
52
54
|
aiImages: {},
|
|
@@ -157,6 +159,8 @@ const _sfc_main = defineComponent({
|
|
|
157
159
|
return "1,2,3,4,7";
|
|
158
160
|
if (series === "h5")
|
|
159
161
|
return "1,2,3,4,7";
|
|
162
|
+
if (series === "local_live")
|
|
163
|
+
return "2,3";
|
|
160
164
|
}
|
|
161
165
|
return "1,2,3,4,5,7";
|
|
162
166
|
});
|
|
@@ -180,9 +184,13 @@ const _sfc_main = defineComponent({
|
|
|
180
184
|
};
|
|
181
185
|
const docSeriesShowTopThemeColor = computed(() => {
|
|
182
186
|
const { series } = props;
|
|
183
|
-
return [
|
|
184
|
-
|
|
185
|
-
|
|
187
|
+
return [
|
|
188
|
+
"special",
|
|
189
|
+
"special_v3",
|
|
190
|
+
"video_album",
|
|
191
|
+
"audio_album",
|
|
192
|
+
"local_live"
|
|
193
|
+
].includes(series);
|
|
186
194
|
});
|
|
187
195
|
const submitCallback = (data) => {
|
|
188
196
|
var _a;
|
|
@@ -312,122 +320,184 @@ const _sfc_main = defineComponent({
|
|
|
312
320
|
callback(styleData2);
|
|
313
321
|
};
|
|
314
322
|
return (_ctx, _cache) => {
|
|
315
|
-
var _a, _b, _c;
|
|
323
|
+
var _a, _b, _c, _d, _e, _f;
|
|
316
324
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
onChange: modelChange
|
|
342
|
-
}, {
|
|
343
|
-
default: withCtx(() => [
|
|
344
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(modelList.value, (item, index) => {
|
|
345
|
-
return openBlock(), createBlock(unref(Radio), {
|
|
325
|
+
createElementVNode("div", {
|
|
326
|
+
class: normalizeClass(["banner-view", { flex: _ctx.flex }])
|
|
327
|
+
}, [
|
|
328
|
+
_ctx.mode !== "smiple" ? (openBlock(), createElementBlock("div", {
|
|
329
|
+
key: 0,
|
|
330
|
+
class: "title",
|
|
331
|
+
style: normalizeStyle({ width: _ctx.offset })
|
|
332
|
+
}, [
|
|
333
|
+
withDirectives(createElementVNode("span", _hoisted_2, "*", 512), [
|
|
334
|
+
[vShow, _ctx.titleValid]
|
|
335
|
+
]),
|
|
336
|
+
createElementVNode("span", null, toDisplayString(_ctx.title ? _ctx.title : "\u5C01\u9762"), 1),
|
|
337
|
+
((_a = curtemplate.value) == null ? void 0 : _a.value) !== "4" ? withDirectives((openBlock(), createElementBlock("span", {
|
|
338
|
+
key: 0,
|
|
339
|
+
class: "tip",
|
|
340
|
+
style: { "margin-left": "10px" }
|
|
341
|
+
}, " (" + toDisplayString((_b = curtemplate.value) == null ? void 0 : _b.alias) + "\u6BD4\u4F8B\uFF1A" + toDisplayString((_c = curtemplate.value) == null ? void 0 : _c.ratioStr) + ") ", 513)), [
|
|
342
|
+
[vShow, !_ctx.flex]
|
|
343
|
+
]) : createCommentVNode("v-if", true)
|
|
344
|
+
], 4)) : createCommentVNode("v-if", true),
|
|
345
|
+
createElementVNode("div", _hoisted_3, [
|
|
346
|
+
currentModel.value ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
347
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(currentModel.value.maxLength, (item, index) => {
|
|
348
|
+
return openBlock(), createBlock(_sfc_main$1, {
|
|
346
349
|
key: index,
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
},
|
|
350
|
+
id: `thumb-card-${index}`,
|
|
351
|
+
data: thumbList.value[index],
|
|
352
|
+
model: model.value,
|
|
353
|
+
"preview-list": previewList.value,
|
|
354
|
+
"thumb-model": "thumb",
|
|
355
|
+
onOpen: ($event) => openDialogMediaSelection($event, index)
|
|
356
|
+
}, null, 8, ["id", "data", "model", "preview-list", "onOpen"]);
|
|
354
357
|
}), 128))
|
|
358
|
+
])) : createCommentVNode("v-if", true),
|
|
359
|
+
createElementVNode("div", _hoisted_5, [
|
|
360
|
+
((_d = curtemplate.value) == null ? void 0 : _d.value) !== "4" ? withDirectives((openBlock(), createElementBlock("span", {
|
|
361
|
+
key: 0,
|
|
362
|
+
class: "tip"
|
|
363
|
+
}, " (" + toDisplayString((_e = curtemplate.value) == null ? void 0 : _e.alias) + "\u6BD4\u4F8B\uFF1A" + toDisplayString((_f = curtemplate.value) == null ? void 0 : _f.ratioStr) + ") ", 513)), [
|
|
364
|
+
[vShow, _ctx.flex]
|
|
365
|
+
]) : createCommentVNode("v-if", true)
|
|
355
366
|
]),
|
|
356
|
-
|
|
357
|
-
|
|
367
|
+
_ctx.mode === "doc" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
368
|
+
createCommentVNode(" \u9009\u62E9\u5927\u56FE\u3001\u4E09\u56FE\u3001\u5355\u56FE...\u7B49\u6A21\u5F0F "),
|
|
369
|
+
createVNode(unref(RadioGroup), {
|
|
370
|
+
modelValue: model.value,
|
|
371
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => model.value = $event),
|
|
372
|
+
size: "small",
|
|
373
|
+
type: "button",
|
|
374
|
+
style: { "margin-top": "10px" },
|
|
375
|
+
onChange: modelChange
|
|
376
|
+
}, {
|
|
377
|
+
default: withCtx(() => [
|
|
378
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(modelList.value, (item, index) => {
|
|
379
|
+
return openBlock(), createBlock(unref(Radio), {
|
|
380
|
+
key: index,
|
|
381
|
+
value: item.value
|
|
382
|
+
}, {
|
|
383
|
+
default: withCtx(() => [
|
|
384
|
+
createTextVNode(toDisplayString(item.alias), 1)
|
|
385
|
+
]),
|
|
386
|
+
_: 2
|
|
387
|
+
}, 1032, ["value"]);
|
|
388
|
+
}), 128))
|
|
389
|
+
]),
|
|
390
|
+
_: 1
|
|
391
|
+
}, 8, ["modelValue"])
|
|
392
|
+
], 64)) : createCommentVNode("v-if", true)
|
|
393
|
+
])
|
|
394
|
+
], 2),
|
|
395
|
+
_ctx.mode === "doc" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
358
396
|
createCommentVNode(" \u72EC\u7ACB\u8F6E\u535A\u56FE "),
|
|
359
|
-
createElementVNode("div",
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
397
|
+
createElementVNode("div", {
|
|
398
|
+
class: normalizeClass(["banner-view", { flex: _ctx.flex }])
|
|
399
|
+
}, [
|
|
400
|
+
createElementVNode("div", {
|
|
401
|
+
class: "title",
|
|
402
|
+
style: normalizeStyle({ width: _ctx.offset })
|
|
403
|
+
}, [
|
|
404
|
+
_hoisted_6,
|
|
405
|
+
withDirectives(createVNode(unref(Switch), {
|
|
363
406
|
modelValue: hasBanner.value,
|
|
364
407
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => hasBanner.value = $event),
|
|
365
408
|
size: "small"
|
|
366
|
-
}, null, 8, ["modelValue"])
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
409
|
+
}, null, 8, ["modelValue"]), [
|
|
410
|
+
[vShow, !_ctx.flex]
|
|
411
|
+
])
|
|
412
|
+
], 4),
|
|
413
|
+
createElementVNode("div", _hoisted_7, [
|
|
414
|
+
withDirectives(createVNode(unref(Switch), {
|
|
415
|
+
modelValue: hasBanner.value,
|
|
416
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => hasBanner.value = $event),
|
|
417
|
+
style: { "margin-bottom": "10px" },
|
|
418
|
+
size: "small"
|
|
419
|
+
}, null, 8, ["modelValue"]), [
|
|
420
|
+
[vShow, _ctx.flex]
|
|
421
|
+
]),
|
|
422
|
+
withDirectives(createVNode(_sfc_main$1, {
|
|
423
|
+
id: `banner-card`,
|
|
424
|
+
data: banner.value,
|
|
425
|
+
"preview-list": previewList.value,
|
|
426
|
+
"thumb-model": "banner",
|
|
427
|
+
onOpen: openDialogMediaSelection
|
|
428
|
+
}, null, 8, ["data", "preview-list"]), [
|
|
429
|
+
[vShow, hasBanner.value]
|
|
430
|
+
]),
|
|
431
|
+
withDirectives(createElementVNode("div", _hoisted_8, _hoisted_10, 512), [
|
|
432
|
+
[vShow, hasBanner.value && styleData.value.banner_theme_color]
|
|
433
|
+
]),
|
|
434
|
+
createCommentVNode(" banner\u8C03\u8272\u677F "),
|
|
435
|
+
withDirectives(createVNode(_sfc_main$2, {
|
|
436
|
+
"style-data": styleData.value,
|
|
437
|
+
model: "banner",
|
|
438
|
+
onChange: colorChange
|
|
439
|
+
}, null, 8, ["style-data"]), [
|
|
440
|
+
[vShow, hasBanner.value]
|
|
441
|
+
])
|
|
387
442
|
])
|
|
388
|
-
]),
|
|
443
|
+
], 2),
|
|
389
444
|
createCommentVNode(" pc\u5C01\u9762\u56FE\uFF08\u4E13\u9898\u5934\u56FE\u5171\u7528\u4E00\u4E2A\u5B57\u6BB5\uFF09 "),
|
|
390
|
-
createElementVNode("div",
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
445
|
+
createElementVNode("div", {
|
|
446
|
+
class: normalizeClass(["banner-view", { flex: _ctx.flex }])
|
|
447
|
+
}, [
|
|
448
|
+
createElementVNode("div", {
|
|
449
|
+
class: "title",
|
|
450
|
+
style: normalizeStyle({ width: _ctx.offset })
|
|
451
|
+
}, [
|
|
452
|
+
["special", "special_v3"].includes(props.series) ? (openBlock(), createElementBlock("span", _hoisted_11, "\u4E13\u9898\u5934\u56FE")) : ["video_album", "audio_album"].includes(props.series) ? (openBlock(), createElementBlock("span", _hoisted_12, [
|
|
453
|
+
_hoisted_13,
|
|
394
454
|
createTextVNode("\u5C01\u9762\u5934\u56FE")
|
|
455
|
+
])) : ["local_live"].includes(props.series) ? (openBlock(), createElementBlock("span", _hoisted_14, [
|
|
456
|
+
_hoisted_15,
|
|
457
|
+
createTextVNode("\u76F4\u64AD\u5934\u56FE")
|
|
395
458
|
])) : (openBlock(), createElementBlock("span", _hoisted_16, "PC\u5C01\u9762\u56FE")),
|
|
396
|
-
_hoisted_17
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
459
|
+
withDirectives(createElementVNode("span", _hoisted_17, "(\u5EFA\u8BAE\u5C3A\u5BF8\uFF1A1242px*662px)", 512), [
|
|
460
|
+
[vShow, !_ctx.flex]
|
|
461
|
+
])
|
|
462
|
+
], 4),
|
|
463
|
+
createElementVNode("div", _hoisted_18, [
|
|
464
|
+
createVNode(_sfc_main$1, {
|
|
465
|
+
id: `pc-banner-card`,
|
|
466
|
+
data: pcBanner.value,
|
|
467
|
+
previewList: previewList.value,
|
|
468
|
+
thumbModel: "pcBanner",
|
|
469
|
+
onOpen: openDialogMediaSelection
|
|
470
|
+
}, null, 8, ["data", "previewList"]),
|
|
471
|
+
withDirectives(createElementVNode("span", _hoisted_19, "(\u5EFA\u8BAE\u5C3A\u5BF8\uFF1A1242px*662px)", 512), [
|
|
472
|
+
[vShow, _ctx.flex]
|
|
473
|
+
]),
|
|
474
|
+
withDirectives(createElementVNode("div", _hoisted_20, _hoisted_22, 512), [
|
|
475
|
+
[vShow, docSeriesShowTopThemeColor.value && styleData.value.top_theme_color]
|
|
476
|
+
]),
|
|
477
|
+
withDirectives(createVNode(_sfc_main$2, {
|
|
478
|
+
styleData: styleData.value,
|
|
479
|
+
model: "top",
|
|
480
|
+
onChange: colorChange
|
|
481
|
+
}, null, 8, ["styleData"]), [
|
|
482
|
+
[vShow, docSeriesShowTopThemeColor.value]
|
|
483
|
+
])
|
|
414
484
|
])
|
|
415
|
-
])
|
|
485
|
+
], 2)
|
|
416
486
|
], 64)) : createCommentVNode("v-if", true),
|
|
417
487
|
createVNode(_sfc_main$3, {
|
|
418
488
|
dialogVisible: dialogMediaSelectionShow.value,
|
|
419
|
-
"onUpdate:dialogVisible": _cache[
|
|
489
|
+
"onUpdate:dialogVisible": _cache[3] || (_cache[3] = ($event) => dialogMediaSelectionShow.value = $event),
|
|
420
490
|
preview: false,
|
|
421
491
|
"catalog-props": "image",
|
|
422
492
|
ai_static_covers: _ctx.aiImages,
|
|
423
493
|
BASE_API: unref(BASE_API),
|
|
424
494
|
onSubmit: submitCallback,
|
|
425
|
-
onUpload: _cache[
|
|
495
|
+
onUpload: _cache[4] || (_cache[4] = (cb) => _ctx.$emit("upload", cb))
|
|
426
496
|
}, null, 8, ["dialogVisible", "ai_static_covers", "BASE_API"]),
|
|
427
497
|
refreshCrop.value ? (openBlock(), createBlock(_sfc_main$4, {
|
|
428
|
-
key:
|
|
498
|
+
key: 1,
|
|
429
499
|
visible: dialogCropperShow.value,
|
|
430
|
-
"onUpdate:visible": _cache[
|
|
500
|
+
"onUpdate:visible": _cache[5] || (_cache[5] = ($event) => dialogCropperShow.value = $event),
|
|
431
501
|
"aspect-ratio-prop": aspectRatioProp.value,
|
|
432
502
|
BASE_API: unref(BASE_API),
|
|
433
503
|
"corp-data": cropperData.value,
|
|
@@ -110,18 +110,18 @@
|
|
|
110
110
|
transform-origin: center;
|
|
111
111
|
}
|
|
112
112
|
.select-thumb-container .title {
|
|
113
|
-
|
|
113
|
+
margin-bottom: 10px;
|
|
114
114
|
color: #4e5969;
|
|
115
115
|
font-weight: 700;
|
|
116
|
-
|
|
117
|
-
margin: 5px 0px;
|
|
118
|
-
}
|
|
119
|
-
.select-thumb-container .title span {
|
|
120
|
-
margin-right: 10px;
|
|
116
|
+
font-size: 14px;
|
|
121
117
|
}
|
|
122
|
-
.select-thumb-container .
|
|
123
|
-
|
|
118
|
+
.select-thumb-container .tip {
|
|
119
|
+
display: inline-block;
|
|
124
120
|
color: rgba(78, 89, 105, 0.4);
|
|
121
|
+
font-size: 12px;
|
|
122
|
+
}
|
|
123
|
+
.select-thumb-container .thumbbox {
|
|
124
|
+
margin-bottom: 10px;
|
|
125
125
|
}
|
|
126
126
|
.select-thumb-container .thumb-list-view {
|
|
127
127
|
display: flex;
|
|
@@ -129,12 +129,15 @@
|
|
|
129
129
|
margin-bottom: 10px;
|
|
130
130
|
}
|
|
131
131
|
.select-thumb-container .star {
|
|
132
|
-
color: red;
|
|
133
132
|
margin-right: 2px !important;
|
|
133
|
+
color: red;
|
|
134
|
+
}
|
|
135
|
+
.select-thumb-container .flex {
|
|
136
|
+
display: flex;
|
|
134
137
|
}
|
|
135
138
|
.select-thumb-container .color-picker-input {
|
|
136
139
|
width: 32px;
|
|
137
140
|
height: 32px;
|
|
141
|
+
padding: 0 2px;
|
|
138
142
|
border: none;
|
|
139
|
-
padding: 0px 2px;
|
|
140
143
|
}
|
|
@@ -2,33 +2,43 @@
|
|
|
2
2
|
@radio-button-size: 32px;
|
|
3
3
|
@import './card.less';
|
|
4
4
|
@import './colorPalette.less';
|
|
5
|
+
|
|
5
6
|
.title {
|
|
6
|
-
|
|
7
|
+
margin-bottom: 10px;
|
|
7
8
|
color: #4e5969;
|
|
8
9
|
font-weight: 700;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
10
|
+
font-size: 14px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.tip {
|
|
14
|
+
display: inline-block;
|
|
15
|
+
color: rgba(78, 89, 105, 0.4);
|
|
16
|
+
font-size: 12px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.thumbbox {
|
|
20
|
+
margin-bottom: 10px;
|
|
18
21
|
}
|
|
22
|
+
|
|
19
23
|
.thumb-list-view {
|
|
20
24
|
display: flex;
|
|
21
25
|
align-items: center;
|
|
22
26
|
margin-bottom: 10px;
|
|
23
27
|
}
|
|
28
|
+
|
|
24
29
|
.star {
|
|
25
|
-
color: red;
|
|
26
30
|
margin-right: 2px !important;
|
|
31
|
+
color: red;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.flex {
|
|
35
|
+
display: flex;
|
|
27
36
|
}
|
|
37
|
+
|
|
28
38
|
.color-picker-input {
|
|
29
39
|
width: @radio-button-size;
|
|
30
40
|
height: @radio-button-size;
|
|
41
|
+
padding: 0 2px;
|
|
31
42
|
border: none;
|
|
32
|
-
padding: 0px 2px;
|
|
33
43
|
}
|
|
34
44
|
}
|
package/lib/index.css
CHANGED
|
@@ -503,7 +503,7 @@
|
|
|
503
503
|
}
|
|
504
504
|
.media-selection .aigc-gen-content {
|
|
505
505
|
width: 100%;
|
|
506
|
-
height:
|
|
506
|
+
height: 100%;
|
|
507
507
|
}
|
|
508
508
|
.media-selection .aigc-gen-content iframe {
|
|
509
509
|
width: 100%;
|
|
@@ -3251,18 +3251,18 @@
|
|
|
3251
3251
|
transform-origin: center;
|
|
3252
3252
|
}
|
|
3253
3253
|
.select-thumb-container .title {
|
|
3254
|
-
|
|
3254
|
+
margin-bottom: 10px;
|
|
3255
3255
|
color: #4e5969;
|
|
3256
3256
|
font-weight: 700;
|
|
3257
|
-
|
|
3258
|
-
margin: 5px 0px;
|
|
3259
|
-
}
|
|
3260
|
-
.select-thumb-container .title span {
|
|
3261
|
-
margin-right: 10px;
|
|
3257
|
+
font-size: 14px;
|
|
3262
3258
|
}
|
|
3263
|
-
.select-thumb-container .
|
|
3264
|
-
|
|
3259
|
+
.select-thumb-container .tip {
|
|
3260
|
+
display: inline-block;
|
|
3265
3261
|
color: rgba(78, 89, 105, 0.4);
|
|
3262
|
+
font-size: 12px;
|
|
3263
|
+
}
|
|
3264
|
+
.select-thumb-container .thumbbox {
|
|
3265
|
+
margin-bottom: 10px;
|
|
3266
3266
|
}
|
|
3267
3267
|
.select-thumb-container .thumb-list-view {
|
|
3268
3268
|
display: flex;
|
|
@@ -3270,14 +3270,17 @@
|
|
|
3270
3270
|
margin-bottom: 10px;
|
|
3271
3271
|
}
|
|
3272
3272
|
.select-thumb-container .star {
|
|
3273
|
-
color: red;
|
|
3274
3273
|
margin-right: 2px !important;
|
|
3274
|
+
color: red;
|
|
3275
|
+
}
|
|
3276
|
+
.select-thumb-container .flex {
|
|
3277
|
+
display: flex;
|
|
3275
3278
|
}
|
|
3276
3279
|
.select-thumb-container .color-picker-input {
|
|
3277
3280
|
width: 32px;
|
|
3278
3281
|
height: 32px;
|
|
3282
|
+
padding: 0 2px;
|
|
3279
3283
|
border: none;
|
|
3280
|
-
padding: 0px 2px;
|
|
3281
3284
|
}
|
|
3282
3285
|
.edit-meta-info-dialog-body {
|
|
3283
3286
|
padding: 0;
|