unika-components 1.2.4 → 1.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist/assets/css/invite.css +712 -0
  2. package/dist/index.html +53 -0
  3. package/dist/js/app.js +3325 -0
  4. package/dist/js/chunk-vendors.js +1638 -0
  5. package/dist/src/components/UniCall/UniCall.vue.d.ts +11 -1
  6. package/dist/src/components/UniCountdown/UniCountdown.vue.d.ts +12 -1
  7. package/dist/src/components/UniFormInput/UniFormInput.vue.d.ts +13 -1
  8. package/dist/src/components/UniImage/UniImage.vue.d.ts +0 -3
  9. package/dist/src/components/UniInvite/UniInvite.vue.d.ts +57 -0
  10. package/dist/src/components/UniInvite/index.d.ts +2 -0
  11. package/dist/src/components/UniMap/UniMap.vue.d.ts +11 -1
  12. package/dist/src/components/WorkRender/WorkRender.vue.d.ts +1 -0
  13. package/dist/src/composables/inviteManager.d.ts +13 -0
  14. package/dist/src/constants/invitePhrases.d.ts +3 -0
  15. package/dist/src/constants/inviteProps.d.ts +4 -0
  16. package/dist/src/constants/inviteTemplates.d.ts +5 -0
  17. package/dist/src/defaultProps.d.ts +49 -0
  18. package/dist/src/index.d.ts +22 -1
  19. package/dist/src/utils/inviteAnimation.d.ts +3 -0
  20. package/dist/src/utils/inviteTemplate.d.ts +4 -0
  21. package/dist/src/utils/resolveInviteRender.d.ts +12 -0
  22. package/dist/unika-components.css +1984 -1251
  23. package/dist/unika-components.esm.js +1673 -545
  24. package/dist/unika-components.umd.js +1723 -571
  25. package/package.json +4 -3
  26. package/dist/.DS_Store +0 -0
  27. package/dist/src/components/LongPage/LongPage.vue.d.ts +0 -20
  28. package/dist/src/components/LongPage/index.d.ts +0 -2
  29. package/dist/src/components/SwiperPage/SwiperAnimate.d.ts +0 -3
  30. package/dist/src/components/SwiperPage/SwiperPage.vue.d.ts +0 -36
  31. package/dist/src/components/SwiperPage/index.d.ts +0 -2
  32. package/dist/src/components/UniBackground/UniBackground.vue.d.ts +0 -11
  33. package/dist/src/components/UniBackground/index.d.ts +0 -2
  34. package/dist/src/components/UniBulidUp/UniBulidUp.vue.d.ts +0 -12
  35. package/dist/src/components/UniBulidUp/index.d.ts +0 -2
  36. package/dist/src/components/UniCalendar/Calendar.vue.d.ts +0 -165
  37. package/dist/src/components/UniEffect/sonw.d.ts +0 -2
  38. package/dist/src/components/UniFormMultiple/validators.d.ts +0 -20
  39. package/dist/src/components/UniFormSelect/validators.d.ts +0 -1
  40. package/dist/src/components/UniFormSingle/validators.d.ts +0 -20
  41. package/dist/src/components/UniLike/UniLike.vue.d.ts +0 -14
  42. package/dist/src/components/UniLike/index.d.ts +0 -2
  43. package/dist/src/components/UniLotties/UniLotties.vue.d.ts +0 -340
  44. package/dist/src/components/UniLotties/index.d.ts +0 -2
  45. package/dist/src/components/UniRegisterForm/UniRegisterForm.vue.d.ts +0 -28
  46. package/dist/src/components/UniRegisterForm/index.d.ts +0 -2
  47. package/dist/src/components/UniSvg/UniSvg.vue.d.ts +0 -12
  48. package/dist/src/components/UniSvg/index.d.ts +0 -2
  49. package/dist/src/components/UniSwiper/UniSwiper.vue.d.ts +0 -12
  50. package/dist/src/components/UniSwiper/index.d.ts +0 -2
  51. package/dist/src/components/UniTanmu/Barrage.vue.d.ts +0 -76
  52. package/dist/src/components/UniTanmu/UniTanmu.vue.d.ts +0 -59
  53. package/dist/src/components/UniTanmu/index.d.ts +0 -2
  54. package/dist/src/components/UniTest/index.d.ts +0 -2
  55. package/dist/src/components/UniTextBk/index.d.ts +0 -2
  56. package/dist/src/components/WorkRender/DynamicElement.vue.d.ts +0 -59
  57. package/dist/src/components/WorkRender/PageIndicator.vue.d.ts +0 -110
  58. package/dist/src/components/WorkRender/SwiperAnimate.d.ts +0 -3
  59. package/dist/src/components/WorkRender/WorkRenderer.vue.d.ts +0 -59
  60. package/dist/src/components/WorkRenderLong/test.vue.d.ts +0 -72
  61. package/dist/src/composables/useElementProps.d.ts +0 -8
  62. package/dist/src/composables/useElementStyle.d.ts +0 -18
  63. package/dist/src/constants/countdown.d.ts +0 -65
  64. package/dist/src/constants/toolbar.d.ts +0 -13
  65. package/dist/src/hooks/useComponentClick.d.ts +0 -2
  66. package/dist/src/hooks/useStylePick.d.ts +0 -3
@@ -31,7 +31,7 @@
31
31
  return px;
32
32
  }
33
33
 
34
- var script$r = vue.defineComponent({
34
+ var script$s = vue.defineComponent({
35
35
  name: 'UniText',
36
36
  props: {
37
37
  element: {
@@ -134,9 +134,9 @@
134
134
  }
135
135
  });
136
136
 
137
- const _hoisted_1$m = ["data-id", "data-pid", "data-type", "sign", "signsort", "layername"];
137
+ const _hoisted_1$n = ["data-id", "data-pid", "data-type", "sign", "signsort", "layername"];
138
138
 
139
- function render$n(_ctx, _cache, $props, $setup, $data, $options) {
139
+ function render$o(_ctx, _cache, $props, $setup, $data, $options) {
140
140
  return (_ctx.element && (!_ctx.element.properties || _ctx.element.properties.visible !== false))
141
141
  ? (vue.openBlock(), vue.createElementBlock("div", {
142
142
  key: 0,
@@ -167,18 +167,18 @@
167
167
  style: vue.normalizeStyle(_ctx.textEditorStyle)
168
168
  }, vue.toDisplayString(_ctx.element.textContent), 5 /* TEXT, STYLE */)
169
169
  ], 4 /* STYLE */)
170
- ], 12 /* STYLE, PROPS */, _hoisted_1$m))
170
+ ], 12 /* STYLE, PROPS */, _hoisted_1$n))
171
171
  : vue.createCommentVNode("v-if", true)
172
172
  }
173
173
 
174
- script$r.render = render$n;
175
- script$r.__file = "src/components/UniText/UniText.vue";
174
+ script$s.render = render$o;
175
+ script$s.__file = "src/components/UniText/UniText.vue";
176
176
 
177
- script$r.install = (app) => {
178
- app.component(script$r.name, script$r);
177
+ script$s.install = (app) => {
178
+ app.component(script$s.name, script$s);
179
179
  };
180
180
 
181
- var script$q = vue.defineComponent({
181
+ var script$r = vue.defineComponent({
182
182
  name: 'uni-image',
183
183
  props: {
184
184
  element: {
@@ -212,9 +212,6 @@
212
212
  color: css.value.color,
213
213
  opacity: css.value.opacity,
214
214
  borderRadius: px2rem(css.value.borderRadius || 0),
215
- borderWidth: px2rem(css.value.borderWidth || 0),
216
- borderStyle: css.value.borderStyle,
217
- borderColor: css.value.borderColor,
218
215
  boxShadow: properties.value.shadowSize
219
216
  ? `${px2rem(properties.value.shadowX)} ${px2rem(properties.value.shadowY)} ${px2rem(properties.value.shadowBlur)} ${properties.value.shadowColor}`
220
217
  : 'none'
@@ -305,10 +302,10 @@
305
302
  }
306
303
  });
307
304
 
308
- const _hoisted_1$l = ["data-id", "data-pid", "data-type", "data-show", "pid", "type", "layername", "sign", "signsort", "imgmattinginfo"];
309
- const _hoisted_2$h = ["src"];
305
+ const _hoisted_1$m = ["data-id", "data-pid", "data-type", "data-show", "pid", "type", "layername", "sign", "signsort", "imgmattinginfo"];
306
+ const _hoisted_2$j = ["src"];
310
307
 
311
- function render$m(_ctx, _cache, $props, $setup, $data, $options) {
308
+ function render$n(_ctx, _cache, $props, $setup, $data, $options) {
312
309
  return (vue.openBlock(), vue.createElementBlock("div", {
313
310
  class: "ele-img eles",
314
311
  "data-id": _ctx.element.id,
@@ -347,7 +344,7 @@
347
344
  alt: "image",
348
345
  class: "ele-image",
349
346
  style: vue.normalizeStyle(_ctx.imgTagStyle)
350
- }, null, 12 /* STYLE, PROPS */, _hoisted_2$h)
347
+ }, null, 12 /* STYLE, PROPS */, _hoisted_2$j)
351
348
  ], 4 /* STYLE */))
352
349
  : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
353
350
  vue.createCommentVNode(" 图片展示方式2:使用背景图 "),
@@ -363,17 +360,17 @@
363
360
  ], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */))
364
361
  ], 4 /* STYLE */)
365
362
  ], 4 /* STYLE */)
366
- ], 12 /* STYLE, PROPS */, _hoisted_1$l))
363
+ ], 12 /* STYLE, PROPS */, _hoisted_1$m))
367
364
  }
368
365
 
369
- script$q.render = render$m;
370
- script$q.__file = "src/components/UniImage/UniImage.vue";
366
+ script$r.render = render$n;
367
+ script$r.__file = "src/components/UniImage/UniImage.vue";
371
368
 
372
- script$q.install = (app) => {
373
- app.component(script$q.name, script$q);
369
+ script$r.install = (app) => {
370
+ app.component(script$r.name, script$r);
374
371
  };
375
372
 
376
- var script$p = vue.defineComponent({
373
+ var script$q = vue.defineComponent({
377
374
  name: 'uni-shape',
378
375
  props: {
379
376
  element: {
@@ -524,12 +521,12 @@
524
521
  }
525
522
  });
526
523
 
527
- const _hoisted_1$k = ["data-id"];
528
- const _hoisted_2$g = ["innerHTML"];
529
- const _hoisted_3$f = /*#__PURE__*/vue.createElementVNode("div", { class: "svg-loading" }, "Loading...", -1 /* HOISTED */);
530
- const _hoisted_4$c = { class: "svg-error" };
524
+ const _hoisted_1$l = ["data-id"];
525
+ const _hoisted_2$i = ["innerHTML"];
526
+ const _hoisted_3$h = /*#__PURE__*/vue.createElementVNode("div", { class: "svg-loading" }, "Loading...", -1 /* HOISTED */);
527
+ const _hoisted_4$d = { class: "svg-error" };
531
528
 
532
- function render$l(_ctx, _cache, $props, $setup, $data, $options) {
529
+ function render$m(_ctx, _cache, $props, $setup, $data, $options) {
533
530
  return (vue.openBlock(), vue.createElementBlock("div", {
534
531
  class: "ele-shape eles",
535
532
  "data-id": _ctx.element.id,
@@ -554,16 +551,16 @@
554
551
  innerHTML: _ctx.processedSvg,
555
552
  class: "svg-container",
556
553
  style: {"width":"100%","height":"100%"}
557
- }, null, 8 /* PROPS */, _hoisted_2$g))
554
+ }, null, 8 /* PROPS */, _hoisted_2$i))
558
555
  : (_ctx.isLoading)
559
556
  ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
560
557
  vue.createCommentVNode(" 加载状态 "),
561
- _hoisted_3$f
558
+ _hoisted_3$h
562
559
  ], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */))
563
560
  : (_ctx.loadError)
564
561
  ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [
565
562
  vue.createCommentVNode(" 错误状态 "),
566
- vue.createElementVNode("div", _hoisted_4$c, [
563
+ vue.createElementVNode("div", _hoisted_4$d, [
567
564
  vue.renderSlot(_ctx.$slots, "error", {
568
565
  src: _ctx.properties.src
569
566
  }, () => [
@@ -574,14 +571,14 @@
574
571
  : vue.createCommentVNode("v-if", true)
575
572
  ], 4 /* STYLE */)
576
573
  ], 4 /* STYLE */)
577
- ], 12 /* STYLE, PROPS */, _hoisted_1$k))
574
+ ], 12 /* STYLE, PROPS */, _hoisted_1$l))
578
575
  }
579
576
 
580
- script$p.render = render$l;
581
- script$p.__file = "src/components/UniShape/UniShape.vue";
577
+ script$q.render = render$m;
578
+ script$q.__file = "src/components/UniShape/UniShape.vue";
582
579
 
583
- script$p.install = (app) => {
584
- app.component(script$p.name, script$p);
580
+ script$q.install = (app) => {
581
+ app.component(script$q.name, script$q);
585
582
  };
586
583
 
587
584
  const musicState = vue.ref({
@@ -825,7 +822,7 @@
825
822
  };
826
823
  };
827
824
 
828
- var script$o = vue.defineComponent({
825
+ var script$p = vue.defineComponent({
829
826
  name: 'uni-music',
830
827
  props: {
831
828
  musicData: {
@@ -895,19 +892,19 @@
895
892
  }
896
893
  });
897
894
 
898
- const _hoisted_1$j = { id: "audio" };
899
- const _hoisted_2$f = ["src"];
900
- const _hoisted_3$e = {
895
+ const _hoisted_1$k = { id: "audio" };
896
+ const _hoisted_2$h = ["src"];
897
+ const _hoisted_3$g = {
901
898
  key: 1,
902
899
  class: "iconfont"
903
900
  };
904
- const _hoisted_4$b = ["src"];
905
- const _hoisted_5$a = /*#__PURE__*/vue.createElementVNode("div", { class: "icon-cancel" }, [
901
+ const _hoisted_4$c = ["src"];
902
+ const _hoisted_5$b = /*#__PURE__*/vue.createElementVNode("div", { class: "icon-cancel" }, [
906
903
  /*#__PURE__*/vue.createElementVNode("div", { class: "icon-h" })
907
904
  ], -1 /* HOISTED */);
908
905
 
909
- function render$k(_ctx, _cache, $props, $setup, $data, $options) {
910
- return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$j, [
906
+ function render$l(_ctx, _cache, $props, $setup, $data, $options) {
907
+ return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$k, [
911
908
  vue.createElementVNode("div", {
912
909
  class: vue.normalizeClass(["audio", { 'a-border': _ctx.showBorder, 'mrotate': _ctx.localIsPlaying }]),
913
910
  style: vue.normalizeStyle({ background: _ctx.bgColor }),
@@ -921,8 +918,8 @@
921
918
  src: _ctx.playIconUrl,
922
919
  class: "music-icon",
923
920
  alt: "หยุดชั่วคราว"
924
- }, null, 8 /* PROPS */, _hoisted_2$f))
925
- : (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$e, "❚❚"))
921
+ }, null, 8 /* PROPS */, _hoisted_2$h))
922
+ : (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$g, "❚❚"))
926
923
  ], 64 /* STABLE_FRAGMENT */))
927
924
  : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
928
925
  (_ctx.playIconUrl)
@@ -931,22 +928,22 @@
931
928
  src: _ctx.playIconUrl,
932
929
  class: "music-icon",
933
930
  alt: "กำลังเล่น"
934
- }, null, 8 /* PROPS */, _hoisted_4$b))
931
+ }, null, 8 /* PROPS */, _hoisted_4$c))
935
932
  : vue.createCommentVNode("v-if", true),
936
- _hoisted_5$a
933
+ _hoisted_5$b
937
934
  ], 64 /* STABLE_FRAGMENT */))
938
935
  ], 6 /* CLASS, STYLE */)
939
936
  ]))
940
937
  }
941
938
 
942
- script$o.render = render$k;
943
- script$o.__file = "src/components/UniMusic/UniMusic.vue";
939
+ script$p.render = render$l;
940
+ script$p.__file = "src/components/UniMusic/UniMusic.vue";
944
941
 
