@yoooloo42/joker 1.0.73 → 1.0.74
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/dist/bundle.css +3 -43
- package/dist/index.cjs.js +240 -144
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +240 -144
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -22455,15 +22455,15 @@ script$h.__file = "src/form/LabelBox.vue";
|
|
|
22455
22455
|
|
|
22456
22456
|
const _hoisted_1$e = { key: 12 };
|
|
22457
22457
|
const _hoisted_2$d = { key: 0 };
|
|
22458
|
-
const _hoisted_3$
|
|
22459
|
-
const _hoisted_4$
|
|
22460
|
-
const _hoisted_5$
|
|
22461
|
-
const _hoisted_6$
|
|
22462
|
-
const _hoisted_7$
|
|
22463
|
-
const _hoisted_8$
|
|
22464
|
-
const _hoisted_9$
|
|
22465
|
-
const _hoisted_10$
|
|
22466
|
-
const _hoisted_11
|
|
22458
|
+
const _hoisted_3$6 = { key: 13 };
|
|
22459
|
+
const _hoisted_4$5 = { key: 0 };
|
|
22460
|
+
const _hoisted_5$4 = { key: 14 };
|
|
22461
|
+
const _hoisted_6$4 = { key: 0 };
|
|
22462
|
+
const _hoisted_7$4 = { key: 16 };
|
|
22463
|
+
const _hoisted_8$3 = ["innerHTML"];
|
|
22464
|
+
const _hoisted_9$2 = { key: 17 };
|
|
22465
|
+
const _hoisted_10$1 = ["width", "height", "poster"];
|
|
22466
|
+
const _hoisted_11 = ["src"];
|
|
22467
22467
|
const _hoisted_12 = ["src"];
|
|
22468
22468
|
const _hoisted_13 = ["src"];
|
|
22469
22469
|
const _hoisted_14 = { key: 0 };
|
|
@@ -22989,7 +22989,7 @@ return (_ctx, _cache) => {
|
|
|
22989
22989
|
vue.createCommentVNode(" 图片&富文本&视频 "),
|
|
22990
22990
|
vue.createCommentVNode(" 图片 "),
|
|
22991
22991
|
(__props.item.inputType === 'image')
|
|
22992
|
-
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$
|
|
22992
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$6, [
|
|
22993
22993
|
vue.createElementVNode("div", null, [
|
|
22994
22994
|
vue.createVNode(_component_el_image, {
|
|
22995
22995
|
style: vue.normalizeStyle(style.image(__props.item, __props.myProps)),
|
|
@@ -23001,7 +23001,7 @@ return (_ctx, _cache) => {
|
|
|
23001
23001
|
]),
|
|
23002
23002
|
vue.createCommentVNode(" 设置了图片删除功能,同时图片不为空 "),
|
|
23003
23003
|
(!!__props.item.imageDelete && !!__props.dataBox.fieldsValue[__props.item.fieldName])
|
|
23004
|
-
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$
|
|
23004
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$5, [
|
|
23005
23005
|
vue.createVNode(_component_el_button, {
|
|
23006
23006
|
size: "small",
|
|
23007
23007
|
icon: !__props.dataBox.fieldsValue[__props.item.imageDelete] ? 'el-icon-delete' : 'el-icon-magic-stick',
|
|
@@ -23018,7 +23018,7 @@ return (_ctx, _cache) => {
|
|
|
23018
23018
|
: vue.createCommentVNode("v-if", true),
|
|
23019
23019
|
vue.createCommentVNode(" 多个图片 "),
|
|
23020
23020
|
(__props.item.inputType === 'images')
|
|
23021
|
-
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$
|
|
23021
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$4, [
|
|
23022
23022
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.dataBox.fieldsValue[__props.item.fieldName], (itemImages, indexImages) => {
|
|
23023
23023
|
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
23024
23024
|
key: indexImages,
|
|
@@ -23032,7 +23032,7 @@ return (_ctx, _cache) => {
|
|
|
23032
23032
|
}, null, 8 /* PROPS */, ["style", "src", "preview-src-list"])
|
|
23033
23033
|
]),
|
|
23034
23034
|
(!!__props.item.imageDelete)
|
|
23035
|
-
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$
|
|
23035
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$4, [
|
|
23036
23036
|
vue.createVNode(_component_el_button, {
|
|
23037
23037
|
size: "small",
|
|
23038
23038
|
icon: "el-icon-delete",
|
|
@@ -23064,15 +23064,15 @@ return (_ctx, _cache) => {
|
|
|
23064
23064
|
: vue.createCommentVNode("v-if", true),
|
|
23065
23065
|
vue.createCommentVNode(" 富文本show "),
|
|
23066
23066
|
(__props.item.inputType === 'richtextShow')
|
|
23067
|
-
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$
|
|
23067
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$4, [
|
|
23068
23068
|
vue.createElementVNode("div", {
|
|
23069
23069
|
innerHTML: __props.dataBox.fieldsValue[__props.item.fieldName]
|
|
23070
|
-
}, null, 8 /* PROPS */, _hoisted_8$
|
|
23070
|
+
}, null, 8 /* PROPS */, _hoisted_8$3)
|
|
23071
23071
|
]))
|
|
23072
23072
|
: vue.createCommentVNode("v-if", true),
|
|
23073
23073
|
vue.createCommentVNode(" 视频 "),
|
|
23074
23074
|
(__props.item.inputType === 'video')
|
|
23075
|
-
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$
|
|
23075
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$2, [
|
|
23076
23076
|
vue.createElementVNode("div", null, [
|
|
23077
23077
|
vue.createElementVNode("video", {
|
|
23078
23078
|
width: style.video(__props.item, __props.myProps).width,
|
|
@@ -23083,7 +23083,7 @@ return (_ctx, _cache) => {
|
|
|
23083
23083
|
vue.createElementVNode("source", {
|
|
23084
23084
|
src: video.src,
|
|
23085
23085
|
type: "video/mp4"
|
|
23086
|
-
}, null, 8 /* PROPS */, _hoisted_11
|
|
23086
|
+
}, null, 8 /* PROPS */, _hoisted_11),
|
|
23087
23087
|
vue.createCommentVNode(" MP4/H.264/AAC - 最广泛支持 "),
|
|
23088
23088
|
vue.createElementVNode("source", {
|
|
23089
23089
|
src: video.src,
|
|
@@ -23095,7 +23095,7 @@ return (_ctx, _cache) => {
|
|
|
23095
23095
|
type: "video/ogg"
|
|
23096
23096
|
}, null, 8 /* PROPS */, _hoisted_13),
|
|
23097
23097
|
vue.createCommentVNode(" Ogg/Theora/Vorbis - 较旧的开源格式 ")
|
|
23098
|
-
], 8 /* PROPS */, _hoisted_10$
|
|
23098
|
+
], 8 /* PROPS */, _hoisted_10$1)
|
|
23099
23099
|
]),
|
|
23100
23100
|
vue.createCommentVNode(" 设置了视频删除功能,同时视频不为空 "),
|
|
23101
23101
|
(!!__props.item.videoDelete && !!__props.dataBox.fieldsValue[__props.item.fieldName])
|
|
@@ -23274,8 +23274,8 @@ script$g.__file = "src/form/InputBox.vue";
|
|
|
23274
23274
|
|
|
23275
23275
|
const _hoisted_1$d = { key: 0 };
|
|
23276
23276
|
const _hoisted_2$c = ["colspan"];
|
|
23277
|
-
const _hoisted_3$
|
|
23278
|
-
const _hoisted_4$
|
|
23277
|
+
const _hoisted_3$5 = { key: 0 };
|
|
23278
|
+
const _hoisted_4$4 = ["colspan"];
|
|
23279
23279
|
|
|
23280
23280
|
|
|
23281
23281
|
var script$f = {
|
|
@@ -23367,7 +23367,7 @@ return (_ctx, _cache) => {
|
|
|
23367
23367
|
? item2.hdlVisible(__props.scopeThis, __props.dataBox.fieldsValue)
|
|
23368
23368
|
: true
|
|
23369
23369
|
)
|
|
23370
|
-
? (vue.openBlock(), vue.createElementBlock("tr", _hoisted_3$
|
|
23370
|
+
? (vue.openBlock(), vue.createElementBlock("tr", _hoisted_3$5, [
|
|
23371
23371
|
(item2.label)
|
|
23372
23372
|
? (vue.openBlock(), vue.createElementBlock("td", {
|
|
23373
23373
|
key: 0,
|
|
@@ -23391,7 +23391,7 @@ return (_ctx, _cache) => {
|
|
|
23391
23391
|
dataBox: __props.dataBox,
|
|
23392
23392
|
item: item2
|
|
23393
23393
|
}, null, 8 /* PROPS */, ["scopeThis", "myProps", "dataBox", "item"])
|
|
23394
|
-
], 12 /* STYLE, PROPS */, _hoisted_4$
|
|
23394
|
+
], 12 /* STYLE, PROPS */, _hoisted_4$4)
|
|
23395
23395
|
]))
|
|
23396
23396
|
: vue.createCommentVNode("v-if", true)
|
|
23397
23397
|
], 64 /* STABLE_FRAGMENT */))
|
|
@@ -41720,7 +41720,7 @@ var script$6 = {
|
|
|
41720
41720
|
|
|
41721
41721
|
const _hoisted_1$6 = { class: "el-upload__tip" };
|
|
41722
41722
|
const _hoisted_2$6 = ["src"];
|
|
41723
|
-
const _hoisted_3$
|
|
41723
|
+
const _hoisted_3$4 = {
|
|
41724
41724
|
key: 0,
|
|
41725
41725
|
style: {"font-size":"xx-small"}
|
|
41726
41726
|
};
|
|
@@ -41771,7 +41771,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
41771
41771
|
_: 1 /* STABLE */
|
|
41772
41772
|
}, 8 /* PROPS */, ["modelValue"]),
|
|
41773
41773
|
(_ctx.fileList.length>0)
|
|
41774
|
-
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$
|
|
41774
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$4, vue.toDisplayString("已上传"+_ctx.fileList.length+"个图片"), 1 /* TEXT */))
|
|
41775
41775
|
: vue.createCommentVNode("v-if", true),
|
|
41776
41776
|
(_ctx.fileList.length>0)
|
|
41777
41777
|
? (vue.openBlock(), vue.createBlock(_component_el_button, {
|
|
@@ -42161,19 +42161,19 @@ const _hoisted_2$4 = {
|
|
|
42161
42161
|
class: "el-icon-edit",
|
|
42162
42162
|
style: {"color":"blue"}
|
|
42163
42163
|
};
|
|
42164
|
-
const _hoisted_3$
|
|
42165
|
-
const _hoisted_4$
|
|
42164
|
+
const _hoisted_3$3 = { key: 1 };
|
|
42165
|
+
const _hoisted_4$3 = {
|
|
42166
42166
|
key: 0,
|
|
42167
42167
|
class: "el-icon-edit",
|
|
42168
42168
|
style: {"color":"blue"}
|
|
42169
42169
|
};
|
|
42170
|
-
const _hoisted_5$
|
|
42170
|
+
const _hoisted_5$3 = {
|
|
42171
42171
|
key: 0,
|
|
42172
42172
|
class: "value-item"
|
|
42173
42173
|
};
|
|
42174
|
-
const _hoisted_6$
|
|
42175
|
-
const _hoisted_7$
|
|
42176
|
-
const _hoisted_8$
|
|
42174
|
+
const _hoisted_6$3 = { style: {"width":"100%"} };
|
|
42175
|
+
const _hoisted_7$3 = { style: {"width":"50px"} };
|
|
42176
|
+
const _hoisted_8$2 = { class: "select-submit" };
|
|
42177
42177
|
|
|
42178
42178
|
|
|
42179
42179
|
var script$4 = {
|
|
@@ -42237,17 +42237,17 @@ return (_ctx, _cache) => {
|
|
|
42237
42237
|
]),
|
|
42238
42238
|
_cache[2] || (_cache[2] = vue.createElementVNode("td", null, "[未分类]", -1 /* CACHED */))
|
|
42239
42239
|
]))
|
|
42240
|
-
: (vue.openBlock(), vue.createElementBlock("tr", _hoisted_3$
|
|
42240
|
+
: (vue.openBlock(), vue.createElementBlock("tr", _hoisted_3$3, [
|
|
42241
42241
|
vue.createElementVNode("td", null, [
|
|
42242
42242
|
(!__props.myProps.readOnly)
|
|
42243
|
-
? (vue.openBlock(), vue.createElementBlock("i", _hoisted_4$
|
|
42243
|
+
? (vue.openBlock(), vue.createElementBlock("i", _hoisted_4$3))
|
|
42244
42244
|
: vue.createCommentVNode("v-if", true)
|
|
42245
42245
|
]),
|
|
42246
42246
|
vue.createElementVNode("td", null, [
|
|
42247
42247
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(value.value, (item, index) => {
|
|
42248
42248
|
return (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
42249
42249
|
(!!item)
|
|
42250
|
-
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$
|
|
42250
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$3, vue.toDisplayString(item), 1 /* TEXT */))
|
|
42251
42251
|
: vue.createCommentVNode("v-if", true)
|
|
42252
42252
|
], 64 /* STABLE_FRAGMENT */))
|
|
42253
42253
|
}), 256 /* UNKEYED_FRAGMENT */))
|
|
@@ -42266,7 +42266,7 @@ return (_ctx, _cache) => {
|
|
|
42266
42266
|
"destroy-on-close": true
|
|
42267
42267
|
}, {
|
|
42268
42268
|
default: vue.withCtx(() => [
|
|
42269
|
-
vue.createElementVNode("table", _hoisted_6$
|
|
42269
|
+
vue.createElementVNode("table", _hoisted_6$3, [
|
|
42270
42270
|
vue.createElementVNode("tbody", null, [
|
|
42271
42271
|
vue.createElementVNode("tr", null, [
|
|
42272
42272
|
vue.createElementVNode("td", null, [
|
|
@@ -42304,7 +42304,7 @@ return (_ctx, _cache) => {
|
|
|
42304
42304
|
]),
|
|
42305
42305
|
vue.createElementVNode("tr", null, [
|
|
42306
42306
|
_cache[4] || (_cache[4] = vue.createElementVNode("td", null, null, -1 /* CACHED */)),
|
|
42307
|
-
vue.createElementVNode("td", _hoisted_7$
|
|
42307
|
+
vue.createElementVNode("td", _hoisted_7$3, [
|
|
42308
42308
|
vue.createVNode(_component_el_button, {
|
|
42309
42309
|
type: "primary",
|
|
42310
42310
|
circle: "",
|
|
@@ -42327,7 +42327,7 @@ return (_ctx, _cache) => {
|
|
|
42327
42327
|
])
|
|
42328
42328
|
]),
|
|
42329
42329
|
_cache[6] || (_cache[6] = vue.createElementVNode("div", { class: "line" }, null, -1 /* CACHED */)),
|
|
42330
|
-
vue.createElementVNode("div", _hoisted_8$
|
|
42330
|
+
vue.createElementVNode("div", _hoisted_8$2, [
|
|
42331
42331
|
vue.createVNode(_component_el_button, {
|
|
42332
42332
|
type: "danger",
|
|
42333
42333
|
plain: "",
|
|
@@ -42357,17 +42357,17 @@ const _hoisted_2$3 = {
|
|
|
42357
42357
|
class: "el-icon-edit",
|
|
42358
42358
|
style: {"color":"blue"}
|
|
42359
42359
|
};
|
|
42360
|
-
const _hoisted_3$
|
|
42360
|
+
const _hoisted_3$2 = {
|
|
42361
42361
|
key: 0,
|
|
42362
42362
|
class: "el-icon-edit",
|
|
42363
42363
|
style: {"color":"blue"}
|
|
42364
42364
|
};
|
|
42365
|
-
const _hoisted_4$
|
|
42366
|
-
const _hoisted_5$
|
|
42367
|
-
const _hoisted_6$
|
|
42368
|
-
const _hoisted_7$
|
|
42369
|
-
const _hoisted_8$
|
|
42370
|
-
const _hoisted_9$
|
|
42365
|
+
const _hoisted_4$2 = { class: "item-value" };
|
|
42366
|
+
const _hoisted_5$2 = { class: "item-value" };
|
|
42367
|
+
const _hoisted_6$2 = { class: "item-value" };
|
|
42368
|
+
const _hoisted_7$2 = { class: "item-value" };
|
|
42369
|
+
const _hoisted_8$1 = { style: {"width":"100%"} };
|
|
42370
|
+
const _hoisted_9$1 = { class: "select-submit" };
|
|
42371
42371
|
|
|
42372
42372
|
|
|
42373
42373
|
var script$3 = {
|
|
@@ -42458,7 +42458,7 @@ return (_ctx, _cache) => {
|
|
|
42458
42458
|
return (vue.openBlock(), vue.createElementBlock("tr", { key: index }, [
|
|
42459
42459
|
vue.createElementVNode("td", null, [
|
|
42460
42460
|
(!__props.myProps.readOnly && index === 0)
|
|
42461
|
-
? (vue.openBlock(), vue.createElementBlock("i", _hoisted_3$
|
|
42461
|
+
? (vue.openBlock(), vue.createElementBlock("i", _hoisted_3$2))
|
|
42462
42462
|
: vue.createCommentVNode("v-if", true)
|
|
42463
42463
|
]),
|
|
42464
42464
|
vue.createElementVNode("td", null, [
|
|
@@ -42466,19 +42466,19 @@ return (_ctx, _cache) => {
|
|
|
42466
42466
|
vue.createElementVNode("tbody", null, [
|
|
42467
42467
|
vue.createElementVNode("tr", null, [
|
|
42468
42468
|
_cache[3] || (_cache[3] = vue.createElementVNode("td", { class: "item-label" }, "国内行政区划", -1 /* CACHED */)),
|
|
42469
|
-
vue.createElementVNode("td", _hoisted_4$
|
|
42469
|
+
vue.createElementVNode("td", _hoisted_4$2, vue.toDisplayString(item.gbt2260text), 1 /* TEXT */)
|
|
42470
42470
|
]),
|
|
42471
42471
|
vue.createElementVNode("tr", null, [
|
|
42472
42472
|
_cache[4] || (_cache[4] = vue.createElementVNode("td", { class: "item-label" }, "详细地址", -1 /* CACHED */)),
|
|
42473
|
-
vue.createElementVNode("td", _hoisted_5$
|
|
42473
|
+
vue.createElementVNode("td", _hoisted_5$2, vue.toDisplayString(item.address), 1 /* TEXT */)
|
|
42474
42474
|
]),
|
|
42475
42475
|
vue.createElementVNode("tr", null, [
|
|
42476
42476
|
_cache[5] || (_cache[5] = vue.createElementVNode("td", { class: "item-label" }, "联系电话", -1 /* CACHED */)),
|
|
42477
|
-
vue.createElementVNode("td", _hoisted_6$
|
|
42477
|
+
vue.createElementVNode("td", _hoisted_6$2, vue.toDisplayString(item.tel), 1 /* TEXT */)
|
|
42478
42478
|
]),
|
|
42479
42479
|
vue.createElementVNode("tr", null, [
|
|
42480
42480
|
_cache[6] || (_cache[6] = vue.createElementVNode("td", { class: "item-label" }, "联系人", -1 /* CACHED */)),
|
|
42481
|
-
vue.createElementVNode("td", _hoisted_7$
|
|
42481
|
+
vue.createElementVNode("td", _hoisted_7$2, vue.toDisplayString(item.name), 1 /* TEXT */)
|
|
42482
42482
|
])
|
|
42483
42483
|
])
|
|
42484
42484
|
])
|
|
@@ -42498,7 +42498,7 @@ return (_ctx, _cache) => {
|
|
|
42498
42498
|
"destroy-on-close": true
|
|
42499
42499
|
}, {
|
|
42500
42500
|
default: vue.withCtx(() => [
|
|
42501
|
-
vue.createElementVNode("table", _hoisted_8$
|
|
42501
|
+
vue.createElementVNode("table", _hoisted_8$1, [
|
|
42502
42502
|
vue.createElementVNode("tbody", null, [
|
|
42503
42503
|
_cache[11] || (_cache[11] = vue.createElementVNode("tr", null, [
|
|
42504
42504
|
vue.createElementVNode("th", null, "国内行政区划"),
|
|
@@ -42568,7 +42568,7 @@ return (_ctx, _cache) => {
|
|
|
42568
42568
|
])
|
|
42569
42569
|
]),
|
|
42570
42570
|
_cache[13] || (_cache[13] = vue.createElementVNode("div", { class: "line" }, null, -1 /* CACHED */)),
|
|
42571
|
-
vue.createElementVNode("div", _hoisted_9$
|
|
42571
|
+
vue.createElementVNode("div", _hoisted_9$1, [
|
|
42572
42572
|
vue.createVNode(_component_el_button, {
|
|
42573
42573
|
type: "danger",
|
|
42574
42574
|
plain: "",
|
|
@@ -42597,70 +42597,59 @@ var _imports_0$1 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAA
|
|
|
42597
42597
|
var _imports_1 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAAXNSR0IArs4c6QAAEeRJREFUeF7tnUt2HEcORbM4lbUmUztpe9DuXVjahaSBrJ2YXlOrpyyfLDPVqWJ+4gMgEIGriX0O43sBvAAis6ouE/8gUEjgv//6z+Plcv39er18ePv141PhMHRrSODScG6m7pTAEvjTZXqct3B9vrxDAPo0JgLQp93MVz0H/cPD88/X6+VxCfxlET99+YQfmVtEZkIMJ8Nx2FHuT/utjSIA/ZofAejXdqorTwl8MgBVE5gMjgCYYO5nkpzAv+3qOj399Mend/3skJWuCSAA+MONwP9+/fd8m/+qvj/FgwCcIvLcAAHwbB2Dtd0Cf7q8L54KAShG56EjAuDBCg3WUB34L2u+TNf3b758/tBgC0wpQAABEIDY0xBSgb/sGQHoyfqv14oA9G2/5NVLBz4CkIzedUMEwLV56heXfaufOSUZQCYwZ80RAGcGkVqOduCTAUhZqu04CEBb/uKzWwX+snA+ByBuQtMBEQBT3LqTffvltz/v39PXnZEPAmnz1R4fAdAmbDC+1gVfytLJAFIo+W2DAPi1zenKrNP9rQXxQaBTM7lugAC4Ns/+4lqe+utVIQCdOtDLshGAzuzn4dRHADpzmoPlIgAd2bLFJd8ZHjKAM0K+/44A+LbPbXW3U//h+qfHpSIAHq2SviYEIJ1Vk5Zeav29zSMATdxCbFIEQAyl7EDeav3N3fFRYFmjNxgNAWgA/WxK76f+9/UjAGemdP93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jHVHwsAAAAAElFTkSuQmCC";
|
|
42598
42598
|
|
|
42599
42599
|
const _hoisted_1$2 = { key: 0 };
|
|
42600
|
-
const _hoisted_2$2 = {
|
|
42601
|
-
key: 0,
|
|
42602
|
-
class: "el-icon-edit",
|
|
42603
|
-
style: {"color":"blue"}
|
|
42604
|
-
};
|
|
42605
|
-
const _hoisted_3$2 = {
|
|
42606
|
-
key: 0,
|
|
42607
|
-
class: "el-icon-edit",
|
|
42608
|
-
style: {"color":"blue"}
|
|
42609
|
-
};
|
|
42610
|
-
const _hoisted_4$2 = {
|
|
42611
|
-
key: 0,
|
|
42612
|
-
class: "value-name"
|
|
42613
|
-
};
|
|
42614
|
-
const _hoisted_5$2 = {
|
|
42615
|
-
key: 1,
|
|
42616
|
-
class: "value-name-empty"
|
|
42617
|
-
};
|
|
42618
|
-
const _hoisted_6$2 = { class: "value-price" };
|
|
42619
|
-
const _hoisted_7$2 = {
|
|
42620
|
-
key: 2,
|
|
42621
|
-
class: "value-member",
|
|
42622
|
-
src: _imports_0$1
|
|
42623
|
-
};
|
|
42624
|
-
const _hoisted_8$1 = {
|
|
42625
|
-
key: 3,
|
|
42626
|
-
class: "value-hot",
|
|
42627
|
-
src: _imports_1
|
|
42628
|
-
};
|
|
42629
|
-
const _hoisted_9$1 = { class: "value-note" };
|
|
42630
|
-
const _hoisted_10$1 = { style: {"width":"100%"} };
|
|
42631
|
-
const _hoisted_11 = { class: "select-submit" };
|
|
42600
|
+
const _hoisted_2$2 = { style: {"width":"100%"} };
|
|
42632
42601
|
|
|
42602
|
+
// 遵循 Vue 3 v-model 规范,使用 modelValue
|
|
42633
42603
|
|
|
42634
42604
|
var script$2 = {
|
|
42635
42605
|
__name: 'index',
|
|
42636
|
-
props:
|
|
42637
|
-
|
|
42606
|
+
props: {
|
|
42607
|
+
// modelValue: 外部 v-model 绑定的值
|
|
42608
|
+
modelValue: {
|
|
42609
|
+
type: Array,
|
|
42610
|
+
default: () => []
|
|
42611
|
+
},
|
|
42612
|
+
myProps: {
|
|
42613
|
+
readOnly: {
|
|
42614
|
+
type: Boolean,
|
|
42615
|
+
default: false
|
|
42616
|
+
},
|
|
42617
|
+
_id: [String, Number] // 允许传入一个 _id 用于回传,可选
|
|
42618
|
+
}
|
|
42619
|
+
|
|
42620
|
+
},
|
|
42621
|
+
emits: ['update:modelValue', 'change'],
|
|
42638
42622
|
setup(__props, { emit: __emit }) {
|
|
42639
42623
|
|
|
42640
42624
|
const props = __props;
|
|
42625
|
+
// 遵循 Vue 3 v-model 规范,使用 update:modelValue 事件
|
|
42641
42626
|
const emit = __emit;
|
|
42642
42627
|
|
|
42643
|
-
const value = vue.
|
|
42628
|
+
const value = vue.computed(() => props.modelValue || []);
|
|
42629
|
+
const nameEmpty = vue.ref('[未设置标价名称]');
|
|
42630
|
+
|
|
42644
42631
|
const popup = vue.ref({
|
|
42645
42632
|
visible: false,
|
|
42646
|
-
value:
|
|
42633
|
+
value: []
|
|
42647
42634
|
});
|
|
42648
|
-
const nameEmpty = vue.ref('[未设置标价名称]');
|
|
42649
42635
|
|
|
42650
42636
|
const hdl = {
|
|
42651
42637
|
popup() {
|
|
42652
|
-
if (
|
|
42653
|
-
|
|
42654
|
-
popup.value.value.forEach(i => {
|
|
42655
|
-
i.price = Math.floor(i.price) / 100;
|
|
42656
|
-
});
|
|
42657
|
-
popup.value.visible = true;
|
|
42638
|
+
if (props.myProps.readOnly) {
|
|
42639
|
+
return
|
|
42658
42640
|
}
|
|
42641
|
+
const copiedValue = JSON.parse(JSON.stringify(value.value));
|
|
42642
|
+
popup.value.value = copiedValue.map(item => ({
|
|
42643
|
+
...item,
|
|
42644
|
+
// 价格从“分”转换为“元”
|
|
42645
|
+
price: item.price / 100
|
|
42646
|
+
}));
|
|
42647
|
+
popup.value.visible = true;
|
|
42659
42648
|
},
|
|
42660
42649
|
append() {
|
|
42661
42650
|
popup.value.value.push({
|
|
42662
42651
|
name: '',
|
|
42663
|
-
price: 0,
|
|
42652
|
+
price: 0, // 初始价格为 0 元
|
|
42664
42653
|
member: false,
|
|
42665
42654
|
hot: false,
|
|
42666
42655
|
note: '',
|
|
@@ -42669,23 +42658,71 @@ const hdl = {
|
|
|
42669
42658
|
delete(index) {
|
|
42670
42659
|
popup.value.value.splice(index, 1);
|
|
42671
42660
|
},
|
|
42672
|
-
|
|
42673
|
-
|
|
42674
|
-
|
|
42675
|
-
|
|
42676
|
-
|
|
42677
|
-
emit("get-value", {
|
|
42678
|
-
value: JSON.parse(JSON.stringify(popup.value.value)),
|
|
42679
|
-
_id: props.myProps._id ?? null
|
|
42661
|
+
submit() {
|
|
42662
|
+
const submittingValue = JSON.parse(JSON.stringify(popup.value.value));
|
|
42663
|
+
submittingValue.forEach(item => {
|
|
42664
|
+
// 确保 price 是数字,然后转为“分”
|
|
42665
|
+
item.price = Math.floor(Number(item.price) * 100);
|
|
42680
42666
|
});
|
|
42667
|
+
// 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
|
|
42668
|
+
emit("update:modelValue", submittingValue);
|
|
42681
42669
|
popup.value.visible = false;
|
|
42682
42670
|
},
|
|
42683
42671
|
};
|
|
42684
42672
|
|
|
42673
|
+
const style = vue.reactive({
|
|
42674
|
+
value: {
|
|
42675
|
+
name: {},
|
|
42676
|
+
name_empty: {
|
|
42677
|
+
color: '#919191'
|
|
42678
|
+
},
|
|
42679
|
+
price: {
|
|
42680
|
+
'margin-left': '10px',
|
|
42681
|
+
color: 'blue'
|
|
42682
|
+
},
|
|
42683
|
+
member: {
|
|
42684
|
+
'margin-left': '10px',
|
|
42685
|
+
width: '32px',
|
|
42686
|
+
height: '32px'
|
|
42687
|
+
},
|
|
42688
|
+
hot: {
|
|
42689
|
+
'margin-left': '10px',
|
|
42690
|
+
width: '20px',
|
|
42691
|
+
height: '20px'
|
|
42692
|
+
},
|
|
42693
|
+
note: {
|
|
42694
|
+
'margin-left': '10px'
|
|
42695
|
+
}
|
|
42696
|
+
},
|
|
42697
|
+
input: {
|
|
42698
|
+
name: {
|
|
42699
|
+
width: '200px',
|
|
42700
|
+
'margin-bottom': '10px'
|
|
42701
|
+
},
|
|
42702
|
+
price: {
|
|
42703
|
+
width: '120px'
|
|
42704
|
+
},
|
|
42705
|
+
note: {
|
|
42706
|
+
width: '200px'
|
|
42707
|
+
}
|
|
42708
|
+
},
|
|
42709
|
+
line: {
|
|
42710
|
+
height: '1px',
|
|
42711
|
+
'background-color': '#6a6a6a',
|
|
42712
|
+
'margin-top': '10px',
|
|
42713
|
+
'margin-bottom': '10px'
|
|
42714
|
+
}
|
|
42715
|
+
});
|
|
42716
|
+
|
|
42685
42717
|
return (_ctx, _cache) => {
|
|
42718
|
+
const _component_Edit = vue.resolveComponent("Edit");
|
|
42719
|
+
const _component_el_icon = vue.resolveComponent("el-icon");
|
|
42686
42720
|
const _component_el_input = vue.resolveComponent("el-input");
|
|
42721
|
+
const _component_el_input_number = vue.resolveComponent("el-input-number");
|
|
42687
42722
|
const _component_el_switch = vue.resolveComponent("el-switch");
|
|
42723
|
+
const _component_Delete = vue.resolveComponent("Delete");
|
|
42688
42724
|
const _component_el_button = vue.resolveComponent("el-button");
|
|
42725
|
+
const _component_Plus = vue.resolveComponent("Plus");
|
|
42689
42726
|
const _component_el_dialog = vue.resolveComponent("el-dialog");
|
|
42690
42727
|
|
|
42691
42728
|
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -42697,34 +42734,74 @@ return (_ctx, _cache) => {
|
|
|
42697
42734
|
? (vue.openBlock(), vue.createElementBlock("tr", _hoisted_1$2, [
|
|
42698
42735
|
vue.createElementVNode("td", null, [
|
|
42699
42736
|
(!__props.myProps.readOnly)
|
|
42700
|
-
? (vue.openBlock(), vue.
|
|
42737
|
+
? (vue.openBlock(), vue.createBlock(_component_el_icon, {
|
|
42738
|
+
key: 0,
|
|
42739
|
+
class: "edit-icon",
|
|
42740
|
+
size: 16,
|
|
42741
|
+
color: "blue"
|
|
42742
|
+
}, {
|
|
42743
|
+
default: vue.withCtx(() => [
|
|
42744
|
+
vue.createVNode(_component_Edit)
|
|
42745
|
+
]),
|
|
42746
|
+
_: 1 /* STABLE */
|
|
42747
|
+
}))
|
|
42701
42748
|
: vue.createCommentVNode("v-if", true)
|
|
42702
42749
|
]),
|
|
42703
42750
|
_cache[2] || (_cache[2] = vue.createElementVNode("td", null, "[未标价]", -1 /* CACHED */))
|
|
42704
42751
|
]))
|
|
42705
42752
|
: vue.createCommentVNode("v-if", true),
|
|
42706
42753
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(value.value, (item, index) => {
|
|
42707
|
-
return (vue.openBlock(), vue.createElementBlock("tr",
|
|
42754
|
+
return (vue.openBlock(), vue.createElementBlock("tr", { key: index }, [
|
|
42708
42755
|
vue.createElementVNode("td", null, [
|
|
42709
42756
|
(!__props.myProps.readOnly && index === 0)
|
|
42710
|
-
? (vue.openBlock(), vue.
|
|
42757
|
+
? (vue.openBlock(), vue.createBlock(_component_el_icon, {
|
|
42758
|
+
key: 0,
|
|
42759
|
+
class: "edit-icon",
|
|
42760
|
+
size: 16,
|
|
42761
|
+
color: "blue"
|
|
42762
|
+
}, {
|
|
42763
|
+
default: vue.withCtx(() => [
|
|
42764
|
+
vue.createVNode(_component_Edit)
|
|
42765
|
+
]),
|
|
42766
|
+
_: 1 /* STABLE */
|
|
42767
|
+
}))
|
|
42711
42768
|
: vue.createCommentVNode("v-if", true)
|
|
42712
42769
|
]),
|
|
42713
42770
|
vue.createElementVNode("td", null, [
|
|
42714
42771
|
(!!item.name)
|
|
42715
|
-
? (vue.openBlock(), vue.createElementBlock("span",
|
|
42716
|
-
|
|
42717
|
-
|
|
42772
|
+
? (vue.openBlock(), vue.createElementBlock("span", {
|
|
42773
|
+
key: 0,
|
|
42774
|
+
style: vue.normalizeStyle(style.value.name)
|
|
42775
|
+
}, vue.toDisplayString(item.name), 5 /* TEXT, STYLE */))
|
|
42776
|
+
: (vue.openBlock(), vue.createElementBlock("span", {
|
|
42777
|
+
key: 1,
|
|
42778
|
+
style: vue.normalizeStyle(style.value.name_empty)
|
|
42779
|
+
}, vue.toDisplayString(nameEmpty.value), 5 /* TEXT, STYLE */)),
|
|
42780
|
+
vue.createElementVNode("span", {
|
|
42781
|
+
style: vue.normalizeStyle(style.value.price)
|
|
42782
|
+
}, "¥" + vue.toDisplayString((item.price / 100).toFixed(2)), 5 /* TEXT, STYLE */),
|
|
42718
42783
|
(!!item.member)
|
|
42719
|
-
? (vue.openBlock(), vue.createElementBlock("img",
|
|
42784
|
+
? (vue.openBlock(), vue.createElementBlock("img", {
|
|
42785
|
+
key: 2,
|
|
42786
|
+
style: vue.normalizeStyle(style.value.member),
|
|
42787
|
+
src: _imports_0$1,
|
|
42788
|
+
alt: "会员"
|
|
42789
|
+
}, null, 4 /* STYLE */))
|
|
42720
42790
|
: vue.createCommentVNode("v-if", true),
|
|
42721
42791
|
(!!item.hot)
|
|
42722
|
-
? (vue.openBlock(), vue.createElementBlock("img",
|
|
42792
|
+
? (vue.openBlock(), vue.createElementBlock("img", {
|
|
42793
|
+
key: 3,
|
|
42794
|
+
style: vue.normalizeStyle(style.value.hot),
|
|
42795
|
+
src: _imports_1,
|
|
42796
|
+
alt: "热点"
|
|
42797
|
+
}, null, 4 /* STYLE */))
|
|
42723
42798
|
: vue.createCommentVNode("v-if", true),
|
|
42724
|
-
vue.createElementVNode("span",
|
|
42799
|
+
vue.createElementVNode("span", {
|
|
42800
|
+
style: vue.normalizeStyle(style.value.note)
|
|
42801
|
+
}, vue.toDisplayString(item.note || ''), 5 /* TEXT, STYLE */)
|
|
42725
42802
|
])
|
|
42726
42803
|
]))
|
|
42727
|
-
}),
|
|
42804
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
42728
42805
|
])
|
|
42729
42806
|
]),
|
|
42730
42807
|
vue.createVNode(_component_el_dialog, {
|
|
@@ -42738,33 +42815,36 @@ return (_ctx, _cache) => {
|
|
|
42738
42815
|
"destroy-on-close": true
|
|
42739
42816
|
}, {
|
|
42740
42817
|
default: vue.withCtx(() => [
|
|
42741
|
-
vue.createElementVNode("table",
|
|
42818
|
+
vue.createElementVNode("table", _hoisted_2$2, [
|
|
42742
42819
|
vue.createElementVNode("tbody", null, [
|
|
42743
|
-
_cache[
|
|
42820
|
+
_cache[4] || (_cache[4] = vue.createElementVNode("tr", null, [
|
|
42744
42821
|
vue.createElementVNode("th", null, "标价名称"),
|
|
42745
|
-
vue.createElementVNode("th", null, "
|
|
42822
|
+
vue.createElementVNode("th", null, "单价(元)"),
|
|
42746
42823
|
vue.createElementVNode("th", null, "会员标注"),
|
|
42747
42824
|
vue.createElementVNode("th", null, "热点标注"),
|
|
42748
42825
|
vue.createElementVNode("th", null, "备注"),
|
|
42749
42826
|
vue.createElementVNode("th")
|
|
42750
42827
|
], -1 /* CACHED */)),
|
|
42751
42828
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(popup.value.value, (item, index) => {
|
|
42752
|
-
return (vue.openBlock(), vue.createElementBlock("tr",
|
|
42753
|
-
vue.createElementVNode("
|
|
42829
|
+
return (vue.openBlock(), vue.createElementBlock("tr", { key: index }, [
|
|
42830
|
+
vue.createElementVNode("td", null, [
|
|
42754
42831
|
vue.createVNode(_component_el_input, {
|
|
42755
|
-
|
|
42832
|
+
style: vue.normalizeStyle(style.input.name),
|
|
42756
42833
|
modelValue: item.name,
|
|
42757
42834
|
"onUpdate:modelValue": $event => ((item.name) = $event)
|
|
42758
|
-
}, null, 8 /* PROPS */, ["modelValue", "onUpdate:modelValue"])
|
|
42835
|
+
}, null, 8 /* PROPS */, ["style", "modelValue", "onUpdate:modelValue"])
|
|
42759
42836
|
]),
|
|
42760
|
-
vue.createElementVNode("
|
|
42761
|
-
vue.createVNode(
|
|
42762
|
-
|
|
42837
|
+
vue.createElementVNode("td", null, [
|
|
42838
|
+
vue.createVNode(_component_el_input_number, {
|
|
42839
|
+
style: vue.normalizeStyle(style.input.price),
|
|
42763
42840
|
modelValue: item.price,
|
|
42764
|
-
"onUpdate:modelValue": $event => ((item.price) = $event)
|
|
42765
|
-
|
|
42841
|
+
"onUpdate:modelValue": $event => ((item.price) = $event),
|
|
42842
|
+
min: 0,
|
|
42843
|
+
precision: 2,
|
|
42844
|
+
"controls-position": "right"
|
|
42845
|
+
}, null, 8 /* PROPS */, ["style", "modelValue", "onUpdate:modelValue"])
|
|
42766
42846
|
]),
|
|
42767
|
-
vue.createElementVNode("
|
|
42847
|
+
vue.createElementVNode("td", null, [
|
|
42768
42848
|
vue.createVNode(_component_el_switch, {
|
|
42769
42849
|
modelValue: item.member,
|
|
42770
42850
|
"onUpdate:modelValue": $event => ((item.member) = $event),
|
|
@@ -42774,7 +42854,7 @@ return (_ctx, _cache) => {
|
|
|
42774
42854
|
"inactive-value": false
|
|
42775
42855
|
}, null, 8 /* PROPS */, ["modelValue", "onUpdate:modelValue"])
|
|
42776
42856
|
]),
|
|
42777
|
-
vue.createElementVNode("
|
|
42857
|
+
vue.createElementVNode("td", null, [
|
|
42778
42858
|
vue.createVNode(_component_el_switch, {
|
|
42779
42859
|
modelValue: item.hot,
|
|
42780
42860
|
"onUpdate:modelValue": $event => ((item.hot) = $event),
|
|
@@ -42784,51 +42864,67 @@ return (_ctx, _cache) => {
|
|
|
42784
42864
|
"inactive-value": false
|
|
42785
42865
|
}, null, 8 /* PROPS */, ["modelValue", "onUpdate:modelValue"])
|
|
42786
42866
|
]),
|
|
42787
|
-
vue.createElementVNode("
|
|
42867
|
+
vue.createElementVNode("td", null, [
|
|
42788
42868
|
vue.createVNode(_component_el_input, {
|
|
42789
|
-
|
|
42869
|
+
style: vue.normalizeStyle(style.input.note),
|
|
42790
42870
|
modelValue: item.note,
|
|
42791
42871
|
"onUpdate:modelValue": $event => ((item.note) = $event)
|
|
42792
|
-
}, null, 8 /* PROPS */, ["modelValue", "onUpdate:modelValue"])
|
|
42872
|
+
}, null, 8 /* PROPS */, ["style", "modelValue", "onUpdate:modelValue"])
|
|
42793
42873
|
]),
|
|
42794
|
-
vue.createElementVNode("
|
|
42874
|
+
vue.createElementVNode("td", null, [
|
|
42795
42875
|
vue.createVNode(_component_el_button, {
|
|
42796
42876
|
type: "danger",
|
|
42797
|
-
icon: "el-icon-delete",
|
|
42798
42877
|
circle: "",
|
|
42799
42878
|
size: "small",
|
|
42800
42879
|
onClick: $event => (hdl.delete(index))
|
|
42801
|
-
},
|
|
42880
|
+
}, {
|
|
42881
|
+
default: vue.withCtx(() => [
|
|
42882
|
+
vue.createVNode(_component_el_icon, null, {
|
|
42883
|
+
default: vue.withCtx(() => [
|
|
42884
|
+
vue.createVNode(_component_Delete)
|
|
42885
|
+
]),
|
|
42886
|
+
_: 1 /* STABLE */
|
|
42887
|
+
})
|
|
42888
|
+
]),
|
|
42889
|
+
_: 1 /* STABLE */
|
|
42890
|
+
}, 8 /* PROPS */, ["onClick"])
|
|
42802
42891
|
])
|
|
42803
42892
|
]))
|
|
42804
|
-
}),
|
|
42893
|
+
}), 128 /* KEYED_FRAGMENT */)),
|
|
42805
42894
|
vue.createElementVNode("tr", null, [
|
|
42806
|
-
_cache[3] || (_cache[3] = vue.createElementVNode("
|
|
42807
|
-
|
|
42808
|
-
_cache[5] || (_cache[5] = vue.createElementVNode("th", null, null, -1 /* CACHED */)),
|
|
42809
|
-
_cache[6] || (_cache[6] = vue.createElementVNode("th", null, null, -1 /* CACHED */)),
|
|
42810
|
-
_cache[7] || (_cache[7] = vue.createElementVNode("th", null, null, -1 /* CACHED */)),
|
|
42811
|
-
vue.createElementVNode("th", null, [
|
|
42895
|
+
_cache[3] || (_cache[3] = vue.createElementVNode("td", { colspan: "5" }, null, -1 /* CACHED */)),
|
|
42896
|
+
vue.createElementVNode("td", null, [
|
|
42812
42897
|
vue.createVNode(_component_el_button, {
|
|
42813
42898
|
type: "primary",
|
|
42814
|
-
icon: "el-icon-plus",
|
|
42815
42899
|
circle: "",
|
|
42816
42900
|
size: "small",
|
|
42817
42901
|
style: {"margin-top":"20px"},
|
|
42818
42902
|
onClick: hdl.append
|
|
42819
|
-
},
|
|
42903
|
+
}, {
|
|
42904
|
+
default: vue.withCtx(() => [
|
|
42905
|
+
vue.createVNode(_component_el_icon, null, {
|
|
42906
|
+
default: vue.withCtx(() => [
|
|
42907
|
+
vue.createVNode(_component_Plus)
|
|
42908
|
+
]),
|
|
42909
|
+
_: 1 /* STABLE */
|
|
42910
|
+
})
|
|
42911
|
+
]),
|
|
42912
|
+
_: 1 /* STABLE */
|
|
42913
|
+
}, 8 /* PROPS */, ["onClick"])
|
|
42820
42914
|
])
|
|
42821
42915
|
])
|
|
42822
42916
|
])
|
|
42823
42917
|
]),
|
|
42824
|
-
|
|
42825
|
-
|
|
42918
|
+
vue.createElementVNode("div", {
|
|
42919
|
+
style: vue.normalizeStyle(style.line)
|
|
42920
|
+
}, null, 4 /* STYLE */),
|
|
42921
|
+
vue.createElementVNode("div", null, [
|
|
42826
42922
|
vue.createVNode(_component_el_button, {
|
|
42827
42923
|
type: "danger",
|
|
42828
42924
|
plain: "",
|
|
42829
42925
|
onClick: hdl.submit
|
|
42830
42926
|
}, {
|
|
42831
|
-
default: vue.withCtx(() => [...(_cache[
|
|
42927
|
+
default: vue.withCtx(() => [...(_cache[5] || (_cache[5] = [
|
|
42832
42928
|
vue.createTextVNode("确认", -1 /* CACHED */)
|
|
42833
42929
|
]))]),
|
|
42834
42930
|
_: 1 /* STABLE */
|