945
- script$o.install = (app) => {
946
- app.component(script$o.name, script$o);
942
+ script$p.install = (app) => {
943
+ app.component(script$p.name, script$p);
947
944
  };
948
945
 
949
- var script$n = vue.defineComponent({
946
+ var script$o = vue.defineComponent({
950
947
  name: 'uni-video',
951
948
  props: {
952
949
  element: {
@@ -1019,27 +1016,27 @@
1019
1016
  }
1020
1017
  });
1021
1018
 
1022
- const _hoisted_1$i = {
1019
+ const _hoisted_1$j = {
1023
1020
  key: 0,
1024
1021
  class: "video-container"
1025
1022
  };
1026
- const _hoisted_2$e = ["src"];
1027
- const _hoisted_3$d = ["src"];
1023
+ const _hoisted_2$g = ["src"];
1024
+ const _hoisted_3$f = ["src"];
1028
1025
 
1029
- function render$j(_ctx, _cache, $props, $setup, $data, $options) {
1026
+ function render$k(_ctx, _cache, $props, $setup, $data, $options) {
1030
1027
  return (vue.openBlock(), vue.createElementBlock("div", {
1031
1028
  class: "element-video eles",
1032
1029
  style: vue.normalizeStyle(_ctx.containerStyle)
1033
1030
  }, [
1034
1031
  vue.createElementVNode("div", {
1035
1032
  class: "ani-wrap",
1036
- style: vue.normalizeStyle({
1037
- ..._ctx.aniWrapStyle,
1038
- boxShadow: _ctx.shadowStyle
1033
+ style: vue.normalizeStyle({
1034
+ ..._ctx.aniWrapStyle,
1035
+ boxShadow: _ctx.shadowStyle
1039
1036
  })
1040
1037
  }, [
1041
1038
  (_ctx.isPlaying)
1042
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$i, [
1039
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$j, [
1043
1040
  vue.createElementVNode("iframe", {
1044
1041
  src: _ctx.youtubeEmbedUrl,
1045
1042
  type: "text/html",
@@ -1047,7 +1044,7 @@
1047
1044
  allowfullscreen: "",
1048
1045
  scrolling: "no",
1049
1046
  allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
1050
- }, null, 8 /* PROPS */, _hoisted_2$e)
1047
+ }, null, 8 /* PROPS */, _hoisted_2$g)
1051
1048
  ]))
1052
1049
  : (vue.openBlock(), vue.createElementBlock("div", {
1053
1050
  key: 1,
@@ -1059,20 +1056,20 @@
1059
1056
  src: _ctx.element.properties.src,
1060
1057
  alt: "Play button",
1061
1058
  class: "play-btn"
1062
- }, null, 8 /* PROPS */, _hoisted_3$d)
1059
+ }, null, 8 /* PROPS */, _hoisted_3$f)
1063
1060
  ], 4 /* STYLE */))
1064
1061
  ], 4 /* STYLE */)
1065
1062
  ], 4 /* STYLE */))
1066
1063
  }
1067
1064
 
1068
- script$n.render = render$j;
1069
- script$n.__file = "src/components/UniVideo/UniVideo.vue";
1065
+ script$o.render = render$k;
1066
+ script$o.__file = "src/components/UniVideo/UniVideo.vue";
1070
1067
 
1071
- script$n.install = (app) => {
1072
- app.component(script$n.name, script$n);
1068
+ script$o.install = (app) => {
1069
+ app.component(script$o.name, script$o);
1073
1070
  };
1074
1071
 
1075
- var script$m = vue.defineComponent({
1072
+ var script$n = vue.defineComponent({
1076
1073
  name: 'uni-calendar',
1077
1074
  props: {
1078
1075
  element: {
@@ -1188,33 +1185,33 @@
1188
1185
  }
1189
1186
  });
1190
1187
 
1191
- const _hoisted_1$h = ["data-id", "data-pid", "data-type", "data-show", "pid", "type", "layername", "sign", "signsort"];
1192
- const _hoisted_2$d = {
1188
+ const _hoisted_1$i = ["data-id", "data-pid", "data-type", "data-show", "pid", "type", "layername", "sign", "signsort"];
1189
+ const _hoisted_2$f = {
1193
1190
  key: 0,
1194
1191
  class: "can-wrap"
1195
1192
  };
1196
- const _hoisted_3$c = { class: "can-top" };
1197
- const _hoisted_4$a = { class: "can-main" };
1198
- const _hoisted_5$9 = { class: "can-date" };
1199
- const _hoisted_6$7 = {
1193
+ const _hoisted_3$e = { class: "can-top" };
1194
+ const _hoisted_4$b = { class: "can-main" };
1195
+ const _hoisted_5$a = { class: "can-date" };
1196
+ const _hoisted_6$8 = {
1200
1197
  key: 1,
1201
1198
  class: "can-wrap2"
1202
1199
  };
1203
- const _hoisted_7$6 = { class: "can-top" };
1204
- const _hoisted_8$3 = /*#__PURE__*/vue.createElementVNode("span", null, "/", -1 /* HOISTED */);
1205
- const _hoisted_9$3 = { class: "can-main" };
1206
- const _hoisted_10$3 = { class: "can-week" };
1207
- const _hoisted_11$3 = { class: "can-date" };
1208
- const _hoisted_12$3 = {
1200
+ const _hoisted_7$7 = { class: "can-top" };
1201
+ const _hoisted_8$4 = /*#__PURE__*/vue.createElementVNode("span", null, "/", -1 /* HOISTED */);
1202
+ const _hoisted_9$4 = { class: "can-main" };
1203
+ const _hoisted_10$4 = { class: "can-week" };
1204
+ const _hoisted_11$4 = { class: "can-date" };
1205
+ const _hoisted_12$4 = {
1209
1206
  key: 2,
1210
1207
  class: "can-wrap3"
1211
1208
  };
1212
- const _hoisted_13$3 = { class: "can-top" };
1213
- const _hoisted_14$3 = /*#__PURE__*/vue.createElementVNode("span", null, "/", -1 /* HOISTED */);
1214
- const _hoisted_15$3 = { class: "can-main" };
1215
- const _hoisted_16$3 = { class: "can-date" };
1209
+ const _hoisted_13$4 = { class: "can-top" };
1210
+ const _hoisted_14$4 = /*#__PURE__*/vue.createElementVNode("span", null, "/", -1 /* HOISTED */);
1211
+ const _hoisted_15$4 = { class: "can-main" };
1212
+ const _hoisted_16$4 = { class: "can-date" };
1216
1213
 
1217
- function render$i(_ctx, _cache, $props, $setup, $data, $options) {
1214
+ function render$j(_ctx, _cache, $props, $setup, $data, $options) {
1218
1215
  return (vue.openBlock(), vue.createElementBlock("div", {
1219
1216
  class: "ele-calendar eles",
1220
1217
  "data-id": _ctx.element.id,
@@ -1234,8 +1231,8 @@
1234
1231
  style: vue.normalizeStyle(_ctx.aniWrapStyle)
1235
1232
  }, [
1236
1233
  (_ctx.element.kind === 1)
1237
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$d, [
1238
- vue.createElementVNode("div", _hoisted_3$c, [
1234
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$f, [
1235
+ vue.createElementVNode("div", _hoisted_3$e, [
1239
1236
  vue.createElementVNode("div", {
1240
1237
  class: "can-left",
1241
1238
  style: vue.normalizeStyle({ color: _ctx.element.themeColor || '#ed5566' })
@@ -1248,7 +1245,7 @@
1248
1245
  vue.createTextVNode(" " + vue.toDisplayString(_ctx.month), 1 /* TEXT */)
1249
1246
  ], 4 /* STYLE */)
1250
1247
  ]),
1251
- vue.createElementVNode("div", _hoisted_4$a, [
1248
+ vue.createElementVNode("div", _hoisted_4$b, [
1252
1249
  vue.createElementVNode("div", {
1253
1250
  class: "can-week",
1254
1251
  style: vue.normalizeStyle({ backgroundColor: _ctx.element.themeColor || '#ed5566' })
@@ -1257,7 +1254,7 @@
1257
1254
  return (vue.openBlock(), vue.createElementBlock("span", { key: day }, vue.toDisplayString(day), 1 /* TEXT */))
1258
1255
  }), 128 /* KEYED_FRAGMENT */))
1259
1256
  ], 4 /* STYLE */),
1260
- vue.createElementVNode("div", _hoisted_5$9, [
1257
+ vue.createElementVNode("div", _hoisted_5$a, [
1261
1258
  vue.createElementVNode("ul", null, [
1262
1259
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.days, (day, index) => {
1263
1260
  return (vue.openBlock(), vue.createElementBlock("li", {
@@ -1286,19 +1283,19 @@
1286
1283
  ]))
1287
1284
  : vue.createCommentVNode("v-if", true),
1288
1285
  (_ctx.element.kind === 2)
1289
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$7, [
1290
- vue.createElementVNode("div", _hoisted_7$6, [
1286
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$8, [
1287
+ vue.createElementVNode("div", _hoisted_7$7, [
1291
1288
  vue.createElementVNode("div", {
1292
1289
  class: "can-size",
1293
1290
  style: vue.normalizeStyle({ color: _ctx.element.themeColor || '#ed5566' })
1294
1291
  }, [
1295
1292
  vue.createTextVNode(vue.toDisplayString(_ctx.currentDay) + " ", 1 /* TEXT */),
1296
- _hoisted_8$3,
1293
+ _hoisted_8$4,
1297
1294
  vue.createTextVNode(" " + vue.toDisplayString(_ctx.currentMonth), 1 /* TEXT */)
1298
1295
  ], 4 /* STYLE */)
1299
1296
  ]),
1300
- vue.createElementVNode("div", _hoisted_9$3, [
1301
- vue.createElementVNode("div", _hoisted_10$3, [
1297
+ vue.createElementVNode("div", _hoisted_9$4, [
1298
+ vue.createElementVNode("div", _hoisted_10$4, [
1302
1299
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.weekDays, (day) => {
1303
1300
  return (vue.openBlock(), vue.createElementBlock("span", {
1304
1301
  key: day,
@@ -1306,7 +1303,7 @@
1306
1303
  }, vue.toDisplayString(day), 5 /* TEXT, STYLE */))
1307
1304
  }), 128 /* KEYED_FRAGMENT */))
1308
1305
  ]),
1309
- vue.createElementVNode("div", _hoisted_11$3, [
1306
+ vue.createElementVNode("div", _hoisted_11$4, [
1310
1307
  vue.createElementVNode("div", {
1311
1308
  class: "can-year",
1312
1309
  style: vue.normalizeStyle({ color: _ctx.element.themeColor || '#ed5566' })
@@ -1339,14 +1336,14 @@
1339
1336
  ]))
1340
1337
  : vue.createCommentVNode("v-if", true),
1341
1338
  (_ctx.element.kind === 3)
1342
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12$3, [
1343
- vue.createElementVNode("div", _hoisted_13$3, [
1339
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12$4, [
1340
+ vue.createElementVNode("div", _hoisted_13$4, [
1344
1341
  vue.createElementVNode("div", {
1345
1342
  class: "can-size",
1346
1343
  style: vue.normalizeStyle({ color: _ctx.element.themeColor || '#ed5566' })
1347
1344
  }, [
1348
1345
  vue.createTextVNode(vue.toDisplayString(_ctx.currentDay) + " ", 1 /* TEXT */),
1349
- _hoisted_14$3,
1346
+ _hoisted_14$4,
1350
1347
  vue.createTextVNode(" " + vue.toDisplayString(_ctx.currentMonth), 1 /* TEXT */)
1351
1348
  ], 4 /* STYLE */),
1352
1349
  vue.createElementVNode("div", {
@@ -1354,7 +1351,7 @@
1354
1351
  style: vue.normalizeStyle({ color: _ctx.element.themeColor || '#ed5566' })
1355
1352
  }, "-" + vue.toDisplayString(_ctx.currentYear) + "-", 5 /* TEXT, STYLE */)
1356
1353
  ]),
1357
- vue.createElementVNode("div", _hoisted_15$3, [
1354
+ vue.createElementVNode("div", _hoisted_15$4, [
1358
1355
  vue.createElementVNode("div", {
1359
1356
  class: "can-week",
1360
1357
  style: vue.normalizeStyle({ borderColor: _ctx.element.themeColor || '#ed5566' })
@@ -1366,7 +1363,7 @@
1366
1363
  }, vue.toDisplayString(day), 5 /* TEXT, STYLE */))
1367
1364
  }), 128 /* KEYED_FRAGMENT */))
1368
1365
  ], 4 /* STYLE */),
1369
- vue.createElementVNode("div", _hoisted_16$3, [
1366
+ vue.createElementVNode("div", _hoisted_16$4, [
1370
1367
  vue.createElementVNode("ul", null, [
1371
1368
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.days, (day, index) => {
1372
1369
  return (vue.openBlock(), vue.createElementBlock("li", {
@@ -1395,17 +1392,18 @@
1395
1392
  ]))
1396
1393
  : vue.createCommentVNode("v-if", true)
1397
1394
  ], 4 /* STYLE */)
1398
- ], 12 /* STYLE, PROPS */, _hoisted_1$h))
1395
+ ], 12 /* STYLE, PROPS */, _hoisted_1$i))
1399
1396
  }
1400
1397
 
1401
- script$m.render = render$i;
1402
- script$m.__file = "src/components/UniCalendar/UniCalendar.vue";
1398
+ script$n.render = render$j;
1399
+ script$n.__file = "src/components/UniCalendar/UniCalendar.vue";
1403
1400
 
1404
- script$m.install = (app) => {
1405
- app.component(script$m.name, script$m);
1401
+ script$n.install = (app) => {
1402
+ app.component(script$n.name, script$n);
1406
1403
  };
1407
1404
 
1408
- var script$l = vue.defineComponent({
1405
+ // @ts-nocheck
1406
+ var script$m = vue.defineComponent({
1409
1407
  name: 'uni-countdown',
1410
1408
  props: {
1411
1409
  element: {
@@ -1572,6 +1570,7 @@
1572
1570
  vue.onUnmounted(() => {
1573
1571
  stopCountdown();
1574
1572
  });
1573
+ const isVertical = vue.computed(() => props.element.direction === 'vertical');
1575
1574
  // 容器样式
1576
1575
  const containerStyle = vue.computed(() => ({
1577
1576
  position: (props.element && props.element.css && props.element.css.position) || 'absolute',
@@ -1580,7 +1579,8 @@
1580
1579
  width: px2rem(props.element.css.width),
1581
1580
  height: px2rem(props.element.css.height),
1582
1581
  transform: `rotate(${props.element.css.transform}deg)`,
1583
- opacity: props.element.css.opacity
1582
+ opacity: props.element.css.opacity,
1583
+ overflow: 'visible',
1584
1584
  }));
1585
1585
  // 文本模式容器样式
1586
1586
  const textContainerStyle = vue.computed(() => ({
@@ -1589,6 +1589,10 @@
1589
1589
  borderRadius: px2rem(props.element.css.borderRadius || 0),
1590
1590
  borderStyle: props.element.css.borderStyle,
1591
1591
  borderWidth: px2rem(props.element.css.borderWidth || 0),
1592
+ display: isVertical.value ? 'flex' : undefined,
1593
+ flexDirection: isVertical.value ? 'column' : undefined,
1594
+ alignItems: isVertical.value ? 'center' : undefined,
1595
+ justifyContent: isVertical.value ? 'center' : undefined,
1592
1596
  }));
1593
1597
  // 文本内容样式
1594
1598
  const textContentStyle = vue.computed(() => ({
@@ -1601,8 +1605,13 @@
1601
1605
  const flipStyle = vue.computed(() => ({
1602
1606
  transform: getScaleValue(),
1603
1607
  opacity: props.element.css.opacity,
1604
- flexDirection: props.element.direction === 'vertical' ? 'column' : 'row',
1605
- alignItems: props.element.direction === 'center'
1608
+ display: 'flex',
1609
+ flexDirection: isVertical.value ? 'column' : 'row',
1610
+ alignItems: 'center',
1611
+ justifyContent: 'center',
1612
+ width: '100%',
1613
+ height: isVertical.value ? 'auto' : '100%',
1614
+ minHeight: isVertical.value ? '100%' : undefined,
1606
1615
  }));
1607
1616
  // 获取缩放值
1608
1617
  const getScaleValue = () => {
@@ -1619,7 +1628,8 @@
1619
1628
  borderWidth: px2rem(props.element.css.borderWidth || 0),
1620
1629
  borderRadius: px2rem(props.element.css.borderRadius || 0),
1621
1630
  backgroundColor: props.element.css.backgroundColor,
1622
- margin: props.element.direction === 'vertical' ? px2rem(6) + ' 0' : '0 ' + px2rem(6)
1631
+ margin: isVertical.value ? `${px2rem(6)} 0` : `0 ${px2rem(6)}`,
1632
+ flexShrink: 0,
1623
1633
  }));
1624
1634
  // 数字样式
1625
1635
  const numStyle = vue.computed(() => ({
@@ -1684,30 +1694,30 @@
1684
1694
  }
1685
1695
  });
1686
1696
 
1687
- const _hoisted_1$g = ["data-id", "data-pid", "data-type", "data-show", "pid", "type", "layername", "sign", "signsort"];
1688
- const _hoisted_2$c = ["data-direction"];
1689
- const _hoisted_3$b = { class: "c-wrap" };
1690
- const _hoisted_4$9 = { class: "c-num c-left" };
1691
- const _hoisted_5$8 = { class: "flex-wrap" };
1692
- const _hoisted_6$6 = { class: "c-num c-right" };
1693
- const _hoisted_7$5 = { class: "flex-wrap" };
1694
- const _hoisted_8$2 = { class: "c-wrap" };
1695
- const _hoisted_9$2 = { class: "c-num c-left" };
1696
- const _hoisted_10$2 = { class: "flex-wrap" };
1697
- const _hoisted_11$2 = { class: "c-num c-right" };
1698
- const _hoisted_12$2 = { class: "flex-wrap" };
1699
- const _hoisted_13$2 = { class: "c-wrap" };
1700
- const _hoisted_14$2 = { class: "c-num c-left" };
1701
- const _hoisted_15$2 = { class: "flex-wrap" };
1702
- const _hoisted_16$2 = { class: "c-num c-right" };
1703
- const _hoisted_17$2 = { class: "flex-wrap" };
1704
- const _hoisted_18$2 = { class: "c-wrap" };
1705
- const _hoisted_19$2 = { class: "c-num c-left" };
1706
- const _hoisted_20$2 = { class: "flex-wrap" };
1707
- const _hoisted_21$2 = { class: "c-num c-right" };
1708
- const _hoisted_22$2 = { class: "flex-wrap" };
1697
+ const _hoisted_1$h = ["data-id", "data-pid", "data-type", "data-show", "pid", "type", "layername", "sign", "signsort"];
1698
+ const _hoisted_2$e = ["data-direction"];
1699
+ const _hoisted_3$d = { class: "c-wrap" };
1700
+ const _hoisted_4$a = { class: "c-num c-left" };
1701
+ const _hoisted_5$9 = { class: "flex-wrap" };
1702
+ const _hoisted_6$7 = { class: "c-num c-right" };
1703
+ const _hoisted_7$6 = { class: "flex-wrap" };
1704
+ const _hoisted_8$3 = { class: "c-wrap" };
1705
+ const _hoisted_9$3 = { class: "c-num c-left" };
1706
+ const _hoisted_10$3 = { class: "flex-wrap" };
1707
+ const _hoisted_11$3 = { class: "c-num c-right" };
1708
+ const _hoisted_12$3 = { class: "flex-wrap" };
1709
+ const _hoisted_13$3 = { class: "c-wrap" };
1710
+ const _hoisted_14$3 = { class: "c-num c-left" };
1711
+ const _hoisted_15$3 = { class: "flex-wrap" };
1712
+ const _hoisted_16$3 = { class: "c-num c-right" };
1713
+ const _hoisted_17$3 = { class: "flex-wrap" };
1714
+ const _hoisted_18$3 = { class: "c-wrap" };
1715
+ const _hoisted_19$3 = { class: "c-num c-left" };
1716
+ const _hoisted_20$3 = { class: "flex-wrap" };
1717
+ const _hoisted_21$3 = { class: "c-num c-right" };
1718
+ const _hoisted_22$3 = { class: "flex-wrap" };
1709
1719
 
1710
- function render$h(_ctx, _cache, $props, $setup, $data, $options) {
1720
+ function render$i(_ctx, _cache, $props, $setup, $data, $options) {
1711
1721
  return (vue.openBlock(), vue.createElementBlock("div", {
1712
1722
  class: "count-down eles",
1713
1723
  "data-id": _ctx.element.id,
@@ -1749,9 +1759,9 @@
1749
1759
  class: "c-com c-day",
1750
1760
  style: vue.normalizeStyle(_ctx.comStyle)
1751
1761
  }, [
1752
- vue.createElementVNode("div", _hoisted_3$b, [
1753
- vue.createElementVNode("div", _hoisted_4$9, [
1754
- vue.createElementVNode("div", _hoisted_5$8, [
1762
+ vue.createElementVNode("div", _hoisted_3$d, [
1763
+ vue.createElementVNode("div", _hoisted_4$a, [
1764
+ vue.createElementVNode("div", _hoisted_5$9, [
1755
1765
  (_ctx.days >= 100)
1756
1766
  ? (vue.openBlock(), vue.createElementBlock("div", {
1757
1767
  key: 0,
@@ -1769,8 +1779,8 @@
1769
1779
  }, vue.toDisplayString(_ctx.currentDaysLeft), 5 /* TEXT, STYLE */)
1770
1780
  ])
1771
1781
  ]),
1772
- vue.createElementVNode("div", _hoisted_6$6, [
1773
- vue.createElementVNode("div", _hoisted_7$5, [
1782
+ vue.createElementVNode("div", _hoisted_6$7, [
1783
+ vue.createElementVNode("div", _hoisted_7$6, [
1774
1784
  vue.createElementVNode("div", {
1775
1785
  class: "next-num",
1776
1786
  style: vue.normalizeStyle(_ctx.numStyle)
@@ -1792,9 +1802,9 @@
1792
1802
  class: "c-com c-hour",
1793
1803
  style: vue.normalizeStyle(_ctx.comStyle)
1794
1804
  }, [
1795
- vue.createElementVNode("div", _hoisted_8$2, [
1796
- vue.createElementVNode("div", _hoisted_9$2, [
1797
- vue.createElementVNode("div", _hoisted_10$2, [
1805
+ vue.createElementVNode("div", _hoisted_8$3, [
1806
+ vue.createElementVNode("div", _hoisted_9$3, [
1807
+ vue.createElementVNode("div", _hoisted_10$3, [
1798
1808
  vue.createElementVNode("div", {
1799
1809
  class: "next-num",
1800
1810
  style: vue.normalizeStyle(_ctx.numStyle)
@@ -1805,8 +1815,8 @@
1805
1815
  }, vue.toDisplayString(_ctx.currentHoursLeft), 5 /* TEXT, STYLE */)
1806
1816
  ])
1807
1817
  ]),
1808
- vue.createElementVNode("div", _hoisted_11$2, [
1809
- vue.createElementVNode("div", _hoisted_12$2, [
1818
+ vue.createElementVNode("div", _hoisted_11$3, [
1819
+ vue.createElementVNode("div", _hoisted_12$3, [
1810
1820
  vue.createElementVNode("div", {
1811
1821
  class: "next-num",
1812
1822
  style: vue.normalizeStyle(_ctx.numStyle)
@@ -1828,9 +1838,9 @@
1828
1838
  class: "c-com c-minute",
1829
1839
  style: vue.normalizeStyle(_ctx.comStyle)
1830
1840
  }, [
1831
- vue.createElementVNode("div", _hoisted_13$2, [
1832
- vue.createElementVNode("div", _hoisted_14$2, [
1833
- vue.createElementVNode("div", _hoisted_15$2, [
1841
+ vue.createElementVNode("div", _hoisted_13$3, [
1842
+ vue.createElementVNode("div", _hoisted_14$3, [
1843
+ vue.createElementVNode("div", _hoisted_15$3, [
1834
1844
  vue.createElementVNode("div", {
1835
1845
  class: "next-num",
1836
1846
  style: vue.normalizeStyle(_ctx.numStyle)
@@ -1841,8 +1851,8 @@
1841
1851
  }, vue.toDisplayString(_ctx.currentMinutesLeft), 5 /* TEXT, STYLE */)
1842
1852
  ])
1843
1853
  ]),
1844
- vue.createElementVNode("div", _hoisted_16$2, [
1845
- vue.createElementVNode("div", _hoisted_17$2, [
1854
+ vue.createElementVNode("div", _hoisted_16$3, [
1855
+ vue.createElementVNode("div", _hoisted_17$3, [
1846
1856
  vue.createElementVNode("div", {
1847
1857
  class: "next-num",
1848
1858
  style: vue.normalizeStyle(_ctx.numStyle)
@@ -1864,9 +1874,9 @@
1864
1874
  class: "c-com c-second",
1865
1875
  style: vue.normalizeStyle(_ctx.comStyle)
1866
1876
  }, [
1867
- vue.createElementVNode("div", _hoisted_18$2, [
1868
- vue.createElementVNode("div", _hoisted_19$2, [
1869
- vue.createElementVNode("div", _hoisted_20$2, [
1877
+ vue.createElementVNode("div", _hoisted_18$3, [
1878
+ vue.createElementVNode("div", _hoisted_19$3, [
1879
+ vue.createElementVNode("div", _hoisted_20$3, [
1870
1880
  vue.createElementVNode("div", {
1871
1881
  class: "next-num",
1872
1882
  style: vue.normalizeStyle(_ctx.numStyle)
@@ -1877,8 +1887,8 @@
1877
1887
  }, vue.toDisplayString(_ctx.currentSecondsLeft), 5 /* TEXT, STYLE */)
1878
1888
  ])
1879
1889
  ]),
1880
- vue.createElementVNode("div", _hoisted_21$2, [
1881
- vue.createElementVNode("div", _hoisted_22$2, [
1890
+ vue.createElementVNode("div", _hoisted_21$3, [
1891
+ vue.createElementVNode("div", _hoisted_22$3, [
1882
1892
  vue.createElementVNode("div", {
1883
1893
  class: "next-num",
1884
1894
  style: vue.normalizeStyle(_ctx.numStyle)
@@ -1895,32 +1905,38 @@
1895
1905
  }, vue.toDisplayString(_ctx.second), 5 /* TEXT, STYLE */)
1896
1906
  ])
1897
1907
  ], 4 /* STYLE */)
1898
- ], 14 /* CLASS, STYLE, PROPS */, _hoisted_2$c)
1908
+ ], 14 /* CLASS, STYLE, PROPS */, _hoisted_2$e)
1899
1909
  ], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */))
1900
1910
  ], 4 /* STYLE */)
1901
- ], 12 /* STYLE, PROPS */, _hoisted_1$g))
1911
+ ], 12 /* STYLE, PROPS */, _hoisted_1$h))
1902
1912
  }
1903
1913
 
1904
- script$l.render = render$h;
1905
- script$l.__scopeId = "data-v-bb868822";
1906
- script$l.__file = "src/components/UniCountdown/UniCountdown.vue";
1914
+ script$m.render = render$i;
1915
+ script$m.__scopeId = "data-v-bb868822";
1916
+ script$m.__file = "src/components/UniCountdown/UniCountdown.vue";
1907
1917
 
1908
- script$l.install = (app) => {
1909
- app.component(script$l.name, script$l);
1918
+ script$m.install = (app) => {
1919
+ app.component(script$m.name, script$m);
1910
1920
  };
1911
1921
 
1912
- var script$k = vue.defineComponent({
1922
+ var script$l = vue.defineComponent({
1913
1923
  name: 'uni-map',
1914
1924
  props: {
1915
1925
  element: {
1916
1926
  type: Object,
1917
1927
  required: true,
1918
1928
  },
1929
+ isEditing: {
1930
+ type: Boolean,
1931
+ default: false,
1932
+ },
1919
1933
  },
1920
1934
  setup(props) {
1921
1935
  const iframeUrl = vue.computed(() => (props.element.iframeUrl || '').replace('width="600"', 'width="100%"').replace('height="450"', 'height="100%"'));
1922
1936
  // 处理导航按钮点击
1923
1937
  const handleNavigation = () => {
1938
+ if (props.isEditing)
1939
+ return;
1924
1940
  window.open(props.element.url);
1925
1941
  };
1926
1942
  // 容器样式
@@ -1973,11 +1989,11 @@
1973
1989
  }
1974
1990
  });
1975
1991
 
1976
- const _hoisted_1$f = ["data-id", "data-pid", "data-type", "data-show", "pid", "type", "layername", "sign", "signsort"];
1977
- const _hoisted_2$b = ["innerHTML"];
1978
- const _hoisted_3$a = /*#__PURE__*/vue.createElementVNode("div", { class: "mask-map" }, null, -1 /* HOISTED */);
1992
+ const _hoisted_1$g = ["data-id", "data-pid", "data-type", "data-show", "pid", "type", "layername", "sign", "signsort"];
1993
+ const _hoisted_2$d = ["innerHTML"];
1994
+ const _hoisted_3$c = /*#__PURE__*/vue.createElementVNode("div", { class: "mask-map" }, null, -1 /* HOISTED */);
1979
1995
 
1980
- function render$g(_ctx, _cache, $props, $setup, $data, $options) {
1996
+ function render$h(_ctx, _cache, $props, $setup, $data, $options) {
1981
1997
  return (vue.openBlock(), vue.createElementBlock("div", {
1982
1998
  class: "element-ditu eles",
1983
1999
  "data-id": _ctx.element.id,
@@ -1993,9 +2009,9 @@
1993
2009
  }, [
1994
2010
  vue.createElementVNode("div", {
1995
2011
  class: "ani-wrap",
1996
- style: vue.normalizeStyle({
1997
- ..._ctx.aniWrapStyle,
1998
- boxShadow: _ctx.shadowStyle
2012
+ style: vue.normalizeStyle({
2013
+ ..._ctx.aniWrapStyle,
2014
+ boxShadow: _ctx.shadowStyle
1999
2015
  })
2000
2016
  }, [
2001
2017
  (_ctx.element.mapStyle === 'default')
@@ -2009,10 +2025,10 @@
2009
2025
  vue.createElementVNode("div", {
2010
2026
  innerHTML: _ctx.iframeUrl,
2011
2027
  class: "map-iframe"
2012
- }, null, 8 /* PROPS */, _hoisted_2$b),
2028
+ }, null, 8 /* PROPS */, _hoisted_2$d),
2013
2029
  vue.createCommentVNode(" 隐藏的辅助元素 "),
2014
- vue.createCommentVNode(" <div :id=\"'teng_' + element.id + Date.now()\" class=\"center-map\" style=\"display: none;\"></div>\r\n <div :id=\"'bai_' + element.id + Date.now()\" class=\"center-map\" style=\"display: none;\"></div> "),
2015
- _hoisted_3$a
2030
+ vue.createCommentVNode(" <div :id=\"'teng_' + element.id + Date.now()\" class=\"center-map\" style=\"display: none;\"></div>\n <div :id=\"'bai_' + element.id + Date.now()\" class=\"center-map\" style=\"display: none;\"></div> "),
2031
+ _hoisted_3$c
2016
2032
  ], 4 /* STYLE */))
2017
2033
  : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
2018
2034
  vue.createCommentVNode(" 导航按钮 "),
@@ -2030,23 +2046,27 @@
2030
2046
  ], 4 /* STYLE */)
2031
2047
  ], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */))
2032
2048
  ], 4 /* STYLE */)
2033
- ], 12 /* STYLE, PROPS */, _hoisted_1$f))
2049
+ ], 12 /* STYLE, PROPS */, _hoisted_1$g))
2034
2050
  }
2035
2051
 
2036
- script$k.render = render$g;
2037
- script$k.__file = "src/components/UniMap/UniMap.vue";
2052
+ script$l.render = render$h;
2053
+ script$l.__file = "src/components/UniMap/UniMap.vue";
2038
2054
 
2039
- script$k.install = (app) => {
2040
- app.component(script$k.name, script$k);
2055
+ script$l.install = (app) => {
2056
+ app.component(script$l.name, script$l);
2041
2057
  };
2042
2058
 
2043
- var script$j = vue.defineComponent({
2059
+ var script$k = vue.defineComponent({
2044
2060
  name: 'uni-call',
2045
2061
  props: {
2046
2062
  element: {
2047
2063
  type: Object,
2048
2064
  required: true
2049
2065
  },
2066
+ isEditing: {
2067
+ type: Boolean,
2068
+ default: false,
2069
+ },
2050
2070
  },
2051
2071
  setup(props) {
2052
2072
  const containerStyle = vue.computed(() => ({
@@ -2080,6 +2100,8 @@
2080
2100
  const btnText = vue.computed(() => props.element.btnText || 'โทรออกด่วน');
2081
2101
  const css = vue.computed(() => props.element.css);
2082
2102
  const handleDial = () => {
2103
+ if (props.isEditing)
2104
+ return;
2083
2105
  const phoneNumber = props.element.tel;
2084
2106
  if (!phoneNumber)
2085
2107
  return;
@@ -2117,22 +2139,24 @@
2117
2139
  }
2118
2140
  });
2119
2141
 
2120
- const _hoisted_1$e = { class: "call-content" };
2142
+ const _hoisted_1$f = ["data-id"];
2143
+ const _hoisted_2$c = { class: "call-content" };
2121
2144
 
2122
- function render$f(_ctx, _cache, $props, $setup, $data, $options) {
2145
+ function render$g(_ctx, _cache, $props, $setup, $data, $options) {
2123
2146
  return (vue.openBlock(), vue.createElementBlock("div", {
2124
2147
  class: "call eles",
2148
+ "data-id": _ctx.element.id,
2125
2149
  style: vue.normalizeStyle(_ctx.containerStyle),
2126
2150
  onClick: _cache[0] || (_cache[0] = (...args) => (_ctx.handleDial && _ctx.handleDial(...args)))
2127
2151
  }, [
2128
2152
  vue.createElementVNode("div", {
2129
2153
  class: "ani-wrap",
2130
- style: vue.normalizeStyle({
2131
- ..._ctx.aniWrapStyle,
2132
- boxShadow: _ctx.shadowStyle
2154
+ style: vue.normalizeStyle({
2155
+ ..._ctx.aniWrapStyle,
2156
+ boxShadow: _ctx.shadowStyle
2133
2157
  })
2134
2158
  }, [
2135
- vue.createElementVNode("div", _hoisted_1$e, [
2159
+ vue.createElementVNode("div", _hoisted_2$c, [
2136
2160
  vue.createElementVNode("i", {
2137
2161
  class: "iconfont hb-tel",
2138
2162
  style: vue.normalizeStyle(_ctx.bntStyle)
@@ -2143,14 +2167,14 @@
2143
2167
  }, vue.toDisplayString(_ctx.btnText), 5 /* TEXT, STYLE */)
2144
2168
  ])
2145
2169
  ], 4 /* STYLE */)
2146
- ], 4 /* STYLE */))
2170
+ ], 12 /* STYLE, PROPS */, _hoisted_1$f))
2147
2171
  }
2148
2172
 
2149
- script$j.render = render$f;
2150
- script$j.__file = "src/components/UniCall/UniCall.vue";
2173
+ script$k.render = render$g;
2174
+ script$k.__file = "src/components/UniCall/UniCall.vue";
2151
2175
 
2152
- script$j.install = (app) => {
2153
- app.component(script$j.name, script$j);
2176
+ script$k.install = (app) => {
2177
+ app.component(script$k.name, script$k);
2154
2178
  };
2155
2179
 
2156
2180
  // 花瓣图片资源 (base64编码)
@@ -2190,7 +2214,7 @@
2190
2214
  'https://h5cdn.unika.cc/static/img/uniComponents/huaban.png'
2191
2215
  // 可以添加更多花瓣图片
2192
2216
  ];
2193
- var script$i = vue.defineComponent({
2217
+ var script$j = vue.defineComponent({
2194
2218
  name: 'uni-effect',
2195
2219
  props: {
2196
2220
  element: {
@@ -2288,14 +2312,14 @@
2288
2312
  }
2289
2313
  });
2290
2314
 
2291
- const _hoisted_1$d = { class: "effect-wrap" };
2315
+ const _hoisted_1$e = { class: "effect-wrap" };
2292
2316
 
2293
- function render$e(_ctx, _cache, $props, $setup, $data, $options) {
2317
+ function render$f(_ctx, _cache, $props, $setup, $data, $options) {
2294
2318
  return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
2295
2319
  class: "ele-effect eles",
2296
2320
  style: vue.normalizeStyle(_ctx.containerStyle)
2297
2321
  }, [
2298
- vue.createElementVNode("div", _hoisted_1$d, [
2322
+ vue.createElementVNode("div", _hoisted_1$e, [
2299
2323
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.particles, (particle, index) => {
2300
2324
  return (vue.openBlock(), vue.createElementBlock("div", {
2301
2325
  key: index,
@@ -2309,11 +2333,11 @@
2309
2333
  ])
2310
2334
  }
2311
2335
 
2312
- script$i.render = render$e;
2313
- script$i.__file = "src/components/UniEffect/UniEffect.vue";
2336
+ script$j.render = render$f;
2337
+ script$j.__file = "src/components/UniEffect/UniEffect.vue";
2314
2338
 
2315
- script$i.install = (app) => {
2316
- app.component(script$i.name, script$i);
2339
+ script$j.install = (app) => {
2340
+ app.component(script$j.name, script$j);
2317
2341
  };
2318
2342
 
2319
2343
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
@@ -23042,13 +23066,13 @@
23042
23066
  var DataView$1 = DataView;
23043
23067
  var Promise$1 = getNative(root$1, "Promise");
23044
23068
  var Promise$2 = Promise$1;
23045
- var Set = getNative(root$1, "Set");
23046
- var Set$1 = Set;
23069
+ var Set$1 = getNative(root$1, "Set");
23070
+ var Set$1$1 = Set$1;
23047
23071
  var mapTag$4 = "[object Map]", objectTag$2 = "[object Object]", promiseTag = "[object Promise]", setTag$4 = "[object Set]", weakMapTag$1 = "[object WeakMap]";
23048
23072
  var dataViewTag$3 = "[object DataView]";
23049
- var dataViewCtorString = toSource(DataView$1), mapCtorString = toSource(Map$1), promiseCtorString = toSource(Promise$2), setCtorString = toSource(Set$1), weakMapCtorString = toSource(WeakMap$1);
23073
+ var dataViewCtorString = toSource(DataView$1), mapCtorString = toSource(Map$1), promiseCtorString = toSource(Promise$2), setCtorString = toSource(Set$1$1), weakMapCtorString = toSource(WeakMap$1);
23050
23074
  var getTag = baseGetTag;
23051
- if (DataView$1 && getTag(new DataView$1(new ArrayBuffer(1))) != dataViewTag$3 || Map$1 && getTag(new Map$1()) != mapTag$4 || Promise$2 && getTag(Promise$2.resolve()) != promiseTag || Set$1 && getTag(new Set$1()) != setTag$4 || WeakMap$1 && getTag(new WeakMap$1()) != weakMapTag$1) {
23075
+ if (DataView$1 && getTag(new DataView$1(new ArrayBuffer(1))) != dataViewTag$3 || Map$1 && getTag(new Map$1()) != mapTag$4 || Promise$2 && getTag(Promise$2.resolve()) != promiseTag || Set$1$1 && getTag(new Set$1$1()) != setTag$4 || WeakMap$1 && getTag(new WeakMap$1()) != weakMapTag$1) {
23052
23076
  getTag = function(value) {
23053
23077
  var result = baseGetTag(value), Ctor = result == objectTag$2 ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
23054
23078
  if (ctorString) {
@@ -23795,7 +23819,7 @@
23795
23819
  }
23796
23820
  var Vue3Lottie = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
23797
23821
 
23798
- var script$h = vue.defineComponent({
23822
+ var script$i = vue.defineComponent({
23799
23823
  name: 'uni-lottie',
23800
23824
  components: {
23801
23825
  Vue3Lottie
@@ -23856,9 +23880,9 @@
23856
23880
  }
23857
23881
  });
23858
23882
 
23859
- const _hoisted_1$c = ["data-id", "data-pid", "data-type", "data-show"];
23883
+ const _hoisted_1$d = ["data-id", "data-pid", "data-type", "data-show"];
23860
23884
 
23861
- function render$d(_ctx, _cache, $props, $setup, $data, $options) {
23885
+ function render$e(_ctx, _cache, $props, $setup, $data, $options) {
23862
23886
  const _component_Vue3Lottie = vue.resolveComponent("Vue3Lottie");
23863
23887
 
23864
23888
  return (vue.openBlock(), vue.createElementBlock("div", {
@@ -23881,17 +23905,17 @@
23881
23905
  ref: "lottieAnimation"
23882
23906
  }, null, 8 /* PROPS */, ["style", "animationLink", "loop", "delay"])
23883
23907
  ], 4 /* STYLE */)
23884
- ], 12 /* STYLE, PROPS */, _hoisted_1$c))
23908
+ ], 12 /* STYLE, PROPS */, _hoisted_1$d))
23885
23909
  }
23886
23910
 
23887
- script$h.render = render$d;
23888
- script$h.__file = "src/components/UniLottie/UniLottie.vue";
23911
+ script$i.render = render$e;
23912
+ script$i.__file = "src/components/UniLottie/UniLottie.vue";
23889
23913
 
23890
- script$h.install = (app) => {
23891
- app.component(script$h.name, script$h);
23914
+ script$i.install = (app) => {
23915
+ app.component(script$i.name, script$i);
23892
23916
  };
23893
23917
 
23894
- var script$g = vue.defineComponent({
23918
+ var script$h = vue.defineComponent({
23895
23919
  name: 'uni-button',
23896
23920
  props: {
23897
23921
  element: {
@@ -23958,9 +23982,9 @@
23958
23982
  }
23959
23983
  });
23960
23984
 
23961
- const _hoisted_1$b = { class: "button-content" };
23985
+ const _hoisted_1$c = { class: "button-content" };
23962
23986
 
23963
- function render$c(_ctx, _cache, $props, $setup, $data, $options) {
23987
+ function render$d(_ctx, _cache, $props, $setup, $data, $options) {
23964
23988
  return (vue.openBlock(), vue.createElementBlock("div", {
23965
23989
  class: "button eles",
23966
23990
  style: vue.normalizeStyle(_ctx.containerStyle),
@@ -23968,12 +23992,12 @@
23968
23992
  }, [
23969
23993
  vue.createElementVNode("div", {
23970
23994
  class: "ani-wrap",
23971
- style: vue.normalizeStyle({
23972
- ..._ctx.aniWrapStyle,
23973
- boxShadow: _ctx.shadowStyle
23995
+ style: vue.normalizeStyle({
23996
+ ..._ctx.aniWrapStyle,
23997
+ boxShadow: _ctx.shadowStyle
23974
23998
  })
23975
23999
  }, [
23976
- vue.createElementVNode("div", _hoisted_1$b, [
24000
+ vue.createElementVNode("div", _hoisted_1$c, [
23977
24001
  vue.createElementVNode("span", {
23978
24002
  class: "btn-text",
23979
24003
  style: vue.normalizeStyle(_ctx.bntStyle)
@@ -23983,11 +24007,11 @@
23983
24007
  ], 4 /* STYLE */))
23984
24008
  }
23985
24009
 
23986
- script$g.render = render$c;
23987
- script$g.__file = "src/components/UniButton/UniButton.vue";
24010
+ script$h.render = render$d;
24011
+ script$h.__file = "src/components/UniButton/UniButton.vue";
23988
24012
 
23989
- script$g.install = (app) => {
23990
- app.component(script$g.name, script$g);
24013
+ script$h.install = (app) => {
24014
+ app.component(script$h.name, script$h);
23991
24015
  };
23992
24016
 
23993
24017
  var bind = function bind(fn, thisArg) {
@@ -27675,7 +27699,7 @@
27675
27699
 
27676
27700
  var axios = axios_1;
27677
27701
 
27678
- var script$f = vue.defineComponent({
27702
+ var script$g = vue.defineComponent({
27679
27703
  name: 'uni-barrage',
27680
27704
  props: {
27681
27705
  env: {
@@ -27976,31 +28000,31 @@
27976
28000
  }
27977
28001
  });
27978
28002
 
27979
- const _hoisted_1$a = {
28003
+ const _hoisted_1$b = {
27980
28004
  id: "toolbarNew",
27981
28005
  ref: "toolbar"
27982
28006
  };
27983
- const _hoisted_2$a = { class: "toolbar" };
27984
- const _hoisted_3$9 = { class: "bar-left" };
27985
- const _hoisted_4$8 = /*#__PURE__*/vue.createElementVNode("img", { src: "https://h5cdn.unika.cc/static/img/uniComponents/hide.png" }, null, -1 /* HOISTED */);
27986
- const _hoisted_5$7 = [
27987
- _hoisted_4$8
28007
+ const _hoisted_2$b = { class: "toolbar" };
28008
+ const _hoisted_3$b = { class: "bar-left" };
28009
+ const _hoisted_4$9 = /*#__PURE__*/vue.createElementVNode("img", { src: "https://h5cdn.unika.cc/static/img/uniComponents/hide.png" }, null, -1 /* HOISTED */);
28010
+ const _hoisted_5$8 = [
28011
+ _hoisted_4$9
27988
28012
  ];
27989
- const _hoisted_6$5 = {
28013
+ const _hoisted_6$6 = {
27990
28014
  key: 0,
27991
28015
  class: "bar-right"
27992
28016
  };
27993
- const _hoisted_7$4 = {
28017
+ const _hoisted_7$5 = {
27994
28018
  key: 0,
27995
28019
  class: "bar-praise"
27996
28020
  };
27997
- const _hoisted_8$1 = /*#__PURE__*/vue.createElementVNode("strong", { class: "ani-num" }, "+1", -1 /* HOISTED */);
27998
- const _hoisted_9$1 = /*#__PURE__*/vue.createElementVNode("div", { class: "stop-longtap" }, null, -1 /* HOISTED */);
27999
- const _hoisted_10$1 = /*#__PURE__*/vue.createElementVNode("img", {
28021
+ const _hoisted_8$2 = /*#__PURE__*/vue.createElementVNode("strong", { class: "ani-num" }, "+1", -1 /* HOISTED */);
28022
+ const _hoisted_9$2 = /*#__PURE__*/vue.createElementVNode("div", { class: "stop-longtap" }, null, -1 /* HOISTED */);
28023
+ const _hoisted_10$2 = /*#__PURE__*/vue.createElementVNode("img", {
28000
28024
  src: "https://h5cdn.unika.cc/static/img/uniComponents/parise.png",
28001
28025
  class: "animated"
28002
28026
  }, null, -1 /* HOISTED */);
28003
- const _hoisted_11$1 = /*#__PURE__*/vue.createElementVNode("div", { class: "zan-wrap" }, [
28027
+ const _hoisted_11$2 = /*#__PURE__*/vue.createElementVNode("div", { class: "zan-wrap" }, [
28004
28028
  /*#__PURE__*/vue.createElementVNode("span"),
28005
28029
  /*#__PURE__*/vue.createElementVNode("span"),
28006
28030
  /*#__PURE__*/vue.createElementVNode("span"),
@@ -28010,36 +28034,36 @@
28010
28034
  /*#__PURE__*/vue.createElementVNode("span"),
28011
28035
  /*#__PURE__*/vue.createElementVNode("span")
28012
28036
  ], -1 /* HOISTED */);
28013
- const _hoisted_12$1 = [
28014
- _hoisted_8$1,
28015
- _hoisted_9$1,
28016
- _hoisted_10$1,
28017
- _hoisted_11$1
28037
+ const _hoisted_12$2 = [
28038
+ _hoisted_8$2,
28039
+ _hoisted_9$2,
28040
+ _hoisted_10$2,
28041
+ _hoisted_11$2
28018
28042
  ];
28019
- const _hoisted_13$1 = { class: "bar-messwin" };
28020
- const _hoisted_14$1 = /*#__PURE__*/vue.createElementVNode("img", {
28043
+ const _hoisted_13$2 = { class: "bar-messwin" };
28044
+ const _hoisted_14$2 = /*#__PURE__*/vue.createElementVNode("img", {
28021
28045
  src: "https://h5cdn.unika.cc/static/img/uniComponents/mess-logo.png",
28022
28046
  alt: "",
28023
28047
  class: "mess-logo"
28024
28048
  }, null, -1 /* HOISTED */);
28025
- const _hoisted_15$1 = /*#__PURE__*/vue.createElementVNode("div", { class: "mess-title" }, "ข้อความอวยพร", -1 /* HOISTED */);
28026
- const _hoisted_16$1 = { class: "mess-input" };
28027
- const _hoisted_17$1 = { class: "mess-textarea" };
28028
- const _hoisted_18$1 = { class: "wish-dropdown" };
28029
- const _hoisted_19$1 = ["onClick"];
28030
- const _hoisted_20$1 = /*#__PURE__*/vue.createElementVNode("div", { class: "wish-dot" }, "•", -1 /* HOISTED */);
28031
- const _hoisted_21$1 = { class: "wish-text" };
28032
- const _hoisted_22$1 = {
28049
+ const _hoisted_15$2 = /*#__PURE__*/vue.createElementVNode("div", { class: "mess-title" }, "ข้อความอวยพร", -1 /* HOISTED */);
28050
+ const _hoisted_16$2 = { class: "mess-input" };
28051
+ const _hoisted_17$2 = { class: "mess-textarea" };
28052
+ const _hoisted_18$2 = { class: "wish-dropdown" };
28053
+ const _hoisted_19$2 = ["onClick"];
28054
+ const _hoisted_20$2 = /*#__PURE__*/vue.createElementVNode("div", { class: "wish-dot" }, "•", -1 /* HOISTED */);
28055
+ const _hoisted_21$2 = { class: "wish-text" };
28056
+ const _hoisted_22$2 = {
28033
28057
  key: 1,
28034
28058
  class: "give-gift-wrapper"
28035
28059
  };
28036
- const _hoisted_23$1 = { class: "give-gift" };
28037
- const _hoisted_24 = /*#__PURE__*/vue.createElementVNode("i", { class: "iconfont icon-zuojiantou" }, null, -1 /* HOISTED */);
28038
- const _hoisted_25 = [
28039
- _hoisted_24
28060
+ const _hoisted_23$2 = { class: "give-gift" };
28061
+ const _hoisted_24$1 = /*#__PURE__*/vue.createElementVNode("i", { class: "iconfont icon-zuojiantou" }, null, -1 /* HOISTED */);
28062
+ const _hoisted_25$1 = [
28063
+ _hoisted_24$1
28040
28064
  ];
28041
- const _hoisted_26 = ["src"];
28042
- const _hoisted_27 = {
28065
+ const _hoisted_26$1 = ["src"];
28066
+ const _hoisted_27$1 = {
28043
28067
  key: 2,
28044
28068
  class: "mess-success-popup"
28045
28069
  };
@@ -28063,7 +28087,7 @@
28063
28087
  const _hoisted_35 = { class: "mint-msgbox-message" };
28064
28088
  const _hoisted_36 = { class: "mint-msgbox-btns" };
28065
28089
 
28066
- function render$b(_ctx, _cache, $props, $setup, $data, $options) {
28090
+ function render$c(_ctx, _cache, $props, $setup, $data, $options) {
28067
28091
  return (vue.openBlock(), vue.createElementBlock("div", null, [
28068
28092
  vue.createCommentVNode(" 弹幕显示区域 "),
28069
28093
  vue.withDirectives(vue.createElementVNode("div", {
@@ -28085,9 +28109,9 @@
28085
28109
  [vue.vShow, _ctx.showBullets]
28086
28110
  ]),
28087
28111
  vue.createCommentVNode(" 底部工具栏 "),
28088
- vue.createElementVNode("div", _hoisted_1$a, [
28089
- vue.createElementVNode("div", _hoisted_2$a, [
28090
- vue.withDirectives(vue.createElementVNode("div", _hoisted_3$9, [
28112
+ vue.createElementVNode("div", _hoisted_1$b, [
28113
+ vue.createElementVNode("div", _hoisted_2$b, [
28114
+ vue.withDirectives(vue.createElementVNode("div", _hoisted_3$b, [
28091
28115
  vue.createElementVNode("input", {
28092
28116
  type: "text",
28093
28117
  placeholder: "ข้อความอวยพร..",
@@ -28106,12 +28130,12 @@
28106
28130
  vue.withDirectives(vue.createElementVNode("div", {
28107
28131
  onClick: _cache[2] || (_cache[2] = vue.withModifiers((...args) => (_ctx.toggleBullets && _ctx.toggleBullets(...args)), ["stop"])),
28108
28132
  class: "toolbar-close"
28109
- }, [..._hoisted_5$7], 512 /* NEED_PATCH */), [
28133
+ }, [..._hoisted_5$8], 512 /* NEED_PATCH */), [
28110
28134
  [vue.vShow, !_ctx.showBullets]
28111
28135
  ]),
28112
28136
  vue.createCommentVNode(" 新增的右侧按钮区域 "),
28113
28137
  ((_ctx.global.toolbar.gift || _ctx.global.toolbar.praise) && _ctx.showBullets)
28114
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$5, [
28138
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$6, [
28115
28139
  (_ctx.global.toolbar.gift && _ctx.global.toolbar.giftQRCode)
28116
28140
  ? (vue.openBlock(), vue.createElementBlock("img", {
28117
28141
  key: 0,
@@ -28127,11 +28151,11 @@
28127
28151
  onClick: _cache[4] || (_cache[4] = (...args) => (_ctx.handlePraise && _ctx.handlePraise(...args)))
28128
28152
  }, [
28129
28153
  (_ctx.praiseCount > 0)
28130
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$4, vue.toDisplayString(_ctx.praiseCount), 1 /* TEXT */))
28154
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$5, vue.toDisplayString(_ctx.praiseCount), 1 /* TEXT */))
28131
28155
  : vue.createCommentVNode("v-if", true),
28132
28156
  vue.createElementVNode("div", {
28133
28157
  class: vue.normalizeClass(["bar-zan", { active: _ctx.isPraised }])
28134
- }, [..._hoisted_12$1], 2 /* CLASS */)
28158
+ }, [..._hoisted_12$2], 2 /* CLASS */)
28135
28159
  ]))
28136
28160
  : vue.createCommentVNode("v-if", true)
28137
28161
  ]))
@@ -28146,11 +28170,11 @@
28146
28170
  style: {"z-index":"2003"},
28147
28171
  onClick: _cache[12] || (_cache[12] = vue.withModifiers((...args) => (_ctx.closePopup && _ctx.closePopup(...args)), ["self"]))
28148
28172
  }, [
28149
- vue.createElementVNode("div", _hoisted_13$1, [
28150
- _hoisted_14$1,
28151
- _hoisted_15$1,
28173
+ vue.createElementVNode("div", _hoisted_13$2, [
28174
+ _hoisted_14$2,
28175
+ _hoisted_15$2,
28152
28176
  vue.createCommentVNode(" 祝福留言. "),
28153
- vue.createElementVNode("div", _hoisted_16$1, [
28177
+ vue.createElementVNode("div", _hoisted_16$2, [
28154
28178
  vue.withDirectives(vue.createElementVNode("input", {
28155
28179
  ref: "nameInput",
28156
28180
  "onUpdate:modelValue": _cache[5] || (_cache[5] = $event => ((_ctx.name) = $event)),
@@ -28163,7 +28187,7 @@
28163
28187
  ])
28164
28188
  ]),
28165
28189
  vue.createCommentVNode(" 请输入您的姓名 "),
28166
- vue.createElementVNode("div", _hoisted_17$1, [
28190
+ vue.createElementVNode("div", _hoisted_17$2, [
28167
28191
  vue.withDirectives(vue.createElementVNode("textarea", {
28168
28192
  "onUpdate:modelValue": _cache[7] || (_cache[7] = $event => ((_ctx.content) = $event)),
28169
28193
  placeholder: "ข้อความของคุณ..",
@@ -28180,16 +28204,16 @@
28180
28204
  onClick: _cache[9] || (_cache[9] = (...args) => (_ctx.showBlessingOptions && _ctx.showBlessingOptions(...args)))
28181
28205
  }),
28182
28206
  vue.createCommentVNode(" 请选择祝福语 "),
28183
- vue.withDirectives(vue.createElementVNode("div", _hoisted_18$1, [
28207
+ vue.withDirectives(vue.createElementVNode("div", _hoisted_18$2, [
28184
28208
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.blessingOptions, (blessing, index) => {
28185
28209
  return (vue.openBlock(), vue.createElementBlock("div", {
28186
28210
  class: "wish-item",
28187
28211
  key: index,
28188
28212
  onClick: $event => (_ctx.selectBlessing(blessing))
28189
28213
  }, [
28190
- _hoisted_20$1,
28191
- vue.createElementVNode("div", _hoisted_21$1, vue.toDisplayString(blessing), 1 /* TEXT */)
28192
- ], 8 /* PROPS */, _hoisted_19$1))
28214
+ _hoisted_20$2,
28215
+ vue.createElementVNode("div", _hoisted_21$2, vue.toDisplayString(blessing), 1 /* TEXT */)
28216
+ ], 8 /* PROPS */, _hoisted_19$2))
28193
28217
  }), 128 /* KEYED_FRAGMENT */))
28194
28218
  ], 512 /* NEED_PATCH */), [
28195
28219
  [vue.vShow, _ctx.showBlessingList]
@@ -28209,18 +28233,18 @@
28209
28233
  : vue.createCommentVNode("v-if", true),
28210
28234
  vue.createCommentVNode(" 在template部分修改礼物弹窗结构 "),
28211
28235
  (_ctx.showGift)
28212
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_22$1, [
28213
- vue.createElementVNode("div", _hoisted_23$1, [
28236
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_22$2, [
28237
+ vue.createElementVNode("div", _hoisted_23$2, [
28214
28238
  vue.createElementVNode("div", {
28215
28239
  class: "back",
28216
28240
  onClick: _cache[13] || (_cache[13] = (...args) => (_ctx.closeGiftPopup && _ctx.closeGiftPopup(...args)))
28217
- }, [..._hoisted_25]),
28241
+ }, [..._hoisted_25$1]),
28218
28242
  vue.createElementVNode("img", {
28219
28243
  src: _ctx.global.toolbar.giftQRCode,
28220
28244
  alt: "",
28221
28245
  onLoad: _cache[14] || (_cache[14] = (...args) => (_ctx.handleImageLoad && _ctx.handleImageLoad(...args))),
28222
28246
  class: vue.normalizeClass({ 'loaded': _ctx.imageLoaded })
28223
- }, null, 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_26),
28247
+ }, null, 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_26$1),
28224
28248
  vue.createCommentVNode(" 新增底部关闭按钮 "),
28225
28249
  vue.createElementVNode("i", {
28226
28250
  class: "iconfont icon-cuowu2 close-btn",
@@ -28231,7 +28255,7 @@
28231
28255
  : vue.createCommentVNode("v-if", true),
28232
28256
  vue.createCommentVNode(" 留言成功弹窗 "),
28233
28257
  (_ctx.showSuccessPopup)
28234
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_27, [
28258
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_27$1, [
28235
28259
  vue.createElementVNode("div", _hoisted_28, [
28236
28260
  vue.createElementVNode("i", {
28237
28261
  class: "iconfont icon-cuowu2",
@@ -28273,11 +28297,11 @@
28273
28297
  ]))
28274
28298
  }
28275
28299
 
28276
- script$f.render = render$b;
28277
- script$f.__file = "src/components/UniBarrage/UniBarrage.vue";
28300
+ script$g.render = render$c;
28301
+ script$g.__file = "src/components/UniBarrage/UniBarrage.vue";
28278
28302
 
28279
- script$f.install = (app) => {
28280
- app.component(script$f.name, script$f);
28303
+ script$g.install = (app) => {
28304
+ app.component(script$g.name, script$g);
28281
28305
  };
28282
28306
 
28283
28307
  function useTouchHandler(pages, currentPageId, direction, isLoopEnabled, onUserInteraction) {
@@ -28626,7 +28650,7 @@
28626
28650
  return true;
28627
28651
  }
28628
28652
 
28629
- var script$e = vue.defineComponent({
28653
+ var script$f = vue.defineComponent({
28630
28654
  name: 'uni-form-input',
28631
28655
  props: {
28632
28656
  global: {
@@ -28637,6 +28661,10 @@
28637
28661
  type: Object,
28638
28662
  required: true
28639
28663
  },
28664
+ isEditing: {
28665
+ type: Boolean,
28666
+ default: false,
28667
+ },
28640
28668
  },
28641
28669
  setup(props) {
28642
28670
  const inputValue = vue.ref('');
@@ -28676,9 +28704,16 @@
28676
28704
  });
28677
28705
  // 失去焦点时验证
28678
28706
  const handleBlur = () => {
28707
+ if (props.isEditing)
28708
+ return;
28679
28709
  isTouched.value = true;
28680
28710
  validate();
28681
28711
  };
28712
+ const onInputPointerDown = (e) => {
28713
+ if (!props.isEditing)
28714
+ return;
28715
+ e.preventDefault();
28716
+ };
28682
28717
  // 值变化时验证(如果已经触摸过)
28683
28718
  vue.watch(inputValue, () => {
28684
28719
  if (isTouched.value) {
@@ -28721,20 +28756,24 @@
28721
28756
  containerStyles,
28722
28757
  wrapperStyles,
28723
28758
  inputStyles,
28724
- handleBlur
28759
+ handleBlur,
28760
+ onInputPointerDown,
28761
+ isEditing: vue.computed(() => props.isEditing),
28725
28762
  };
28726
28763
  }
28727
28764
  });
28728
28765
 
28729
- const _hoisted_1$9 = {
28766
+ const _hoisted_1$a = ["data-id"];
28767
+ const _hoisted_2$a = {
28730
28768
  key: 0,
28731
28769
  class: "required-marker"
28732
28770
  };
28733
- const _hoisted_2$9 = ["type", "placeholder"];
28771
+ const _hoisted_3$a = ["type", "placeholder", "readonly", "tabindex"];
28734
28772
 
28735
- function render$a(_ctx, _cache, $props, $setup, $data, $options) {
28773
+ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
28736
28774
  return (vue.openBlock(), vue.createElementBlock("div", {
28737
- class: "ele-form form-input eles",
28775
+ class: vue.normalizeClass(["ele-form form-input eles", { 'form-input--editing': _ctx.isEditing }]),
28776
+ "data-id": _ctx.element.id,
28738
28777
  style: vue.normalizeStyle(_ctx.containerStyles)
28739
28778
  }, [
28740
28779
  vue.createElementVNode("div", {
@@ -28745,26 +28784,30 @@
28745
28784
  })
28746
28785
  }, [
28747
28786
  (_ctx.required)
28748
- ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$9, "*"))
28787
+ ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$a, "*"))
28749
28788
  : vue.createCommentVNode("v-if", true),
28750
28789
  vue.withDirectives(vue.createElementVNode("input", {
28751
28790
  type: _ctx.inputType,
28752
28791
  placeholder: _ctx.title,
28753
28792
  "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => ((_ctx.inputValue) = $event)),
28754
28793
  style: vue.normalizeStyle(_ctx.inputStyles),
28755
- onBlur: _cache[1] || (_cache[1] = (...args) => (_ctx.handleBlur && _ctx.handleBlur(...args))),
28756
- class: "dynamic-placeholder-input"
28757
- }, null, 44 /* STYLE, PROPS, NEED_HYDRATION */, _hoisted_2$9), [
28794
+ readonly: _ctx.isEditing,
28795
+ tabindex: _ctx.isEditing ? -1 : undefined,
28796
+ class: "dynamic-placeholder-input",
28797
+ onMousedown: _cache[1] || (_cache[1] = (...args) => (_ctx.onInputPointerDown && _ctx.onInputPointerDown(...args))),
28798
+ onTouchstart: _cache[2] || (_cache[2] = (...args) => (_ctx.onInputPointerDown && _ctx.onInputPointerDown(...args))),
28799
+ onBlur: _cache[3] || (_cache[3] = (...args) => (_ctx.handleBlur && _ctx.handleBlur(...args)))
28800
+ }, null, 44 /* STYLE, PROPS, NEED_HYDRATION */, _hoisted_3$a), [
28758
28801
  [vue.vModelDynamic, _ctx.inputValue]
28759
28802
  ])
28760
28803
  ], 4 /* STYLE */)
28761
- ], 4 /* STYLE */))
28804
+ ], 14 /* CLASS, STYLE, PROPS */, _hoisted_1$a))
28762
28805
  }
28763
28806
 
28764
- script$e.render = render$a;
28765
- script$e.__file = "src/components/UniFormInput/UniFormInput.vue";
28807
+ script$f.render = render$b;
28808
+ script$f.__file = "src/components/UniFormInput/UniFormInput.vue";
28766
28809
 
28767
- var script$d = vue.defineComponent({
28810
+ var script$e = vue.defineComponent({
28768
28811
  name: 'uni-form-submit',
28769
28812
  props: {
28770
28813
  global: {
@@ -28865,15 +28908,15 @@
28865
28908
  }
28866
28909
  });
28867
28910
 
28868
- const _hoisted_1$8 = ["data-id"];
28869
- const _hoisted_2$8 = ["disabled"];
28870
- const _hoisted_3$8 = {
28911
+ const _hoisted_1$9 = ["data-id"];
28912
+ const _hoisted_2$9 = ["disabled"];
28913
+ const _hoisted_3$9 = {
28871
28914
  key: 0,
28872
28915
  class: "f-ovh"
28873
28916
  };
28874
- const _hoisted_4$7 = { class: "f-ovh" };
28917
+ const _hoisted_4$8 = { class: "f-ovh" };
28875
28918
 
28876
- function render$9(_ctx, _cache, $props, $setup, $data, $options) {
28919
+ function render$a(_ctx, _cache, $props, $setup, $data, $options) {
28877
28920
  return (vue.openBlock(), vue.createElementBlock("div", {
28878
28921
  class: "ele-form eles",
28879
28922
  "data-id": _ctx.element.id,
@@ -28886,19 +28929,19 @@
28886
28929
  disabled: _ctx.isSubmitting
28887
28930
  }, [
28888
28931
  (_ctx.isSubmitting)
28889
- ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$8, "กำลังส่ง..."))
28932
+ ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$9, "กำลังส่ง..."))
28890
28933
  : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
28891
28934
  vue.createCommentVNode(" 提交中 "),
28892
- vue.createElementVNode("span", _hoisted_4$7, vue.toDisplayString(_ctx.btName), 1 /* TEXT */)
28935
+ vue.createElementVNode("span", _hoisted_4$8, vue.toDisplayString(_ctx.btName), 1 /* TEXT */)
28893
28936
  ], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */))
28894
- ], 12 /* STYLE, PROPS */, _hoisted_2$8)
28895
- ], 12 /* STYLE, PROPS */, _hoisted_1$8))
28937
+ ], 12 /* STYLE, PROPS */, _hoisted_2$9)
28938
+ ], 12 /* STYLE, PROPS */, _hoisted_1$9))
28896
28939
  }
28897
28940
 
28898
- script$d.render = render$9;
28899
- script$d.__file = "src/components/UniFormSubmit/UniFormSubmit.vue";
28941
+ script$e.render = render$a;
28942
+ script$e.__file = "src/components/UniFormSubmit/UniFormSubmit.vue";
28900
28943
 
28901
- var script$c = vue.defineComponent({
28944
+ var script$d = vue.defineComponent({
28902
28945
  name: 'uni-form-select',
28903
28946
  props: {
28904
28947
  global: {
@@ -29004,21 +29047,21 @@
29004
29047
  }
29005
29048
  });
29006
29049
 
29007
- const _hoisted_1$7 = ["data-id"];
29008
- const _hoisted_2$7 = {
29050
+ const _hoisted_1$8 = ["data-id"];
29051
+ const _hoisted_2$8 = {
29009
29052
  key: 0,
29010
29053
  class: "require"
29011
29054
  };
29012
- const _hoisted_3$7 = { class: "fs-cont" };
29013
- const _hoisted_4$6 = {
29055
+ const _hoisted_3$8 = { class: "fs-cont" };
29056
+ const _hoisted_4$7 = {
29014
29057
  value: "",
29015
29058
  disabled: "",
29016
29059
  hidden: ""
29017
29060
  };
29018
- const _hoisted_5$6 = ["value"];
29019
- const _hoisted_6$4 = ["onClick"];
29061
+ const _hoisted_5$7 = ["value"];
29062
+ const _hoisted_6$5 = ["onClick"];
29020
29063
 
29021
- function render$8(_ctx, _cache, $props, $setup, $data, $options) {
29064
+ function render$9(_ctx, _cache, $props, $setup, $data, $options) {
29022
29065
  return (vue.openBlock(), vue.createElementBlock("div", {
29023
29066
  class: vue.normalizeClass(["ele-form f-select eles", { 'has-error': _ctx.hasError }]),
29024
29067
  "data-id": _ctx.element.id,
@@ -29033,9 +29076,9 @@
29033
29076
  onClick: _cache[0] || (_cache[0] = (...args) => (_ctx.toggleDropdown && _ctx.toggleDropdown(...args)))
29034
29077
  }, [
29035
29078
  (_ctx.required)
29036
- ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$7, "*"))
29079
+ ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$8, "*"))
29037
29080
  : vue.createCommentVNode("v-if", true),
29038
- vue.createElementVNode("span", _hoisted_3$7, vue.toDisplayString(_ctx.selectedLabel || _ctx.element.title), 1 /* TEXT */),
29081
+ vue.createElementVNode("span", _hoisted_3$8, vue.toDisplayString(_ctx.selectedLabel || _ctx.element.title), 1 /* TEXT */),
29039
29082
  vue.createElementVNode("i", {
29040
29083
  class: vue.normalizeClass(["iconfont icon-bofang1", { 'rotate-180': _ctx.isOpen }])
29041
29084
  }, null, 2 /* CLASS */)
@@ -29046,12 +29089,12 @@
29046
29089
  onChange: _cache[2] || (_cache[2] = (...args) => (_ctx.handleChange && _ctx.handleChange(...args))),
29047
29090
  onBlur: _cache[3] || (_cache[3] = (...args) => (_ctx.handleBlur && _ctx.handleBlur(...args)))
29048
29091
  }, [
29049
- vue.createElementVNode("option", _hoisted_4$6, vue.toDisplayString(_ctx.element.title), 1 /* TEXT */),
29092
+ vue.createElementVNode("option", _hoisted_4$7, vue.toDisplayString(_ctx.element.title), 1 /* TEXT */),
29050
29093
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.element.items, (item) => {
29051
29094
  return (vue.openBlock(), vue.createElementBlock("option", {
29052
29095
  key: item.value,
29053
29096
  value: item.value
29054
- }, vue.toDisplayString(item.label), 9 /* TEXT, PROPS */, _hoisted_5$6))
29097
+ }, vue.toDisplayString(item.label), 9 /* TEXT, PROPS */, _hoisted_5$7))
29055
29098
  }), 128 /* KEYED_FRAGMENT */))
29056
29099
  ], 544 /* NEED_HYDRATION, NEED_PATCH */), [
29057
29100
  [vue.vModelSelect, _ctx.selectedValue]
@@ -29067,18 +29110,18 @@
29067
29110
  key: item.value,
29068
29111
  class: vue.normalizeClass(["dropdown-item", { 'selected': item.value === _ctx.selectedValue }]),
29069
29112
  onClick: $event => (_ctx.selectItem(item))
29070
- }, vue.toDisplayString(item.label), 11 /* TEXT, CLASS, PROPS */, _hoisted_6$4))
29113
+ }, vue.toDisplayString(item.label), 11 /* TEXT, CLASS, PROPS */, _hoisted_6$5))
29071
29114
  }), 128 /* KEYED_FRAGMENT */))
29072
29115
  ], 4 /* STYLE */))
29073
29116
  : vue.createCommentVNode("v-if", true)
29074
29117
  ], 4 /* STYLE */)
29075
- ], 14 /* CLASS, STYLE, PROPS */, _hoisted_1$7))
29118
+ ], 14 /* CLASS, STYLE, PROPS */, _hoisted_1$8))
29076
29119
  }
29077
29120
 
29078
- script$c.render = render$8;
29079
- script$c.__file = "src/components/UniFormSelect/UniFormSelect.vue";
29121
+ script$d.render = render$9;
29122
+ script$d.__file = "src/components/UniFormSelect/UniFormSelect.vue";
29080
29123
 
29081
- var script$b = vue.defineComponent({
29124
+ var script$c = vue.defineComponent({
29082
29125
  name: 'uni-form-single',
29083
29126
  props: {
29084
29127
  global: {
@@ -29159,16 +29202,16 @@
29159
29202
  }
29160
29203
  });
29161
29204
 
29162
- const _hoisted_1$6 = ["data-id"];
29163
- const _hoisted_2$6 = { class: "fs-tit" };
29164
- const _hoisted_3$6 = {
29205
+ const _hoisted_1$7 = ["data-id"];
29206
+ const _hoisted_2$7 = { class: "fs-tit" };
29207
+ const _hoisted_3$7 = {
29165
29208
  key: 0,
29166
29209
  class: "require"
29167
29210
  };
29168
- const _hoisted_4$5 = ["onClick"];
29169
- const _hoisted_5$5 = ["name", "value"];
29211
+ const _hoisted_4$6 = ["onClick"];
29212
+ const _hoisted_5$6 = ["name", "value"];
29170
29213
 
29171
- function render$7(_ctx, _cache, $props, $setup, $data, $options) {
29214
+ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
29172
29215
  return (vue.openBlock(), vue.createElementBlock("div", {
29173
29216
  class: vue.normalizeClass(["ele-form f-single eles", { 'has-error': _ctx.hasError }]),
29174
29217
  "data-id": _ctx.element.id,
@@ -29178,9 +29221,9 @@
29178
29221
  class: "ani-wrap",
29179
29222
  style: vue.normalizeStyle(_ctx.innerStyles)
29180
29223
  }, [
29181
- vue.createElementVNode("div", _hoisted_2$6, [
29224
+ vue.createElementVNode("div", _hoisted_2$7, [
29182
29225
  (_ctx.required)
29183
- ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$6, "*"))
29226
+ ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$7, "*"))
29184
29227
  : vue.createCommentVNode("v-if", true),
29185
29228
  vue.createTextVNode(" " + vue.toDisplayString(_ctx.element.title), 1 /* TEXT */)
29186
29229
  ]),
@@ -29198,22 +29241,22 @@
29198
29241
  class: "fs-txt",
29199
29242
  style: vue.normalizeStyle(_ctx.itemStyles)
29200
29243
  }, vue.toDisplayString(item.label), 5 /* TEXT, STYLE */)
29201
- ], 8 /* PROPS */, _hoisted_4$5))
29244
+ ], 8 /* PROPS */, _hoisted_4$6))
29202
29245
  }), 128 /* KEYED_FRAGMENT */))
29203
29246
  ]),
29204
29247
  vue.createElementVNode("input", {
29205
29248
  type: "hidden",
29206
29249
  name: `singleselect_${_ctx.element.id}`,
29207
29250
  value: _ctx.selectedValue
29208
- }, null, 8 /* PROPS */, _hoisted_5$5)
29251
+ }, null, 8 /* PROPS */, _hoisted_5$6)
29209
29252
  ], 4 /* STYLE */)
29210
- ], 14 /* CLASS, STYLE, PROPS */, _hoisted_1$6))
29253
+ ], 14 /* CLASS, STYLE, PROPS */, _hoisted_1$7))
29211
29254
  }
29212
29255
 
29213
- script$b.render = render$7;
29214
- script$b.__file = "src/components/UniFormSingle/UniFormSingle.vue";
29256
+ script$c.render = render$8;
29257
+ script$c.__file = "src/components/UniFormSingle/UniFormSingle.vue";
29215
29258
 
29216
- var script$a = vue.defineComponent({
29259
+ var script$b = vue.defineComponent({
29217
29260
  name: 'uni-form-multiple',
29218
29261
  props: {
29219
29262
  global: {
@@ -29304,16 +29347,16 @@
29304
29347
  }
29305
29348
  });
29306
29349
 
29307
- const _hoisted_1$5 = ["data-id"];
29308
- const _hoisted_2$5 = { class: "fs-tit" };
29309
- const _hoisted_3$5 = {
29350
+ const _hoisted_1$6 = ["data-id"];
29351
+ const _hoisted_2$6 = { class: "fs-tit" };
29352
+ const _hoisted_3$6 = {
29310
29353
  key: 0,
29311
29354
  class: "require"
29312
29355
  };
29313
- const _hoisted_4$4 = ["onClick"];
29314
- const _hoisted_5$4 = ["name", "value"];
29356
+ const _hoisted_4$5 = ["onClick"];
29357
+ const _hoisted_5$5 = ["name", "value"];
29315
29358
 
29316
- function render$6(_ctx, _cache, $props, $setup, $data, $options) {
29359
+ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
29317
29360
  return (vue.openBlock(), vue.createElementBlock("div", {
29318
29361
  class: vue.normalizeClass(["ele-form f-multiple eles", { 'has-error': _ctx.hasError }]),
29319
29362
  "data-id": _ctx.element.id,
@@ -29323,9 +29366,9 @@
29323
29366
  class: "ani-wrap",
29324
29367
  style: vue.normalizeStyle(_ctx.innerStyles)
29325
29368
  }, [
29326
- vue.createElementVNode("div", _hoisted_2$5, [
29369
+ vue.createElementVNode("div", _hoisted_2$6, [
29327
29370
  (_ctx.required)
29328
- ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$5, "*"))
29371
+ ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$6, "*"))
29329
29372
  : vue.createCommentVNode("v-if", true),
29330
29373
  vue.createTextVNode(" " + vue.toDisplayString(_ctx.element.title), 1 /* TEXT */)
29331
29374
  ]),
@@ -29343,22 +29386,22 @@
29343
29386
  class: "fs-txt",
29344
29387
  style: vue.normalizeStyle(_ctx.itemStyles)
29345
29388
  }, vue.toDisplayString(item.label), 5 /* TEXT, STYLE */)
29346
- ], 8 /* PROPS */, _hoisted_4$4))
29389
+ ], 8 /* PROPS */, _hoisted_4$5))
29347
29390
  }), 128 /* KEYED_FRAGMENT */))
29348
29391
  ]),
29349
29392
  vue.createElementVNode("input", {
29350
29393
  type: "hidden",
29351
29394
  name: `multiselect_${_ctx.element.id}`,
29352
29395
  value: _ctx.selectedValues.join(',')
29353
- }, null, 8 /* PROPS */, _hoisted_5$4)
29396
+ }, null, 8 /* PROPS */, _hoisted_5$5)
29354
29397
  ], 4 /* STYLE */)
29355
- ], 14 /* CLASS, STYLE, PROPS */, _hoisted_1$5))
29398
+ ], 14 /* CLASS, STYLE, PROPS */, _hoisted_1$6))
29356
29399
  }
29357
29400
 
29358
- script$a.render = render$6;
29359
- script$a.__file = "src/components/UniFormMultiple/UniFormMultiple.vue";
29401
+ script$b.render = render$7;
29402
+ script$b.__file = "src/components/UniFormMultiple/UniFormMultiple.vue";
29360
29403
 
29361
- var script$9 = vue.defineComponent({
29404
+ var script$a = vue.defineComponent({
29362
29405
  name: 'FormContainer',
29363
29406
  props: {
29364
29407
  autoReset: {
@@ -29382,7 +29425,7 @@
29382
29425
  }
29383
29426
  });
29384
29427
 
29385
- function render$5(_ctx, _cache, $props, $setup, $data, $options) {
29428
+ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
29386
29429
  return (vue.openBlock(), vue.createElementBlock("form", {
29387
29430
  class: "form-container",
29388
29431
  onSubmit: _cache[0] || (_cache[0] = vue.withModifiers(() => {}, ["prevent"]))
@@ -29391,10 +29434,10 @@
29391
29434
  ], 32 /* NEED_HYDRATION */))
29392
29435
  }
29393
29436
 
29394
- script$9.render = render$5;
29395
- script$9.__file = "src/components/UniFormContainer/UniFormContainer.vue";
29437
+ script$a.render = render$6;
29438
+ script$a.__file = "src/components/UniFormContainer/UniFormContainer.vue";
29396
29439
 
29397
- var script$8 = /*#__PURE__*/ vue.defineComponent({
29440
+ var script$9 = /*#__PURE__*/ vue.defineComponent({
29398
29441
  ...{ name: 'uni-menu-receipt' },
29399
29442
  __name: 'UniMenuReceipt',
29400
29443
  props: {
@@ -29424,9 +29467,9 @@
29424
29467
  }
29425
29468
  });
29426
29469
 
29427
- script$8.__file = "src/components/UniMenuReceipt/UniMenuReceipt.vue";
29470
+ script$9.__file = "src/components/UniMenuReceipt/UniMenuReceipt.vue";
29428
29471
 
29429
- var script$7 = /*#__PURE__*/ vue.defineComponent({
29472
+ var script$8 = /*#__PURE__*/ vue.defineComponent({
29430
29473
  ...{ name: 'uni-menu-video' },
29431
29474
  __name: 'UniMenuVideo',
29432
29475
  props: {
@@ -29456,9 +29499,9 @@
29456
29499
  }
29457
29500
  });
29458
29501
 
29459
- script$7.__file = "src/components/UniMenuVideo/UniMenuVideo.vue";
29502
+ script$8.__file = "src/components/UniMenuVideo/UniMenuVideo.vue";
29460
29503
 
29461
- var script$6 = /*#__PURE__*/ vue.defineComponent({
29504
+ var script$7 = /*#__PURE__*/ vue.defineComponent({
29462
29505
  ...{ name: 'uni-menu-tel' },
29463
29506
  __name: 'UniMenuTel',
29464
29507
  props: {
@@ -29488,9 +29531,9 @@
29488
29531
  }
29489
29532
  });
29490
29533
 
29491
- script$6.__file = "src/components/UniMenuTel/UniMenuTel.vue";
29534
+ script$7.__file = "src/components/UniMenuTel/UniMenuTel.vue";
29492
29535
 
29493
- var script$5 = /*#__PURE__*/ vue.defineComponent({
29536
+ var script$6 = /*#__PURE__*/ vue.defineComponent({
29494
29537
  ...{ name: 'uni-menu-map' },
29495
29538
  __name: 'UniMenuMap',
29496
29539
  props: {
@@ -29520,9 +29563,9 @@
29520
29563
  }
29521
29564
  });
29522
29565
 
29523
- script$5.__file = "src/components/UniMenuMap/UniMenuMap.vue";
29566
+ script$6.__file = "src/components/UniMenuMap/UniMenuMap.vue";
29524
29567
 
29525
- var script$4 = vue.defineComponent({
29568
+ var script$5 = vue.defineComponent({
29526
29569
  name: 'uni-menu',
29527
29570
  props: {
29528
29571
  global: {
@@ -29536,10 +29579,10 @@
29536
29579
  }
29537
29580
  },
29538
29581
  components: {
29539
- UniMenuReceipt: script$8,
29540
- UniMenuVideo: script$7,
29541
- UniMenuTel: script$6,
29542
- UniMenuMap: script$5
29582
+ UniMenuReceipt: script$9,
29583
+ UniMenuVideo: script$8,
29584
+ UniMenuTel: script$7,
29585
+ UniMenuMap: script$6
29543
29586
  },
29544
29587
  setup(props) {
29545
29588
  // 状态管理
@@ -29738,55 +29781,55 @@
29738
29781
  });
29739
29782
 
29740
29783
  const _withScopeId$1 = n => (vue.pushScopeId("data-v-5e9efd2f"),n=n(),vue.popScopeId(),n);
29741
- const _hoisted_1$4 = {
29784
+ const _hoisted_1$5 = {
29742
29785
  key: 0,
29743
29786
  id: "page-global"
29744
29787
  };
29745
- const _hoisted_2$4 = {
29788
+ const _hoisted_2$5 = {
29746
29789
  key: 1,
29747
29790
  id: "receipt-wrap",
29748
29791
  class: "v-slide"
29749
29792
  };
29750
- const _hoisted_3$4 = /*#__PURE__*/ _withScopeId$1(() => /*#__PURE__*/vue.createElementVNode("div", { class: "r-tit" }, "แบบตอบรับ", -1 /* HOISTED */));
29751
- const _hoisted_4$3 = { class: "r-cont" };
29752
- const _hoisted_5$3 = { class: "r-list" };
29753
- const _hoisted_6$3 = ["value"];
29754
- const _hoisted_7$3 = { class: "r-which" };
29755
- const _hoisted_8 = ["value"];
29756
- const _hoisted_9 = { class: "r-submit" };
29757
- const _hoisted_10 = {
29793
+ const _hoisted_3$5 = /*#__PURE__*/ _withScopeId$1(() => /*#__PURE__*/vue.createElementVNode("div", { class: "r-tit" }, "แบบตอบรับ", -1 /* HOISTED */));
29794
+ const _hoisted_4$4 = { class: "r-cont" };
29795
+ const _hoisted_5$4 = { class: "r-list" };
29796
+ const _hoisted_6$4 = ["value"];
29797
+ const _hoisted_7$4 = { class: "r-which" };
29798
+ const _hoisted_8$1 = ["value"];
29799
+ const _hoisted_9$1 = { class: "r-submit" };
29800
+ const _hoisted_10$1 = {
29758
29801
  key: 0,
29759
29802
  class: "which-select"
29760
29803
  };
29761
- const _hoisted_11 = ["onClick"];
29762
- const _hoisted_12 = {
29804
+ const _hoisted_11$1 = ["onClick"];
29805
+ const _hoisted_12$1 = {
29763
29806
  key: 1,
29764
29807
  class: "which-select"
29765
29808
  };
29766
- const _hoisted_13 = ["onClick"];
29767
- const _hoisted_14 = {
29809
+ const _hoisted_13$1 = ["onClick"];
29810
+ const _hoisted_14$1 = {
29768
29811
  key: 2,
29769
29812
  class: "tip-cover"
29770
29813
  };
29771
- const _hoisted_15 = { class: "tip" };
29772
- const _hoisted_16 = { class: "tip-content" };
29773
- const _hoisted_17 = {
29814
+ const _hoisted_15$1 = { class: "tip" };
29815
+ const _hoisted_16$1 = { class: "tip-content" };
29816
+ const _hoisted_17$1 = {
29774
29817
  key: 2,
29775
29818
  class: "global-v"
29776
29819
  };
29777
- const _hoisted_18 = /*#__PURE__*/ _withScopeId$1(() => /*#__PURE__*/vue.createElementVNode("i", { class: "iconfont icon-buoumaotubiao20" }, null, -1 /* HOISTED */));
29778
- const _hoisted_19 = [
29779
- _hoisted_18
29820
+ const _hoisted_18$1 = /*#__PURE__*/ _withScopeId$1(() => /*#__PURE__*/vue.createElementVNode("i", { class: "iconfont icon-buoumaotubiao20" }, null, -1 /* HOISTED */));
29821
+ const _hoisted_19$1 = [
29822
+ _hoisted_18$1
29780
29823
  ];
29781
- const _hoisted_20 = ["innerHTML"];
29782
- const _hoisted_21 = ["onClick"];
29783
- const _hoisted_22 = {
29824
+ const _hoisted_20$1 = ["innerHTML"];
29825
+ const _hoisted_21$1 = ["onClick"];
29826
+ const _hoisted_22$1 = {
29784
29827
  key: 4,
29785
29828
  class: "mint-toast"
29786
29829
  };
29787
- const _hoisted_23 = { class: "mint-toast-text" };
29830
+ const _hoisted_23$1 = { class: "mint-toast-text" };
29788
29831
 
29789
- function render$4(_ctx, _cache, $props, $setup, $data, $options) {
29832
+ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
29790
29833
  const _component_uni_menu_receipt = vue.resolveComponent("uni-menu-receipt");
29791
29834
  const _component_uni_menu_video = vue.resolveComponent("uni-menu-video");
29792
29835
  const _component_uni_menu_tel = vue.resolveComponent("uni-menu-tel");
@@ -29795,7 +29838,7 @@
29795
29838
  return (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
29796
29839
  vue.createCommentVNode(" 主按钮组 "),
29797
29840
  (_ctx.showGlobalButtons)
29798
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$4, [
29841
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$5, [
29799
29842
  vue.createVNode(_component_uni_menu_receipt, {
29800
29843
  global: _ctx.global,
29801
29844
  onClick: _cache[0] || (_cache[0] = $event => (_ctx.showReceiptForm = true))
@@ -29816,15 +29859,15 @@
29816
29859
  : vue.createCommentVNode("v-if", true),
29817
29860
  vue.createCommentVNode(" 回执表单 "),
29818
29861
  (_ctx.showReceiptForm)
29819
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$4, [
29862
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$5, [
29820
29863
  vue.createElementVNode("i", {
29821
29864
  class: "iconfont icon-guanbi",
29822
29865
  onClick: _cache[3] || (_cache[3] = (...args) => (_ctx.closeReceipt && _ctx.closeReceipt(...args)))
29823
29866
  }),
29824
- _hoisted_3$4,
29867
+ _hoisted_3$5,
29825
29868
  vue.createCommentVNode(" 宾客回执 "),
29826
- vue.createElementVNode("div", _hoisted_4$3, [
29827
- vue.createElementVNode("ul", _hoisted_5$3, [
29869
+ vue.createElementVNode("div", _hoisted_4$4, [
29870
+ vue.createElementVNode("ul", _hoisted_5$4, [
29828
29871
  vue.createElementVNode("li", null, [
29829
29872
  vue.withDirectives(vue.createElementVNode("input", {
29830
29873
  "onUpdate:modelValue": _cache[4] || (_cache[4] = $event => ((_ctx.receiptForm.guestName) = $event)),
@@ -29843,15 +29886,15 @@
29843
29886
  value: _ctx.selectedPeopleLabel,
29844
29887
  class: "r-input",
29845
29888
  onClick: _cache[5] || (_cache[5] = $event => (_ctx.showPeopleSelect = true))
29846
- }, null, 8 /* PROPS */, _hoisted_6$3)
29889
+ }, null, 8 /* PROPS */, _hoisted_6$4)
29847
29890
  ]),
29848
- vue.createElementVNode("li", _hoisted_7$3, [
29891
+ vue.createElementVNode("li", _hoisted_7$4, [
29849
29892
  vue.createElementVNode("input", {
29850
29893
  readonly: "",
29851
29894
  value: _ctx.selectedWhichLabel,
29852
29895
  class: "r-input",
29853
29896
  onClick: _cache[6] || (_cache[6] = $event => (_ctx.showWhichSelect = true))
29854
- }, null, 8 /* PROPS */, _hoisted_8)
29897
+ }, null, 8 /* PROPS */, _hoisted_8$1)
29855
29898
  ]),
29856
29899
  vue.createElementVNode("li", null, [
29857
29900
  vue.withDirectives(vue.createElementVNode("input", {
@@ -29865,7 +29908,7 @@
29865
29908
  ]),
29866
29909
  vue.createCommentVNode(" 手机号码 ")
29867
29910
  ]),
29868
- vue.createElementVNode("li", _hoisted_9, [
29911
+ vue.createElementVNode("li", _hoisted_9$1, [
29869
29912
  vue.createElementVNode("button", {
29870
29913
  class: "r-btn",
29871
29914
  onClick: _cache[8] || (_cache[8] = (...args) => (_ctx.submitReceipt && _ctx.submitReceipt(...args)))
@@ -29876,35 +29919,35 @@
29876
29919
  ]),
29877
29920
  vue.createCommentVNode(" 选择人数 "),
29878
29921
  (_ctx.showPeopleSelect)
29879
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10, [
29922
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10$1, [
29880
29923
  vue.createElementVNode("ul", null, [
29881
29924
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.peopleOptions, (item) => {
29882
29925
  return (vue.openBlock(), vue.createElementBlock("li", {
29883
29926
  key: item,
29884
29927
  onClick: $event => (_ctx.selectPeople(item))
29885
- }, vue.toDisplayString(item), 9 /* TEXT, PROPS */, _hoisted_11))
29928
+ }, vue.toDisplayString(item), 9 /* TEXT, PROPS */, _hoisted_11$1))
29886
29929
  }), 128 /* KEYED_FRAGMENT */))
29887
29930
  ])
29888
29931
  ]))
29889
29932
  : vue.createCommentVNode("v-if", true),
29890
29933
  vue.createCommentVNode(" 选择男方/女方 "),
29891
29934
  (_ctx.showWhichSelect)
29892
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12, [
29935
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12$1, [
29893
29936
  vue.createElementVNode("ul", null, [
29894
29937
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.global.receipt.whichList, (item) => {
29895
29938
  return (vue.openBlock(), vue.createElementBlock("li", {
29896
29939
  key: item.label,
29897
29940
  onClick: $event => (_ctx.selectWhich(item))
29898
- }, vue.toDisplayString(item.label), 9 /* TEXT, PROPS */, _hoisted_13))
29941
+ }, vue.toDisplayString(item.label), 9 /* TEXT, PROPS */, _hoisted_13$1))
29899
29942
  }), 128 /* KEYED_FRAGMENT */))
29900
29943
  ])
29901
29944
  ]))
29902
29945
  : vue.createCommentVNode("v-if", true),
29903
29946
  vue.createCommentVNode(" 提示信息 "),
29904
29947
  (_ctx.showTip)
29905
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_14, [
29906
- vue.createElementVNode("div", _hoisted_15, [
29907
- vue.createElementVNode("div", _hoisted_16, vue.toDisplayString(_ctx.tipMessage), 1 /* TEXT */),
29948
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_14$1, [
29949
+ vue.createElementVNode("div", _hoisted_15$1, [
29950
+ vue.createElementVNode("div", _hoisted_16$1, vue.toDisplayString(_ctx.tipMessage), 1 /* TEXT */),
29908
29951
  vue.createElementVNode("div", {
29909
29952
  class: "tip-btn",
29910
29953
  onClick: _cache[9] || (_cache[9] = $event => (_ctx.showTip = false))
@@ -29917,15 +29960,15 @@
29917
29960
  : vue.createCommentVNode("v-if", true),
29918
29961
  vue.createCommentVNode(" 视频播放 "),
29919
29962
  (_ctx.showVideoPlayer)
29920
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_17, [
29963
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_17$1, [
29921
29964
  vue.createElementVNode("div", {
29922
29965
  id: "close-gvideo",
29923
29966
  onClick: _cache[10] || (_cache[10] = (...args) => (_ctx.closeVideo && _ctx.closeVideo(...args)))
29924
- }, [..._hoisted_19]),
29967
+ }, [..._hoisted_19$1]),
29925
29968
  vue.createElementVNode("div", {
29926
29969
  class: "global-v-show",
29927
29970
  innerHTML: _ctx.global.video.url
29928
- }, null, 8 /* PROPS */, _hoisted_20)
29971
+ }, null, 8 /* PROPS */, _hoisted_20$1)
29929
29972
  ]))
29930
29973
  : vue.createCommentVNode("v-if", true),
29931
29974
  vue.createCommentVNode(" 拨号选择 "),
@@ -29940,49 +29983,49 @@
29940
29983
  return (vue.openBlock(), vue.createElementBlock("li", {
29941
29984
  key: item.value || item.label,
29942
29985
  onClick: $event => (_ctx.makeCall(item))
29943
- }, vue.toDisplayString(item.label), 9 /* TEXT, PROPS */, _hoisted_21))
29986
+ }, vue.toDisplayString(item.label), 9 /* TEXT, PROPS */, _hoisted_21$1))
29944
29987
  }), 128 /* KEYED_FRAGMENT */))
29945
29988
  ])
29946
29989
  ]))
29947
29990
  : vue.createCommentVNode("v-if", true),
29948
29991
  vue.createCommentVNode(" 提交结果提示 "),
29949
29992
  (_ctx.showToast)
29950
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_22, [
29993
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_22$1, [
29951
29994
  vue.createElementVNode("i", {
29952
29995
  class: vue.normalizeClass(["iconfont", _ctx.toastIcon]),
29953
29996
  style: {"font-size":"50px","margin-bottom":"5px"}
29954
29997
  }, null, 2 /* CLASS */),
29955
- vue.createElementVNode("div", _hoisted_23, vue.toDisplayString(_ctx.toastMessage), 1 /* TEXT */)
29998
+ vue.createElementVNode("div", _hoisted_23$1, vue.toDisplayString(_ctx.toastMessage), 1 /* TEXT */)
29956
29999
  ]))
29957
30000
  : vue.createCommentVNode("v-if", true)
29958
30001
  ], 64 /* STABLE_FRAGMENT */))
29959
30002
  }
29960
30003
 
29961
- script$4.render = render$4;
29962
- script$4.__scopeId = "data-v-5e9efd2f";
29963
- script$4.__file = "src/components/UniMenu/UniMenu.vue";
30004
+ script$5.render = render$5;
30005
+ script$5.__scopeId = "data-v-5e9efd2f";
30006
+ script$5.__file = "src/components/UniMenu/UniMenu.vue";
29964
30007
 
29965
- var script$3 = vue.defineComponent({
30008
+ var script$4 = vue.defineComponent({
29966
30009
  name: 'UniWatermark'
29967
30010
  });
29968
30011
 
29969
30012
  const _withScopeId = n => (vue.pushScopeId("data-v-0f2e9262"),n=n(),vue.popScopeId(),n);
29970
- const _hoisted_1$3 = {
30013
+ const _hoisted_1$4 = {
29971
30014
  class: "unika-watermark",
29972
30015
  "aria-hidden": "true"
29973
30016
  };
29974
- const _hoisted_2$3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/vue.createElementVNode("div", { class: "unika-watermark-pattern" }, null, -1 /* HOISTED */));
29975
- const _hoisted_3$3 = [
29976
- _hoisted_2$3
30017
+ const _hoisted_2$4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/vue.createElementVNode("div", { class: "unika-watermark-pattern" }, null, -1 /* HOISTED */));
30018
+ const _hoisted_3$4 = [
30019
+ _hoisted_2$4
29977
30020
  ];
29978
30021
 
29979
- function render$3(_ctx, _cache, $props, $setup, $data, $options) {
29980
- return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$3, [..._hoisted_3$3]))
30022
+ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
30023
+ return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$4, [..._hoisted_3$4]))
29981
30024
  }
29982
30025
 
29983
- script$3.render = render$3;
29984
- script$3.__scopeId = "data-v-0f2e9262";
29985
- script$3.__file = "src/components/UniWatermark/UniWatermark.vue";
30026
+ script$4.render = render$4;
30027
+ script$4.__scopeId = "data-v-0f2e9262";
30028
+ script$4.__file = "src/components/UniWatermark/UniWatermark.vue";
29986
30029
 
29987
30030
  /**
29988
30031
  * 应用文字动画 - 用于 WorkRender/H5 等场景
@@ -30264,30 +30307,30 @@
30264
30307
  return merged;
30265
30308
  }
30266
30309
 
30267
- var script$2 = vue.defineComponent({
30310
+ var script$3 = vue.defineComponent({
30268
30311
  name: 'WorkRenderH5',
30269
30312
  components: {
30270
- UniMusic: script$o,
30271
- UniText: script$r,
30272
- UniImage: script$q,
30273
- UniShape: script$p,
30274
- UniCalendar: script$m,
30275
- UniMap: script$k,
30276
- UniCountdown: script$l,
30277
- UniEffect: script$i,
30278
- UniVideo: script$n,
30279
- UniCall: script$j,
30280
- UniFormInput: script$e,
30281
- UniFormSubmit: script$d,
30282
- UniFormSelect: script$c,
30283
- UniFormMultiple: script$a,
30284
- UniFormSingle: script$b,
30285
- UniFormContainer: script$9,
30286
- UniBarrage: script$f,
30287
- UniMenu: script$4,
30288
- UniLottie: script$h,
30289
- UniButton: script$g,
30290
- UniWatermark: script$3,
30313
+ UniMusic: script$p,
30314
+ UniText: script$s,
30315
+ UniImage: script$r,
30316
+ UniShape: script$q,
30317
+ UniCalendar: script$n,
30318
+ UniMap: script$l,
30319
+ UniCountdown: script$m,
30320
+ UniEffect: script$j,
30321
+ UniVideo: script$o,
30322
+ UniCall: script$k,
30323
+ UniFormInput: script$f,
30324
+ UniFormSubmit: script$e,
30325
+ UniFormSelect: script$d,
30326
+ UniFormMultiple: script$b,
30327
+ UniFormSingle: script$c,
30328
+ UniFormContainer: script$a,
30329
+ UniBarrage: script$g,
30330
+ UniMenu: script$5,
30331
+ UniLottie: script$i,
30332
+ UniButton: script$h,
30333
+ UniWatermark: script$4,
30291
30334
  },
30292
30335
  props: {
30293
30336
  workData: {
@@ -30551,27 +30594,27 @@
30551
30594
  }
30552
30595
  });
30553
30596
 
30554
- const _hoisted_1$2 = {
30597
+ const _hoisted_1$3 = {
30555
30598
  id: "index",
30556
30599
  ref: "container"
30557
30600
  };
30558
- const _hoisted_2$2 = {
30601
+ const _hoisted_2$3 = {
30559
30602
  id: "page-list",
30560
30603
  style: {"max-width":"800px"}
30561
30604
  };
30562
- const _hoisted_3$2 = { class: "page-wrap" };
30563
- const _hoisted_4$2 = ["data-type"];
30564
- const _hoisted_5$2 = { class: "ele-wrap" };
30565
- const _hoisted_6$2 = { class: "tip-content" };
30566
- const _hoisted_7$2 = /*#__PURE__*/vue.createElementVNode("div", { class: "tip-btn" }, "OK", -1 /* HOISTED */);
30605
+ const _hoisted_3$3 = { class: "page-wrap" };
30606
+ const _hoisted_4$3 = ["data-type"];
30607
+ const _hoisted_5$3 = { class: "ele-wrap" };
30608
+ const _hoisted_6$3 = { class: "tip-content" };
30609
+ const _hoisted_7$3 = /*#__PURE__*/vue.createElementVNode("div", { class: "tip-btn" }, "OK", -1 /* HOISTED */);
30567
30610
 
30568
- function render$2(_ctx, _cache, $props, $setup, $data, $options) {
30611
+ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
30569
30612
  const _component_UniMusic = vue.resolveComponent("UniMusic");
30570
30613
  const _component_UniBarrage = vue.resolveComponent("UniBarrage");
30571
30614
  const _component_UniMenu = vue.resolveComponent("UniMenu");
30572
30615
  const _component_UniWatermark = vue.resolveComponent("UniWatermark");
30573
30616
 
30574
- return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$2, [
30617
+ return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$3, [
30575
30618
  vue.createCommentVNode(" 背景音乐 "),
30576
30619
  (_ctx.global.music.url)
30577
30620
  ? (vue.openBlock(), vue.createBlock(_component_UniMusic, {
@@ -30582,7 +30625,7 @@
30582
30625
  }, null, 8 /* PROPS */, ["music-data"]))
30583
30626
  : vue.createCommentVNode("v-if", true),
30584
30627
  vue.createCommentVNode(" 页面切换器 "),
30585
- vue.createElementVNode("div", _hoisted_2$2, [
30628
+ vue.createElementVNode("div", _hoisted_2$3, [
30586
30629
  vue.createVNode(vue.TransitionGroup, {
30587
30630
  name: _ctx.currentTransition,
30588
30631
  tag: "div",
@@ -30597,7 +30640,7 @@
30597
30640
  key: page.pageId,
30598
30641
  class: vue.normalizeClass(["page-item", { 'current': _ctx.currentPageId === page.pageId }])
30599
30642
  }, [
30600
- vue.createElementVNode("div", _hoisted_3$2, [
30643
+ vue.createElementVNode("div", _hoisted_3$3, [
30601
30644
  vue.createElementVNode("div", {
30602
30645
  "data-type": page.type,
30603
30646
  class: vue.normalizeClass(['scroll-wrap', page.type === 'long' ? 'scroll-long' : 'scroll-normal']),
@@ -30622,7 +30665,7 @@
30622
30665
  })
30623
30666
  }, null, 4 /* STYLE */)
30624
30667
  ], 4 /* STYLE */),
30625
- vue.createElementVNode("div", _hoisted_5$2, [
30668
+ vue.createElementVNode("div", _hoisted_5$3, [
30626
30669
  (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(page.elements.some(el => el.type === 'form-submit') ? 'UniFormContainer' : 'div'), vue.normalizeProps(vue.guardReactiveProps(page.elements.some(el => el.type === 'form-submit') ? { autoReset: true } : {})), {
30627
30670
  default: vue.withCtx(() => [
30628
30671
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(page.elements, (element) => {
@@ -30646,7 +30689,7 @@
30646
30689
  _: 2 /* DYNAMIC */
30647
30690
  }, 1040 /* FULL_PROPS, DYNAMIC_SLOTS */))
30648
30691
  ])
30649
- ], 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_4$2)
30692
+ ], 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_4$3)
30650
30693
  ])
30651
30694
  ], 2 /* CLASS */)), [
30652
30695
  [vue.vShow, _ctx.currentPageId === page.pageId]
@@ -30665,8 +30708,8 @@
30665
30708
  vue.createElementVNode("div", {
30666
30709
  class: vue.normalizeClass(["tip", { 'success': _ctx.messageType === 'success', 'error': _ctx.messageType === 'error' }])
30667
30710
  }, [
30668
- vue.createElementVNode("div", _hoisted_6$2, vue.toDisplayString(_ctx.messageText), 1 /* TEXT */),
30669
- _hoisted_7$2
30711
+ vue.createElementVNode("div", _hoisted_6$3, vue.toDisplayString(_ctx.messageText), 1 /* TEXT */),
30712
+ _hoisted_7$3
30670
30713
  ], 2 /* CLASS */)
30671
30714
  ]))
30672
30715
  : vue.createCommentVNode("v-if", true)
@@ -30679,37 +30722,37 @@
30679
30722
  ], 512 /* NEED_PATCH */))
30680
30723
  }
30681
30724
 
30682
- script$2.render = render$2;
30683
- script$2.__file = "src/components/WorkRenderH5/WorkRenderH5.vue";
30725
+ script$3.render = render$3;
30726
+ script$3.__file = "src/components/WorkRenderH5/WorkRenderH5.vue";
30684
30727
 
30685
- script$2.install = (app) => {
30686
- app.component(script$2.name, script$2);
30728
+ script$3.install = (app) => {
30729
+ app.component(script$3.name, script$3);
30687
30730
  };
30688
30731
 
30689
- var script$1 = vue.defineComponent({
30732
+ var script$2 = vue.defineComponent({
30690
30733
  name: 'WorkRenderLong',
30691
30734
  components: {
30692
- UniMusic: script$o,
30693
- UniText: script$r,
30694
- UniImage: script$q,
30695
- UniShape: script$p,
30696
- UniCalendar: script$m,
30697
- UniMap: script$k,
30698
- UniCountdown: script$l,
30699
- UniEffect: script$i,
30700
- UniVideo: script$n,
30701
- UniCall: script$j,
30702
- UniFormInput: script$e,
30703
- UniFormSubmit: script$d,
30704
- UniFormSelect: script$c,
30705
- UniFormMultiple: script$a,
30706
- UniFormSingle: script$b,
30707
- UniFormContainer: script$9,
30708
- UniBarrage: script$f,
30709
- UniMenu: script$4,
30710
- UniLottie: script$h,
30711
- UniButton: script$g,
30712
- UniWatermark: script$3,
30735
+ UniMusic: script$p,
30736
+ UniText: script$s,
30737
+ UniImage: script$r,
30738
+ UniShape: script$q,
30739
+ UniCalendar: script$n,
30740
+ UniMap: script$l,
30741
+ UniCountdown: script$m,
30742
+ UniEffect: script$j,
30743
+ UniVideo: script$o,
30744
+ UniCall: script$k,
30745
+ UniFormInput: script$f,
30746
+ UniFormSubmit: script$e,
30747
+ UniFormSelect: script$d,
30748
+ UniFormMultiple: script$b,
30749
+ UniFormSingle: script$c,
30750
+ UniFormContainer: script$a,
30751
+ UniBarrage: script$g,
30752
+ UniMenu: script$5,
30753
+ UniLottie: script$i,
30754
+ UniButton: script$h,
30755
+ UniWatermark: script$4,
30713
30756
  },
30714
30757
  props: {
30715
30758
  workData: {
@@ -31059,28 +31102,28 @@
31059
31102
  }
31060
31103
  });
31061
31104
 
31062
- const _hoisted_1$1 = {
31105
+ const _hoisted_1$2 = {
31063
31106
  id: "index",
31064
31107
  ref: "container"
31065
31108
  };
31066
- const _hoisted_2$1 = { id: "page-list" };
31067
- const _hoisted_3$1 = { class: "page-item current" };
31068
- const _hoisted_4$1 = { class: "page-wrap showAniEle" };
31069
- const _hoisted_5$1 = {
31109
+ const _hoisted_2$2 = { id: "page-list" };
31110
+ const _hoisted_3$2 = { class: "page-item current" };
31111
+ const _hoisted_4$2 = { class: "page-wrap showAniEle" };
31112
+ const _hoisted_5$2 = {
31070
31113
  class: "ele-wrap",
31071
31114
  style: {"position":"absolute"}
31072
31115
  };
31073
- const _hoisted_6$1 = { class: "tip-content" };
31074
- const _hoisted_7$1 = /*#__PURE__*/vue.createElementVNode("div", { class: "tip-btn" }, "OK", -1 /* HOISTED */);
31116
+ const _hoisted_6$2 = { class: "tip-content" };
31117
+ const _hoisted_7$2 = /*#__PURE__*/vue.createElementVNode("div", { class: "tip-btn" }, "OK", -1 /* HOISTED */);
31075
31118
 
31076
- function render$1(_ctx, _cache, $props, $setup, $data, $options) {
31119
+ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
31077
31120
  const _component_UniMusic = vue.resolveComponent("UniMusic");
31078
31121
  const _component_UniFormContainer = vue.resolveComponent("UniFormContainer");
31079
31122
  const _component_UniBarrage = vue.resolveComponent("UniBarrage");
31080
31123
  const _component_UniMenu = vue.resolveComponent("UniMenu");
31081
31124
  const _component_UniWatermark = vue.resolveComponent("UniWatermark");
31082
31125
 
31083
- return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1, [
31126
+ return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$2, [
31084
31127
  vue.createCommentVNode(" 背景音乐组件 "),
31085
31128
  (_ctx.global && _ctx.global.music && _ctx.global.music.url)
31086
31129
  ? (vue.openBlock(), vue.createBlock(_component_UniMusic, {
@@ -31091,9 +31134,9 @@
31091
31134
  }, null, 8 /* PROPS */, ["music-data"]))
31092
31135
  : vue.createCommentVNode("v-if", true),
31093
31136
  vue.createCommentVNode(" 页面容器 "),
31094
- vue.createElementVNode("div", _hoisted_2$1, [
31095
- vue.createElementVNode("div", _hoisted_3$1, [
31096
- vue.createElementVNode("div", _hoisted_4$1, [
31137
+ vue.createElementVNode("div", _hoisted_2$2, [
31138
+ vue.createElementVNode("div", _hoisted_3$2, [
31139
+ vue.createElementVNode("div", _hoisted_4$2, [
31097
31140
  vue.createElementVNode("div", {
31098
31141
  "data-type": "long",
31099
31142
  class: "scroll-wrap scroll-long",
@@ -31123,7 +31166,7 @@
31123
31166
  }, null, 4 /* STYLE */)
31124
31167
  ], 4 /* STYLE */),
31125
31168
  vue.createCommentVNode(" 页面元素容器 "),
31126
- vue.createElementVNode("div", _hoisted_5$1, [
31169
+ vue.createElementVNode("div", _hoisted_5$2, [
31127
31170
  (_ctx.page.elements.some(el => el.type === 'form-submit'))
31128
31171
  ? (vue.openBlock(), vue.createBlock(_component_UniFormContainer, {
31129
31172
  key: 0,
@@ -31182,8 +31225,8 @@
31182
31225
  vue.createElementVNode("div", {
31183
31226
  class: vue.normalizeClass(["tip", { 'success': _ctx.messageType === 'success', 'error': _ctx.messageType === 'error' }])
31184
31227
  }, [
31185
- vue.createElementVNode("div", _hoisted_6$1, vue.toDisplayString(_ctx.messageText), 1 /* TEXT */),
31186
- _hoisted_7$1
31228
+ vue.createElementVNode("div", _hoisted_6$2, vue.toDisplayString(_ctx.messageText), 1 /* TEXT */),
31229
+ _hoisted_7$2
31187
31230
  ], 2 /* CLASS */)
31188
31231
  ]))
31189
31232
  : vue.createCommentVNode("v-if", true)
@@ -31197,37 +31240,376 @@
31197
31240
  ], 512 /* NEED_PATCH */))
31198
31241
  }
31199
31242
 
31200
- script$1.render = render$1;
31201
- script$1.__file = "src/components/WorkRenderLong/WorkRenderLong.vue";
31243
+ script$2.render = render$2;
31244
+ script$2.__file = "src/components/WorkRenderLong/WorkRenderLong.vue";
31202
31245
 
31203
- script$1.install = (app) => {
31204
- app.component(script$1.name, script$1);
31246
+ script$2.install = (app) => {
31247
+ app.component(script$2.name, script$2);
31205
31248
  };
31206
31249
 
31250
+ const PLACEHOLDER_INVITE_STATE_IDS = new Set(['invite-default-1']);
31251
+ function isPlaceholderInviteStateId(stateId) {
31252
+ if (!stateId)
31253
+ return false;
31254
+ if (PLACEHOLDER_INVITE_STATE_IDS.has(stateId))
31255
+ return true;
31256
+ return stateId.startsWith('invite-default-');
31257
+ }
31258
+ function isValidInviteItem(item) {
31259
+ return !!(item && item.img1 && item.name);
31260
+ }
31261
+ function pickInviteItemByState(invite, stateId) {
31262
+ const items = invite.items || [];
31263
+ const direct = items.find((i) => i.id === stateId);
31264
+ if (direct)
31265
+ return direct;
31266
+ // 兼容模板占位 id:条目已迁移为随机 id 时,旧链接仍只有一条送呈
31267
+ if (isPlaceholderInviteStateId(stateId) && items.length === 1) {
31268
+ return items[0];
31269
+ }
31270
+ return undefined;
31271
+ }
31272
+ /** 根据 URL state 从 global.invite 解析单条送呈渲染数据 */
31273
+ function resolveInviteRenderData(invite, stateId) {
31274
+ if (!stateId || !invite || !invite.open)
31275
+ return null;
31276
+ const item = pickInviteItemByState(invite, stateId);
31277
+ if (!isValidInviteItem(item))
31278
+ return null;
31279
+ return {
31280
+ titleChars: invite.titleChars,
31281
+ item: item,
31282
+ };
31283
+ }
31284
+ /** 从 global.invite.renderItem 得到 UniInvite 渲染数据 */
31285
+ function getInviteRenderFromGlobal(invite) {
31286
+ if (!invite || !invite.open || !invite.renderItem)
31287
+ return null;
31288
+ if (!isValidInviteItem(invite.renderItem))
31289
+ return null;
31290
+ return {
31291
+ titleChars: invite.titleChars,
31292
+ item: invite.renderItem,
31293
+ };
31294
+ }
31295
+ /**
31296
+ * h5-server:根据 ?state= 将解析结果写入 global.invite.renderItem(不修改 items)
31297
+ */
31298
+ function applyInviteStateToGlobal(global, stateId) {
31299
+ const invite = global.invite;
31300
+ if (!invite)
31301
+ return global;
31302
+ const resolved = resolveInviteRenderData(invite, stateId);
31303
+ return {
31304
+ ...global,
31305
+ invite: {
31306
+ ...invite,
31307
+ renderItem: resolved && resolved.item ? resolved.item : null,
31308
+ },
31309
+ };
31310
+ }
31311
+
31312
+ /**
31313
+ * 送呈显示逻辑:
31314
+ * - 每次进入/刷新页面都显示
31315
+ * - 点击打开后当前页不再显示
31316
+ * - 刷新 URL 后重新显示(不使用 localStorage)
31317
+ */
31318
+ function useInviteManager() {
31319
+ const isDismissed = vue.ref(false);
31320
+ const shouldShow = vue.computed(() => !isDismissed.value);
31321
+ const dismiss = () => {
31322
+ isDismissed.value = true;
31323
+ };
31324
+ const reset = () => {
31325
+ isDismissed.value = false;
31326
+ };
31327
+ return {
31328
+ isDismissed,
31329
+ shouldShow,
31330
+ dismiss,
31331
+ reset,
31332
+ };
31333
+ }
31334
+
31335
+ /** 各 layout 点击打开动画结束后隐藏(ms) */
31336
+ const DISMISS_DELAY = {
31337
+ type1: 2800,
31338
+ type2: 2200,
31339
+ type3: 2400,
31340
+ type4: 2400,
31341
+ type5: 2800,
31342
+ type6: 2500,
31343
+ };
31344
+ function getInviteDismissDelay(layout = 'type2') {
31345
+ const delay = DISMISS_DELAY[layout];
31346
+ return delay != null ? delay : DISMISS_DELAY.type2;
31347
+ }
31348
+
31349
+ var script$1 = vue.defineComponent({
31350
+ name: 'uni-invite',
31351
+ props: {
31352
+ inviteRender: {
31353
+ type: Object,
31354
+ default: null,
31355
+ },
31356
+ sceneId: {
31357
+ type: String,
31358
+ default: '',
31359
+ },
31360
+ forceShow: {
31361
+ type: Boolean,
31362
+ default: false,
31363
+ },
31364
+ preview: {
31365
+ type: Boolean,
31366
+ default: false,
31367
+ },
31368
+ },
31369
+ emits: ['dismiss', 'click'],
31370
+ setup(props, { emit }) {
31371
+ const { shouldShow, dismiss } = useInviteManager();
31372
+ const isOpening = vue.ref(false);
31373
+ const item = vue.computed(() => {
31374
+ if (!props.inviteRender || !props.inviteRender.item)
31375
+ return null;
31376
+ return props.inviteRender.item;
31377
+ });
31378
+ const layoutType = vue.computed(() => {
31379
+ return item.value && item.value.layout ? item.value.layout : 'type2';
31380
+ });
31381
+ const titleChars = vue.computed(() => {
31382
+ if (props.inviteRender && props.inviteRender.titleChars) {
31383
+ return props.inviteRender.titleChars;
31384
+ }
31385
+ return ['บัตร', 'เชิญ'];
31386
+ });
31387
+ const inviteStyle = vue.computed(() => ({
31388
+ fontFamily: item.value && item.value.fontFamily ? item.value.fontFamily : 'inherit',
31389
+ color: item.value && item.value.fontColor ? item.value.fontColor : 'rgb(255, 244, 205)',
31390
+ }));
31391
+ const visible = vue.computed(() => {
31392
+ if (!isValidInviteItem(item.value))
31393
+ return false;
31394
+ if (props.forceShow)
31395
+ return true;
31396
+ return shouldShow.value;
31397
+ });
31398
+ const handleClick = () => {
31399
+ if (props.forceShow || props.preview) {
31400
+ emit('click');
31401
+ return;
31402
+ }
31403
+ if (isOpening.value)
31404
+ return;
31405
+ isOpening.value = true;
31406
+ const delay = getInviteDismissDelay(layoutType.value);
31407
+ window.setTimeout(() => {
31408
+ dismiss();
31409
+ emit('dismiss');
31410
+ }, delay);
31411
+ };
31412
+ vue.onMounted(() => {
31413
+ // #region agent log
31414
+ fetch('http://127.0.0.1:7825/ingest/b036d6f9-5c3e-4f40-bb7d-3367a145a4d2', { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-Debug-Session-Id': '6d48a4' }, body: JSON.stringify({ sessionId: '6d48a4', runId: 'pre-fix', hypothesisId: 'H4', location: 'UniInvite.vue:onMounted', message: 'invite visibility', data: { visible: visible.value, itemId: item.value ? item.value.id : null, hasImg1: !!(item.value && item.value.img1), shouldShow: shouldShow.value }, timestamp: Date.now() }) }).catch(() => { });
31415
+ // #endregion
31416
+ });
31417
+ return {
31418
+ visible,
31419
+ isOpening,
31420
+ layoutType,
31421
+ titleChars,
31422
+ inviteStyle,
31423
+ item,
31424
+ handleClick,
31425
+ };
31426
+ },
31427
+ });
31428
+
31429
+ const _hoisted_1$1 = ["src"];
31430
+ const _hoisted_2$1 = { class: "top-ani" };
31431
+ const _hoisted_3$1 = ["src"];
31432
+ const _hoisted_4$1 = { class: "title" };
31433
+ const _hoisted_5$1 = ["src"];
31434
+ const _hoisted_6$1 = { class: "name" };
31435
+ const _hoisted_7$1 = { class: "content" };
31436
+ const _hoisted_8 = /*#__PURE__*/vue.createElementVNode("span", null, "—", -1 /* HOISTED */);
31437
+ const _hoisted_9 = /*#__PURE__*/vue.createElementVNode("span", null, "—", -1 /* HOISTED */);
31438
+ const _hoisted_10 = ["src"];
31439
+ const _hoisted_11 = ["src"];
31440
+ const _hoisted_12 = { class: "right-ani" };
31441
+ const _hoisted_13 = ["src"];
31442
+ const _hoisted_14 = { class: "title" };
31443
+ const _hoisted_15 = { class: "name" };
31444
+ const _hoisted_16 = { class: "content" };
31445
+ const _hoisted_17 = ["src"];
31446
+ const _hoisted_18 = ["src"];
31447
+ const _hoisted_19 = { class: "top-ani" };
31448
+ const _hoisted_20 = ["src"];
31449
+ const _hoisted_21 = { class: "title" };
31450
+ const _hoisted_22 = ["src"];
31451
+ const _hoisted_23 = { class: "name" };
31452
+ const _hoisted_24 = { class: "content" };
31453
+ const _hoisted_25 = /*#__PURE__*/vue.createElementVNode("span", null, "—", -1 /* HOISTED */);
31454
+ const _hoisted_26 = /*#__PURE__*/vue.createElementVNode("span", null, "—", -1 /* HOISTED */);
31455
+ const _hoisted_27 = ["src"];
31456
+
31457
+ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
31458
+ return (_ctx.visible && _ctx.item)
31459
+ ? (vue.openBlock(), vue.createElementBlock("div", {
31460
+ key: 0,
31461
+ id: "invite",
31462
+ class: vue.normalizeClass({ 'uni-invite--preview': _ctx.preview }),
31463
+ style: vue.normalizeStyle(_ctx.inviteStyle),
31464
+ onClick: _cache[0] || (_cache[0] = (...args) => (_ctx.handleClick && _ctx.handleClick(...args)))
31465
+ }, [
31466
+ vue.createCommentVNode(" type2:上下翻页(默认) "),
31467
+ (_ctx.layoutType === 'type2')
31468
+ ? (vue.openBlock(), vue.createElementBlock("div", {
31469
+ key: 0,
31470
+ class: vue.normalizeClass(["type2", { active: _ctx.isOpening }])
31471
+ }, [
31472
+ vue.createElementVNode("img", {
31473
+ src: _ctx.item.img1,
31474
+ alt: "",
31475
+ class: "img1"
31476
+ }, null, 8 /* PROPS */, _hoisted_1$1),
31477
+ vue.createElementVNode("div", _hoisted_2$1, [
31478
+ vue.createElementVNode("img", {
31479
+ src: _ctx.item.img2,
31480
+ alt: "",
31481
+ class: "img2"
31482
+ }, null, 8 /* PROPS */, _hoisted_3$1),
31483
+ vue.createElementVNode("div", _hoisted_4$1, [
31484
+ vue.createElementVNode("span", null, vue.toDisplayString(_ctx.titleChars[0]), 1 /* TEXT */),
31485
+ vue.createElementVNode("span", null, vue.toDisplayString(_ctx.titleChars[1]), 1 /* TEXT */)
31486
+ ]),
31487
+ (_ctx.item.divider)
31488
+ ? (vue.openBlock(), vue.createElementBlock("img", {
31489
+ key: 0,
31490
+ src: _ctx.item.divider,
31491
+ alt: "",
31492
+ class: "divider"
31493
+ }, null, 8 /* PROPS */, _hoisted_5$1))
31494
+ : vue.createCommentVNode("v-if", true),
31495
+ vue.createElementVNode("div", _hoisted_6$1, vue.toDisplayString(_ctx.item.name), 1 /* TEXT */)
31496
+ ]),
31497
+ vue.createElementVNode("div", _hoisted_7$1, [
31498
+ _hoisted_8,
31499
+ vue.createTextVNode(" " + vue.toDisplayString(_ctx.item.phrase) + " ", 1 /* TEXT */),
31500
+ _hoisted_9
31501
+ ]),
31502
+ vue.createElementVNode("img", {
31503
+ src: _ctx.item.img3,
31504
+ alt: "",
31505
+ class: "img3"
31506
+ }, null, 8 /* PROPS */, _hoisted_10)
31507
+ ], 2 /* CLASS */))
31508
+ : (_ctx.layoutType === 'type3')
31509
+ ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
31510
+ vue.createCommentVNode(" type3:右侧竖排翻页 "),
31511
+ vue.createElementVNode("div", {
31512
+ class: vue.normalizeClass(["type3", { active: _ctx.isOpening }])
31513
+ }, [
31514
+ vue.createElementVNode("img", {
31515
+ src: _ctx.item.img1,
31516
+ alt: "",
31517
+ class: "img1"
31518
+ }, null, 8 /* PROPS */, _hoisted_11),
31519
+ vue.createElementVNode("div", _hoisted_12, [
31520
+ vue.createElementVNode("img", {
31521
+ src: _ctx.item.img2,
31522
+ alt: "",
31523
+ class: "img2"
31524
+ }, null, 8 /* PROPS */, _hoisted_13),
31525
+ vue.createElementVNode("div", _hoisted_14, [
31526
+ vue.createElementVNode("span", null, vue.toDisplayString(_ctx.titleChars[0]), 1 /* TEXT */),
31527
+ vue.createElementVNode("span", null, vue.toDisplayString(_ctx.titleChars[1]), 1 /* TEXT */)
31528
+ ]),
31529
+ vue.createElementVNode("div", _hoisted_15, vue.toDisplayString(_ctx.item.name), 1 /* TEXT */),
31530
+ vue.createElementVNode("div", _hoisted_16, vue.toDisplayString(_ctx.item.phrase), 1 /* TEXT */)
31531
+ ]),
31532
+ vue.createElementVNode("img", {
31533
+ src: _ctx.item.img3,
31534
+ alt: "",
31535
+ class: "img3"
31536
+ }, null, 8 /* PROPS */, _hoisted_17)
31537
+ ], 2 /* CLASS */)
31538
+ ], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */))
31539
+ : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [
31540
+ vue.createCommentVNode(" 其他 layout 暂 fallback 到 type2 "),
31541
+ vue.createElementVNode("div", {
31542
+ class: vue.normalizeClass(["type2", { active: _ctx.isOpening }])
31543
+ }, [
31544
+ vue.createElementVNode("img", {
31545
+ src: _ctx.item.img1,
31546
+ alt: "",
31547
+ class: "img1"
31548
+ }, null, 8 /* PROPS */, _hoisted_18),
31549
+ vue.createElementVNode("div", _hoisted_19, [
31550
+ vue.createElementVNode("img", {
31551
+ src: _ctx.item.img2,
31552
+ alt: "",
31553
+ class: "img2"
31554
+ }, null, 8 /* PROPS */, _hoisted_20),
31555
+ vue.createElementVNode("div", _hoisted_21, [
31556
+ vue.createElementVNode("span", null, vue.toDisplayString(_ctx.titleChars[0]), 1 /* TEXT */),
31557
+ vue.createElementVNode("span", null, vue.toDisplayString(_ctx.titleChars[1]), 1 /* TEXT */)
31558
+ ]),
31559
+ (_ctx.item.divider)
31560
+ ? (vue.openBlock(), vue.createElementBlock("img", {
31561
+ key: 0,
31562
+ src: _ctx.item.divider,
31563
+ alt: "",
31564
+ class: "divider"
31565
+ }, null, 8 /* PROPS */, _hoisted_22))
31566
+ : vue.createCommentVNode("v-if", true),
31567
+ vue.createElementVNode("div", _hoisted_23, vue.toDisplayString(_ctx.item.name), 1 /* TEXT */)
31568
+ ]),
31569
+ vue.createElementVNode("div", _hoisted_24, [
31570
+ _hoisted_25,
31571
+ vue.createTextVNode(" " + vue.toDisplayString(_ctx.item.phrase) + " ", 1 /* TEXT */),
31572
+ _hoisted_26
31573
+ ]),
31574
+ vue.createElementVNode("img", {
31575
+ src: _ctx.item.img3,
31576
+ alt: "",
31577
+ class: "img3"
31578
+ }, null, 8 /* PROPS */, _hoisted_27)
31579
+ ], 2 /* CLASS */)
31580
+ ], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */))
31581
+ ], 6 /* CLASS, STYLE */))
31582
+ : vue.createCommentVNode("v-if", true)
31583
+ }
31584
+
31585
+ script$1.render = render$1;
31586
+ script$1.__file = "src/components/UniInvite/UniInvite.vue";
31587
+
31207
31588
  var script = vue.defineComponent({
31208
31589
  name: 'WorkRender',
31209
31590
  components: {
31210
- UniMusic: script$o,
31211
- UniText: script$r,
31212
- UniImage: script$q,
31213
- UniShape: script$p,
31214
- UniCalendar: script$m,
31215
- UniMap: script$k,
31216
- UniCountdown: script$l,
31217
- UniEffect: script$i,
31218
- UniVideo: script$n,
31219
- UniCall: script$j,
31220
- UniFormInput: script$e,
31221
- UniFormSubmit: script$d,
31222
- UniFormSelect: script$c,
31223
- UniFormMultiple: script$a,
31224
- UniFormSingle: script$b,
31225
- UniFormContainer: script$9,
31226
- UniBarrage: script$f,
31227
- UniMenu: script$4,
31228
- UniLottie: script$h,
31229
- UniButton: script$g,
31230
- UniWatermark: script$3,
31591
+ UniMusic: script$p,
31592
+ UniText: script$s,
31593
+ UniImage: script$r,
31594
+ UniShape: script$q,
31595
+ UniCalendar: script$n,
31596
+ UniMap: script$l,
31597
+ UniCountdown: script$m,
31598
+ UniEffect: script$j,
31599
+ UniVideo: script$o,
31600
+ UniCall: script$k,
31601
+ UniFormInput: script$f,
31602
+ UniFormSubmit: script$e,
31603
+ UniFormSelect: script$d,
31604
+ UniFormMultiple: script$b,
31605
+ UniFormSingle: script$c,
31606
+ UniFormContainer: script$a,
31607
+ UniBarrage: script$g,
31608
+ UniMenu: script$5,
31609
+ UniLottie: script$i,
31610
+ UniButton: script$h,
31611
+ UniWatermark: script$4,
31612
+ UniInvite: script$1,
31231
31613
  },
31232
31614
  props: {
31233
31615
  workData: {
@@ -31253,6 +31635,18 @@
31253
31635
  const personalData = vue.computed(() => workData.value.personalData || {});
31254
31636
  const global = vue.computed(() => workData.value.global || {});
31255
31637
  const pages = vue.computed(() => workData.value.pages || []);
31638
+ const inviteRender = vue.computed(() => {
31639
+ const invite = global.value.invite;
31640
+ const fromRenderItem = getInviteRenderFromGlobal(invite);
31641
+ if (fromRenderItem)
31642
+ return fromRenderItem;
31643
+ if (typeof window !== 'undefined' && invite) {
31644
+ const stateId = new URLSearchParams(window.location.search).get('state');
31645
+ if (stateId)
31646
+ return resolveInviteRenderData(invite, stateId);
31647
+ }
31648
+ return null;
31649
+ });
31256
31650
  /** 仅 member_level === 1 显示水印;2、3 及缺省等均不显示 */
31257
31651
  const shouldShowWatermark = vue.computed(() => Number(global.value.member_level) === 1);
31258
31652
  // 长页模式
@@ -31475,6 +31869,9 @@
31475
31869
  vue.nextTick(() => {
31476
31870
  setTimeout(runTextAnimationsForCurrentPage, 150);
31477
31871
  });
31872
+ // #region agent log
31873
+ fetch('http://127.0.0.1:7825/ingest/b036d6f9-5c3e-4f40-bb7d-3367a145a4d2', { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-Debug-Session-Id': '6d48a4' }, body: JSON.stringify({ sessionId: '6d48a4', runId: 'pre-fix', hypothesisId: 'H2', location: 'WorkRender.vue:onMounted', message: 'invite render computed', data: { hasInviteRender: !!inviteRender.value, renderItemId: global.value.invite && global.value.invite.renderItem ? global.value.invite.renderItem.id : null, urlState: typeof window !== 'undefined' ? new URLSearchParams(window.location.search).get('state') : null }, timestamp: Date.now() }) }).catch(() => { });
31874
+ // #endregion
31478
31875
  });
31479
31876
  vue.onBeforeUnmount(() => {
31480
31877
  if (global.value.cat === 'long_page') {
@@ -32086,6 +32483,7 @@
32086
32483
  return {
32087
32484
  personalData,
32088
32485
  global,
32486
+ inviteRender,
32089
32487
  shouldShowWatermark,
32090
32488
  pages,
32091
32489
  currentPageId,
@@ -32152,6 +32550,7 @@
32152
32550
  const _component_UniBarrage = vue.resolveComponent("UniBarrage");
32153
32551
  const _component_UniMenu = vue.resolveComponent("UniMenu");
32154
32552
  const _component_UniWatermark = vue.resolveComponent("UniWatermark");
32553
+ const _component_UniInvite = vue.resolveComponent("UniInvite");
32155
32554
 
32156
32555
  return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
32157
32556
  vue.createCommentVNode(" 背景音乐 "),
@@ -32260,6 +32659,13 @@
32260
32659
  vue.createVNode(_component_UniMenu, { global: _ctx.global }, null, 8 /* PROPS */, ["global"]),
32261
32660
  (_ctx.shouldShowWatermark)
32262
32661
  ? (vue.openBlock(), vue.createBlock(_component_UniWatermark, { key: 1 }))
32662
+ : vue.createCommentVNode("v-if", true),
32663
+ (_ctx.inviteRender)
32664
+ ? (vue.openBlock(), vue.createBlock(_component_UniInvite, {
32665
+ key: 2,
32666
+ "invite-render": _ctx.inviteRender,
32667
+ "scene-id": _ctx.global.sceneId || ''
32668
+ }, null, 8 /* PROPS */, ["invite-render", "scene-id"]))
32263
32669
  : vue.createCommentVNode("v-if", true)
32264
32670
  ], 512 /* NEED_PATCH */))
32265
32671
  }
@@ -32271,6 +32677,10 @@
32271
32677
  app.component(script.name, script);
32272
32678
  };
32273
32679
 
32680
+ script$f.install = (app) => {
32681
+ app.component(script$f.name, script$f);
32682
+ };
32683
+
32274
32684
  script$e.install = (app) => {
32275
32685
  app.component(script$e.name, script$e);
32276
32686
  };
@@ -32291,35 +32701,753 @@
32291
32701
  app.component(script$a.name, script$a);
32292
32702
  };
32293
32703
 
32294
- script$9.install = (app) => {
32295
- app.component(script$9.name, script$9);
32704
+ script$5.install = (app) => {
32705
+ app.component(script$5.name, script$5);
32296
32706
  };
32297
32707
 
32298
- script$4.install = (app) => {
32299
- app.component(script$4.name, script$4);
32708
+ script$8.install = (app) => {
32709
+ app.component(script$8.name, script$8);
32300
32710
  };
32301
32711
 
32302
32712
  script$7.install = (app) => {
32303
32713
  app.component(script$7.name, script$7);
32304
32714
  };
32305
32715
 
32716
+ script$9.install = (app) => {
32717
+ app.component(script$9.name, script$9);
32718
+ };
32719
+
32306
32720
  script$6.install = (app) => {
32307
32721
  app.component(script$6.name, script$6);
32308
32722
  };
32309
32723
 
32310
- script$8.install = (app) => {
32311
- app.component(script$8.name, script$8);
32724
+ script$4.install = (app) => {
32725
+ app.component(script$4.name, script$4);
32312
32726
  };
32313
32727
 
32314
- script$5.install = (app) => {
32315
- app.component(script$5.name, script$5);
32728
+ script$1.install = (app) => {
32729
+ app.component(script$1.name, script$1);
32316
32730
  };
32317
32731
 
32318
- script$3.install = (app) => {
32319
- app.component(script$3.name, script$3);
32732
+ /** 送呈封面模板 开发 fallback,生产由 biz-editor-server 提供 */
32733
+ const INVITE_COVER_TEMPLATES = [
32734
+ {
32735
+ id: 'horse-lotus',
32736
+ name: '神马都好',
32737
+ layout: 'type2',
32738
+ img1: 'https://unika-static-dev.oss-ap-southeast-7.aliyuncs.com/admin/invite/176950478669788012e57f2.png',
32739
+ img2: 'https://unika-static-dev.oss-ap-southeast-7.aliyuncs.com/admin/invite/17695047966978801c72723.png',
32740
+ img3: 'https://unika-static-dev.oss-ap-southeast-7.aliyuncs.com/admin/invite/176950476769787fff50681.png',
32741
+ divider: 'https://unika-static-dev.oss-ap-southeast-7.aliyuncs.com/admin/invite/176.png',
32742
+ fontFamily: 'xinyahei_1',
32743
+ fontColor: 'rgb(255, 244, 205)',
32744
+ },
32745
+ ];
32746
+ function getInviteTemplateById(id) {
32747
+ return INVITE_COVER_TEMPLATES.find(t => t.id === id);
32748
+ }
32749
+
32750
+ const defaultItemId = 'invite-default-1'; // template placeholder — replace with random id at runtime
32751
+ const defaultTpl = INVITE_COVER_TEMPLATES[0];
32752
+ /** global.invite 默认结构 — 仅含渲染字段,不含 templates/phrases */
32753
+ const inviteDefaultProps = {
32754
+ open: true,
32755
+ titleChars: ['บัตร', 'เชิญ'],
32756
+ items: [
32757
+ {
32758
+ id: defaultItemId,
32759
+ name: '我',
32760
+ phrase: '邀请您一道分享我们的喜悦',
32761
+ templateId: defaultTpl.id,
32762
+ templateName: defaultTpl.name,
32763
+ img1: defaultTpl.img1,
32764
+ img2: defaultTpl.img2,
32765
+ img3: defaultTpl.img3,
32766
+ divider: defaultTpl.divider,
32767
+ fontFamily: defaultTpl.fontFamily,
32768
+ fontColor: defaultTpl.fontColor,
32769
+ },
32770
+ ],
32320
32771
  };
32321
32772
 
32773
+ const musicDefaultProps = {
32774
+ // url: "https://h5cdn.unika.cc/static/img/uniComponents/MarryMe.mp3",
32775
+ url: "",
32776
+ name: "Love Paradise",
32777
+ music_id: '2302',
32778
+ bgcolor: "rgba(128, 90, 218, 0.19)",
32779
+ iconUrl: "https://h5cdn.unika.cc/static/assets/musicBackground/musicBackground-1.png",
32780
+ isGlobal: false,
32781
+ };
32782
+
32783
+ const calendarDefaultProps = {
32784
+ id: '1748877692931',
32785
+ pid: '',
32786
+ type: 'calendar',
32787
+ layerName: '日历14',
32788
+ endTime: '2025/05/22',
32789
+ language: 'Chinese',
32790
+ kind: 1,
32791
+ sign: true,
32792
+ signSort: 4,
32793
+ showSize: 'middle',
32794
+ themeColor: '#ed5566',
32795
+ heartColor: 'rgba(151, 237, 85, 1)',
32796
+ heartAni: true,
32797
+ dateColor: '#666',
32798
+ css: {
32799
+ borderWidth: 2,
32800
+ borderStyle: 'solid',
32801
+ borderColor: '#ed5566',
32802
+ opacity: 0.98,
32803
+ backgroundColor: '#fff',
32804
+ width: 325,
32805
+ height: 325,
32806
+ borderRadius: 0,
32807
+ top: 148.5625,
32808
+ left: 28.4375,
32809
+ transform: 0,
32810
+ animation2: 'fadeInDown 1.5s ease 0.0s 1 normal backwards running',
32811
+ animation: 'fadeInDown 1.5s ease 0.0s 1 normal backwards running'
32812
+ },
32813
+ properties: {
32814
+ visible: true,
32815
+ isLock: false,
32816
+ required: true,
32817
+ musicName: '',
32818
+ musicLink: '',
32819
+ musicHash: '',
32820
+ shadowSize: 0,
32821
+ shadowColor: '#999999',
32822
+ shadowX: 0,
32823
+ shadowY: 0,
32824
+ shadowBlur: 0,
32825
+ shadowPoint: 270,
32826
+ aniOrigin: 'default',
32827
+ animations: [
32828
+ {
32829
+ animate: 'fadeInDown',
32830
+ count: 1,
32831
+ timing: 'ease',
32832
+ loop: false,
32833
+ delay: 0,
32834
+ duration: 1.5,
32835
+ name: '从上淡入',
32836
+ order: 'normal',
32837
+ type: 'normal',
32838
+ aniType: 'entry',
32839
+ allDelay: '0.0',
32840
+ id: 80102
32841
+ }
32842
+ ],
32843
+ textAni: []
32844
+ },
32845
+ triggers: {
32846
+ event: 'music',
32847
+ link: 'http://www.baidu.com',
32848
+ go: 4,
32849
+ phone: '0622222222',
32850
+ musicName: '告白气球',
32851
+ musicLink: 'https://amp3.hunbei.com/mp3/qiniu/gaobaiqiqiu.mp3',
32852
+ musicHash: '',
32853
+ music_id: 2247,
32854
+ cat: 'sys',
32855
+ originalUrl: '',
32856
+ crop: null,
32857
+ },
32858
+ signType: 'time'
32859
+ };
32860
+
32861
+ const mapDefaultProps =
32862
+ // {
32863
+ // "id": '1714374739136',
32864
+ // "pid": "",
32865
+ // "type": "map",
32866
+ // "textContent": "",
32867
+ // "layerName": "地图20",
32868
+ // "btnName": "导航",
32869
+ // "sign": true,
32870
+ // "signSort": 4,
32871
+ // "mapStyle": "按钮",
32872
+ // "css": {
32873
+ // "borderWidth": 0,
32874
+ // "borderStyle": "solid",
32875
+ // "borderColor": "rgba(153, 153, 153, 1)",
32876
+ // "opacity": 1,
32877
+ // "fontSize": 30,
32878
+ // "color": "rgba(255, 255, 255, 1)",
32879
+ // "backgroundColor": "rgba(52, 68, 244, 1)",
32880
+ // "width": 220,
32881
+ // "height": 40,
32882
+ // "top": 378,
32883
+ // "left": 127.5,
32884
+ // "transform": 0,
32885
+ // "borderRadius": 0,
32886
+ // "animation2": "fadeIn 1.5s ease 1.0s 1 normal backwards running",
32887
+ // "animation": "fadeIn 1.5s ease 1.0s 1 normal backwards running"
32888
+ // },
32889
+ // "properties": {
32890
+ // "visible": true,
32891
+ // "isLock": false,
32892
+ // "required": true,
32893
+ // "musicName": "",
32894
+ // "musicLink": "",
32895
+ // "musicHash": "",
32896
+ // "shadowSize": 0,
32897
+ // "shadowColor": "#999999",
32898
+ // "shadowX": 0,
32899
+ // "shadowY": 0,
32900
+ // "shadowBlur": 0,
32901
+ // "shadowPoint": 270,
32902
+ // "aniOrigin": "default",
32903
+ // "animations": [
32904
+ // {
32905
+ // "animate": "fadeIn",
32906
+ // "count": 1,
32907
+ // "timing": "ease",
32908
+ // "loop": false,
32909
+ // "delay": 1,
32910
+ // "duration": 1.5,
32911
+ // "name": "淡入",
32912
+ // "order": "normal",
32913
+ // "type": "normal",
32914
+ // "aniType": "entry",
32915
+ // "allDelay": "1.0",
32916
+ // "id": 40976
32917
+ // }
32918
+ // ],
32919
+ // "lng": 120.298935,
32920
+ // "lat": 35.972687,
32921
+ // "location": "涵碧楼酒店",
32922
+ // "zoom": 15,
32923
+ // "type": "gaode",
32924
+ // "isMapEdit": 1,
32925
+ // "textAni": [],
32926
+ // "mapImg": "",
32927
+ // "mapChange": "120.298935|35.972687|15|205|205"
32928
+ // },
32929
+ // "signType": "ditu"
32930
+ // }
32931
+ {
32932
+ id: '',
32933
+ pid: '',
32934
+ type: 'map',
32935
+ textContent: '',
32936
+ layerName: 'map',
32937
+ btnName: 'Google Map',
32938
+ sign: true,
32939
+ signSort: 6,
32940
+ mapStyle: 'default',
32941
+ iframeUrl: '<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3875.8578774438038!2d100.54467957597053!3d13.72705308666229!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x30e29f2476aee2a3%3A0x6e91389d33667ab8!2sOne%20Bangkok!5e0!3m2!1szh-CN!2sth!4v1746974818429!5m2!1szh-CN!2sth" width="600" height="450" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>',
32942
+ url: 'https://maps.app.goo.gl/DbrLnbiWJt9DQa3y6',
32943
+ css: {
32944
+ borderWidth: 0,
32945
+ borderStyle: 'solid',
32946
+ borderColor: 'rgba(153, 153, 153, 1)',
32947
+ opacity: 1,
32948
+ fontSize: 30,
32949
+ color: 'rgba(255, 255, 255, 1)',
32950
+ backgroundColor: 'rgba(52, 68, 244, 1)',
32951
+ width: 220,
32952
+ height: 220,
32953
+ top: 196,
32954
+ left: 77,
32955
+ transform: 0,
32956
+ borderRadius: 0
32957
+ },
32958
+ properties: {
32959
+ visible: true,
32960
+ isLock: false,
32961
+ required: true,
32962
+ musicName: '',
32963
+ musicLink: '',
32964
+ musicHash: '',
32965
+ shadowSize: 0,
32966
+ shadowColor: '#999999',
32967
+ shadowX: 0,
32968
+ shadowY: 0,
32969
+ shadowBlur: 0,
32970
+ shadowPoint: 270,
32971
+ aniOrigin: 'default',
32972
+ animations: [],
32973
+ lng: 120.298935,
32974
+ lat: 35.972687,
32975
+ location: 'One Bangkok',
32976
+ zoom: 15,
32977
+ type: 'google',
32978
+ isMapEdit: 0
32979
+ },
32980
+ signType: 'map'
32981
+ };
32982
+
32983
+ const countdownDefaultProps = {
32984
+ id: '1749545996934',
32985
+ pid: '',
32986
+ type: 'countdown',
32987
+ layerName: 'countdown',
32988
+ deadline: '2025-11-15 13:00:00',
32989
+ endOption: 'zero',
32990
+ endText: '',
32991
+ sign: true,
32992
+ language: 'th',
32993
+ direction: 'across',
32994
+ signSort: 7,
32995
+ showType: 'flip',
32996
+ showSize: 'middle',
32997
+ css: {
32998
+ borderWidth: 0,
32999
+ borderStyle: 'solid',
33000
+ borderColor: 'rgba(153, 153, 153, 1)',
33001
+ opacity: 1,
33002
+ fontSize: 20,
33003
+ color: 'rgba(255, 255, 255, 1)',
33004
+ backgroundColor: '#000000',
33005
+ width: 375,
33006
+ height: 85,
33007
+ borderRadius: 5,
33008
+ top: 214.5,
33009
+ left: 35,
33010
+ transform: 0,
33011
+ textAlign: 'center',
33012
+ animation2: 'fadeInLeft 1.5s ease 0.0s 1 normal backwards running',
33013
+ animation: 'fadeInLeft 1.5s ease 0.0s 1 normal backwards running'
33014
+ },
33015
+ properties: {
33016
+ visible: true,
33017
+ isLock: false,
33018
+ required: true,
33019
+ musicName: '',
33020
+ musicLink: '',
33021
+ musicHash: '',
33022
+ shadowSize: 0,
33023
+ shadowColor: '#999999',
33024
+ shadowX: 0,
33025
+ shadowY: 0,
33026
+ shadowBlur: 0,
33027
+ shadowPoint: 270,
33028
+ aniOrigin: 'default',
33029
+ animations: [
33030
+ {
33031
+ animate: 'fadeInLeft',
33032
+ count: 1,
33033
+ timing: 'ease',
33034
+ loop: false,
33035
+ delay: 0,
33036
+ duration: 1.5,
33037
+ name: '从左淡入',
33038
+ order: 'normal',
33039
+ type: 'normal',
33040
+ aniType: 'entry',
33041
+ allDelay: '0.0',
33042
+ id: 9504
33043
+ }
33044
+ ],
33045
+ textAni: []
33046
+ },
33047
+ signType: 'time'
33048
+ };
33049
+
33050
+ const effectDefaultProps = {
33051
+ id: '1749564784798',
33052
+ pid: '',
33053
+ type: 'effect',
33054
+ layerName: 'effect',
33055
+ sign: false,
33056
+ signSort: 1,
33057
+ css: {
33058
+ width: 375,
33059
+ height: 595,
33060
+ left: 0,
33061
+ top: 52.5,
33062
+ opacity: 1,
33063
+ transform: 0
33064
+ },
33065
+ properties: {
33066
+ type: 'petal',
33067
+ speed: 'middle',
33068
+ count: 'middle',
33069
+ visible: true,
33070
+ isLock: false,
33071
+ animations: []
33072
+ }
33073
+ };
33074
+
33075
+ const shapeDefaultProps = {
33076
+ id: "1722563395007",
33077
+ pid: "",
33078
+ type: "shape",
33079
+ layerName: "形状3",
33080
+ sign: false,
33081
+ signSort: 1,
33082
+ overturnType: 0,
33083
+ css: {
33084
+ fontFamily: "kanit",
33085
+ fontSize: 12,
33086
+ opacity: 0.35,
33087
+ width: 303,
33088
+ height: 525,
33089
+ left: 35.632000000000005,
33090
+ top: 60,
33091
+ transform: 0,
33092
+ borderRadius: 0,
33093
+ borderWidth: 0,
33094
+ borderColor: "rgba(153, 153, 153, 1)",
33095
+ borderStyle: "solid",
33096
+ svgPathColor: ["rgba(255, 255, 255, 1)"],
33097
+ animation2: "fadeIn 3s ease 2.4s 1 normal backwards running",
33098
+ animation: "fadeIn 3s ease 2.4s 1 normal backwards running"
33099
+ },
33100
+ triggers: {
33101
+ event: "",
33102
+ link: "",
33103
+ go: "",
33104
+ phone: "",
33105
+ musicName: "",
33106
+ musicLink: "",
33107
+ musicHash: ""
33108
+ },
33109
+ properties: {
33110
+ visible: true,
33111
+ isLock: false,
33112
+ required: true,
33113
+ musicName: "",
33114
+ musicLink: "",
33115
+ musicHash: "",
33116
+ shadowSize: 0,
33117
+ shadowColor: "#999999",
33118
+ shadowX: 0,
33119
+ shadowY: 0,
33120
+ shadowBlur: 0,
33121
+ shadowPoint: 270,
33122
+ aniOrigin: "default",
33123
+ animations: [
33124
+ {
33125
+ animate: "fadeIn",
33126
+ count: 1,
33127
+ timing: "ease",
33128
+ loop: false,
33129
+ delay: 2.4,
33130
+ duration: 3,
33131
+ name: "淡入",
33132
+ order: "normal",
33133
+ type: "normal",
33134
+ aniType: "entry",
33135
+ allDelay: "2.4",
33136
+ id: 68742
33137
+ }
33138
+ ],
33139
+ src: "https://h5cdn.unika.cc/static/assets/shape/shape-1.svg",
33140
+ textAni: []
33141
+ }
33142
+ };
33143
+
33144
+ const lottieDefaultProps = {
33145
+ id: '1640154752919',
33146
+ pid: '',
33147
+ type: 'lottie',
33148
+ layerName: 'lottie动画11',
33149
+ sign: false,
33150
+ loop: false,
33151
+ delay: 2,
33152
+ aniPath: 'https://h5cdn.unika.cc/static/lotties/wedding.json',
33153
+ css: {
33154
+ left: 35.5,
33155
+ top: 105,
33156
+ width: 305,
33157
+ height: 305,
33158
+ opacity: 1,
33159
+ transform: 0
33160
+ },
33161
+ properties: {
33162
+ visible: true,
33163
+ isLock: false
33164
+ }
33165
+ };
33166
+
33167
+ const videoDefaultProps = {
33168
+ id: '',
33169
+ pid: '',
33170
+ type: 'video',
33171
+ videoCodeOri: '',
33172
+ videoCode: 'https://youtu.be/ER1R3lFOQFg',
33173
+ layerName: 'video',
33174
+ sign: true,
33175
+ signSort: 5,
33176
+ videoStyle: '固定播放',
33177
+ videoUrl: '',
33178
+ imgUrl: '',
33179
+ playMode: 'click',
33180
+ playLoop: true,
33181
+ playControls: true,
33182
+ videoType: 1,
33183
+ fullScreen: false,
33184
+ overturnType: 0,
33185
+ css: {
33186
+ width: 350,
33187
+ height: 197,
33188
+ left: 12,
33189
+ top: 268.5,
33190
+ opacity: 1,
33191
+ borderRadius: 0,
33192
+ borderWidth: 0,
33193
+ borderStyle: 'solid',
33194
+ borderColor: 'rgba(153, 153, 153, 1)',
33195
+ transform: 0,
33196
+ recordImgWidth: 350,
33197
+ recordImgHeight: 197,
33198
+ recordBtnWidth: 60,
33199
+ recordBtnHeight: 60
33200
+ },
33201
+ triggers: {
33202
+ event: '',
33203
+ link: '',
33204
+ go: null,
33205
+ phone: '',
33206
+ musicName: '',
33207
+ musicLink: '',
33208
+ musicHash: ''
33209
+ },
33210
+ properties: {
33211
+ visible: true,
33212
+ isLock: false,
33213
+ required: true,
33214
+ musicName: '',
33215
+ musicLink: '',
33216
+ musicHash: '',
33217
+ shadowSize: 0,
33218
+ shadowColor: '#999999',
33219
+ shadowX: 0,
33220
+ shadowY: 0,
33221
+ shadowBlur: 0,
33222
+ shadowPoint: 270,
33223
+ aniOrigin: 'default',
33224
+ animations: [],
33225
+ src: 'https://h5cdn.unika.cc/static/img/uniComponents/video_button1.png',
33226
+ cover: 'https://h5cdn.unika.cc/static/img/uniComponents/logo.png',
33227
+ realW: 0,
33228
+ realH: 0,
33229
+ maskId: ''
33230
+ },
33231
+ originalUrl: '',
33232
+ crop: ''
33233
+ };
33234
+
33235
+ const callDefaultProps = {
33236
+ id: '1749136706168',
33237
+ pid: '',
33238
+ type: 'call',
33239
+ tel: '18888888888',
33240
+ btnText: '一键拨号',
33241
+ layerName: '拨号16',
33242
+ sign: true,
33243
+ signSort: 6,
33244
+ css: {
33245
+ borderWidth: 0,
33246
+ borderStyle: 'solid',
33247
+ borderColor: 'rgba(153, 153, 153, 1)',
33248
+ opacity: 1,
33249
+ fontSize: 16,
33250
+ color: 'rgba(255, 255, 255, 1)',
33251
+ backgroundColor: 'rgb(33, 147, 255)',
33252
+ width: 120,
33253
+ height: 40,
33254
+ borderRadius: 10,
33255
+ top: 122,
33256
+ left: 155,
33257
+ transform: 0,
33258
+ },
33259
+ properties: {
33260
+ visible: true,
33261
+ isLock: false,
33262
+ required: true,
33263
+ musicName: '',
33264
+ musicLink: '',
33265
+ musicHash: '',
33266
+ shadowSize: 0,
33267
+ shadowColor: '#999999',
33268
+ shadowX: 0,
33269
+ shadowY: 0,
33270
+ shadowBlur: 0,
33271
+ shadowPoint: 270,
33272
+ aniOrigin: 'default',
33273
+ animations: [],
33274
+ }
33275
+ };
33276
+
33277
+ const buttonDefaultProps = {
33278
+ id: '1749136706168',
33279
+ pid: '',
33280
+ type: 'button',
33281
+ btnText: 'Button',
33282
+ layerName: 'button',
33283
+ sign: true,
33284
+ signSort: 6,
33285
+ css: {
33286
+ borderWidth: 0,
33287
+ borderStyle: 'solid',
33288
+ borderColor: 'rgba(153, 153, 153, 1)',
33289
+ opacity: 1,
33290
+ fontSize: 16,
33291
+ color: 'rgba(255, 255, 255, 1)',
33292
+ backgroundColor: 'rgb(33, 147, 255)',
33293
+ width: 120,
33294
+ height: 40,
33295
+ borderRadius: 10,
33296
+ top: 122,
33297
+ left: 155,
33298
+ transform: 0
33299
+ },
33300
+ triggers: {
33301
+ event: 'link',
33302
+ link: 'http://www.baidu.com',
33303
+ go: 4,
33304
+ phone: '0622222222',
33305
+ musicName: '告白气球',
33306
+ musicLink: 'https://amp3.hunbei.com/mp3/qiniu/gaobaiqiqiu.mp3',
33307
+ musicHash: '',
33308
+ music_id: 2247,
33309
+ cat: 'sys',
33310
+ originalUrl: '',
33311
+ crop: null,
33312
+ },
33313
+ properties: {
33314
+ visible: true,
33315
+ isLock: false,
33316
+ required: true,
33317
+ musicName: '',
33318
+ musicLink: '',
33319
+ musicHash: '',
33320
+ shadowSize: 0,
33321
+ shadowColor: '#999999',
33322
+ shadowX: 0,
33323
+ shadowY: 0,
33324
+ shadowBlur: 0,
33325
+ shadowPoint: 270,
33326
+ aniOrigin: 'default',
33327
+ animations: [],
33328
+ },
33329
+ };
33330
+
33331
+ const formInputDefaultProps = {
33332
+ id: 'id1',
33333
+ pid: '',
33334
+ type: 'form-input',
33335
+ title: '姓名',
33336
+ inputType: 'text',
33337
+ layerName: '输入框',
33338
+ sign: false,
33339
+ signSort: 1,
33340
+ css: {
33341
+ fontFamily: '微软雅黑',
33342
+ fontSize: 14,
33343
+ color: '#6e6e6e',
33344
+ width: 235,
33345
+ height: 40,
33346
+ left: 70,
33347
+ top: 330,
33348
+ backgroundColor: '#fff',
33349
+ borderRadius: 2,
33350
+ borderColor: 'rgba(153, 153, 153, 1)',
33351
+ borderWidth: 1,
33352
+ borderStyle: 'solid',
33353
+ transform: 0,
33354
+ opacity: 1
33355
+ },
33356
+ properties: {
33357
+ visible: true,
33358
+ isLock: false,
33359
+ required: true,
33360
+ musicName: '',
33361
+ musicLink: '',
33362
+ musicHash: '',
33363
+ shadowSize: 0,
33364
+ shadowColor: '#999999',
33365
+ shadowX: 0,
33366
+ shadowY: 0,
33367
+ shadowBlur: 0,
33368
+ shadowPoint: 270,
33369
+ aniOrigin: 'default',
33370
+ animations: []
33371
+ }
33372
+ };
33373
+
33374
+ const formSubmitDefaultProps = {
33375
+ id: 'id4',
33376
+ pid: '',
33377
+ btName: '提交',
33378
+ type: 'form-submit',
33379
+ layerName: 'submitFormButton',
33380
+ sign: false,
33381
+ signSort: 1,
33382
+ subType: 'allPage',
33383
+ succEvent: 'alert',
33384
+ succAlert: '提交成功,感谢您的参与!',
33385
+ succUrl: '',
33386
+ css: {
33387
+ width: 235,
33388
+ height: 40,
33389
+ lineHeight: 1,
33390
+ color: '#fff',
33391
+ fontSize: 16,
33392
+ left: 70,
33393
+ top: 480,
33394
+ borderRadius: 4,
33395
+ borderColor: 'rgba(153, 153, 153, 1)',
33396
+ borderWidth: 0,
33397
+ borderStyle: 'solid',
33398
+ backgroundColor: '#2687f1',
33399
+ textAlign: 'center',
33400
+ transform: 0,
33401
+ opacity: 1
33402
+ },
33403
+ properties: {
33404
+ visible: true,
33405
+ isLock: false,
33406
+ required: true,
33407
+ musicName: '',
33408
+ musicLink: '',
33409
+ musicHash: '',
33410
+ shadowSize: 0,
33411
+ shadowColor: '#999999',
33412
+ shadowX: 0,
33413
+ shadowY: 0,
33414
+ shadowBlur: 0,
33415
+ shadowPoint: 270,
33416
+ aniOrigin: 'default',
33417
+ animations: []
33418
+ }
33419
+ };
33420
+
33421
+ /** 送呈快捷短语 — 开发/编辑器 fallback;生产环境由 biz-editor-server API 提供 */
33422
+ const INVITE_QUICK_PHRASES = [
33423
+ '邀请您一道分享我们的喜悦',
33424
+ '诚挚邀请您参加我们的婚礼',
33425
+ '期待您的到来和见证',
33426
+ '恭候您的光临',
33427
+ '愿与您共享幸福时刻',
33428
+ '我们诚挚地邀请您',
33429
+ '见证我们的爱情之路',
33430
+ '共享美好时刻',
33431
+ ];
33432
+
33433
+ /** 将模板图片解析进送呈条目(编辑器选封面时调用,结果写入 global.invite) */
33434
+ function applyTemplateToInviteItem(item, template) {
33435
+ return {
33436
+ ...item,
33437
+ templateId: template.id,
33438
+ templateName: template.name,
33439
+ layout: template.layout || item.layout || 'type2',
33440
+ img1: template.img1,
33441
+ img2: template.img2,
33442
+ img3: template.img3,
33443
+ divider: template.divider,
33444
+ fontFamily: template.fontFamily,
33445
+ fontColor: template.fontColor,
33446
+ };
33447
+ }
33448
+
32322
33449
  const components = [
33450
+ script$s,
32323
33451
  script$r,
32324
33452
  script$q,
32325
33453
  script$p,
@@ -32332,22 +33460,22 @@
32332
33460
  script$i,
32333
33461
  script$h,
32334
33462
  script$g,
32335
- script$f,
33463
+ script$3,
32336
33464
  script$2,
32337
- script$1,
32338
33465
  script,
33466
+ script$f,
32339
33467
  script$e,
32340
33468
  script$d,
32341
33469
  script$c,
32342
33470
  script$b,
32343
33471
  script$a,
32344
- script$9,
32345
- script$4,
33472
+ script$5,
33473
+ script$8,
32346
33474
  script$7,
33475
+ script$9,
32347
33476
  script$6,
32348
- script$8,
32349
- script$5,
32350
- script$3
33477
+ script$4,
33478
+ script$1
32351
33479
  ];
32352
33480
  // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
32353
33481
  const install = (app) => {
@@ -32359,39 +33487,63 @@
32359
33487
  install
32360
33488
  };
32361
33489
 
32362
- exports.UniBarrage = script$f;
32363
- exports.UniButton = script$g;
32364
- exports.UniCalendar = script$m;
32365
- exports.UniCall = script$j;
32366
- exports.UniCountdown = script$l;
32367
- exports.UniEffect = script$i;
32368
- exports.UniFormContainer = script$9;
32369
- exports.UniFormInput = script$e;
32370
- exports.UniFormMultiple = script$a;
32371
- exports.UniFormSelect = script$c;
32372
- exports.UniFormSingle = script$b;
32373
- exports.UniFormSubmit = script$d;
32374
- exports.UniImage = script$q;
32375
- exports.UniLottie = script$h;
32376
- exports.UniMap = script$k;
32377
- exports.UniMenu = script$4;
32378
- exports.UniMenuMap = script$5;
32379
- exports.UniMenuReceipt = script$8;
32380
- exports.UniMenuTel = script$6;
32381
- exports.UniMenuVideo = script$7;
32382
- exports.UniMusic = script$o;
32383
- exports.UniShape = script$p;
32384
- exports.UniText = script$r;
32385
- exports.UniVideo = script$n;
32386
- exports.UniWatermark = script$3;
33490
+ exports.INVITE_COVER_TEMPLATES = INVITE_COVER_TEMPLATES;
33491
+ exports.INVITE_QUICK_PHRASES = INVITE_QUICK_PHRASES;
33492
+ exports.UniBarrage = script$g;
33493
+ exports.UniButton = script$h;
33494
+ exports.UniCalendar = script$n;
33495
+ exports.UniCall = script$k;
33496
+ exports.UniCountdown = script$m;
33497
+ exports.UniEffect = script$j;
33498
+ exports.UniFormContainer = script$a;
33499
+ exports.UniFormInput = script$f;
33500
+ exports.UniFormMultiple = script$b;
33501
+ exports.UniFormSelect = script$d;
33502
+ exports.UniFormSingle = script$c;
33503
+ exports.UniFormSubmit = script$e;
33504
+ exports.UniImage = script$r;
33505
+ exports.UniInvite = script$1;
33506
+ exports.UniLottie = script$i;
33507
+ exports.UniMap = script$l;
33508
+ exports.UniMenu = script$5;
33509
+ exports.UniMenuMap = script$6;
33510
+ exports.UniMenuReceipt = script$9;
33511
+ exports.UniMenuTel = script$7;
33512
+ exports.UniMenuVideo = script$8;
33513
+ exports.UniMusic = script$p;
33514
+ exports.UniShape = script$q;
33515
+ exports.UniText = script$s;
33516
+ exports.UniVideo = script$o;
33517
+ exports.UniWatermark = script$4;
32387
33518
  exports.WorkRender = script;
32388
- exports.WorkRenderH5 = script$2;
32389
- exports.WorkRenderLong = script$1;
33519
+ exports.WorkRenderH5 = script$3;
33520
+ exports.WorkRenderLong = script$2;
33521
+ exports.applyInviteStateToGlobal = applyInviteStateToGlobal;
33522
+ exports.applyTemplateToInviteItem = applyTemplateToInviteItem;
32390
33523
  exports.applyTextAnimation = applyTextAnimation;
32391
33524
  exports.applyTextAnimationsForPage = applyTextAnimationsForPage;
33525
+ exports.buttonDefaultProps = buttonDefaultProps;
33526
+ exports.calendarDefaultProps = calendarDefaultProps;
33527
+ exports.callDefaultProps = callDefaultProps;
33528
+ exports.countdownDefaultProps = countdownDefaultProps;
32392
33529
  exports["default"] = index;
33530
+ exports.effectDefaultProps = effectDefaultProps;
33531
+ exports.formInputDefaultProps = formInputDefaultProps;
33532
+ exports.formSubmitDefaultProps = formSubmitDefaultProps;
33533
+ exports.getInviteDismissDelay = getInviteDismissDelay;
33534
+ exports.getInviteRenderFromGlobal = getInviteRenderFromGlobal;
33535
+ exports.getInviteTemplateById = getInviteTemplateById;
32393
33536
  exports.install = install;
33537
+ exports.inviteDefaultProps = inviteDefaultProps;
33538
+ exports.isValidInviteItem = isValidInviteItem;
33539
+ exports.lottieDefaultProps = lottieDefaultProps;
33540
+ exports.mapDefaultProps = mapDefaultProps;
33541
+ exports.musicDefaultProps = musicDefaultProps;
33542
+ exports.resolveInviteRenderData = resolveInviteRenderData;
32394
33543
  exports.restoreTextAnimation = restoreTextAnimation;
33544
+ exports.shapeDefaultProps = shapeDefaultProps;
33545
+ exports.useInviteManager = useInviteManager;
33546
+ exports.videoDefaultProps = videoDefaultProps;
32395
33547
 
32396
33548
  Object.defineProperty(exports, '__esModule', { value: true });
32397
33549