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
@@ -24,7 +24,7 @@ function px2rem(px) {
24
24
  return px;
25
25
  }
26
26
 
27
- var script$r = defineComponent({
27
+ var script$s = defineComponent({
28
28
  name: 'UniText',
29
29
  props: {
30
30
  element: {
@@ -127,9 +127,9 @@ var script$r = defineComponent({
127
127
  }
128
128
  });
129
129
 
130
- const _hoisted_1$m = ["data-id", "data-pid", "data-type", "sign", "signsort", "layername"];
130
+ const _hoisted_1$n = ["data-id", "data-pid", "data-type", "sign", "signsort", "layername"];
131
131
 
132
- function render$n(_ctx, _cache, $props, $setup, $data, $options) {
132
+ function render$o(_ctx, _cache, $props, $setup, $data, $options) {
133
133
  return (_ctx.element && (!_ctx.element.properties || _ctx.element.properties.visible !== false))
134
134
  ? (openBlock(), createElementBlock("div", {
135
135
  key: 0,
@@ -160,18 +160,18 @@ function render$n(_ctx, _cache, $props, $setup, $data, $options) {
160
160
  style: normalizeStyle(_ctx.textEditorStyle)
161
161
  }, toDisplayString(_ctx.element.textContent), 5 /* TEXT, STYLE */)
162
162
  ], 4 /* STYLE */)
163
- ], 12 /* STYLE, PROPS */, _hoisted_1$m))
163
+ ], 12 /* STYLE, PROPS */, _hoisted_1$n))
164
164
  : createCommentVNode("v-if", true)
165
165
  }
166
166
 
167
- script$r.render = render$n;
168
- script$r.__file = "src/components/UniText/UniText.vue";
167
+ script$s.render = render$o;
168
+ script$s.__file = "src/components/UniText/UniText.vue";
169
169
 
170
- script$r.install = (app) => {
171
- app.component(script$r.name, script$r);
170
+ script$s.install = (app) => {
171
+ app.component(script$s.name, script$s);
172
172
  };
173
173
 
174
- var script$q = defineComponent({
174
+ var script$r = defineComponent({
175
175
  name: 'uni-image',
176
176
  props: {
177
177
  element: {
@@ -205,9 +205,6 @@ var script$q = defineComponent({
205
205
  color: css.value.color,
206
206
  opacity: css.value.opacity,
207
207
  borderRadius: px2rem(css.value.borderRadius || 0),
208
- borderWidth: px2rem(css.value.borderWidth || 0),
209
- borderStyle: css.value.borderStyle,
210
- borderColor: css.value.borderColor,
211
208
  boxShadow: properties.value.shadowSize
212
209
  ? `${px2rem(properties.value.shadowX)} ${px2rem(properties.value.shadowY)} ${px2rem(properties.value.shadowBlur)} ${properties.value.shadowColor}`
213
210
  : 'none'
@@ -298,10 +295,10 @@ var script$q = defineComponent({
298
295
  }
299
296
  });
300
297
 
301
- const _hoisted_1$l = ["data-id", "data-pid", "data-type", "data-show", "pid", "type", "layername", "sign", "signsort", "imgmattinginfo"];
302
- const _hoisted_2$h = ["src"];
298
+ const _hoisted_1$m = ["data-id", "data-pid", "data-type", "data-show", "pid", "type", "layername", "sign", "signsort", "imgmattinginfo"];
299
+ const _hoisted_2$j = ["src"];
303
300
 
304
- function render$m(_ctx, _cache, $props, $setup, $data, $options) {
301
+ function render$n(_ctx, _cache, $props, $setup, $data, $options) {
305
302
  return (openBlock(), createElementBlock("div", {
306
303
  class: "ele-img eles",
307
304
  "data-id": _ctx.element.id,
@@ -340,7 +337,7 @@ function render$m(_ctx, _cache, $props, $setup, $data, $options) {
340
337
  alt: "image",
341
338
  class: "ele-image",
342
339
  style: normalizeStyle(_ctx.imgTagStyle)
343
- }, null, 12 /* STYLE, PROPS */, _hoisted_2$h)
340
+ }, null, 12 /* STYLE, PROPS */, _hoisted_2$j)
344
341
  ], 4 /* STYLE */))
345
342
  : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
346
343
  createCommentVNode(" 图片展示方式2:使用背景图 "),
@@ -356,17 +353,17 @@ function render$m(_ctx, _cache, $props, $setup, $data, $options) {
356
353
  ], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */))
357
354
  ], 4 /* STYLE */)
358
355
  ], 4 /* STYLE */)
359
- ], 12 /* STYLE, PROPS */, _hoisted_1$l))
356
+ ], 12 /* STYLE, PROPS */, _hoisted_1$m))
360
357
  }
361
358
 
362
- script$q.render = render$m;
363
- script$q.__file = "src/components/UniImage/UniImage.vue";
359
+ script$r.render = render$n;
360
+ script$r.__file = "src/components/UniImage/UniImage.vue";
364
361
 
365
- script$q.install = (app) => {
366
- app.component(script$q.name, script$q);
362
+ script$r.install = (app) => {
363
+ app.component(script$r.name, script$r);
367
364
  };
368
365
 
369
- var script$p = defineComponent({
366
+ var script$q = defineComponent({
370
367
  name: 'uni-shape',
371
368
  props: {
372
369
  element: {
@@ -517,12 +514,12 @@ var script$p = defineComponent({
517
514
  }
518
515
  });
519
516
 
520
- const _hoisted_1$k = ["data-id"];
521
- const _hoisted_2$g = ["innerHTML"];
522
- const _hoisted_3$f = /*#__PURE__*/createElementVNode("div", { class: "svg-loading" }, "Loading...", -1 /* HOISTED */);
523
- const _hoisted_4$c = { class: "svg-error" };
517
+ const _hoisted_1$l = ["data-id"];
518
+ const _hoisted_2$i = ["innerHTML"];
519
+ const _hoisted_3$h = /*#__PURE__*/createElementVNode("div", { class: "svg-loading" }, "Loading...", -1 /* HOISTED */);
520
+ const _hoisted_4$d = { class: "svg-error" };
524
521
 
525
- function render$l(_ctx, _cache, $props, $setup, $data, $options) {
522
+ function render$m(_ctx, _cache, $props, $setup, $data, $options) {
526
523
  return (openBlock(), createElementBlock("div", {
527
524
  class: "ele-shape eles",
528
525
  "data-id": _ctx.element.id,
@@ -547,16 +544,16 @@ function render$l(_ctx, _cache, $props, $setup, $data, $options) {
547
544
  innerHTML: _ctx.processedSvg,
548
545
  class: "svg-container",
549
546
  style: {"width":"100%","height":"100%"}
550
- }, null, 8 /* PROPS */, _hoisted_2$g))
547
+ }, null, 8 /* PROPS */, _hoisted_2$i))
551
548
  : (_ctx.isLoading)
552
549
  ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
553
550
  createCommentVNode(" 加载状态 "),
554
- _hoisted_3$f
551
+ _hoisted_3$h
555
552
  ], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */))
556
553
  : (_ctx.loadError)
557
554
  ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
558
555
  createCommentVNode(" 错误状态 "),
559
- createElementVNode("div", _hoisted_4$c, [
556
+ createElementVNode("div", _hoisted_4$d, [
560
557
  renderSlot(_ctx.$slots, "error", {
561
558
  src: _ctx.properties.src
562
559
  }, () => [
@@ -567,14 +564,14 @@ function render$l(_ctx, _cache, $props, $setup, $data, $options) {
567
564
  : createCommentVNode("v-if", true)
568
565
  ], 4 /* STYLE */)
569
566
  ], 4 /* STYLE */)
570
- ], 12 /* STYLE, PROPS */, _hoisted_1$k))
567
+ ], 12 /* STYLE, PROPS */, _hoisted_1$l))
571
568
  }
572
569
 
573
- script$p.render = render$l;
574
- script$p.__file = "src/components/UniShape/UniShape.vue";
570
+ script$q.render = render$m;
571
+ script$q.__file = "src/components/UniShape/UniShape.vue";
575
572
 
576
- script$p.install = (app) => {
577
- app.component(script$p.name, script$p);
573
+ script$q.install = (app) => {
574
+ app.component(script$q.name, script$q);
578
575
  };
579
576
 
580
577
  const musicState = ref({
@@ -818,7 +815,7 @@ const useMusicManager = () => {
818
815
  };
819
816
  };
820
817
 
821
- var script$o = defineComponent({
818
+ var script$p = defineComponent({
822
819
  name: 'uni-music',
823
820
  props: {
824
821
  musicData: {
@@ -888,19 +885,19 @@ var script$o = defineComponent({
888
885
  }
889
886
  });
890
887
 
891
- const _hoisted_1$j = { id: "audio" };
892
- const _hoisted_2$f = ["src"];
893
- const _hoisted_3$e = {
888
+ const _hoisted_1$k = { id: "audio" };
889
+ const _hoisted_2$h = ["src"];
890
+ const _hoisted_3$g = {
894
891
  key: 1,
895
892
  class: "iconfont"
896
893
  };
897
- const _hoisted_4$b = ["src"];
898
- const _hoisted_5$a = /*#__PURE__*/createElementVNode("div", { class: "icon-cancel" }, [
894
+ const _hoisted_4$c = ["src"];
895
+ const _hoisted_5$b = /*#__PURE__*/createElementVNode("div", { class: "icon-cancel" }, [
899
896
  /*#__PURE__*/createElementVNode("div", { class: "icon-h" })
900
897
  ], -1 /* HOISTED */);
901
898
 
902
- function render$k(_ctx, _cache, $props, $setup, $data, $options) {
903
- return (openBlock(), createElementBlock("div", _hoisted_1$j, [
899
+ function render$l(_ctx, _cache, $props, $setup, $data, $options) {
900
+ return (openBlock(), createElementBlock("div", _hoisted_1$k, [
904
901
  createElementVNode("div", {
905
902
  class: normalizeClass(["audio", { 'a-border': _ctx.showBorder, 'mrotate': _ctx.localIsPlaying }]),
906
903
  style: normalizeStyle({ background: _ctx.bgColor }),
@@ -914,8 +911,8 @@ function render$k(_ctx, _cache, $props, $setup, $data, $options) {
914
911
  src: _ctx.playIconUrl,
915
912
  class: "music-icon",
916
913
  alt: "หยุดชั่วคราว"
917
- }, null, 8 /* PROPS */, _hoisted_2$f))
918
- : (openBlock(), createElementBlock("span", _hoisted_3$e, "❚❚"))
914
+ }, null, 8 /* PROPS */, _hoisted_2$h))
915
+ : (openBlock(), createElementBlock("span", _hoisted_3$g, "❚❚"))
919
916
  ], 64 /* STABLE_FRAGMENT */))
920
917
  : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
921
918
  (_ctx.playIconUrl)
@@ -924,22 +921,22 @@ function render$k(_ctx, _cache, $props, $setup, $data, $options) {
924
921
  src: _ctx.playIconUrl,
925
922
  class: "music-icon",
926
923
  alt: "กำลังเล่น"
927
- }, null, 8 /* PROPS */, _hoisted_4$b))
924
+ }, null, 8 /* PROPS */, _hoisted_4$c))
928
925
  : createCommentVNode("v-if", true),
929
- _hoisted_5$a
926
+ _hoisted_5$b
930
927
  ], 64 /* STABLE_FRAGMENT */))
931
928
  ], 6 /* CLASS, STYLE */)
932
929
  ]))
933
930
  }
934
931
 
935
- script$o.render = render$k;
936
- script$o.__file = "src/components/UniMusic/UniMusic.vue";
932
+ script$p.render = render$l;
933
+ script$p.__file = "src/components/UniMusic/UniMusic.vue";
937
934
 
938
- script$o.install = (app) => {
939
- app.component(script$o.name, script$o);
935
+ script$p.install = (app) => {
936
+ app.component(script$p.name, script$p);
940
937
  };
941
938
 
942
- var script$n = defineComponent({
939
+ var script$o = defineComponent({
943
940
  name: 'uni-video',
944
941
  props: {
945
942
  element: {
@@ -1012,27 +1009,27 @@ var script$n = defineComponent({
1012
1009
  }
1013
1010
  });
1014
1011
 
1015
- const _hoisted_1$i = {
1012
+ const _hoisted_1$j = {
1016
1013
  key: 0,
1017
1014
  class: "video-container"
1018
1015
  };
1019
- const _hoisted_2$e = ["src"];
1020
- const _hoisted_3$d = ["src"];
1016
+ const _hoisted_2$g = ["src"];
1017
+ const _hoisted_3$f = ["src"];
1021
1018
 
1022
- function render$j(_ctx, _cache, $props, $setup, $data, $options) {
1019
+ function render$k(_ctx, _cache, $props, $setup, $data, $options) {
1023
1020
  return (openBlock(), createElementBlock("div", {
1024
1021
  class: "element-video eles",
1025
1022
  style: normalizeStyle(_ctx.containerStyle)
1026
1023
  }, [
1027
1024
  createElementVNode("div", {
1028
1025
  class: "ani-wrap",
1029
- style: normalizeStyle({
1030
- ..._ctx.aniWrapStyle,
1031
- boxShadow: _ctx.shadowStyle
1026
+ style: normalizeStyle({
1027
+ ..._ctx.aniWrapStyle,
1028
+ boxShadow: _ctx.shadowStyle
1032
1029
  })
1033
1030
  }, [
1034
1031
  (_ctx.isPlaying)
1035
- ? (openBlock(), createElementBlock("div", _hoisted_1$i, [
1032
+ ? (openBlock(), createElementBlock("div", _hoisted_1$j, [
1036
1033
  createElementVNode("iframe", {
1037
1034
  src: _ctx.youtubeEmbedUrl,
1038
1035
  type: "text/html",
@@ -1040,7 +1037,7 @@ function render$j(_ctx, _cache, $props, $setup, $data, $options) {
1040
1037
  allowfullscreen: "",
1041
1038
  scrolling: "no",
1042
1039
  allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
1043
- }, null, 8 /* PROPS */, _hoisted_2$e)
1040
+ }, null, 8 /* PROPS */, _hoisted_2$g)
1044
1041
  ]))
1045
1042
  : (openBlock(), createElementBlock("div", {
1046
1043
  key: 1,
@@ -1052,20 +1049,20 @@ function render$j(_ctx, _cache, $props, $setup, $data, $options) {
1052
1049
  src: _ctx.element.properties.src,
1053
1050
  alt: "Play button",
1054
1051
  class: "play-btn"
1055
- }, null, 8 /* PROPS */, _hoisted_3$d)
1052
+ }, null, 8 /* PROPS */, _hoisted_3$f)
1056
1053
  ], 4 /* STYLE */))
1057
1054
  ], 4 /* STYLE */)
1058
1055
  ], 4 /* STYLE */))
1059
1056
  }
1060
1057
 
1061
- script$n.render = render$j;
1062
- script$n.__file = "src/components/UniVideo/UniVideo.vue";
1058
+ script$o.render = render$k;
1059
+ script$o.__file = "src/components/UniVideo/UniVideo.vue";
1063
1060
 
1064
- script$n.install = (app) => {
1065
- app.component(script$n.name, script$n);
1061
+ script$o.install = (app) => {
1062
+ app.component(script$o.name, script$o);
1066
1063
  };
1067
1064
 
1068
- var script$m = defineComponent({
1065
+ var script$n = defineComponent({
1069
1066
  name: 'uni-calendar',
1070
1067
  props: {
1071
1068
  element: {
@@ -1181,33 +1178,33 @@ var script$m = defineComponent({
1181
1178
  }
1182
1179
  });
1183
1180
 
1184
- const _hoisted_1$h = ["data-id", "data-pid", "data-type", "data-show", "pid", "type", "layername", "sign", "signsort"];
1185
- const _hoisted_2$d = {
1181
+ const _hoisted_1$i = ["data-id", "data-pid", "data-type", "data-show", "pid", "type", "layername", "sign", "signsort"];
1182
+ const _hoisted_2$f = {
1186
1183
  key: 0,
1187
1184
  class: "can-wrap"
1188
1185
  };
1189
- const _hoisted_3$c = { class: "can-top" };
1190
- const _hoisted_4$a = { class: "can-main" };
1191
- const _hoisted_5$9 = { class: "can-date" };
1192
- const _hoisted_6$7 = {
1186
+ const _hoisted_3$e = { class: "can-top" };
1187
+ const _hoisted_4$b = { class: "can-main" };
1188
+ const _hoisted_5$a = { class: "can-date" };
1189
+ const _hoisted_6$8 = {
1193
1190
  key: 1,
1194
1191
  class: "can-wrap2"
1195
1192
  };
1196
- const _hoisted_7$6 = { class: "can-top" };
1197
- const _hoisted_8$3 = /*#__PURE__*/createElementVNode("span", null, "/", -1 /* HOISTED */);
1198
- const _hoisted_9$3 = { class: "can-main" };
1199
- const _hoisted_10$3 = { class: "can-week" };
1200
- const _hoisted_11$3 = { class: "can-date" };
1201
- const _hoisted_12$3 = {
1193
+ const _hoisted_7$7 = { class: "can-top" };
1194
+ const _hoisted_8$4 = /*#__PURE__*/createElementVNode("span", null, "/", -1 /* HOISTED */);
1195
+ const _hoisted_9$4 = { class: "can-main" };
1196
+ const _hoisted_10$4 = { class: "can-week" };
1197
+ const _hoisted_11$4 = { class: "can-date" };
1198
+ const _hoisted_12$4 = {
1202
1199
  key: 2,
1203
1200
  class: "can-wrap3"
1204
1201
  };
1205
- const _hoisted_13$3 = { class: "can-top" };
1206
- const _hoisted_14$3 = /*#__PURE__*/createElementVNode("span", null, "/", -1 /* HOISTED */);
1207
- const _hoisted_15$3 = { class: "can-main" };
1208
- const _hoisted_16$3 = { class: "can-date" };
1202
+ const _hoisted_13$4 = { class: "can-top" };
1203
+ const _hoisted_14$4 = /*#__PURE__*/createElementVNode("span", null, "/", -1 /* HOISTED */);
1204
+ const _hoisted_15$4 = { class: "can-main" };
1205
+ const _hoisted_16$4 = { class: "can-date" };
1209
1206
 
1210
- function render$i(_ctx, _cache, $props, $setup, $data, $options) {
1207
+ function render$j(_ctx, _cache, $props, $setup, $data, $options) {
1211
1208
  return (openBlock(), createElementBlock("div", {
1212
1209
  class: "ele-calendar eles",
1213
1210
  "data-id": _ctx.element.id,
@@ -1227,8 +1224,8 @@ function render$i(_ctx, _cache, $props, $setup, $data, $options) {
1227
1224
  style: normalizeStyle(_ctx.aniWrapStyle)
1228
1225
  }, [
1229
1226
  (_ctx.element.kind === 1)
1230
- ? (openBlock(), createElementBlock("div", _hoisted_2$d, [
1231
- createElementVNode("div", _hoisted_3$c, [
1227
+ ? (openBlock(), createElementBlock("div", _hoisted_2$f, [
1228
+ createElementVNode("div", _hoisted_3$e, [
1232
1229
  createElementVNode("div", {
1233
1230
  class: "can-left",
1234
1231
  style: normalizeStyle({ color: _ctx.element.themeColor || '#ed5566' })
@@ -1241,7 +1238,7 @@ function render$i(_ctx, _cache, $props, $setup, $data, $options) {
1241
1238
  createTextVNode(" " + toDisplayString(_ctx.month), 1 /* TEXT */)
1242
1239
  ], 4 /* STYLE */)
1243
1240
  ]),
1244
- createElementVNode("div", _hoisted_4$a, [
1241
+ createElementVNode("div", _hoisted_4$b, [
1245
1242
  createElementVNode("div", {
1246
1243
  class: "can-week",
1247
1244
  style: normalizeStyle({ backgroundColor: _ctx.element.themeColor || '#ed5566' })
@@ -1250,7 +1247,7 @@ function render$i(_ctx, _cache, $props, $setup, $data, $options) {
1250
1247
  return (openBlock(), createElementBlock("span", { key: day }, toDisplayString(day), 1 /* TEXT */))
1251
1248
  }), 128 /* KEYED_FRAGMENT */))
1252
1249
  ], 4 /* STYLE */),
1253
- createElementVNode("div", _hoisted_5$9, [
1250
+ createElementVNode("div", _hoisted_5$a, [
1254
1251
  createElementVNode("ul", null, [
1255
1252
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.days, (day, index) => {
1256
1253
  return (openBlock(), createElementBlock("li", {
@@ -1279,19 +1276,19 @@ function render$i(_ctx, _cache, $props, $setup, $data, $options) {
1279
1276
  ]))
1280
1277
  : createCommentVNode("v-if", true),
1281
1278
  (_ctx.element.kind === 2)
1282
- ? (openBlock(), createElementBlock("div", _hoisted_6$7, [
1283
- createElementVNode("div", _hoisted_7$6, [
1279
+ ? (openBlock(), createElementBlock("div", _hoisted_6$8, [
1280
+ createElementVNode("div", _hoisted_7$7, [
1284
1281
  createElementVNode("div", {
1285
1282
  class: "can-size",
1286
1283
  style: normalizeStyle({ color: _ctx.element.themeColor || '#ed5566' })
1287
1284
  }, [
1288
1285
  createTextVNode(toDisplayString(_ctx.currentDay) + " ", 1 /* TEXT */),
1289
- _hoisted_8$3,
1286
+ _hoisted_8$4,
1290
1287
  createTextVNode(" " + toDisplayString(_ctx.currentMonth), 1 /* TEXT */)
1291
1288
  ], 4 /* STYLE */)
1292
1289
  ]),
1293
- createElementVNode("div", _hoisted_9$3, [
1294
- createElementVNode("div", _hoisted_10$3, [
1290
+ createElementVNode("div", _hoisted_9$4, [
1291
+ createElementVNode("div", _hoisted_10$4, [
1295
1292
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.weekDays, (day) => {
1296
1293
  return (openBlock(), createElementBlock("span", {
1297
1294
  key: day,
@@ -1299,7 +1296,7 @@ function render$i(_ctx, _cache, $props, $setup, $data, $options) {
1299
1296
  }, toDisplayString(day), 5 /* TEXT, STYLE */))
1300
1297
  }), 128 /* KEYED_FRAGMENT */))
1301
1298
  ]),
1302
- createElementVNode("div", _hoisted_11$3, [
1299
+ createElementVNode("div", _hoisted_11$4, [
1303
1300
  createElementVNode("div", {
1304
1301
  class: "can-year",
1305
1302
  style: normalizeStyle({ color: _ctx.element.themeColor || '#ed5566' })
@@ -1332,14 +1329,14 @@ function render$i(_ctx, _cache, $props, $setup, $data, $options) {
1332
1329
  ]))
1333
1330
  : createCommentVNode("v-if", true),
1334
1331
  (_ctx.element.kind === 3)
1335
- ? (openBlock(), createElementBlock("div", _hoisted_12$3, [
1336
- createElementVNode("div", _hoisted_13$3, [
1332
+ ? (openBlock(), createElementBlock("div", _hoisted_12$4, [
1333
+ createElementVNode("div", _hoisted_13$4, [
1337
1334
  createElementVNode("div", {
1338
1335
  class: "can-size",
1339
1336
  style: normalizeStyle({ color: _ctx.element.themeColor || '#ed5566' })
1340
1337
  }, [
1341
1338
  createTextVNode(toDisplayString(_ctx.currentDay) + " ", 1 /* TEXT */),
1342
- _hoisted_14$3,
1339
+ _hoisted_14$4,
1343
1340
  createTextVNode(" " + toDisplayString(_ctx.currentMonth), 1 /* TEXT */)
1344
1341
  ], 4 /* STYLE */),
1345
1342
  createElementVNode("div", {
@@ -1347,7 +1344,7 @@ function render$i(_ctx, _cache, $props, $setup, $data, $options) {
1347
1344
  style: normalizeStyle({ color: _ctx.element.themeColor || '#ed5566' })
1348
1345
  }, "-" + toDisplayString(_ctx.currentYear) + "-", 5 /* TEXT, STYLE */)
1349
1346
  ]),
1350
- createElementVNode("div", _hoisted_15$3, [
1347
+ createElementVNode("div", _hoisted_15$4, [
1351
1348
  createElementVNode("div", {
1352
1349
  class: "can-week",
1353
1350
  style: normalizeStyle({ borderColor: _ctx.element.themeColor || '#ed5566' })
@@ -1359,7 +1356,7 @@ function render$i(_ctx, _cache, $props, $setup, $data, $options) {
1359
1356
  }, toDisplayString(day), 5 /* TEXT, STYLE */))
1360
1357
  }), 128 /* KEYED_FRAGMENT */))
1361
1358
  ], 4 /* STYLE */),
1362
- createElementVNode("div", _hoisted_16$3, [
1359
+ createElementVNode("div", _hoisted_16$4, [
1363
1360
  createElementVNode("ul", null, [
1364
1361
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.days, (day, index) => {
1365
1362
  return (openBlock(), createElementBlock("li", {
@@ -1388,17 +1385,18 @@ function render$i(_ctx, _cache, $props, $setup, $data, $options) {
1388
1385
  ]))
1389
1386
  : createCommentVNode("v-if", true)
1390
1387
  ], 4 /* STYLE */)
1391
- ], 12 /* STYLE, PROPS */, _hoisted_1$h))
1388
+ ], 12 /* STYLE, PROPS */, _hoisted_1$i))
1392
1389
  }
1393
1390
 
1394
- script$m.render = render$i;
1395
- script$m.__file = "src/components/UniCalendar/UniCalendar.vue";
1391
+ script$n.render = render$j;
1392
+ script$n.__file = "src/components/UniCalendar/UniCalendar.vue";
1396
1393
 
1397
- script$m.install = (app) => {
1398
- app.component(script$m.name, script$m);
1394
+ script$n.install = (app) => {
1395
+ app.component(script$n.name, script$n);
1399
1396
  };
1400
1397
 
1401
- var script$l = defineComponent({
1398
+ // @ts-nocheck
1399
+ var script$m = defineComponent({
1402
1400
  name: 'uni-countdown',
1403
1401
  props: {
1404
1402
  element: {
@@ -1565,6 +1563,7 @@ var script$l = defineComponent({
1565
1563
  onUnmounted(() => {
1566
1564
  stopCountdown();
1567
1565
  });
1566
+ const isVertical = computed(() => props.element.direction === 'vertical');
1568
1567
  // 容器样式
1569
1568
  const containerStyle = computed(() => ({
1570
1569
  position: (props.element && props.element.css && props.element.css.position) || 'absolute',
@@ -1573,7 +1572,8 @@ var script$l = defineComponent({
1573
1572
  width: px2rem(props.element.css.width),
1574
1573
  height: px2rem(props.element.css.height),
1575
1574
  transform: `rotate(${props.element.css.transform}deg)`,
1576
- opacity: props.element.css.opacity
1575
+ opacity: props.element.css.opacity,
1576
+ overflow: 'visible',
1577
1577
  }));
1578
1578
  // 文本模式容器样式
1579
1579
  const textContainerStyle = computed(() => ({
@@ -1582,6 +1582,10 @@ var script$l = defineComponent({
1582
1582
  borderRadius: px2rem(props.element.css.borderRadius || 0),
1583
1583
  borderStyle: props.element.css.borderStyle,
1584
1584
  borderWidth: px2rem(props.element.css.borderWidth || 0),
1585
+ display: isVertical.value ? 'flex' : undefined,
1586
+ flexDirection: isVertical.value ? 'column' : undefined,
1587
+ alignItems: isVertical.value ? 'center' : undefined,
1588
+ justifyContent: isVertical.value ? 'center' : undefined,
1585
1589
  }));
1586
1590
  // 文本内容样式
1587
1591
  const textContentStyle = computed(() => ({
@@ -1594,8 +1598,13 @@ var script$l = defineComponent({
1594
1598
  const flipStyle = computed(() => ({
1595
1599
  transform: getScaleValue(),
1596
1600
  opacity: props.element.css.opacity,
1597
- flexDirection: props.element.direction === 'vertical' ? 'column' : 'row',
1598
- alignItems: props.element.direction === 'center'
1601
+ display: 'flex',
1602
+ flexDirection: isVertical.value ? 'column' : 'row',
1603
+ alignItems: 'center',
1604
+ justifyContent: 'center',
1605
+ width: '100%',
1606
+ height: isVertical.value ? 'auto' : '100%',
1607
+ minHeight: isVertical.value ? '100%' : undefined,
1599
1608
  }));
1600
1609
  // 获取缩放值
1601
1610
  const getScaleValue = () => {
@@ -1612,7 +1621,8 @@ var script$l = defineComponent({
1612
1621
  borderWidth: px2rem(props.element.css.borderWidth || 0),
1613
1622
  borderRadius: px2rem(props.element.css.borderRadius || 0),
1614
1623
  backgroundColor: props.element.css.backgroundColor,
1615
- margin: props.element.direction === 'vertical' ? px2rem(6) + ' 0' : '0 ' + px2rem(6)
1624
+ margin: isVertical.value ? `${px2rem(6)} 0` : `0 ${px2rem(6)}`,
1625
+ flexShrink: 0,
1616
1626
  }));
1617
1627
  // 数字样式
1618
1628
  const numStyle = computed(() => ({
@@ -1677,30 +1687,30 @@ var script$l = defineComponent({
1677
1687
  }
1678
1688
  });
1679
1689
 
1680
- const _hoisted_1$g = ["data-id", "data-pid", "data-type", "data-show", "pid", "type", "layername", "sign", "signsort"];
1681
- const _hoisted_2$c = ["data-direction"];
1682
- const _hoisted_3$b = { class: "c-wrap" };
1683
- const _hoisted_4$9 = { class: "c-num c-left" };
1684
- const _hoisted_5$8 = { class: "flex-wrap" };
1685
- const _hoisted_6$6 = { class: "c-num c-right" };
1686
- const _hoisted_7$5 = { class: "flex-wrap" };
1687
- const _hoisted_8$2 = { class: "c-wrap" };
1688
- const _hoisted_9$2 = { class: "c-num c-left" };
1689
- const _hoisted_10$2 = { class: "flex-wrap" };
1690
- const _hoisted_11$2 = { class: "c-num c-right" };
1691
- const _hoisted_12$2 = { class: "flex-wrap" };
1692
- const _hoisted_13$2 = { class: "c-wrap" };
1693
- const _hoisted_14$2 = { class: "c-num c-left" };
1694
- const _hoisted_15$2 = { class: "flex-wrap" };
1695
- const _hoisted_16$2 = { class: "c-num c-right" };
1696
- const _hoisted_17$2 = { class: "flex-wrap" };
1697
- const _hoisted_18$2 = { class: "c-wrap" };
1698
- const _hoisted_19$2 = { class: "c-num c-left" };
1699
- const _hoisted_20$2 = { class: "flex-wrap" };
1700
- const _hoisted_21$2 = { class: "c-num c-right" };
1701
- const _hoisted_22$2 = { class: "flex-wrap" };
1690
+ const _hoisted_1$h = ["data-id", "data-pid", "data-type", "data-show", "pid", "type", "layername", "sign", "signsort"];
1691
+ const _hoisted_2$e = ["data-direction"];
1692
+ const _hoisted_3$d = { class: "c-wrap" };
1693
+ const _hoisted_4$a = { class: "c-num c-left" };
1694
+ const _hoisted_5$9 = { class: "flex-wrap" };
1695
+ const _hoisted_6$7 = { class: "c-num c-right" };
1696
+ const _hoisted_7$6 = { class: "flex-wrap" };
1697
+ const _hoisted_8$3 = { class: "c-wrap" };
1698
+ const _hoisted_9$3 = { class: "c-num c-left" };
1699
+ const _hoisted_10$3 = { class: "flex-wrap" };
1700
+ const _hoisted_11$3 = { class: "c-num c-right" };
1701
+ const _hoisted_12$3 = { class: "flex-wrap" };
1702
+ const _hoisted_13$3 = { class: "c-wrap" };
1703
+ const _hoisted_14$3 = { class: "c-num c-left" };
1704
+ const _hoisted_15$3 = { class: "flex-wrap" };
1705
+ const _hoisted_16$3 = { class: "c-num c-right" };
1706
+ const _hoisted_17$3 = { class: "flex-wrap" };
1707
+ const _hoisted_18$3 = { class: "c-wrap" };
1708
+ const _hoisted_19$3 = { class: "c-num c-left" };
1709
+ const _hoisted_20$3 = { class: "flex-wrap" };
1710
+ const _hoisted_21$3 = { class: "c-num c-right" };
1711
+ const _hoisted_22$3 = { class: "flex-wrap" };
1702
1712
 
1703
- function render$h(_ctx, _cache, $props, $setup, $data, $options) {
1713
+ function render$i(_ctx, _cache, $props, $setup, $data, $options) {
1704
1714
  return (openBlock(), createElementBlock("div", {
1705
1715
  class: "count-down eles",
1706
1716
  "data-id": _ctx.element.id,
@@ -1742,9 +1752,9 @@ function render$h(_ctx, _cache, $props, $setup, $data, $options) {
1742
1752
  class: "c-com c-day",
1743
1753
  style: normalizeStyle(_ctx.comStyle)
1744
1754
  }, [
1745
- createElementVNode("div", _hoisted_3$b, [
1746
- createElementVNode("div", _hoisted_4$9, [
1747
- createElementVNode("div", _hoisted_5$8, [
1755
+ createElementVNode("div", _hoisted_3$d, [
1756
+ createElementVNode("div", _hoisted_4$a, [
1757
+ createElementVNode("div", _hoisted_5$9, [
1748
1758
  (_ctx.days >= 100)
1749
1759
  ? (openBlock(), createElementBlock("div", {
1750
1760
  key: 0,
@@ -1762,8 +1772,8 @@ function render$h(_ctx, _cache, $props, $setup, $data, $options) {
1762
1772
  }, toDisplayString(_ctx.currentDaysLeft), 5 /* TEXT, STYLE */)
1763
1773
  ])
1764
1774
  ]),
1765
- createElementVNode("div", _hoisted_6$6, [
1766
- createElementVNode("div", _hoisted_7$5, [
1775
+ createElementVNode("div", _hoisted_6$7, [
1776
+ createElementVNode("div", _hoisted_7$6, [
1767
1777
  createElementVNode("div", {
1768
1778
  class: "next-num",
1769
1779
  style: normalizeStyle(_ctx.numStyle)
@@ -1785,9 +1795,9 @@ function render$h(_ctx, _cache, $props, $setup, $data, $options) {
1785
1795
  class: "c-com c-hour",
1786
1796
  style: normalizeStyle(_ctx.comStyle)
1787
1797
  }, [
1788
- createElementVNode("div", _hoisted_8$2, [
1789
- createElementVNode("div", _hoisted_9$2, [
1790
- createElementVNode("div", _hoisted_10$2, [
1798
+ createElementVNode("div", _hoisted_8$3, [
1799
+ createElementVNode("div", _hoisted_9$3, [
1800
+ createElementVNode("div", _hoisted_10$3, [
1791
1801
  createElementVNode("div", {
1792
1802
  class: "next-num",
1793
1803
  style: normalizeStyle(_ctx.numStyle)
@@ -1798,8 +1808,8 @@ function render$h(_ctx, _cache, $props, $setup, $data, $options) {
1798
1808
  }, toDisplayString(_ctx.currentHoursLeft), 5 /* TEXT, STYLE */)
1799
1809
  ])
1800
1810
  ]),
1801
- createElementVNode("div", _hoisted_11$2, [
1802
- createElementVNode("div", _hoisted_12$2, [
1811
+ createElementVNode("div", _hoisted_11$3, [
1812
+ createElementVNode("div", _hoisted_12$3, [
1803
1813
  createElementVNode("div", {
1804
1814
  class: "next-num",
1805
1815
  style: normalizeStyle(_ctx.numStyle)
@@ -1821,9 +1831,9 @@ function render$h(_ctx, _cache, $props, $setup, $data, $options) {
1821
1831
  class: "c-com c-minute",
1822
1832
  style: normalizeStyle(_ctx.comStyle)
1823
1833
  }, [
1824
- createElementVNode("div", _hoisted_13$2, [
1825
- createElementVNode("div", _hoisted_14$2, [
1826
- createElementVNode("div", _hoisted_15$2, [
1834
+ createElementVNode("div", _hoisted_13$3, [
1835
+ createElementVNode("div", _hoisted_14$3, [
1836
+ createElementVNode("div", _hoisted_15$3, [
1827
1837
  createElementVNode("div", {
1828
1838
  class: "next-num",
1829
1839
  style: normalizeStyle(_ctx.numStyle)
@@ -1834,8 +1844,8 @@ function render$h(_ctx, _cache, $props, $setup, $data, $options) {
1834
1844
  }, toDisplayString(_ctx.currentMinutesLeft), 5 /* TEXT, STYLE */)
1835
1845
  ])
1836
1846
  ]),
1837
- createElementVNode("div", _hoisted_16$2, [
1838
- createElementVNode("div", _hoisted_17$2, [
1847
+ createElementVNode("div", _hoisted_16$3, [
1848
+ createElementVNode("div", _hoisted_17$3, [
1839
1849
  createElementVNode("div", {
1840
1850
  class: "next-num",
1841
1851
  style: normalizeStyle(_ctx.numStyle)
@@ -1857,9 +1867,9 @@ function render$h(_ctx, _cache, $props, $setup, $data, $options) {
1857
1867
  class: "c-com c-second",
1858
1868
  style: normalizeStyle(_ctx.comStyle)
1859
1869
  }, [
1860
- createElementVNode("div", _hoisted_18$2, [
1861
- createElementVNode("div", _hoisted_19$2, [
1862
- createElementVNode("div", _hoisted_20$2, [
1870
+ createElementVNode("div", _hoisted_18$3, [
1871
+ createElementVNode("div", _hoisted_19$3, [
1872
+ createElementVNode("div", _hoisted_20$3, [
1863
1873
  createElementVNode("div", {
1864
1874
  class: "next-num",
1865
1875
  style: normalizeStyle(_ctx.numStyle)
@@ -1870,8 +1880,8 @@ function render$h(_ctx, _cache, $props, $setup, $data, $options) {
1870
1880
  }, toDisplayString(_ctx.currentSecondsLeft), 5 /* TEXT, STYLE */)
1871
1881
  ])
1872
1882
  ]),
1873
- createElementVNode("div", _hoisted_21$2, [
1874
- createElementVNode("div", _hoisted_22$2, [
1883
+ createElementVNode("div", _hoisted_21$3, [
1884
+ createElementVNode("div", _hoisted_22$3, [
1875
1885
  createElementVNode("div", {
1876
1886
  class: "next-num",
1877
1887
  style: normalizeStyle(_ctx.numStyle)
@@ -1888,32 +1898,38 @@ function render$h(_ctx, _cache, $props, $setup, $data, $options) {
1888
1898
  }, toDisplayString(_ctx.second), 5 /* TEXT, STYLE */)
1889
1899
  ])
1890
1900
  ], 4 /* STYLE */)
1891
- ], 14 /* CLASS, STYLE, PROPS */, _hoisted_2$c)
1901
+ ], 14 /* CLASS, STYLE, PROPS */, _hoisted_2$e)
1892
1902
  ], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */))
1893
1903
  ], 4 /* STYLE */)
1894
- ], 12 /* STYLE, PROPS */, _hoisted_1$g))
1904
+ ], 12 /* STYLE, PROPS */, _hoisted_1$h))
1895
1905
  }
1896
1906
 
1897
- script$l.render = render$h;
1898
- script$l.__scopeId = "data-v-bb868822";
1899
- script$l.__file = "src/components/UniCountdown/UniCountdown.vue";
1907
+ script$m.render = render$i;
1908
+ script$m.__scopeId = "data-v-bb868822";
1909
+ script$m.__file = "src/components/UniCountdown/UniCountdown.vue";
1900
1910
 
1901
- script$l.install = (app) => {
1902
- app.component(script$l.name, script$l);
1911
+ script$m.install = (app) => {
1912
+ app.component(script$m.name, script$m);
1903
1913
  };
1904
1914
 
1905
- var script$k = defineComponent({
1915
+ var script$l = defineComponent({
1906
1916
  name: 'uni-map',
1907
1917
  props: {
1908
1918
  element: {
1909
1919
  type: Object,
1910
1920
  required: true,
1911
1921
  },
1922
+ isEditing: {
1923
+ type: Boolean,
1924
+ default: false,
1925
+ },
1912
1926
  },
1913
1927
  setup(props) {
1914
1928
  const iframeUrl = computed(() => (props.element.iframeUrl || '').replace('width="600"', 'width="100%"').replace('height="450"', 'height="100%"'));
1915
1929
  // 处理导航按钮点击
1916
1930
  const handleNavigation = () => {
1931
+ if (props.isEditing)
1932
+ return;
1917
1933
  window.open(props.element.url);
1918
1934
  };
1919
1935
  // 容器样式
@@ -1966,11 +1982,11 @@ var script$k = defineComponent({
1966
1982
  }
1967
1983
  });
1968
1984
 
1969
- const _hoisted_1$f = ["data-id", "data-pid", "data-type", "data-show", "pid", "type", "layername", "sign", "signsort"];
1970
- const _hoisted_2$b = ["innerHTML"];
1971
- const _hoisted_3$a = /*#__PURE__*/createElementVNode("div", { class: "mask-map" }, null, -1 /* HOISTED */);
1985
+ const _hoisted_1$g = ["data-id", "data-pid", "data-type", "data-show", "pid", "type", "layername", "sign", "signsort"];
1986
+ const _hoisted_2$d = ["innerHTML"];
1987
+ const _hoisted_3$c = /*#__PURE__*/createElementVNode("div", { class: "mask-map" }, null, -1 /* HOISTED */);
1972
1988
 
1973
- function render$g(_ctx, _cache, $props, $setup, $data, $options) {
1989
+ function render$h(_ctx, _cache, $props, $setup, $data, $options) {
1974
1990
  return (openBlock(), createElementBlock("div", {
1975
1991
  class: "element-ditu eles",
1976
1992
  "data-id": _ctx.element.id,
@@ -1986,9 +2002,9 @@ function render$g(_ctx, _cache, $props, $setup, $data, $options) {
1986
2002
  }, [
1987
2003
  createElementVNode("div", {
1988
2004
  class: "ani-wrap",
1989
- style: normalizeStyle({
1990
- ..._ctx.aniWrapStyle,
1991
- boxShadow: _ctx.shadowStyle
2005
+ style: normalizeStyle({
2006
+ ..._ctx.aniWrapStyle,
2007
+ boxShadow: _ctx.shadowStyle
1992
2008
  })
1993
2009
  }, [
1994
2010
  (_ctx.element.mapStyle === 'default')
@@ -2002,10 +2018,10 @@ function render$g(_ctx, _cache, $props, $setup, $data, $options) {
2002
2018
  createElementVNode("div", {
2003
2019
  innerHTML: _ctx.iframeUrl,
2004
2020
  class: "map-iframe"
2005
- }, null, 8 /* PROPS */, _hoisted_2$b),
2021
+ }, null, 8 /* PROPS */, _hoisted_2$d),
2006
2022
  createCommentVNode(" 隐藏的辅助元素 "),
2007
- 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> "),
2008
- _hoisted_3$a
2023
+ 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> "),
2024
+ _hoisted_3$c
2009
2025
  ], 4 /* STYLE */))
2010
2026
  : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
2011
2027
  createCommentVNode(" 导航按钮 "),
@@ -2023,23 +2039,27 @@ function render$g(_ctx, _cache, $props, $setup, $data, $options) {
2023
2039
  ], 4 /* STYLE */)
2024
2040
  ], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */))
2025
2041
  ], 4 /* STYLE */)
2026
- ], 12 /* STYLE, PROPS */, _hoisted_1$f))
2042
+ ], 12 /* STYLE, PROPS */, _hoisted_1$g))
2027
2043
  }
2028
2044
 
2029
- script$k.render = render$g;
2030
- script$k.__file = "src/components/UniMap/UniMap.vue";
2045
+ script$l.render = render$h;
2046
+ script$l.__file = "src/components/UniMap/UniMap.vue";
2031
2047
 
2032
- script$k.install = (app) => {
2033
- app.component(script$k.name, script$k);
2048
+ script$l.install = (app) => {
2049
+ app.component(script$l.name, script$l);
2034
2050
  };
2035
2051
 
2036
- var script$j = defineComponent({
2052
+ var script$k = defineComponent({
2037
2053
  name: 'uni-call',
2038
2054
  props: {
2039
2055
  element: {
2040
2056
  type: Object,
2041
2057
  required: true
2042
2058
  },
2059
+ isEditing: {
2060
+ type: Boolean,
2061
+ default: false,
2062
+ },
2043
2063
  },
2044
2064
  setup(props) {
2045
2065
  const containerStyle = computed(() => ({
@@ -2073,6 +2093,8 @@ var script$j = defineComponent({
2073
2093
  const btnText = computed(() => props.element.btnText || 'โทรออกด่วน');
2074
2094
  const css = computed(() => props.element.css);
2075
2095
  const handleDial = () => {
2096
+ if (props.isEditing)
2097
+ return;
2076
2098
  const phoneNumber = props.element.tel;
2077
2099
  if (!phoneNumber)
2078
2100
  return;
@@ -2110,22 +2132,24 @@ var script$j = defineComponent({
2110
2132
  }
2111
2133
  });
2112
2134
 
2113
- const _hoisted_1$e = { class: "call-content" };
2135
+ const _hoisted_1$f = ["data-id"];
2136
+ const _hoisted_2$c = { class: "call-content" };
2114
2137
 
2115
- function render$f(_ctx, _cache, $props, $setup, $data, $options) {
2138
+ function render$g(_ctx, _cache, $props, $setup, $data, $options) {
2116
2139
  return (openBlock(), createElementBlock("div", {
2117
2140
  class: "call eles",
2141
+ "data-id": _ctx.element.id,
2118
2142
  style: normalizeStyle(_ctx.containerStyle),
2119
2143
  onClick: _cache[0] || (_cache[0] = (...args) => (_ctx.handleDial && _ctx.handleDial(...args)))
2120
2144
  }, [
2121
2145
  createElementVNode("div", {
2122
2146
  class: "ani-wrap",
2123
- style: normalizeStyle({
2124
- ..._ctx.aniWrapStyle,
2125
- boxShadow: _ctx.shadowStyle
2147
+ style: normalizeStyle({
2148
+ ..._ctx.aniWrapStyle,
2149
+ boxShadow: _ctx.shadowStyle
2126
2150
  })
2127
2151
  }, [
2128
- createElementVNode("div", _hoisted_1$e, [
2152
+ createElementVNode("div", _hoisted_2$c, [
2129
2153
  createElementVNode("i", {
2130
2154
  class: "iconfont hb-tel",
2131
2155
  style: normalizeStyle(_ctx.bntStyle)
@@ -2136,14 +2160,14 @@ function render$f(_ctx, _cache, $props, $setup, $data, $options) {
2136
2160
  }, toDisplayString(_ctx.btnText), 5 /* TEXT, STYLE */)
2137
2161
  ])
2138
2162
  ], 4 /* STYLE */)
2139
- ], 4 /* STYLE */))
2163
+ ], 12 /* STYLE, PROPS */, _hoisted_1$f))
2140
2164
  }
2141
2165
 
2142
- script$j.render = render$f;
2143
- script$j.__file = "src/components/UniCall/UniCall.vue";
2166
+ script$k.render = render$g;
2167
+ script$k.__file = "src/components/UniCall/UniCall.vue";
2144
2168
 
2145
- script$j.install = (app) => {
2146
- app.component(script$j.name, script$j);
2169
+ script$k.install = (app) => {
2170
+ app.component(script$k.name, script$k);
2147
2171
  };
2148
2172
 
2149
2173
  // 花瓣图片资源 (base64编码)
@@ -2183,7 +2207,7 @@ const petal_images = [
2183
2207
  'https://h5cdn.unika.cc/static/img/uniComponents/huaban.png'
2184
2208
  // 可以添加更多花瓣图片
2185
2209
  ];
2186
- var script$i = defineComponent({
2210
+ var script$j = defineComponent({
2187
2211
  name: 'uni-effect',
2188
2212
  props: {
2189
2213
  element: {
@@ -2281,14 +2305,14 @@ var script$i = defineComponent({
2281
2305
  }
2282
2306
  });
2283
2307
 
2284
- const _hoisted_1$d = { class: "effect-wrap" };
2308
+ const _hoisted_1$e = { class: "effect-wrap" };
2285
2309
 
2286
- function render$e(_ctx, _cache, $props, $setup, $data, $options) {
2310
+ function render$f(_ctx, _cache, $props, $setup, $data, $options) {
2287
2311
  return withDirectives((openBlock(), createElementBlock("div", {
2288
2312
  class: "ele-effect eles",
2289
2313
  style: normalizeStyle(_ctx.containerStyle)
2290
2314
  }, [
2291
- createElementVNode("div", _hoisted_1$d, [
2315
+ createElementVNode("div", _hoisted_1$e, [
2292
2316
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.particles, (particle, index) => {
2293
2317
  return (openBlock(), createElementBlock("div", {
2294
2318
  key: index,
@@ -2302,11 +2326,11 @@ function render$e(_ctx, _cache, $props, $setup, $data, $options) {
2302
2326
  ])
2303
2327
  }
2304
2328
 
2305
- script$i.render = render$e;
2306
- script$i.__file = "src/components/UniEffect/UniEffect.vue";
2329
+ script$j.render = render$f;
2330
+ script$j.__file = "src/components/UniEffect/UniEffect.vue";
2307
2331
 
2308
- script$i.install = (app) => {
2309
- app.component(script$i.name, script$i);
2332
+ script$j.install = (app) => {
2333
+ app.component(script$j.name, script$j);
2310
2334
  };
2311
2335
 
2312
2336
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
@@ -23035,13 +23059,13 @@ var DataView = getNative(root$1, "DataView");
23035
23059
  var DataView$1 = DataView;
23036
23060
  var Promise$1 = getNative(root$1, "Promise");
23037
23061
  var Promise$2 = Promise$1;
23038
- var Set = getNative(root$1, "Set");
23039
- var Set$1 = Set;
23062
+ var Set$1 = getNative(root$1, "Set");
23063
+ var Set$1$1 = Set$1;
23040
23064
  var mapTag$4 = "[object Map]", objectTag$2 = "[object Object]", promiseTag = "[object Promise]", setTag$4 = "[object Set]", weakMapTag$1 = "[object WeakMap]";
23041
23065
  var dataViewTag$3 = "[object DataView]";
23042
- var dataViewCtorString = toSource(DataView$1), mapCtorString = toSource(Map$1), promiseCtorString = toSource(Promise$2), setCtorString = toSource(Set$1), weakMapCtorString = toSource(WeakMap$1);
23066
+ var dataViewCtorString = toSource(DataView$1), mapCtorString = toSource(Map$1), promiseCtorString = toSource(Promise$2), setCtorString = toSource(Set$1$1), weakMapCtorString = toSource(WeakMap$1);
23043
23067
  var getTag = baseGetTag;
23044
- 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) {
23068
+ 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) {
23045
23069
  getTag = function(value) {
23046
23070
  var result = baseGetTag(value), Ctor = result == objectTag$2 ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
23047
23071
  if (ctorString) {
@@ -23788,7 +23812,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
23788
23812
  }
23789
23813
  var Vue3Lottie = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
23790
23814
 
23791
- var script$h = defineComponent({
23815
+ var script$i = defineComponent({
23792
23816
  name: 'uni-lottie',
23793
23817
  components: {
23794
23818
  Vue3Lottie
@@ -23849,9 +23873,9 @@ var script$h = defineComponent({
23849
23873
  }
23850
23874
  });
23851
23875
 
23852
- const _hoisted_1$c = ["data-id", "data-pid", "data-type", "data-show"];
23876
+ const _hoisted_1$d = ["data-id", "data-pid", "data-type", "data-show"];
23853
23877
 
23854
- function render$d(_ctx, _cache, $props, $setup, $data, $options) {
23878
+ function render$e(_ctx, _cache, $props, $setup, $data, $options) {
23855
23879
  const _component_Vue3Lottie = resolveComponent("Vue3Lottie");
23856
23880
 
23857
23881
  return (openBlock(), createElementBlock("div", {
@@ -23874,17 +23898,17 @@ function render$d(_ctx, _cache, $props, $setup, $data, $options) {
23874
23898
  ref: "lottieAnimation"
23875
23899
  }, null, 8 /* PROPS */, ["style", "animationLink", "loop", "delay"])
23876
23900
  ], 4 /* STYLE */)
23877
- ], 12 /* STYLE, PROPS */, _hoisted_1$c))
23901
+ ], 12 /* STYLE, PROPS */, _hoisted_1$d))
23878
23902
  }
23879
23903
 
23880
- script$h.render = render$d;
23881
- script$h.__file = "src/components/UniLottie/UniLottie.vue";
23904
+ script$i.render = render$e;
23905
+ script$i.__file = "src/components/UniLottie/UniLottie.vue";
23882
23906
 
23883
- script$h.install = (app) => {
23884
- app.component(script$h.name, script$h);
23907
+ script$i.install = (app) => {
23908
+ app.component(script$i.name, script$i);
23885
23909
  };
23886
23910
 
23887
- var script$g = defineComponent({
23911
+ var script$h = defineComponent({
23888
23912
  name: 'uni-button',
23889
23913
  props: {
23890
23914
  element: {
@@ -23951,9 +23975,9 @@ var script$g = defineComponent({
23951
23975
  }
23952
23976
  });
23953
23977
 
23954
- const _hoisted_1$b = { class: "button-content" };
23978
+ const _hoisted_1$c = { class: "button-content" };
23955
23979
 
23956
- function render$c(_ctx, _cache, $props, $setup, $data, $options) {
23980
+ function render$d(_ctx, _cache, $props, $setup, $data, $options) {
23957
23981
  return (openBlock(), createElementBlock("div", {
23958
23982
  class: "button eles",
23959
23983
  style: normalizeStyle(_ctx.containerStyle),
@@ -23961,12 +23985,12 @@ function render$c(_ctx, _cache, $props, $setup, $data, $options) {
23961
23985
  }, [
23962
23986
  createElementVNode("div", {
23963
23987
  class: "ani-wrap",
23964
- style: normalizeStyle({
23965
- ..._ctx.aniWrapStyle,
23966
- boxShadow: _ctx.shadowStyle
23988
+ style: normalizeStyle({
23989
+ ..._ctx.aniWrapStyle,
23990
+ boxShadow: _ctx.shadowStyle
23967
23991
  })
23968
23992
  }, [
23969
- createElementVNode("div", _hoisted_1$b, [
23993
+ createElementVNode("div", _hoisted_1$c, [
23970
23994
  createElementVNode("span", {
23971
23995
  class: "btn-text",
23972
23996
  style: normalizeStyle(_ctx.bntStyle)
@@ -23976,11 +24000,11 @@ function render$c(_ctx, _cache, $props, $setup, $data, $options) {
23976
24000
  ], 4 /* STYLE */))
23977
24001
  }
23978
24002
 
23979
- script$g.render = render$c;
23980
- script$g.__file = "src/components/UniButton/UniButton.vue";
24003
+ script$h.render = render$d;
24004
+ script$h.__file = "src/components/UniButton/UniButton.vue";
23981
24005
 
23982
- script$g.install = (app) => {
23983
- app.component(script$g.name, script$g);
24006
+ script$h.install = (app) => {
24007
+ app.component(script$h.name, script$h);
23984
24008
  };
23985
24009
 
23986
24010
  var bind = function bind(fn, thisArg) {
@@ -27668,7 +27692,7 @@ axios_1.default = _default;
27668
27692
 
27669
27693
  var axios = axios_1;
27670
27694
 
27671
- var script$f = defineComponent({
27695
+ var script$g = defineComponent({
27672
27696
  name: 'uni-barrage',
27673
27697
  props: {
27674
27698
  env: {
@@ -27969,31 +27993,31 @@ var script$f = defineComponent({
27969
27993
  }
27970
27994
  });
27971
27995
 
27972
- const _hoisted_1$a = {
27996
+ const _hoisted_1$b = {
27973
27997
  id: "toolbarNew",
27974
27998
  ref: "toolbar"
27975
27999
  };
27976
- const _hoisted_2$a = { class: "toolbar" };
27977
- const _hoisted_3$9 = { class: "bar-left" };
27978
- const _hoisted_4$8 = /*#__PURE__*/createElementVNode("img", { src: "https://h5cdn.unika.cc/static/img/uniComponents/hide.png" }, null, -1 /* HOISTED */);
27979
- const _hoisted_5$7 = [
27980
- _hoisted_4$8
28000
+ const _hoisted_2$b = { class: "toolbar" };
28001
+ const _hoisted_3$b = { class: "bar-left" };
28002
+ const _hoisted_4$9 = /*#__PURE__*/createElementVNode("img", { src: "https://h5cdn.unika.cc/static/img/uniComponents/hide.png" }, null, -1 /* HOISTED */);
28003
+ const _hoisted_5$8 = [
28004
+ _hoisted_4$9
27981
28005
  ];
27982
- const _hoisted_6$5 = {
28006
+ const _hoisted_6$6 = {
27983
28007
  key: 0,
27984
28008
  class: "bar-right"
27985
28009
  };
27986
- const _hoisted_7$4 = {
28010
+ const _hoisted_7$5 = {
27987
28011
  key: 0,
27988
28012
  class: "bar-praise"
27989
28013
  };
27990
- const _hoisted_8$1 = /*#__PURE__*/createElementVNode("strong", { class: "ani-num" }, "+1", -1 /* HOISTED */);
27991
- const _hoisted_9$1 = /*#__PURE__*/createElementVNode("div", { class: "stop-longtap" }, null, -1 /* HOISTED */);
27992
- const _hoisted_10$1 = /*#__PURE__*/createElementVNode("img", {
28014
+ const _hoisted_8$2 = /*#__PURE__*/createElementVNode("strong", { class: "ani-num" }, "+1", -1 /* HOISTED */);
28015
+ const _hoisted_9$2 = /*#__PURE__*/createElementVNode("div", { class: "stop-longtap" }, null, -1 /* HOISTED */);
28016
+ const _hoisted_10$2 = /*#__PURE__*/createElementVNode("img", {
27993
28017
  src: "https://h5cdn.unika.cc/static/img/uniComponents/parise.png",
27994
28018
  class: "animated"
27995
28019
  }, null, -1 /* HOISTED */);
27996
- const _hoisted_11$1 = /*#__PURE__*/createElementVNode("div", { class: "zan-wrap" }, [
28020
+ const _hoisted_11$2 = /*#__PURE__*/createElementVNode("div", { class: "zan-wrap" }, [
27997
28021
  /*#__PURE__*/createElementVNode("span"),
27998
28022
  /*#__PURE__*/createElementVNode("span"),
27999
28023
  /*#__PURE__*/createElementVNode("span"),
@@ -28003,36 +28027,36 @@ const _hoisted_11$1 = /*#__PURE__*/createElementVNode("div", { class: "zan-wrap"
28003
28027
  /*#__PURE__*/createElementVNode("span"),
28004
28028
  /*#__PURE__*/createElementVNode("span")
28005
28029
  ], -1 /* HOISTED */);
28006
- const _hoisted_12$1 = [
28007
- _hoisted_8$1,
28008
- _hoisted_9$1,
28009
- _hoisted_10$1,
28010
- _hoisted_11$1
28030
+ const _hoisted_12$2 = [
28031
+ _hoisted_8$2,
28032
+ _hoisted_9$2,
28033
+ _hoisted_10$2,
28034
+ _hoisted_11$2
28011
28035
  ];
28012
- const _hoisted_13$1 = { class: "bar-messwin" };
28013
- const _hoisted_14$1 = /*#__PURE__*/createElementVNode("img", {
28036
+ const _hoisted_13$2 = { class: "bar-messwin" };
28037
+ const _hoisted_14$2 = /*#__PURE__*/createElementVNode("img", {
28014
28038
  src: "https://h5cdn.unika.cc/static/img/uniComponents/mess-logo.png",
28015
28039
  alt: "",
28016
28040
  class: "mess-logo"
28017
28041
  }, null, -1 /* HOISTED */);
28018
- const _hoisted_15$1 = /*#__PURE__*/createElementVNode("div", { class: "mess-title" }, "ข้อความอวยพร", -1 /* HOISTED */);
28019
- const _hoisted_16$1 = { class: "mess-input" };
28020
- const _hoisted_17$1 = { class: "mess-textarea" };
28021
- const _hoisted_18$1 = { class: "wish-dropdown" };
28022
- const _hoisted_19$1 = ["onClick"];
28023
- const _hoisted_20$1 = /*#__PURE__*/createElementVNode("div", { class: "wish-dot" }, "•", -1 /* HOISTED */);
28024
- const _hoisted_21$1 = { class: "wish-text" };
28025
- const _hoisted_22$1 = {
28042
+ const _hoisted_15$2 = /*#__PURE__*/createElementVNode("div", { class: "mess-title" }, "ข้อความอวยพร", -1 /* HOISTED */);
28043
+ const _hoisted_16$2 = { class: "mess-input" };
28044
+ const _hoisted_17$2 = { class: "mess-textarea" };
28045
+ const _hoisted_18$2 = { class: "wish-dropdown" };
28046
+ const _hoisted_19$2 = ["onClick"];
28047
+ const _hoisted_20$2 = /*#__PURE__*/createElementVNode("div", { class: "wish-dot" }, "•", -1 /* HOISTED */);
28048
+ const _hoisted_21$2 = { class: "wish-text" };
28049
+ const _hoisted_22$2 = {
28026
28050
  key: 1,
28027
28051
  class: "give-gift-wrapper"
28028
28052
  };
28029
- const _hoisted_23$1 = { class: "give-gift" };
28030
- const _hoisted_24 = /*#__PURE__*/createElementVNode("i", { class: "iconfont icon-zuojiantou" }, null, -1 /* HOISTED */);
28031
- const _hoisted_25 = [
28032
- _hoisted_24
28053
+ const _hoisted_23$2 = { class: "give-gift" };
28054
+ const _hoisted_24$1 = /*#__PURE__*/createElementVNode("i", { class: "iconfont icon-zuojiantou" }, null, -1 /* HOISTED */);
28055
+ const _hoisted_25$1 = [
28056
+ _hoisted_24$1
28033
28057
  ];
28034
- const _hoisted_26 = ["src"];
28035
- const _hoisted_27 = {
28058
+ const _hoisted_26$1 = ["src"];
28059
+ const _hoisted_27$1 = {
28036
28060
  key: 2,
28037
28061
  class: "mess-success-popup"
28038
28062
  };
@@ -28056,7 +28080,7 @@ const _hoisted_34 = { class: "mint-msgbox-content" };
28056
28080
  const _hoisted_35 = { class: "mint-msgbox-message" };
28057
28081
  const _hoisted_36 = { class: "mint-msgbox-btns" };
28058
28082
 
28059
- function render$b(_ctx, _cache, $props, $setup, $data, $options) {
28083
+ function render$c(_ctx, _cache, $props, $setup, $data, $options) {
28060
28084
  return (openBlock(), createElementBlock("div", null, [
28061
28085
  createCommentVNode(" 弹幕显示区域 "),
28062
28086
  withDirectives(createElementVNode("div", {
@@ -28078,9 +28102,9 @@ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
28078
28102
  [vShow, _ctx.showBullets]
28079
28103
  ]),
28080
28104
  createCommentVNode(" 底部工具栏 "),
28081
- createElementVNode("div", _hoisted_1$a, [
28082
- createElementVNode("div", _hoisted_2$a, [
28083
- withDirectives(createElementVNode("div", _hoisted_3$9, [
28105
+ createElementVNode("div", _hoisted_1$b, [
28106
+ createElementVNode("div", _hoisted_2$b, [
28107
+ withDirectives(createElementVNode("div", _hoisted_3$b, [
28084
28108
  createElementVNode("input", {
28085
28109
  type: "text",
28086
28110
  placeholder: "ข้อความอวยพร..",
@@ -28099,12 +28123,12 @@ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
28099
28123
  withDirectives(createElementVNode("div", {
28100
28124
  onClick: _cache[2] || (_cache[2] = withModifiers((...args) => (_ctx.toggleBullets && _ctx.toggleBullets(...args)), ["stop"])),
28101
28125
  class: "toolbar-close"
28102
- }, [..._hoisted_5$7], 512 /* NEED_PATCH */), [
28126
+ }, [..._hoisted_5$8], 512 /* NEED_PATCH */), [
28103
28127
  [vShow, !_ctx.showBullets]
28104
28128
  ]),
28105
28129
  createCommentVNode(" 新增的右侧按钮区域 "),
28106
28130
  ((_ctx.global.toolbar.gift || _ctx.global.toolbar.praise) && _ctx.showBullets)
28107
- ? (openBlock(), createElementBlock("div", _hoisted_6$5, [
28131
+ ? (openBlock(), createElementBlock("div", _hoisted_6$6, [
28108
28132
  (_ctx.global.toolbar.gift && _ctx.global.toolbar.giftQRCode)
28109
28133
  ? (openBlock(), createElementBlock("img", {
28110
28134
  key: 0,
@@ -28120,11 +28144,11 @@ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
28120
28144
  onClick: _cache[4] || (_cache[4] = (...args) => (_ctx.handlePraise && _ctx.handlePraise(...args)))
28121
28145
  }, [
28122
28146
  (_ctx.praiseCount > 0)
28123
- ? (openBlock(), createElementBlock("div", _hoisted_7$4, toDisplayString(_ctx.praiseCount), 1 /* TEXT */))
28147
+ ? (openBlock(), createElementBlock("div", _hoisted_7$5, toDisplayString(_ctx.praiseCount), 1 /* TEXT */))
28124
28148
  : createCommentVNode("v-if", true),
28125
28149
  createElementVNode("div", {
28126
28150
  class: normalizeClass(["bar-zan", { active: _ctx.isPraised }])
28127
- }, [..._hoisted_12$1], 2 /* CLASS */)
28151
+ }, [..._hoisted_12$2], 2 /* CLASS */)
28128
28152
  ]))
28129
28153
  : createCommentVNode("v-if", true)
28130
28154
  ]))
@@ -28139,11 +28163,11 @@ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
28139
28163
  style: {"z-index":"2003"},
28140
28164
  onClick: _cache[12] || (_cache[12] = withModifiers((...args) => (_ctx.closePopup && _ctx.closePopup(...args)), ["self"]))
28141
28165
  }, [
28142
- createElementVNode("div", _hoisted_13$1, [
28143
- _hoisted_14$1,
28144
- _hoisted_15$1,
28166
+ createElementVNode("div", _hoisted_13$2, [
28167
+ _hoisted_14$2,
28168
+ _hoisted_15$2,
28145
28169
  createCommentVNode(" 祝福留言. "),
28146
- createElementVNode("div", _hoisted_16$1, [
28170
+ createElementVNode("div", _hoisted_16$2, [
28147
28171
  withDirectives(createElementVNode("input", {
28148
28172
  ref: "nameInput",
28149
28173
  "onUpdate:modelValue": _cache[5] || (_cache[5] = $event => ((_ctx.name) = $event)),
@@ -28156,7 +28180,7 @@ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
28156
28180
  ])
28157
28181
  ]),
28158
28182
  createCommentVNode(" 请输入您的姓名 "),
28159
- createElementVNode("div", _hoisted_17$1, [
28183
+ createElementVNode("div", _hoisted_17$2, [
28160
28184
  withDirectives(createElementVNode("textarea", {
28161
28185
  "onUpdate:modelValue": _cache[7] || (_cache[7] = $event => ((_ctx.content) = $event)),
28162
28186
  placeholder: "ข้อความของคุณ..",
@@ -28173,16 +28197,16 @@ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
28173
28197
  onClick: _cache[9] || (_cache[9] = (...args) => (_ctx.showBlessingOptions && _ctx.showBlessingOptions(...args)))
28174
28198
  }),
28175
28199
  createCommentVNode(" 请选择祝福语 "),
28176
- withDirectives(createElementVNode("div", _hoisted_18$1, [
28200
+ withDirectives(createElementVNode("div", _hoisted_18$2, [
28177
28201
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.blessingOptions, (blessing, index) => {
28178
28202
  return (openBlock(), createElementBlock("div", {
28179
28203
  class: "wish-item",
28180
28204
  key: index,
28181
28205
  onClick: $event => (_ctx.selectBlessing(blessing))
28182
28206
  }, [
28183
- _hoisted_20$1,
28184
- createElementVNode("div", _hoisted_21$1, toDisplayString(blessing), 1 /* TEXT */)
28185
- ], 8 /* PROPS */, _hoisted_19$1))
28207
+ _hoisted_20$2,
28208
+ createElementVNode("div", _hoisted_21$2, toDisplayString(blessing), 1 /* TEXT */)
28209
+ ], 8 /* PROPS */, _hoisted_19$2))
28186
28210
  }), 128 /* KEYED_FRAGMENT */))
28187
28211
  ], 512 /* NEED_PATCH */), [
28188
28212
  [vShow, _ctx.showBlessingList]
@@ -28202,18 +28226,18 @@ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
28202
28226
  : createCommentVNode("v-if", true),
28203
28227
  createCommentVNode(" 在template部分修改礼物弹窗结构 "),
28204
28228
  (_ctx.showGift)
28205
- ? (openBlock(), createElementBlock("div", _hoisted_22$1, [
28206
- createElementVNode("div", _hoisted_23$1, [
28229
+ ? (openBlock(), createElementBlock("div", _hoisted_22$2, [
28230
+ createElementVNode("div", _hoisted_23$2, [
28207
28231
  createElementVNode("div", {
28208
28232
  class: "back",
28209
28233
  onClick: _cache[13] || (_cache[13] = (...args) => (_ctx.closeGiftPopup && _ctx.closeGiftPopup(...args)))
28210
- }, [..._hoisted_25]),
28234
+ }, [..._hoisted_25$1]),
28211
28235
  createElementVNode("img", {
28212
28236
  src: _ctx.global.toolbar.giftQRCode,
28213
28237
  alt: "",
28214
28238
  onLoad: _cache[14] || (_cache[14] = (...args) => (_ctx.handleImageLoad && _ctx.handleImageLoad(...args))),
28215
28239
  class: normalizeClass({ 'loaded': _ctx.imageLoaded })
28216
- }, null, 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_26),
28240
+ }, null, 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_26$1),
28217
28241
  createCommentVNode(" 新增底部关闭按钮 "),
28218
28242
  createElementVNode("i", {
28219
28243
  class: "iconfont icon-cuowu2 close-btn",
@@ -28224,7 +28248,7 @@ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
28224
28248
  : createCommentVNode("v-if", true),
28225
28249
  createCommentVNode(" 留言成功弹窗 "),
28226
28250
  (_ctx.showSuccessPopup)
28227
- ? (openBlock(), createElementBlock("div", _hoisted_27, [
28251
+ ? (openBlock(), createElementBlock("div", _hoisted_27$1, [
28228
28252
  createElementVNode("div", _hoisted_28, [
28229
28253
  createElementVNode("i", {
28230
28254
  class: "iconfont icon-cuowu2",
@@ -28266,11 +28290,11 @@ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
28266
28290
  ]))
28267
28291
  }
28268
28292
 
28269
- script$f.render = render$b;
28270
- script$f.__file = "src/components/UniBarrage/UniBarrage.vue";
28293
+ script$g.render = render$c;
28294
+ script$g.__file = "src/components/UniBarrage/UniBarrage.vue";
28271
28295
 
28272
- script$f.install = (app) => {
28273
- app.component(script$f.name, script$f);
28296
+ script$g.install = (app) => {
28297
+ app.component(script$g.name, script$g);
28274
28298
  };
28275
28299
 
28276
28300
  function useTouchHandler(pages, currentPageId, direction, isLoopEnabled, onUserInteraction) {
@@ -28619,7 +28643,7 @@ function validateInput(value, type) {
28619
28643
  return true;
28620
28644
  }
28621
28645
 
28622
- var script$e = defineComponent({
28646
+ var script$f = defineComponent({
28623
28647
  name: 'uni-form-input',
28624
28648
  props: {
28625
28649
  global: {
@@ -28630,6 +28654,10 @@ var script$e = defineComponent({
28630
28654
  type: Object,
28631
28655
  required: true
28632
28656
  },
28657
+ isEditing: {
28658
+ type: Boolean,
28659
+ default: false,
28660
+ },
28633
28661
  },
28634
28662
  setup(props) {
28635
28663
  const inputValue = ref('');
@@ -28669,9 +28697,16 @@ var script$e = defineComponent({
28669
28697
  });
28670
28698
  // 失去焦点时验证
28671
28699
  const handleBlur = () => {
28700
+ if (props.isEditing)
28701
+ return;
28672
28702
  isTouched.value = true;
28673
28703
  validate();
28674
28704
  };
28705
+ const onInputPointerDown = (e) => {
28706
+ if (!props.isEditing)
28707
+ return;
28708
+ e.preventDefault();
28709
+ };
28675
28710
  // 值变化时验证(如果已经触摸过)
28676
28711
  watch(inputValue, () => {
28677
28712
  if (isTouched.value) {
@@ -28714,20 +28749,24 @@ var script$e = defineComponent({
28714
28749
  containerStyles,
28715
28750
  wrapperStyles,
28716
28751
  inputStyles,
28717
- handleBlur
28752
+ handleBlur,
28753
+ onInputPointerDown,
28754
+ isEditing: computed(() => props.isEditing),
28718
28755
  };
28719
28756
  }
28720
28757
  });
28721
28758
 
28722
- const _hoisted_1$9 = {
28759
+ const _hoisted_1$a = ["data-id"];
28760
+ const _hoisted_2$a = {
28723
28761
  key: 0,
28724
28762
  class: "required-marker"
28725
28763
  };
28726
- const _hoisted_2$9 = ["type", "placeholder"];
28764
+ const _hoisted_3$a = ["type", "placeholder", "readonly", "tabindex"];
28727
28765
 
28728
- function render$a(_ctx, _cache, $props, $setup, $data, $options) {
28766
+ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
28729
28767
  return (openBlock(), createElementBlock("div", {
28730
- class: "ele-form form-input eles",
28768
+ class: normalizeClass(["ele-form form-input eles", { 'form-input--editing': _ctx.isEditing }]),
28769
+ "data-id": _ctx.element.id,
28731
28770
  style: normalizeStyle(_ctx.containerStyles)
28732
28771
  }, [
28733
28772
  createElementVNode("div", {
@@ -28738,26 +28777,30 @@ function render$a(_ctx, _cache, $props, $setup, $data, $options) {
28738
28777
  })
28739
28778
  }, [
28740
28779
  (_ctx.required)
28741
- ? (openBlock(), createElementBlock("span", _hoisted_1$9, "*"))
28780
+ ? (openBlock(), createElementBlock("span", _hoisted_2$a, "*"))
28742
28781
  : createCommentVNode("v-if", true),
28743
28782
  withDirectives(createElementVNode("input", {
28744
28783
  type: _ctx.inputType,
28745
28784
  placeholder: _ctx.title,
28746
28785
  "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => ((_ctx.inputValue) = $event)),
28747
28786
  style: normalizeStyle(_ctx.inputStyles),
28748
- onBlur: _cache[1] || (_cache[1] = (...args) => (_ctx.handleBlur && _ctx.handleBlur(...args))),
28749
- class: "dynamic-placeholder-input"
28750
- }, null, 44 /* STYLE, PROPS, NEED_HYDRATION */, _hoisted_2$9), [
28787
+ readonly: _ctx.isEditing,
28788
+ tabindex: _ctx.isEditing ? -1 : undefined,
28789
+ class: "dynamic-placeholder-input",
28790
+ onMousedown: _cache[1] || (_cache[1] = (...args) => (_ctx.onInputPointerDown && _ctx.onInputPointerDown(...args))),
28791
+ onTouchstart: _cache[2] || (_cache[2] = (...args) => (_ctx.onInputPointerDown && _ctx.onInputPointerDown(...args))),
28792
+ onBlur: _cache[3] || (_cache[3] = (...args) => (_ctx.handleBlur && _ctx.handleBlur(...args)))
28793
+ }, null, 44 /* STYLE, PROPS, NEED_HYDRATION */, _hoisted_3$a), [
28751
28794
  [vModelDynamic, _ctx.inputValue]
28752
28795
  ])
28753
28796
  ], 4 /* STYLE */)
28754
- ], 4 /* STYLE */))
28797
+ ], 14 /* CLASS, STYLE, PROPS */, _hoisted_1$a))
28755
28798
  }
28756
28799
 
28757
- script$e.render = render$a;
28758
- script$e.__file = "src/components/UniFormInput/UniFormInput.vue";
28800
+ script$f.render = render$b;
28801
+ script$f.__file = "src/components/UniFormInput/UniFormInput.vue";
28759
28802
 
28760
- var script$d = defineComponent({
28803
+ var script$e = defineComponent({
28761
28804
  name: 'uni-form-submit',
28762
28805
  props: {
28763
28806
  global: {
@@ -28858,15 +28901,15 @@ var script$d = defineComponent({
28858
28901
  }
28859
28902
  });
28860
28903
 
28861
- const _hoisted_1$8 = ["data-id"];
28862
- const _hoisted_2$8 = ["disabled"];
28863
- const _hoisted_3$8 = {
28904
+ const _hoisted_1$9 = ["data-id"];
28905
+ const _hoisted_2$9 = ["disabled"];
28906
+ const _hoisted_3$9 = {
28864
28907
  key: 0,
28865
28908
  class: "f-ovh"
28866
28909
  };
28867
- const _hoisted_4$7 = { class: "f-ovh" };
28910
+ const _hoisted_4$8 = { class: "f-ovh" };
28868
28911
 
28869
- function render$9(_ctx, _cache, $props, $setup, $data, $options) {
28912
+ function render$a(_ctx, _cache, $props, $setup, $data, $options) {
28870
28913
  return (openBlock(), createElementBlock("div", {
28871
28914
  class: "ele-form eles",
28872
28915
  "data-id": _ctx.element.id,
@@ -28879,19 +28922,19 @@ function render$9(_ctx, _cache, $props, $setup, $data, $options) {
28879
28922
  disabled: _ctx.isSubmitting
28880
28923
  }, [
28881
28924
  (_ctx.isSubmitting)
28882
- ? (openBlock(), createElementBlock("span", _hoisted_3$8, "กำลังส่ง..."))
28925
+ ? (openBlock(), createElementBlock("span", _hoisted_3$9, "กำลังส่ง..."))
28883
28926
  : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
28884
28927
  createCommentVNode(" 提交中 "),
28885
- createElementVNode("span", _hoisted_4$7, toDisplayString(_ctx.btName), 1 /* TEXT */)
28928
+ createElementVNode("span", _hoisted_4$8, toDisplayString(_ctx.btName), 1 /* TEXT */)
28886
28929
  ], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */))
28887
- ], 12 /* STYLE, PROPS */, _hoisted_2$8)
28888
- ], 12 /* STYLE, PROPS */, _hoisted_1$8))
28930
+ ], 12 /* STYLE, PROPS */, _hoisted_2$9)
28931
+ ], 12 /* STYLE, PROPS */, _hoisted_1$9))
28889
28932
  }
28890
28933
 
28891
- script$d.render = render$9;
28892
- script$d.__file = "src/components/UniFormSubmit/UniFormSubmit.vue";
28934
+ script$e.render = render$a;
28935
+ script$e.__file = "src/components/UniFormSubmit/UniFormSubmit.vue";
28893
28936
 
28894
- var script$c = defineComponent({
28937
+ var script$d = defineComponent({
28895
28938
  name: 'uni-form-select',
28896
28939
  props: {
28897
28940
  global: {
@@ -28997,21 +29040,21 @@ var script$c = defineComponent({
28997
29040
  }
28998
29041
  });
28999
29042
 
29000
- const _hoisted_1$7 = ["data-id"];
29001
- const _hoisted_2$7 = {
29043
+ const _hoisted_1$8 = ["data-id"];
29044
+ const _hoisted_2$8 = {
29002
29045
  key: 0,
29003
29046
  class: "require"
29004
29047
  };
29005
- const _hoisted_3$7 = { class: "fs-cont" };
29006
- const _hoisted_4$6 = {
29048
+ const _hoisted_3$8 = { class: "fs-cont" };
29049
+ const _hoisted_4$7 = {
29007
29050
  value: "",
29008
29051
  disabled: "",
29009
29052
  hidden: ""
29010
29053
  };
29011
- const _hoisted_5$6 = ["value"];
29012
- const _hoisted_6$4 = ["onClick"];
29054
+ const _hoisted_5$7 = ["value"];
29055
+ const _hoisted_6$5 = ["onClick"];
29013
29056
 
29014
- function render$8(_ctx, _cache, $props, $setup, $data, $options) {
29057
+ function render$9(_ctx, _cache, $props, $setup, $data, $options) {
29015
29058
  return (openBlock(), createElementBlock("div", {
29016
29059
  class: normalizeClass(["ele-form f-select eles", { 'has-error': _ctx.hasError }]),
29017
29060
  "data-id": _ctx.element.id,
@@ -29026,9 +29069,9 @@ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
29026
29069
  onClick: _cache[0] || (_cache[0] = (...args) => (_ctx.toggleDropdown && _ctx.toggleDropdown(...args)))
29027
29070
  }, [
29028
29071
  (_ctx.required)
29029
- ? (openBlock(), createElementBlock("span", _hoisted_2$7, "*"))
29072
+ ? (openBlock(), createElementBlock("span", _hoisted_2$8, "*"))
29030
29073
  : createCommentVNode("v-if", true),
29031
- createElementVNode("span", _hoisted_3$7, toDisplayString(_ctx.selectedLabel || _ctx.element.title), 1 /* TEXT */),
29074
+ createElementVNode("span", _hoisted_3$8, toDisplayString(_ctx.selectedLabel || _ctx.element.title), 1 /* TEXT */),
29032
29075
  createElementVNode("i", {
29033
29076
  class: normalizeClass(["iconfont icon-bofang1", { 'rotate-180': _ctx.isOpen }])
29034
29077
  }, null, 2 /* CLASS */)
@@ -29039,12 +29082,12 @@ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
29039
29082
  onChange: _cache[2] || (_cache[2] = (...args) => (_ctx.handleChange && _ctx.handleChange(...args))),
29040
29083
  onBlur: _cache[3] || (_cache[3] = (...args) => (_ctx.handleBlur && _ctx.handleBlur(...args)))
29041
29084
  }, [
29042
- createElementVNode("option", _hoisted_4$6, toDisplayString(_ctx.element.title), 1 /* TEXT */),
29085
+ createElementVNode("option", _hoisted_4$7, toDisplayString(_ctx.element.title), 1 /* TEXT */),
29043
29086
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.element.items, (item) => {
29044
29087
  return (openBlock(), createElementBlock("option", {
29045
29088
  key: item.value,
29046
29089
  value: item.value
29047
- }, toDisplayString(item.label), 9 /* TEXT, PROPS */, _hoisted_5$6))
29090
+ }, toDisplayString(item.label), 9 /* TEXT, PROPS */, _hoisted_5$7))
29048
29091
  }), 128 /* KEYED_FRAGMENT */))
29049
29092
  ], 544 /* NEED_HYDRATION, NEED_PATCH */), [
29050
29093
  [vModelSelect, _ctx.selectedValue]
@@ -29060,18 +29103,18 @@ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
29060
29103
  key: item.value,
29061
29104
  class: normalizeClass(["dropdown-item", { 'selected': item.value === _ctx.selectedValue }]),
29062
29105
  onClick: $event => (_ctx.selectItem(item))
29063
- }, toDisplayString(item.label), 11 /* TEXT, CLASS, PROPS */, _hoisted_6$4))
29106
+ }, toDisplayString(item.label), 11 /* TEXT, CLASS, PROPS */, _hoisted_6$5))
29064
29107
  }), 128 /* KEYED_FRAGMENT */))
29065
29108
  ], 4 /* STYLE */))
29066
29109
  : createCommentVNode("v-if", true)
29067
29110
  ], 4 /* STYLE */)
29068
- ], 14 /* CLASS, STYLE, PROPS */, _hoisted_1$7))
29111
+ ], 14 /* CLASS, STYLE, PROPS */, _hoisted_1$8))
29069
29112
  }
29070
29113
 
29071
- script$c.render = render$8;
29072
- script$c.__file = "src/components/UniFormSelect/UniFormSelect.vue";
29114
+ script$d.render = render$9;
29115
+ script$d.__file = "src/components/UniFormSelect/UniFormSelect.vue";
29073
29116
 
29074
- var script$b = defineComponent({
29117
+ var script$c = defineComponent({
29075
29118
  name: 'uni-form-single',
29076
29119
  props: {
29077
29120
  global: {
@@ -29152,16 +29195,16 @@ var script$b = defineComponent({
29152
29195
  }
29153
29196
  });
29154
29197
 
29155
- const _hoisted_1$6 = ["data-id"];
29156
- const _hoisted_2$6 = { class: "fs-tit" };
29157
- const _hoisted_3$6 = {
29198
+ const _hoisted_1$7 = ["data-id"];
29199
+ const _hoisted_2$7 = { class: "fs-tit" };
29200
+ const _hoisted_3$7 = {
29158
29201
  key: 0,
29159
29202
  class: "require"
29160
29203
  };
29161
- const _hoisted_4$5 = ["onClick"];
29162
- const _hoisted_5$5 = ["name", "value"];
29204
+ const _hoisted_4$6 = ["onClick"];
29205
+ const _hoisted_5$6 = ["name", "value"];
29163
29206
 
29164
- function render$7(_ctx, _cache, $props, $setup, $data, $options) {
29207
+ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
29165
29208
  return (openBlock(), createElementBlock("div", {
29166
29209
  class: normalizeClass(["ele-form f-single eles", { 'has-error': _ctx.hasError }]),
29167
29210
  "data-id": _ctx.element.id,
@@ -29171,9 +29214,9 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
29171
29214
  class: "ani-wrap",
29172
29215
  style: normalizeStyle(_ctx.innerStyles)
29173
29216
  }, [
29174
- createElementVNode("div", _hoisted_2$6, [
29217
+ createElementVNode("div", _hoisted_2$7, [
29175
29218
  (_ctx.required)
29176
- ? (openBlock(), createElementBlock("span", _hoisted_3$6, "*"))
29219
+ ? (openBlock(), createElementBlock("span", _hoisted_3$7, "*"))
29177
29220
  : createCommentVNode("v-if", true),
29178
29221
  createTextVNode(" " + toDisplayString(_ctx.element.title), 1 /* TEXT */)
29179
29222
  ]),
@@ -29191,22 +29234,22 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
29191
29234
  class: "fs-txt",
29192
29235
  style: normalizeStyle(_ctx.itemStyles)
29193
29236
  }, toDisplayString(item.label), 5 /* TEXT, STYLE */)
29194
- ], 8 /* PROPS */, _hoisted_4$5))
29237
+ ], 8 /* PROPS */, _hoisted_4$6))
29195
29238
  }), 128 /* KEYED_FRAGMENT */))
29196
29239
  ]),
29197
29240
  createElementVNode("input", {
29198
29241
  type: "hidden",
29199
29242
  name: `singleselect_${_ctx.element.id}`,
29200
29243
  value: _ctx.selectedValue
29201
- }, null, 8 /* PROPS */, _hoisted_5$5)
29244
+ }, null, 8 /* PROPS */, _hoisted_5$6)
29202
29245
  ], 4 /* STYLE */)
29203
- ], 14 /* CLASS, STYLE, PROPS */, _hoisted_1$6))
29246
+ ], 14 /* CLASS, STYLE, PROPS */, _hoisted_1$7))
29204
29247
  }
29205
29248
 
29206
- script$b.render = render$7;
29207
- script$b.__file = "src/components/UniFormSingle/UniFormSingle.vue";
29249
+ script$c.render = render$8;
29250
+ script$c.__file = "src/components/UniFormSingle/UniFormSingle.vue";
29208
29251
 
29209
- var script$a = defineComponent({
29252
+ var script$b = defineComponent({
29210
29253
  name: 'uni-form-multiple',
29211
29254
  props: {
29212
29255
  global: {
@@ -29297,16 +29340,16 @@ var script$a = defineComponent({
29297
29340
  }
29298
29341
  });
29299
29342
 
29300
- const _hoisted_1$5 = ["data-id"];
29301
- const _hoisted_2$5 = { class: "fs-tit" };
29302
- const _hoisted_3$5 = {
29343
+ const _hoisted_1$6 = ["data-id"];
29344
+ const _hoisted_2$6 = { class: "fs-tit" };
29345
+ const _hoisted_3$6 = {
29303
29346
  key: 0,
29304
29347
  class: "require"
29305
29348
  };
29306
- const _hoisted_4$4 = ["onClick"];
29307
- const _hoisted_5$4 = ["name", "value"];
29349
+ const _hoisted_4$5 = ["onClick"];
29350
+ const _hoisted_5$5 = ["name", "value"];
29308
29351
 
29309
- function render$6(_ctx, _cache, $props, $setup, $data, $options) {
29352
+ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
29310
29353
  return (openBlock(), createElementBlock("div", {
29311
29354
  class: normalizeClass(["ele-form f-multiple eles", { 'has-error': _ctx.hasError }]),
29312
29355
  "data-id": _ctx.element.id,
@@ -29316,9 +29359,9 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
29316
29359
  class: "ani-wrap",
29317
29360
  style: normalizeStyle(_ctx.innerStyles)
29318
29361
  }, [
29319
- createElementVNode("div", _hoisted_2$5, [
29362
+ createElementVNode("div", _hoisted_2$6, [
29320
29363
  (_ctx.required)
29321
- ? (openBlock(), createElementBlock("span", _hoisted_3$5, "*"))
29364
+ ? (openBlock(), createElementBlock("span", _hoisted_3$6, "*"))
29322
29365
  : createCommentVNode("v-if", true),
29323
29366
  createTextVNode(" " + toDisplayString(_ctx.element.title), 1 /* TEXT */)
29324
29367
  ]),
@@ -29336,22 +29379,22 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
29336
29379
  class: "fs-txt",
29337
29380
  style: normalizeStyle(_ctx.itemStyles)
29338
29381
  }, toDisplayString(item.label), 5 /* TEXT, STYLE */)
29339
- ], 8 /* PROPS */, _hoisted_4$4))
29382
+ ], 8 /* PROPS */, _hoisted_4$5))
29340
29383
  }), 128 /* KEYED_FRAGMENT */))
29341
29384
  ]),
29342
29385
  createElementVNode("input", {
29343
29386
  type: "hidden",
29344
29387
  name: `multiselect_${_ctx.element.id}`,
29345
29388
  value: _ctx.selectedValues.join(',')
29346
- }, null, 8 /* PROPS */, _hoisted_5$4)
29389
+ }, null, 8 /* PROPS */, _hoisted_5$5)
29347
29390
  ], 4 /* STYLE */)
29348
- ], 14 /* CLASS, STYLE, PROPS */, _hoisted_1$5))
29391
+ ], 14 /* CLASS, STYLE, PROPS */, _hoisted_1$6))
29349
29392
  }
29350
29393
 
29351
- script$a.render = render$6;
29352
- script$a.__file = "src/components/UniFormMultiple/UniFormMultiple.vue";
29394
+ script$b.render = render$7;
29395
+ script$b.__file = "src/components/UniFormMultiple/UniFormMultiple.vue";
29353
29396
 
29354
- var script$9 = defineComponent({
29397
+ var script$a = defineComponent({
29355
29398
  name: 'FormContainer',
29356
29399
  props: {
29357
29400
  autoReset: {
@@ -29375,7 +29418,7 @@ var script$9 = defineComponent({
29375
29418
  }
29376
29419
  });
29377
29420
 
29378
- function render$5(_ctx, _cache, $props, $setup, $data, $options) {
29421
+ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
29379
29422
  return (openBlock(), createElementBlock("form", {
29380
29423
  class: "form-container",
29381
29424
  onSubmit: _cache[0] || (_cache[0] = withModifiers(() => {}, ["prevent"]))
@@ -29384,10 +29427,10 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
29384
29427
  ], 32 /* NEED_HYDRATION */))
29385
29428
  }
29386
29429
 
29387
- script$9.render = render$5;
29388
- script$9.__file = "src/components/UniFormContainer/UniFormContainer.vue";
29430
+ script$a.render = render$6;
29431
+ script$a.__file = "src/components/UniFormContainer/UniFormContainer.vue";
29389
29432
 
29390
- var script$8 = /*#__PURE__*/ defineComponent({
29433
+ var script$9 = /*#__PURE__*/ defineComponent({
29391
29434
  ...{ name: 'uni-menu-receipt' },
29392
29435
  __name: 'UniMenuReceipt',
29393
29436
  props: {
@@ -29417,9 +29460,9 @@ var script$8 = /*#__PURE__*/ defineComponent({
29417
29460
  }
29418
29461
  });
29419
29462
 
29420
- script$8.__file = "src/components/UniMenuReceipt/UniMenuReceipt.vue";
29463
+ script$9.__file = "src/components/UniMenuReceipt/UniMenuReceipt.vue";
29421
29464
 
29422
- var script$7 = /*#__PURE__*/ defineComponent({
29465
+ var script$8 = /*#__PURE__*/ defineComponent({
29423
29466
  ...{ name: 'uni-menu-video' },
29424
29467
  __name: 'UniMenuVideo',
29425
29468
  props: {
@@ -29449,9 +29492,9 @@ var script$7 = /*#__PURE__*/ defineComponent({
29449
29492
  }
29450
29493
  });
29451
29494
 
29452
- script$7.__file = "src/components/UniMenuVideo/UniMenuVideo.vue";
29495
+ script$8.__file = "src/components/UniMenuVideo/UniMenuVideo.vue";
29453
29496
 
29454
- var script$6 = /*#__PURE__*/ defineComponent({
29497
+ var script$7 = /*#__PURE__*/ defineComponent({
29455
29498
  ...{ name: 'uni-menu-tel' },
29456
29499
  __name: 'UniMenuTel',
29457
29500
  props: {
@@ -29481,9 +29524,9 @@ var script$6 = /*#__PURE__*/ defineComponent({
29481
29524
  }
29482
29525
  });
29483
29526
 
29484
- script$6.__file = "src/components/UniMenuTel/UniMenuTel.vue";
29527
+ script$7.__file = "src/components/UniMenuTel/UniMenuTel.vue";
29485
29528
 
29486
- var script$5 = /*#__PURE__*/ defineComponent({
29529
+ var script$6 = /*#__PURE__*/ defineComponent({
29487
29530
  ...{ name: 'uni-menu-map' },
29488
29531
  __name: 'UniMenuMap',
29489
29532
  props: {
@@ -29513,9 +29556,9 @@ var script$5 = /*#__PURE__*/ defineComponent({
29513
29556
  }
29514
29557
  });
29515
29558
 
29516
- script$5.__file = "src/components/UniMenuMap/UniMenuMap.vue";
29559
+ script$6.__file = "src/components/UniMenuMap/UniMenuMap.vue";
29517
29560
 
29518
- var script$4 = defineComponent({
29561
+ var script$5 = defineComponent({
29519
29562
  name: 'uni-menu',
29520
29563
  props: {
29521
29564
  global: {
@@ -29529,10 +29572,10 @@ var script$4 = defineComponent({
29529
29572
  }
29530
29573
  },
29531
29574
  components: {
29532
- UniMenuReceipt: script$8,
29533
- UniMenuVideo: script$7,
29534
- UniMenuTel: script$6,
29535
- UniMenuMap: script$5
29575
+ UniMenuReceipt: script$9,
29576
+ UniMenuVideo: script$8,
29577
+ UniMenuTel: script$7,
29578
+ UniMenuMap: script$6
29536
29579
  },
29537
29580
  setup(props) {
29538
29581
  // 状态管理
@@ -29731,55 +29774,55 @@ var script$4 = defineComponent({
29731
29774
  });
29732
29775
 
29733
29776
  const _withScopeId$1 = n => (pushScopeId("data-v-5e9efd2f"),n=n(),popScopeId(),n);
29734
- const _hoisted_1$4 = {
29777
+ const _hoisted_1$5 = {
29735
29778
  key: 0,
29736
29779
  id: "page-global"
29737
29780
  };
29738
- const _hoisted_2$4 = {
29781
+ const _hoisted_2$5 = {
29739
29782
  key: 1,
29740
29783
  id: "receipt-wrap",
29741
29784
  class: "v-slide"
29742
29785
  };
29743
- const _hoisted_3$4 = /*#__PURE__*/ _withScopeId$1(() => /*#__PURE__*/createElementVNode("div", { class: "r-tit" }, "แบบตอบรับ", -1 /* HOISTED */));
29744
- const _hoisted_4$3 = { class: "r-cont" };
29745
- const _hoisted_5$3 = { class: "r-list" };
29746
- const _hoisted_6$3 = ["value"];
29747
- const _hoisted_7$3 = { class: "r-which" };
29748
- const _hoisted_8 = ["value"];
29749
- const _hoisted_9 = { class: "r-submit" };
29750
- const _hoisted_10 = {
29786
+ const _hoisted_3$5 = /*#__PURE__*/ _withScopeId$1(() => /*#__PURE__*/createElementVNode("div", { class: "r-tit" }, "แบบตอบรับ", -1 /* HOISTED */));
29787
+ const _hoisted_4$4 = { class: "r-cont" };
29788
+ const _hoisted_5$4 = { class: "r-list" };
29789
+ const _hoisted_6$4 = ["value"];
29790
+ const _hoisted_7$4 = { class: "r-which" };
29791
+ const _hoisted_8$1 = ["value"];
29792
+ const _hoisted_9$1 = { class: "r-submit" };
29793
+ const _hoisted_10$1 = {
29751
29794
  key: 0,
29752
29795
  class: "which-select"
29753
29796
  };
29754
- const _hoisted_11 = ["onClick"];
29755
- const _hoisted_12 = {
29797
+ const _hoisted_11$1 = ["onClick"];
29798
+ const _hoisted_12$1 = {
29756
29799
  key: 1,
29757
29800
  class: "which-select"
29758
29801
  };
29759
- const _hoisted_13 = ["onClick"];
29760
- const _hoisted_14 = {
29802
+ const _hoisted_13$1 = ["onClick"];
29803
+ const _hoisted_14$1 = {
29761
29804
  key: 2,
29762
29805
  class: "tip-cover"
29763
29806
  };
29764
- const _hoisted_15 = { class: "tip" };
29765
- const _hoisted_16 = { class: "tip-content" };
29766
- const _hoisted_17 = {
29807
+ const _hoisted_15$1 = { class: "tip" };
29808
+ const _hoisted_16$1 = { class: "tip-content" };
29809
+ const _hoisted_17$1 = {
29767
29810
  key: 2,
29768
29811
  class: "global-v"
29769
29812
  };
29770
- const _hoisted_18 = /*#__PURE__*/ _withScopeId$1(() => /*#__PURE__*/createElementVNode("i", { class: "iconfont icon-buoumaotubiao20" }, null, -1 /* HOISTED */));
29771
- const _hoisted_19 = [
29772
- _hoisted_18
29813
+ const _hoisted_18$1 = /*#__PURE__*/ _withScopeId$1(() => /*#__PURE__*/createElementVNode("i", { class: "iconfont icon-buoumaotubiao20" }, null, -1 /* HOISTED */));
29814
+ const _hoisted_19$1 = [
29815
+ _hoisted_18$1
29773
29816
  ];
29774
- const _hoisted_20 = ["innerHTML"];
29775
- const _hoisted_21 = ["onClick"];
29776
- const _hoisted_22 = {
29817
+ const _hoisted_20$1 = ["innerHTML"];
29818
+ const _hoisted_21$1 = ["onClick"];
29819
+ const _hoisted_22$1 = {
29777
29820
  key: 4,
29778
29821
  class: "mint-toast"
29779
29822
  };
29780
- const _hoisted_23 = { class: "mint-toast-text" };
29823
+ const _hoisted_23$1 = { class: "mint-toast-text" };
29781
29824
 
29782
- function render$4(_ctx, _cache, $props, $setup, $data, $options) {
29825
+ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
29783
29826
  const _component_uni_menu_receipt = resolveComponent("uni-menu-receipt");
29784
29827
  const _component_uni_menu_video = resolveComponent("uni-menu-video");
29785
29828
  const _component_uni_menu_tel = resolveComponent("uni-menu-tel");
@@ -29788,7 +29831,7 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
29788
29831
  return (openBlock(), createElementBlock(Fragment, null, [
29789
29832
  createCommentVNode(" 主按钮组 "),
29790
29833
  (_ctx.showGlobalButtons)
29791
- ? (openBlock(), createElementBlock("div", _hoisted_1$4, [
29834
+ ? (openBlock(), createElementBlock("div", _hoisted_1$5, [
29792
29835
  createVNode(_component_uni_menu_receipt, {
29793
29836
  global: _ctx.global,
29794
29837
  onClick: _cache[0] || (_cache[0] = $event => (_ctx.showReceiptForm = true))
@@ -29809,15 +29852,15 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
29809
29852
  : createCommentVNode("v-if", true),
29810
29853
  createCommentVNode(" 回执表单 "),
29811
29854
  (_ctx.showReceiptForm)
29812
- ? (openBlock(), createElementBlock("div", _hoisted_2$4, [
29855
+ ? (openBlock(), createElementBlock("div", _hoisted_2$5, [
29813
29856
  createElementVNode("i", {
29814
29857
  class: "iconfont icon-guanbi",
29815
29858
  onClick: _cache[3] || (_cache[3] = (...args) => (_ctx.closeReceipt && _ctx.closeReceipt(...args)))
29816
29859
  }),
29817
- _hoisted_3$4,
29860
+ _hoisted_3$5,
29818
29861
  createCommentVNode(" 宾客回执 "),
29819
- createElementVNode("div", _hoisted_4$3, [
29820
- createElementVNode("ul", _hoisted_5$3, [
29862
+ createElementVNode("div", _hoisted_4$4, [
29863
+ createElementVNode("ul", _hoisted_5$4, [
29821
29864
  createElementVNode("li", null, [
29822
29865
  withDirectives(createElementVNode("input", {
29823
29866
  "onUpdate:modelValue": _cache[4] || (_cache[4] = $event => ((_ctx.receiptForm.guestName) = $event)),
@@ -29836,15 +29879,15 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
29836
29879
  value: _ctx.selectedPeopleLabel,
29837
29880
  class: "r-input",
29838
29881
  onClick: _cache[5] || (_cache[5] = $event => (_ctx.showPeopleSelect = true))
29839
- }, null, 8 /* PROPS */, _hoisted_6$3)
29882
+ }, null, 8 /* PROPS */, _hoisted_6$4)
29840
29883
  ]),
29841
- createElementVNode("li", _hoisted_7$3, [
29884
+ createElementVNode("li", _hoisted_7$4, [
29842
29885
  createElementVNode("input", {
29843
29886
  readonly: "",
29844
29887
  value: _ctx.selectedWhichLabel,
29845
29888
  class: "r-input",
29846
29889
  onClick: _cache[6] || (_cache[6] = $event => (_ctx.showWhichSelect = true))
29847
- }, null, 8 /* PROPS */, _hoisted_8)
29890
+ }, null, 8 /* PROPS */, _hoisted_8$1)
29848
29891
  ]),
29849
29892
  createElementVNode("li", null, [
29850
29893
  withDirectives(createElementVNode("input", {
@@ -29858,7 +29901,7 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
29858
29901
  ]),
29859
29902
  createCommentVNode(" 手机号码 ")
29860
29903
  ]),
29861
- createElementVNode("li", _hoisted_9, [
29904
+ createElementVNode("li", _hoisted_9$1, [
29862
29905
  createElementVNode("button", {
29863
29906
  class: "r-btn",
29864
29907
  onClick: _cache[8] || (_cache[8] = (...args) => (_ctx.submitReceipt && _ctx.submitReceipt(...args)))
@@ -29869,35 +29912,35 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
29869
29912
  ]),
29870
29913
  createCommentVNode(" 选择人数 "),
29871
29914
  (_ctx.showPeopleSelect)
29872
- ? (openBlock(), createElementBlock("div", _hoisted_10, [
29915
+ ? (openBlock(), createElementBlock("div", _hoisted_10$1, [
29873
29916
  createElementVNode("ul", null, [
29874
29917
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.peopleOptions, (item) => {
29875
29918
  return (openBlock(), createElementBlock("li", {
29876
29919
  key: item,
29877
29920
  onClick: $event => (_ctx.selectPeople(item))
29878
- }, toDisplayString(item), 9 /* TEXT, PROPS */, _hoisted_11))
29921
+ }, toDisplayString(item), 9 /* TEXT, PROPS */, _hoisted_11$1))
29879
29922
  }), 128 /* KEYED_FRAGMENT */))
29880
29923
  ])
29881
29924
  ]))
29882
29925
  : createCommentVNode("v-if", true),
29883
29926
  createCommentVNode(" 选择男方/女方 "),
29884
29927
  (_ctx.showWhichSelect)
29885
- ? (openBlock(), createElementBlock("div", _hoisted_12, [
29928
+ ? (openBlock(), createElementBlock("div", _hoisted_12$1, [
29886
29929
  createElementVNode("ul", null, [
29887
29930
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.global.receipt.whichList, (item) => {
29888
29931
  return (openBlock(), createElementBlock("li", {
29889
29932
  key: item.label,
29890
29933
  onClick: $event => (_ctx.selectWhich(item))
29891
- }, toDisplayString(item.label), 9 /* TEXT, PROPS */, _hoisted_13))
29934
+ }, toDisplayString(item.label), 9 /* TEXT, PROPS */, _hoisted_13$1))
29892
29935
  }), 128 /* KEYED_FRAGMENT */))
29893
29936
  ])
29894
29937
  ]))
29895
29938
  : createCommentVNode("v-if", true),
29896
29939
  createCommentVNode(" 提示信息 "),
29897
29940
  (_ctx.showTip)
29898
- ? (openBlock(), createElementBlock("div", _hoisted_14, [
29899
- createElementVNode("div", _hoisted_15, [
29900
- createElementVNode("div", _hoisted_16, toDisplayString(_ctx.tipMessage), 1 /* TEXT */),
29941
+ ? (openBlock(), createElementBlock("div", _hoisted_14$1, [
29942
+ createElementVNode("div", _hoisted_15$1, [
29943
+ createElementVNode("div", _hoisted_16$1, toDisplayString(_ctx.tipMessage), 1 /* TEXT */),
29901
29944
  createElementVNode("div", {
29902
29945
  class: "tip-btn",
29903
29946
  onClick: _cache[9] || (_cache[9] = $event => (_ctx.showTip = false))
@@ -29910,15 +29953,15 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
29910
29953
  : createCommentVNode("v-if", true),
29911
29954
  createCommentVNode(" 视频播放 "),
29912
29955
  (_ctx.showVideoPlayer)
29913
- ? (openBlock(), createElementBlock("div", _hoisted_17, [
29956
+ ? (openBlock(), createElementBlock("div", _hoisted_17$1, [
29914
29957
  createElementVNode("div", {
29915
29958
  id: "close-gvideo",
29916
29959
  onClick: _cache[10] || (_cache[10] = (...args) => (_ctx.closeVideo && _ctx.closeVideo(...args)))
29917
- }, [..._hoisted_19]),
29960
+ }, [..._hoisted_19$1]),
29918
29961
  createElementVNode("div", {
29919
29962
  class: "global-v-show",
29920
29963
  innerHTML: _ctx.global.video.url
29921
- }, null, 8 /* PROPS */, _hoisted_20)
29964
+ }, null, 8 /* PROPS */, _hoisted_20$1)
29922
29965
  ]))
29923
29966
  : createCommentVNode("v-if", true),
29924
29967
  createCommentVNode(" 拨号选择 "),
@@ -29933,49 +29976,49 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
29933
29976
  return (openBlock(), createElementBlock("li", {
29934
29977
  key: item.value || item.label,
29935
29978
  onClick: $event => (_ctx.makeCall(item))
29936
- }, toDisplayString(item.label), 9 /* TEXT, PROPS */, _hoisted_21))
29979
+ }, toDisplayString(item.label), 9 /* TEXT, PROPS */, _hoisted_21$1))
29937
29980
  }), 128 /* KEYED_FRAGMENT */))
29938
29981
  ])
29939
29982
  ]))
29940
29983
  : createCommentVNode("v-if", true),
29941
29984
  createCommentVNode(" 提交结果提示 "),
29942
29985
  (_ctx.showToast)
29943
- ? (openBlock(), createElementBlock("div", _hoisted_22, [
29986
+ ? (openBlock(), createElementBlock("div", _hoisted_22$1, [
29944
29987
  createElementVNode("i", {
29945
29988
  class: normalizeClass(["iconfont", _ctx.toastIcon]),
29946
29989
  style: {"font-size":"50px","margin-bottom":"5px"}
29947
29990
  }, null, 2 /* CLASS */),
29948
- createElementVNode("div", _hoisted_23, toDisplayString(_ctx.toastMessage), 1 /* TEXT */)
29991
+ createElementVNode("div", _hoisted_23$1, toDisplayString(_ctx.toastMessage), 1 /* TEXT */)
29949
29992
  ]))
29950
29993
  : createCommentVNode("v-if", true)
29951
29994
  ], 64 /* STABLE_FRAGMENT */))
29952
29995
  }
29953
29996
 
29954
- script$4.render = render$4;
29955
- script$4.__scopeId = "data-v-5e9efd2f";
29956
- script$4.__file = "src/components/UniMenu/UniMenu.vue";
29997
+ script$5.render = render$5;
29998
+ script$5.__scopeId = "data-v-5e9efd2f";
29999
+ script$5.__file = "src/components/UniMenu/UniMenu.vue";
29957
30000
 
29958
- var script$3 = defineComponent({
30001
+ var script$4 = defineComponent({
29959
30002
  name: 'UniWatermark'
29960
30003
  });
29961
30004
 
29962
30005
  const _withScopeId = n => (pushScopeId("data-v-0f2e9262"),n=n(),popScopeId(),n);
29963
- const _hoisted_1$3 = {
30006
+ const _hoisted_1$4 = {
29964
30007
  class: "unika-watermark",
29965
30008
  "aria-hidden": "true"
29966
30009
  };
29967
- const _hoisted_2$3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/createElementVNode("div", { class: "unika-watermark-pattern" }, null, -1 /* HOISTED */));
29968
- const _hoisted_3$3 = [
29969
- _hoisted_2$3
30010
+ const _hoisted_2$4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/createElementVNode("div", { class: "unika-watermark-pattern" }, null, -1 /* HOISTED */));
30011
+ const _hoisted_3$4 = [
30012
+ _hoisted_2$4
29970
30013
  ];
29971
30014
 
29972
- function render$3(_ctx, _cache, $props, $setup, $data, $options) {
29973
- return (openBlock(), createElementBlock("div", _hoisted_1$3, [..._hoisted_3$3]))
30015
+ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
30016
+ return (openBlock(), createElementBlock("div", _hoisted_1$4, [..._hoisted_3$4]))
29974
30017
  }
29975
30018
 
29976
- script$3.render = render$3;
29977
- script$3.__scopeId = "data-v-0f2e9262";
29978
- script$3.__file = "src/components/UniWatermark/UniWatermark.vue";
30019
+ script$4.render = render$4;
30020
+ script$4.__scopeId = "data-v-0f2e9262";
30021
+ script$4.__file = "src/components/UniWatermark/UniWatermark.vue";
29979
30022
 
29980
30023
  /**
29981
30024
  * 应用文字动画 - 用于 WorkRender/H5 等场景
@@ -30257,30 +30300,30 @@ function splitGraphemeClustersFallback(text) {
30257
30300
  return merged;
30258
30301
  }
30259
30302
 
30260
- var script$2 = defineComponent({
30303
+ var script$3 = defineComponent({
30261
30304
  name: 'WorkRenderH5',
30262
30305
  components: {
30263
- UniMusic: script$o,
30264
- UniText: script$r,
30265
- UniImage: script$q,
30266
- UniShape: script$p,
30267
- UniCalendar: script$m,
30268
- UniMap: script$k,
30269
- UniCountdown: script$l,
30270
- UniEffect: script$i,
30271
- UniVideo: script$n,
30272
- UniCall: script$j,
30273
- UniFormInput: script$e,
30274
- UniFormSubmit: script$d,
30275
- UniFormSelect: script$c,
30276
- UniFormMultiple: script$a,
30277
- UniFormSingle: script$b,
30278
- UniFormContainer: script$9,
30279
- UniBarrage: script$f,
30280
- UniMenu: script$4,
30281
- UniLottie: script$h,
30282
- UniButton: script$g,
30283
- UniWatermark: script$3,
30306
+ UniMusic: script$p,
30307
+ UniText: script$s,
30308
+ UniImage: script$r,
30309
+ UniShape: script$q,
30310
+ UniCalendar: script$n,
30311
+ UniMap: script$l,
30312
+ UniCountdown: script$m,
30313
+ UniEffect: script$j,
30314
+ UniVideo: script$o,
30315
+ UniCall: script$k,
30316
+ UniFormInput: script$f,
30317
+ UniFormSubmit: script$e,
30318
+ UniFormSelect: script$d,
30319
+ UniFormMultiple: script$b,
30320
+ UniFormSingle: script$c,
30321
+ UniFormContainer: script$a,
30322
+ UniBarrage: script$g,
30323
+ UniMenu: script$5,
30324
+ UniLottie: script$i,
30325
+ UniButton: script$h,
30326
+ UniWatermark: script$4,
30284
30327
  },
30285
30328
  props: {
30286
30329
  workData: {
@@ -30544,27 +30587,27 @@ var script$2 = defineComponent({
30544
30587
  }
30545
30588
  });
30546
30589
 
30547
- const _hoisted_1$2 = {
30590
+ const _hoisted_1$3 = {
30548
30591
  id: "index",
30549
30592
  ref: "container"
30550
30593
  };
30551
- const _hoisted_2$2 = {
30594
+ const _hoisted_2$3 = {
30552
30595
  id: "page-list",
30553
30596
  style: {"max-width":"800px"}
30554
30597
  };
30555
- const _hoisted_3$2 = { class: "page-wrap" };
30556
- const _hoisted_4$2 = ["data-type"];
30557
- const _hoisted_5$2 = { class: "ele-wrap" };
30558
- const _hoisted_6$2 = { class: "tip-content" };
30559
- const _hoisted_7$2 = /*#__PURE__*/createElementVNode("div", { class: "tip-btn" }, "OK", -1 /* HOISTED */);
30598
+ const _hoisted_3$3 = { class: "page-wrap" };
30599
+ const _hoisted_4$3 = ["data-type"];
30600
+ const _hoisted_5$3 = { class: "ele-wrap" };
30601
+ const _hoisted_6$3 = { class: "tip-content" };
30602
+ const _hoisted_7$3 = /*#__PURE__*/createElementVNode("div", { class: "tip-btn" }, "OK", -1 /* HOISTED */);
30560
30603
 
30561
- function render$2(_ctx, _cache, $props, $setup, $data, $options) {
30604
+ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
30562
30605
  const _component_UniMusic = resolveComponent("UniMusic");
30563
30606
  const _component_UniBarrage = resolveComponent("UniBarrage");
30564
30607
  const _component_UniMenu = resolveComponent("UniMenu");
30565
30608
  const _component_UniWatermark = resolveComponent("UniWatermark");
30566
30609
 
30567
- return (openBlock(), createElementBlock("div", _hoisted_1$2, [
30610
+ return (openBlock(), createElementBlock("div", _hoisted_1$3, [
30568
30611
  createCommentVNode(" 背景音乐 "),
30569
30612
  (_ctx.global.music.url)
30570
30613
  ? (openBlock(), createBlock(_component_UniMusic, {
@@ -30575,7 +30618,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
30575
30618
  }, null, 8 /* PROPS */, ["music-data"]))
30576
30619
  : createCommentVNode("v-if", true),
30577
30620
  createCommentVNode(" 页面切换器 "),
30578
- createElementVNode("div", _hoisted_2$2, [
30621
+ createElementVNode("div", _hoisted_2$3, [
30579
30622
  createVNode(TransitionGroup, {
30580
30623
  name: _ctx.currentTransition,
30581
30624
  tag: "div",
@@ -30590,7 +30633,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
30590
30633
  key: page.pageId,
30591
30634
  class: normalizeClass(["page-item", { 'current': _ctx.currentPageId === page.pageId }])
30592
30635
  }, [
30593
- createElementVNode("div", _hoisted_3$2, [
30636
+ createElementVNode("div", _hoisted_3$3, [
30594
30637
  createElementVNode("div", {
30595
30638
  "data-type": page.type,
30596
30639
  class: normalizeClass(['scroll-wrap', page.type === 'long' ? 'scroll-long' : 'scroll-normal']),
@@ -30615,7 +30658,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
30615
30658
  })
30616
30659
  }, null, 4 /* STYLE */)
30617
30660
  ], 4 /* STYLE */),
30618
- createElementVNode("div", _hoisted_5$2, [
30661
+ createElementVNode("div", _hoisted_5$3, [
30619
30662
  (openBlock(), createBlock(resolveDynamicComponent(page.elements.some(el => el.type === 'form-submit') ? 'UniFormContainer' : 'div'), normalizeProps(guardReactiveProps(page.elements.some(el => el.type === 'form-submit') ? { autoReset: true } : {})), {
30620
30663
  default: withCtx(() => [
30621
30664
  (openBlock(true), createElementBlock(Fragment, null, renderList(page.elements, (element) => {
@@ -30639,7 +30682,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
30639
30682
  _: 2 /* DYNAMIC */
30640
30683
  }, 1040 /* FULL_PROPS, DYNAMIC_SLOTS */))
30641
30684
  ])
30642
- ], 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_4$2)
30685
+ ], 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_4$3)
30643
30686
  ])
30644
30687
  ], 2 /* CLASS */)), [
30645
30688
  [vShow, _ctx.currentPageId === page.pageId]
@@ -30658,8 +30701,8 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
30658
30701
  createElementVNode("div", {
30659
30702
  class: normalizeClass(["tip", { 'success': _ctx.messageType === 'success', 'error': _ctx.messageType === 'error' }])
30660
30703
  }, [
30661
- createElementVNode("div", _hoisted_6$2, toDisplayString(_ctx.messageText), 1 /* TEXT */),
30662
- _hoisted_7$2
30704
+ createElementVNode("div", _hoisted_6$3, toDisplayString(_ctx.messageText), 1 /* TEXT */),
30705
+ _hoisted_7$3
30663
30706
  ], 2 /* CLASS */)
30664
30707
  ]))
30665
30708
  : createCommentVNode("v-if", true)
@@ -30672,37 +30715,37 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
30672
30715
  ], 512 /* NEED_PATCH */))
30673
30716
  }
30674
30717
 
30675
- script$2.render = render$2;
30676
- script$2.__file = "src/components/WorkRenderH5/WorkRenderH5.vue";
30718
+ script$3.render = render$3;
30719
+ script$3.__file = "src/components/WorkRenderH5/WorkRenderH5.vue";
30677
30720
 
30678
- script$2.install = (app) => {
30679
- app.component(script$2.name, script$2);
30721
+ script$3.install = (app) => {
30722
+ app.component(script$3.name, script$3);
30680
30723
  };
30681
30724
 
30682
- var script$1 = defineComponent({
30725
+ var script$2 = defineComponent({
30683
30726
  name: 'WorkRenderLong',
30684
30727
  components: {
30685
- UniMusic: script$o,
30686
- UniText: script$r,
30687
- UniImage: script$q,
30688
- UniShape: script$p,
30689
- UniCalendar: script$m,
30690
- UniMap: script$k,
30691
- UniCountdown: script$l,
30692
- UniEffect: script$i,
30693
- UniVideo: script$n,
30694
- UniCall: script$j,
30695
- UniFormInput: script$e,
30696
- UniFormSubmit: script$d,
30697
- UniFormSelect: script$c,
30698
- UniFormMultiple: script$a,
30699
- UniFormSingle: script$b,
30700
- UniFormContainer: script$9,
30701
- UniBarrage: script$f,
30702
- UniMenu: script$4,
30703
- UniLottie: script$h,
30704
- UniButton: script$g,
30705
- UniWatermark: script$3,
30728
+ UniMusic: script$p,
30729
+ UniText: script$s,
30730
+ UniImage: script$r,
30731
+ UniShape: script$q,
30732
+ UniCalendar: script$n,
30733
+ UniMap: script$l,
30734
+ UniCountdown: script$m,
30735
+ UniEffect: script$j,
30736
+ UniVideo: script$o,
30737
+ UniCall: script$k,
30738
+ UniFormInput: script$f,
30739
+ UniFormSubmit: script$e,
30740
+ UniFormSelect: script$d,
30741
+ UniFormMultiple: script$b,
30742
+ UniFormSingle: script$c,
30743
+ UniFormContainer: script$a,
30744
+ UniBarrage: script$g,
30745
+ UniMenu: script$5,
30746
+ UniLottie: script$i,
30747
+ UniButton: script$h,
30748
+ UniWatermark: script$4,
30706
30749
  },
30707
30750
  props: {
30708
30751
  workData: {
@@ -31052,28 +31095,28 @@ var script$1 = defineComponent({
31052
31095
  }
31053
31096
  });
31054
31097
 
31055
- const _hoisted_1$1 = {
31098
+ const _hoisted_1$2 = {
31056
31099
  id: "index",
31057
31100
  ref: "container"
31058
31101
  };
31059
- const _hoisted_2$1 = { id: "page-list" };
31060
- const _hoisted_3$1 = { class: "page-item current" };
31061
- const _hoisted_4$1 = { class: "page-wrap showAniEle" };
31062
- const _hoisted_5$1 = {
31102
+ const _hoisted_2$2 = { id: "page-list" };
31103
+ const _hoisted_3$2 = { class: "page-item current" };
31104
+ const _hoisted_4$2 = { class: "page-wrap showAniEle" };
31105
+ const _hoisted_5$2 = {
31063
31106
  class: "ele-wrap",
31064
31107
  style: {"position":"absolute"}
31065
31108
  };
31066
- const _hoisted_6$1 = { class: "tip-content" };
31067
- const _hoisted_7$1 = /*#__PURE__*/createElementVNode("div", { class: "tip-btn" }, "OK", -1 /* HOISTED */);
31109
+ const _hoisted_6$2 = { class: "tip-content" };
31110
+ const _hoisted_7$2 = /*#__PURE__*/createElementVNode("div", { class: "tip-btn" }, "OK", -1 /* HOISTED */);
31068
31111
 
31069
- function render$1(_ctx, _cache, $props, $setup, $data, $options) {
31112
+ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
31070
31113
  const _component_UniMusic = resolveComponent("UniMusic");
31071
31114
  const _component_UniFormContainer = resolveComponent("UniFormContainer");
31072
31115
  const _component_UniBarrage = resolveComponent("UniBarrage");
31073
31116
  const _component_UniMenu = resolveComponent("UniMenu");
31074
31117
  const _component_UniWatermark = resolveComponent("UniWatermark");
31075
31118
 
31076
- return (openBlock(), createElementBlock("div", _hoisted_1$1, [
31119
+ return (openBlock(), createElementBlock("div", _hoisted_1$2, [
31077
31120
  createCommentVNode(" 背景音乐组件 "),
31078
31121
  (_ctx.global && _ctx.global.music && _ctx.global.music.url)
31079
31122
  ? (openBlock(), createBlock(_component_UniMusic, {
@@ -31084,9 +31127,9 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
31084
31127
  }, null, 8 /* PROPS */, ["music-data"]))
31085
31128
  : createCommentVNode("v-if", true),
31086
31129
  createCommentVNode(" 页面容器 "),
31087
- createElementVNode("div", _hoisted_2$1, [
31088
- createElementVNode("div", _hoisted_3$1, [
31089
- createElementVNode("div", _hoisted_4$1, [
31130
+ createElementVNode("div", _hoisted_2$2, [
31131
+ createElementVNode("div", _hoisted_3$2, [
31132
+ createElementVNode("div", _hoisted_4$2, [
31090
31133
  createElementVNode("div", {
31091
31134
  "data-type": "long",
31092
31135
  class: "scroll-wrap scroll-long",
@@ -31116,7 +31159,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
31116
31159
  }, null, 4 /* STYLE */)
31117
31160
  ], 4 /* STYLE */),
31118
31161
  createCommentVNode(" 页面元素容器 "),
31119
- createElementVNode("div", _hoisted_5$1, [
31162
+ createElementVNode("div", _hoisted_5$2, [
31120
31163
  (_ctx.page.elements.some(el => el.type === 'form-submit'))
31121
31164
  ? (openBlock(), createBlock(_component_UniFormContainer, {
31122
31165
  key: 0,
@@ -31175,8 +31218,8 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
31175
31218
  createElementVNode("div", {
31176
31219
  class: normalizeClass(["tip", { 'success': _ctx.messageType === 'success', 'error': _ctx.messageType === 'error' }])
31177
31220
  }, [
31178
- createElementVNode("div", _hoisted_6$1, toDisplayString(_ctx.messageText), 1 /* TEXT */),
31179
- _hoisted_7$1
31221
+ createElementVNode("div", _hoisted_6$2, toDisplayString(_ctx.messageText), 1 /* TEXT */),
31222
+ _hoisted_7$2
31180
31223
  ], 2 /* CLASS */)
31181
31224
  ]))
31182
31225
  : createCommentVNode("v-if", true)
@@ -31190,37 +31233,376 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
31190
31233
  ], 512 /* NEED_PATCH */))
31191
31234
  }
31192
31235
 
31193
- script$1.render = render$1;
31194
- script$1.__file = "src/components/WorkRenderLong/WorkRenderLong.vue";
31236
+ script$2.render = render$2;
31237
+ script$2.__file = "src/components/WorkRenderLong/WorkRenderLong.vue";
31195
31238
 
31196
- script$1.install = (app) => {
31197
- app.component(script$1.name, script$1);
31239
+ script$2.install = (app) => {
31240
+ app.component(script$2.name, script$2);
31198
31241
  };
31199
31242
 
31243
+ const PLACEHOLDER_INVITE_STATE_IDS = new Set(['invite-default-1']);
31244
+ function isPlaceholderInviteStateId(stateId) {
31245
+ if (!stateId)
31246
+ return false;
31247
+ if (PLACEHOLDER_INVITE_STATE_IDS.has(stateId))
31248
+ return true;
31249
+ return stateId.startsWith('invite-default-');
31250
+ }
31251
+ function isValidInviteItem(item) {
31252
+ return !!(item && item.img1 && item.name);
31253
+ }
31254
+ function pickInviteItemByState(invite, stateId) {
31255
+ const items = invite.items || [];
31256
+ const direct = items.find((i) => i.id === stateId);
31257
+ if (direct)
31258
+ return direct;
31259
+ // 兼容模板占位 id:条目已迁移为随机 id 时,旧链接仍只有一条送呈
31260
+ if (isPlaceholderInviteStateId(stateId) && items.length === 1) {
31261
+ return items[0];
31262
+ }
31263
+ return undefined;
31264
+ }
31265
+ /** 根据 URL state 从 global.invite 解析单条送呈渲染数据 */
31266
+ function resolveInviteRenderData(invite, stateId) {
31267
+ if (!stateId || !invite || !invite.open)
31268
+ return null;
31269
+ const item = pickInviteItemByState(invite, stateId);
31270
+ if (!isValidInviteItem(item))
31271
+ return null;
31272
+ return {
31273
+ titleChars: invite.titleChars,
31274
+ item: item,
31275
+ };
31276
+ }
31277
+ /** 从 global.invite.renderItem 得到 UniInvite 渲染数据 */
31278
+ function getInviteRenderFromGlobal(invite) {
31279
+ if (!invite || !invite.open || !invite.renderItem)
31280
+ return null;
31281
+ if (!isValidInviteItem(invite.renderItem))
31282
+ return null;
31283
+ return {
31284
+ titleChars: invite.titleChars,
31285
+ item: invite.renderItem,
31286
+ };
31287
+ }
31288
+ /**
31289
+ * h5-server:根据 ?state= 将解析结果写入 global.invite.renderItem(不修改 items)
31290
+ */
31291
+ function applyInviteStateToGlobal(global, stateId) {
31292
+ const invite = global.invite;
31293
+ if (!invite)
31294
+ return global;
31295
+ const resolved = resolveInviteRenderData(invite, stateId);
31296
+ return {
31297
+ ...global,
31298
+ invite: {
31299
+ ...invite,
31300
+ renderItem: resolved && resolved.item ? resolved.item : null,
31301
+ },
31302
+ };
31303
+ }
31304
+
31305
+ /**
31306
+ * 送呈显示逻辑:
31307
+ * - 每次进入/刷新页面都显示
31308
+ * - 点击打开后当前页不再显示
31309
+ * - 刷新 URL 后重新显示(不使用 localStorage)
31310
+ */
31311
+ function useInviteManager() {
31312
+ const isDismissed = ref(false);
31313
+ const shouldShow = computed(() => !isDismissed.value);
31314
+ const dismiss = () => {
31315
+ isDismissed.value = true;
31316
+ };
31317
+ const reset = () => {
31318
+ isDismissed.value = false;
31319
+ };
31320
+ return {
31321
+ isDismissed,
31322
+ shouldShow,
31323
+ dismiss,
31324
+ reset,
31325
+ };
31326
+ }
31327
+
31328
+ /** 各 layout 点击打开动画结束后隐藏(ms) */
31329
+ const DISMISS_DELAY = {
31330
+ type1: 2800,
31331
+ type2: 2200,
31332
+ type3: 2400,
31333
+ type4: 2400,
31334
+ type5: 2800,
31335
+ type6: 2500,
31336
+ };
31337
+ function getInviteDismissDelay(layout = 'type2') {
31338
+ const delay = DISMISS_DELAY[layout];
31339
+ return delay != null ? delay : DISMISS_DELAY.type2;
31340
+ }
31341
+
31342
+ var script$1 = defineComponent({
31343
+ name: 'uni-invite',
31344
+ props: {
31345
+ inviteRender: {
31346
+ type: Object,
31347
+ default: null,
31348
+ },
31349
+ sceneId: {
31350
+ type: String,
31351
+ default: '',
31352
+ },
31353
+ forceShow: {
31354
+ type: Boolean,
31355
+ default: false,
31356
+ },
31357
+ preview: {
31358
+ type: Boolean,
31359
+ default: false,
31360
+ },
31361
+ },
31362
+ emits: ['dismiss', 'click'],
31363
+ setup(props, { emit }) {
31364
+ const { shouldShow, dismiss } = useInviteManager();
31365
+ const isOpening = ref(false);
31366
+ const item = computed(() => {
31367
+ if (!props.inviteRender || !props.inviteRender.item)
31368
+ return null;
31369
+ return props.inviteRender.item;
31370
+ });
31371
+ const layoutType = computed(() => {
31372
+ return item.value && item.value.layout ? item.value.layout : 'type2';
31373
+ });
31374
+ const titleChars = computed(() => {
31375
+ if (props.inviteRender && props.inviteRender.titleChars) {
31376
+ return props.inviteRender.titleChars;
31377
+ }
31378
+ return ['บัตร', 'เชิญ'];
31379
+ });
31380
+ const inviteStyle = computed(() => ({
31381
+ fontFamily: item.value && item.value.fontFamily ? item.value.fontFamily : 'inherit',
31382
+ color: item.value && item.value.fontColor ? item.value.fontColor : 'rgb(255, 244, 205)',
31383
+ }));
31384
+ const visible = computed(() => {
31385
+ if (!isValidInviteItem(item.value))
31386
+ return false;
31387
+ if (props.forceShow)
31388
+ return true;
31389
+ return shouldShow.value;
31390
+ });
31391
+ const handleClick = () => {
31392
+ if (props.forceShow || props.preview) {
31393
+ emit('click');
31394
+ return;
31395
+ }
31396
+ if (isOpening.value)
31397
+ return;
31398
+ isOpening.value = true;
31399
+ const delay = getInviteDismissDelay(layoutType.value);
31400
+ window.setTimeout(() => {
31401
+ dismiss();
31402
+ emit('dismiss');
31403
+ }, delay);
31404
+ };
31405
+ onMounted(() => {
31406
+ // #region agent log
31407
+ 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(() => { });
31408
+ // #endregion
31409
+ });
31410
+ return {
31411
+ visible,
31412
+ isOpening,
31413
+ layoutType,
31414
+ titleChars,
31415
+ inviteStyle,
31416
+ item,
31417
+ handleClick,
31418
+ };
31419
+ },
31420
+ });
31421
+
31422
+ const _hoisted_1$1 = ["src"];
31423
+ const _hoisted_2$1 = { class: "top-ani" };
31424
+ const _hoisted_3$1 = ["src"];
31425
+ const _hoisted_4$1 = { class: "title" };
31426
+ const _hoisted_5$1 = ["src"];
31427
+ const _hoisted_6$1 = { class: "name" };
31428
+ const _hoisted_7$1 = { class: "content" };
31429
+ const _hoisted_8 = /*#__PURE__*/createElementVNode("span", null, "—", -1 /* HOISTED */);
31430
+ const _hoisted_9 = /*#__PURE__*/createElementVNode("span", null, "—", -1 /* HOISTED */);
31431
+ const _hoisted_10 = ["src"];
31432
+ const _hoisted_11 = ["src"];
31433
+ const _hoisted_12 = { class: "right-ani" };
31434
+ const _hoisted_13 = ["src"];
31435
+ const _hoisted_14 = { class: "title" };
31436
+ const _hoisted_15 = { class: "name" };
31437
+ const _hoisted_16 = { class: "content" };
31438
+ const _hoisted_17 = ["src"];
31439
+ const _hoisted_18 = ["src"];
31440
+ const _hoisted_19 = { class: "top-ani" };
31441
+ const _hoisted_20 = ["src"];
31442
+ const _hoisted_21 = { class: "title" };
31443
+ const _hoisted_22 = ["src"];
31444
+ const _hoisted_23 = { class: "name" };
31445
+ const _hoisted_24 = { class: "content" };
31446
+ const _hoisted_25 = /*#__PURE__*/createElementVNode("span", null, "—", -1 /* HOISTED */);
31447
+ const _hoisted_26 = /*#__PURE__*/createElementVNode("span", null, "—", -1 /* HOISTED */);
31448
+ const _hoisted_27 = ["src"];
31449
+
31450
+ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
31451
+ return (_ctx.visible && _ctx.item)
31452
+ ? (openBlock(), createElementBlock("div", {
31453
+ key: 0,
31454
+ id: "invite",
31455
+ class: normalizeClass({ 'uni-invite--preview': _ctx.preview }),
31456
+ style: normalizeStyle(_ctx.inviteStyle),
31457
+ onClick: _cache[0] || (_cache[0] = (...args) => (_ctx.handleClick && _ctx.handleClick(...args)))
31458
+ }, [
31459
+ createCommentVNode(" type2:上下翻页(默认) "),
31460
+ (_ctx.layoutType === 'type2')
31461
+ ? (openBlock(), createElementBlock("div", {
31462
+ key: 0,
31463
+ class: normalizeClass(["type2", { active: _ctx.isOpening }])
31464
+ }, [
31465
+ createElementVNode("img", {
31466
+ src: _ctx.item.img1,
31467
+ alt: "",
31468
+ class: "img1"
31469
+ }, null, 8 /* PROPS */, _hoisted_1$1),
31470
+ createElementVNode("div", _hoisted_2$1, [
31471
+ createElementVNode("img", {
31472
+ src: _ctx.item.img2,
31473
+ alt: "",
31474
+ class: "img2"
31475
+ }, null, 8 /* PROPS */, _hoisted_3$1),
31476
+ createElementVNode("div", _hoisted_4$1, [
31477
+ createElementVNode("span", null, toDisplayString(_ctx.titleChars[0]), 1 /* TEXT */),
31478
+ createElementVNode("span", null, toDisplayString(_ctx.titleChars[1]), 1 /* TEXT */)
31479
+ ]),
31480
+ (_ctx.item.divider)
31481
+ ? (openBlock(), createElementBlock("img", {
31482
+ key: 0,
31483
+ src: _ctx.item.divider,
31484
+ alt: "",
31485
+ class: "divider"
31486
+ }, null, 8 /* PROPS */, _hoisted_5$1))
31487
+ : createCommentVNode("v-if", true),
31488
+ createElementVNode("div", _hoisted_6$1, toDisplayString(_ctx.item.name), 1 /* TEXT */)
31489
+ ]),
31490
+ createElementVNode("div", _hoisted_7$1, [
31491
+ _hoisted_8,
31492
+ createTextVNode(" " + toDisplayString(_ctx.item.phrase) + " ", 1 /* TEXT */),
31493
+ _hoisted_9
31494
+ ]),
31495
+ createElementVNode("img", {
31496
+ src: _ctx.item.img3,
31497
+ alt: "",
31498
+ class: "img3"
31499
+ }, null, 8 /* PROPS */, _hoisted_10)
31500
+ ], 2 /* CLASS */))
31501
+ : (_ctx.layoutType === 'type3')
31502
+ ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
31503
+ createCommentVNode(" type3:右侧竖排翻页 "),
31504
+ createElementVNode("div", {
31505
+ class: normalizeClass(["type3", { active: _ctx.isOpening }])
31506
+ }, [
31507
+ createElementVNode("img", {
31508
+ src: _ctx.item.img1,
31509
+ alt: "",
31510
+ class: "img1"
31511
+ }, null, 8 /* PROPS */, _hoisted_11),
31512
+ createElementVNode("div", _hoisted_12, [
31513
+ createElementVNode("img", {
31514
+ src: _ctx.item.img2,
31515
+ alt: "",
31516
+ class: "img2"
31517
+ }, null, 8 /* PROPS */, _hoisted_13),
31518
+ createElementVNode("div", _hoisted_14, [
31519
+ createElementVNode("span", null, toDisplayString(_ctx.titleChars[0]), 1 /* TEXT */),
31520
+ createElementVNode("span", null, toDisplayString(_ctx.titleChars[1]), 1 /* TEXT */)
31521
+ ]),
31522
+ createElementVNode("div", _hoisted_15, toDisplayString(_ctx.item.name), 1 /* TEXT */),
31523
+ createElementVNode("div", _hoisted_16, toDisplayString(_ctx.item.phrase), 1 /* TEXT */)
31524
+ ]),
31525
+ createElementVNode("img", {
31526
+ src: _ctx.item.img3,
31527
+ alt: "",
31528
+ class: "img3"
31529
+ }, null, 8 /* PROPS */, _hoisted_17)
31530
+ ], 2 /* CLASS */)
31531
+ ], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */))
31532
+ : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
31533
+ createCommentVNode(" 其他 layout 暂 fallback 到 type2 "),
31534
+ createElementVNode("div", {
31535
+ class: normalizeClass(["type2", { active: _ctx.isOpening }])
31536
+ }, [
31537
+ createElementVNode("img", {
31538
+ src: _ctx.item.img1,
31539
+ alt: "",
31540
+ class: "img1"
31541
+ }, null, 8 /* PROPS */, _hoisted_18),
31542
+ createElementVNode("div", _hoisted_19, [
31543
+ createElementVNode("img", {
31544
+ src: _ctx.item.img2,
31545
+ alt: "",
31546
+ class: "img2"
31547
+ }, null, 8 /* PROPS */, _hoisted_20),
31548
+ createElementVNode("div", _hoisted_21, [
31549
+ createElementVNode("span", null, toDisplayString(_ctx.titleChars[0]), 1 /* TEXT */),
31550
+ createElementVNode("span", null, toDisplayString(_ctx.titleChars[1]), 1 /* TEXT */)
31551
+ ]),
31552
+ (_ctx.item.divider)
31553
+ ? (openBlock(), createElementBlock("img", {
31554
+ key: 0,
31555
+ src: _ctx.item.divider,
31556
+ alt: "",
31557
+ class: "divider"
31558
+ }, null, 8 /* PROPS */, _hoisted_22))
31559
+ : createCommentVNode("v-if", true),
31560
+ createElementVNode("div", _hoisted_23, toDisplayString(_ctx.item.name), 1 /* TEXT */)
31561
+ ]),
31562
+ createElementVNode("div", _hoisted_24, [
31563
+ _hoisted_25,
31564
+ createTextVNode(" " + toDisplayString(_ctx.item.phrase) + " ", 1 /* TEXT */),
31565
+ _hoisted_26
31566
+ ]),
31567
+ createElementVNode("img", {
31568
+ src: _ctx.item.img3,
31569
+ alt: "",
31570
+ class: "img3"
31571
+ }, null, 8 /* PROPS */, _hoisted_27)
31572
+ ], 2 /* CLASS */)
31573
+ ], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */))
31574
+ ], 6 /* CLASS, STYLE */))
31575
+ : createCommentVNode("v-if", true)
31576
+ }
31577
+
31578
+ script$1.render = render$1;
31579
+ script$1.__file = "src/components/UniInvite/UniInvite.vue";
31580
+
31200
31581
  var script = defineComponent({
31201
31582
  name: 'WorkRender',
31202
31583
  components: {
31203
- UniMusic: script$o,
31204
- UniText: script$r,
31205
- UniImage: script$q,
31206
- UniShape: script$p,
31207
- UniCalendar: script$m,
31208
- UniMap: script$k,
31209
- UniCountdown: script$l,
31210
- UniEffect: script$i,
31211
- UniVideo: script$n,
31212
- UniCall: script$j,
31213
- UniFormInput: script$e,
31214
- UniFormSubmit: script$d,
31215
- UniFormSelect: script$c,
31216
- UniFormMultiple: script$a,
31217
- UniFormSingle: script$b,
31218
- UniFormContainer: script$9,
31219
- UniBarrage: script$f,
31220
- UniMenu: script$4,
31221
- UniLottie: script$h,
31222
- UniButton: script$g,
31223
- UniWatermark: script$3,
31584
+ UniMusic: script$p,
31585
+ UniText: script$s,
31586
+ UniImage: script$r,
31587
+ UniShape: script$q,
31588
+ UniCalendar: script$n,
31589
+ UniMap: script$l,
31590
+ UniCountdown: script$m,
31591
+ UniEffect: script$j,
31592
+ UniVideo: script$o,
31593
+ UniCall: script$k,
31594
+ UniFormInput: script$f,
31595
+ UniFormSubmit: script$e,
31596
+ UniFormSelect: script$d,
31597
+ UniFormMultiple: script$b,
31598
+ UniFormSingle: script$c,
31599
+ UniFormContainer: script$a,
31600
+ UniBarrage: script$g,
31601
+ UniMenu: script$5,
31602
+ UniLottie: script$i,
31603
+ UniButton: script$h,
31604
+ UniWatermark: script$4,
31605
+ UniInvite: script$1,
31224
31606
  },
31225
31607
  props: {
31226
31608
  workData: {
@@ -31246,6 +31628,18 @@ var script = defineComponent({
31246
31628
  const personalData = computed(() => workData.value.personalData || {});
31247
31629
  const global = computed(() => workData.value.global || {});
31248
31630
  const pages = computed(() => workData.value.pages || []);
31631
+ const inviteRender = computed(() => {
31632
+ const invite = global.value.invite;
31633
+ const fromRenderItem = getInviteRenderFromGlobal(invite);
31634
+ if (fromRenderItem)
31635
+ return fromRenderItem;
31636
+ if (typeof window !== 'undefined' && invite) {
31637
+ const stateId = new URLSearchParams(window.location.search).get('state');
31638
+ if (stateId)
31639
+ return resolveInviteRenderData(invite, stateId);
31640
+ }
31641
+ return null;
31642
+ });
31249
31643
  /** 仅 member_level === 1 显示水印;2、3 及缺省等均不显示 */
31250
31644
  const shouldShowWatermark = computed(() => Number(global.value.member_level) === 1);
31251
31645
  // 长页模式
@@ -31468,6 +31862,9 @@ var script = defineComponent({
31468
31862
  nextTick(() => {
31469
31863
  setTimeout(runTextAnimationsForCurrentPage, 150);
31470
31864
  });
31865
+ // #region agent log
31866
+ 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(() => { });
31867
+ // #endregion
31471
31868
  });
31472
31869
  onBeforeUnmount(() => {
31473
31870
  if (global.value.cat === 'long_page') {
@@ -32079,6 +32476,7 @@ var script = defineComponent({
32079
32476
  return {
32080
32477
  personalData,
32081
32478
  global,
32479
+ inviteRender,
32082
32480
  shouldShowWatermark,
32083
32481
  pages,
32084
32482
  currentPageId,
@@ -32145,6 +32543,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
32145
32543
  const _component_UniBarrage = resolveComponent("UniBarrage");
32146
32544
  const _component_UniMenu = resolveComponent("UniMenu");
32147
32545
  const _component_UniWatermark = resolveComponent("UniWatermark");
32546
+ const _component_UniInvite = resolveComponent("UniInvite");
32148
32547
 
32149
32548
  return (openBlock(), createElementBlock("div", _hoisted_1, [
32150
32549
  createCommentVNode(" 背景音乐 "),
@@ -32253,6 +32652,13 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
32253
32652
  createVNode(_component_UniMenu, { global: _ctx.global }, null, 8 /* PROPS */, ["global"]),
32254
32653
  (_ctx.shouldShowWatermark)
32255
32654
  ? (openBlock(), createBlock(_component_UniWatermark, { key: 1 }))
32655
+ : createCommentVNode("v-if", true),
32656
+ (_ctx.inviteRender)
32657
+ ? (openBlock(), createBlock(_component_UniInvite, {
32658
+ key: 2,
32659
+ "invite-render": _ctx.inviteRender,
32660
+ "scene-id": _ctx.global.sceneId || ''
32661
+ }, null, 8 /* PROPS */, ["invite-render", "scene-id"]))
32256
32662
  : createCommentVNode("v-if", true)
32257
32663
  ], 512 /* NEED_PATCH */))
32258
32664
  }
@@ -32264,6 +32670,10 @@ script.install = (app) => {
32264
32670
  app.component(script.name, script);
32265
32671
  };
32266
32672
 
32673
+ script$f.install = (app) => {
32674
+ app.component(script$f.name, script$f);
32675
+ };
32676
+
32267
32677
  script$e.install = (app) => {
32268
32678
  app.component(script$e.name, script$e);
32269
32679
  };
@@ -32284,35 +32694,753 @@ script$a.install = (app) => {
32284
32694
  app.component(script$a.name, script$a);
32285
32695
  };
32286
32696
 
32287
- script$9.install = (app) => {
32288
- app.component(script$9.name, script$9);
32697
+ script$5.install = (app) => {
32698
+ app.component(script$5.name, script$5);
32289
32699
  };
32290
32700
 
32291
- script$4.install = (app) => {
32292
- app.component(script$4.name, script$4);
32701
+ script$8.install = (app) => {
32702
+ app.component(script$8.name, script$8);
32293
32703
  };
32294
32704
 
32295
32705
  script$7.install = (app) => {
32296
32706
  app.component(script$7.name, script$7);
32297
32707
  };
32298
32708
 
32709
+ script$9.install = (app) => {
32710
+ app.component(script$9.name, script$9);
32711
+ };
32712
+
32299
32713
  script$6.install = (app) => {
32300
32714
  app.component(script$6.name, script$6);
32301
32715
  };
32302
32716
 
32303
- script$8.install = (app) => {
32304
- app.component(script$8.name, script$8);
32717
+ script$4.install = (app) => {
32718
+ app.component(script$4.name, script$4);
32305
32719
  };
32306
32720
 
32307
- script$5.install = (app) => {
32308
- app.component(script$5.name, script$5);
32721
+ script$1.install = (app) => {
32722
+ app.component(script$1.name, script$1);
32309
32723
  };
32310
32724
 
32311
- script$3.install = (app) => {
32312
- app.component(script$3.name, script$3);
32725
+ /** 送呈封面模板 开发 fallback,生产由 biz-editor-server 提供 */
32726
+ const INVITE_COVER_TEMPLATES = [
32727
+ {
32728
+ id: 'horse-lotus',
32729
+ name: '神马都好',
32730
+ layout: 'type2',
32731
+ img1: 'https://unika-static-dev.oss-ap-southeast-7.aliyuncs.com/admin/invite/176950478669788012e57f2.png',
32732
+ img2: 'https://unika-static-dev.oss-ap-southeast-7.aliyuncs.com/admin/invite/17695047966978801c72723.png',
32733
+ img3: 'https://unika-static-dev.oss-ap-southeast-7.aliyuncs.com/admin/invite/176950476769787fff50681.png',
32734
+ divider: 'https://unika-static-dev.oss-ap-southeast-7.aliyuncs.com/admin/invite/176.png',
32735
+ fontFamily: 'xinyahei_1',
32736
+ fontColor: 'rgb(255, 244, 205)',
32737
+ },
32738
+ ];
32739
+ function getInviteTemplateById(id) {
32740
+ return INVITE_COVER_TEMPLATES.find(t => t.id === id);
32741
+ }
32742
+
32743
+ const defaultItemId = 'invite-default-1'; // template placeholder — replace with random id at runtime
32744
+ const defaultTpl = INVITE_COVER_TEMPLATES[0];
32745
+ /** global.invite 默认结构 — 仅含渲染字段,不含 templates/phrases */
32746
+ const inviteDefaultProps = {
32747
+ open: true,
32748
+ titleChars: ['บัตร', 'เชิญ'],
32749
+ items: [
32750
+ {
32751
+ id: defaultItemId,
32752
+ name: '我',
32753
+ phrase: '邀请您一道分享我们的喜悦',
32754
+ templateId: defaultTpl.id,
32755
+ templateName: defaultTpl.name,
32756
+ img1: defaultTpl.img1,
32757
+ img2: defaultTpl.img2,
32758
+ img3: defaultTpl.img3,
32759
+ divider: defaultTpl.divider,
32760
+ fontFamily: defaultTpl.fontFamily,
32761
+ fontColor: defaultTpl.fontColor,
32762
+ },
32763
+ ],
32313
32764
  };
32314
32765
 
32766
+ const musicDefaultProps = {
32767
+ // url: "https://h5cdn.unika.cc/static/img/uniComponents/MarryMe.mp3",
32768
+ url: "",
32769
+ name: "Love Paradise",
32770
+ music_id: '2302',
32771
+ bgcolor: "rgba(128, 90, 218, 0.19)",
32772
+ iconUrl: "https://h5cdn.unika.cc/static/assets/musicBackground/musicBackground-1.png",
32773
+ isGlobal: false,
32774
+ };
32775
+
32776
+ const calendarDefaultProps = {
32777
+ id: '1748877692931',
32778
+ pid: '',
32779
+ type: 'calendar',
32780
+ layerName: '日历14',
32781
+ endTime: '2025/05/22',
32782
+ language: 'Chinese',
32783
+ kind: 1,
32784
+ sign: true,
32785
+ signSort: 4,
32786
+ showSize: 'middle',
32787
+ themeColor: '#ed5566',
32788
+ heartColor: 'rgba(151, 237, 85, 1)',
32789
+ heartAni: true,
32790
+ dateColor: '#666',
32791
+ css: {
32792
+ borderWidth: 2,
32793
+ borderStyle: 'solid',
32794
+ borderColor: '#ed5566',
32795
+ opacity: 0.98,
32796
+ backgroundColor: '#fff',
32797
+ width: 325,
32798
+ height: 325,
32799
+ borderRadius: 0,
32800
+ top: 148.5625,
32801
+ left: 28.4375,
32802
+ transform: 0,
32803
+ animation2: 'fadeInDown 1.5s ease 0.0s 1 normal backwards running',
32804
+ animation: 'fadeInDown 1.5s ease 0.0s 1 normal backwards running'
32805
+ },
32806
+ properties: {
32807
+ visible: true,
32808
+ isLock: false,
32809
+ required: true,
32810
+ musicName: '',
32811
+ musicLink: '',
32812
+ musicHash: '',
32813
+ shadowSize: 0,
32814
+ shadowColor: '#999999',
32815
+ shadowX: 0,
32816
+ shadowY: 0,
32817
+ shadowBlur: 0,
32818
+ shadowPoint: 270,
32819
+ aniOrigin: 'default',
32820
+ animations: [
32821
+ {
32822
+ animate: 'fadeInDown',
32823
+ count: 1,
32824
+ timing: 'ease',
32825
+ loop: false,
32826
+ delay: 0,
32827
+ duration: 1.5,
32828
+ name: '从上淡入',
32829
+ order: 'normal',
32830
+ type: 'normal',
32831
+ aniType: 'entry',
32832
+ allDelay: '0.0',
32833
+ id: 80102
32834
+ }
32835
+ ],
32836
+ textAni: []
32837
+ },
32838
+ triggers: {
32839
+ event: 'music',
32840
+ link: 'http://www.baidu.com',
32841
+ go: 4,
32842
+ phone: '0622222222',
32843
+ musicName: '告白气球',
32844
+ musicLink: 'https://amp3.hunbei.com/mp3/qiniu/gaobaiqiqiu.mp3',
32845
+ musicHash: '',
32846
+ music_id: 2247,
32847
+ cat: 'sys',
32848
+ originalUrl: '',
32849
+ crop: null,
32850
+ },
32851
+ signType: 'time'
32852
+ };
32853
+
32854
+ const mapDefaultProps =
32855
+ // {
32856
+ // "id": '1714374739136',
32857
+ // "pid": "",
32858
+ // "type": "map",
32859
+ // "textContent": "",
32860
+ // "layerName": "地图20",
32861
+ // "btnName": "导航",
32862
+ // "sign": true,
32863
+ // "signSort": 4,
32864
+ // "mapStyle": "按钮",
32865
+ // "css": {
32866
+ // "borderWidth": 0,
32867
+ // "borderStyle": "solid",
32868
+ // "borderColor": "rgba(153, 153, 153, 1)",
32869
+ // "opacity": 1,
32870
+ // "fontSize": 30,
32871
+ // "color": "rgba(255, 255, 255, 1)",
32872
+ // "backgroundColor": "rgba(52, 68, 244, 1)",
32873
+ // "width": 220,
32874
+ // "height": 40,
32875
+ // "top": 378,
32876
+ // "left": 127.5,
32877
+ // "transform": 0,
32878
+ // "borderRadius": 0,
32879
+ // "animation2": "fadeIn 1.5s ease 1.0s 1 normal backwards running",
32880
+ // "animation": "fadeIn 1.5s ease 1.0s 1 normal backwards running"
32881
+ // },
32882
+ // "properties": {
32883
+ // "visible": true,
32884
+ // "isLock": false,
32885
+ // "required": true,
32886
+ // "musicName": "",
32887
+ // "musicLink": "",
32888
+ // "musicHash": "",
32889
+ // "shadowSize": 0,
32890
+ // "shadowColor": "#999999",
32891
+ // "shadowX": 0,
32892
+ // "shadowY": 0,
32893
+ // "shadowBlur": 0,
32894
+ // "shadowPoint": 270,
32895
+ // "aniOrigin": "default",
32896
+ // "animations": [
32897
+ // {
32898
+ // "animate": "fadeIn",
32899
+ // "count": 1,
32900
+ // "timing": "ease",
32901
+ // "loop": false,
32902
+ // "delay": 1,
32903
+ // "duration": 1.5,
32904
+ // "name": "淡入",
32905
+ // "order": "normal",
32906
+ // "type": "normal",
32907
+ // "aniType": "entry",
32908
+ // "allDelay": "1.0",
32909
+ // "id": 40976
32910
+ // }
32911
+ // ],
32912
+ // "lng": 120.298935,
32913
+ // "lat": 35.972687,
32914
+ // "location": "涵碧楼酒店",
32915
+ // "zoom": 15,
32916
+ // "type": "gaode",
32917
+ // "isMapEdit": 1,
32918
+ // "textAni": [],
32919
+ // "mapImg": "",
32920
+ // "mapChange": "120.298935|35.972687|15|205|205"
32921
+ // },
32922
+ // "signType": "ditu"
32923
+ // }
32924
+ {
32925
+ id: '',
32926
+ pid: '',
32927
+ type: 'map',
32928
+ textContent: '',
32929
+ layerName: 'map',
32930
+ btnName: 'Google Map',
32931
+ sign: true,
32932
+ signSort: 6,
32933
+ mapStyle: 'default',
32934
+ 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>',
32935
+ url: 'https://maps.app.goo.gl/DbrLnbiWJt9DQa3y6',
32936
+ css: {
32937
+ borderWidth: 0,
32938
+ borderStyle: 'solid',
32939
+ borderColor: 'rgba(153, 153, 153, 1)',
32940
+ opacity: 1,
32941
+ fontSize: 30,
32942
+ color: 'rgba(255, 255, 255, 1)',
32943
+ backgroundColor: 'rgba(52, 68, 244, 1)',
32944
+ width: 220,
32945
+ height: 220,
32946
+ top: 196,
32947
+ left: 77,
32948
+ transform: 0,
32949
+ borderRadius: 0
32950
+ },
32951
+ properties: {
32952
+ visible: true,
32953
+ isLock: false,
32954
+ required: true,
32955
+ musicName: '',
32956
+ musicLink: '',
32957
+ musicHash: '',
32958
+ shadowSize: 0,
32959
+ shadowColor: '#999999',
32960
+ shadowX: 0,
32961
+ shadowY: 0,
32962
+ shadowBlur: 0,
32963
+ shadowPoint: 270,
32964
+ aniOrigin: 'default',
32965
+ animations: [],
32966
+ lng: 120.298935,
32967
+ lat: 35.972687,
32968
+ location: 'One Bangkok',
32969
+ zoom: 15,
32970
+ type: 'google',
32971
+ isMapEdit: 0
32972
+ },
32973
+ signType: 'map'
32974
+ };
32975
+
32976
+ const countdownDefaultProps = {
32977
+ id: '1749545996934',
32978
+ pid: '',
32979
+ type: 'countdown',
32980
+ layerName: 'countdown',
32981
+ deadline: '2025-11-15 13:00:00',
32982
+ endOption: 'zero',
32983
+ endText: '',
32984
+ sign: true,
32985
+ language: 'th',
32986
+ direction: 'across',
32987
+ signSort: 7,
32988
+ showType: 'flip',
32989
+ showSize: 'middle',
32990
+ css: {
32991
+ borderWidth: 0,
32992
+ borderStyle: 'solid',
32993
+ borderColor: 'rgba(153, 153, 153, 1)',
32994
+ opacity: 1,
32995
+ fontSize: 20,
32996
+ color: 'rgba(255, 255, 255, 1)',
32997
+ backgroundColor: '#000000',
32998
+ width: 375,
32999
+ height: 85,
33000
+ borderRadius: 5,
33001
+ top: 214.5,
33002
+ left: 35,
33003
+ transform: 0,
33004
+ textAlign: 'center',
33005
+ animation2: 'fadeInLeft 1.5s ease 0.0s 1 normal backwards running',
33006
+ animation: 'fadeInLeft 1.5s ease 0.0s 1 normal backwards running'
33007
+ },
33008
+ properties: {
33009
+ visible: true,
33010
+ isLock: false,
33011
+ required: true,
33012
+ musicName: '',
33013
+ musicLink: '',
33014
+ musicHash: '',
33015
+ shadowSize: 0,
33016
+ shadowColor: '#999999',
33017
+ shadowX: 0,
33018
+ shadowY: 0,
33019
+ shadowBlur: 0,
33020
+ shadowPoint: 270,
33021
+ aniOrigin: 'default',
33022
+ animations: [
33023
+ {
33024
+ animate: 'fadeInLeft',
33025
+ count: 1,
33026
+ timing: 'ease',
33027
+ loop: false,
33028
+ delay: 0,
33029
+ duration: 1.5,
33030
+ name: '从左淡入',
33031
+ order: 'normal',
33032
+ type: 'normal',
33033
+ aniType: 'entry',
33034
+ allDelay: '0.0',
33035
+ id: 9504
33036
+ }
33037
+ ],
33038
+ textAni: []
33039
+ },
33040
+ signType: 'time'
33041
+ };
33042
+
33043
+ const effectDefaultProps = {
33044
+ id: '1749564784798',
33045
+ pid: '',
33046
+ type: 'effect',
33047
+ layerName: 'effect',
33048
+ sign: false,
33049
+ signSort: 1,
33050
+ css: {
33051
+ width: 375,
33052
+ height: 595,
33053
+ left: 0,
33054
+ top: 52.5,
33055
+ opacity: 1,
33056
+ transform: 0
33057
+ },
33058
+ properties: {
33059
+ type: 'petal',
33060
+ speed: 'middle',
33061
+ count: 'middle',
33062
+ visible: true,
33063
+ isLock: false,
33064
+ animations: []
33065
+ }
33066
+ };
33067
+
33068
+ const shapeDefaultProps = {
33069
+ id: "1722563395007",
33070
+ pid: "",
33071
+ type: "shape",
33072
+ layerName: "形状3",
33073
+ sign: false,
33074
+ signSort: 1,
33075
+ overturnType: 0,
33076
+ css: {
33077
+ fontFamily: "kanit",
33078
+ fontSize: 12,
33079
+ opacity: 0.35,
33080
+ width: 303,
33081
+ height: 525,
33082
+ left: 35.632000000000005,
33083
+ top: 60,
33084
+ transform: 0,
33085
+ borderRadius: 0,
33086
+ borderWidth: 0,
33087
+ borderColor: "rgba(153, 153, 153, 1)",
33088
+ borderStyle: "solid",
33089
+ svgPathColor: ["rgba(255, 255, 255, 1)"],
33090
+ animation2: "fadeIn 3s ease 2.4s 1 normal backwards running",
33091
+ animation: "fadeIn 3s ease 2.4s 1 normal backwards running"
33092
+ },
33093
+ triggers: {
33094
+ event: "",
33095
+ link: "",
33096
+ go: "",
33097
+ phone: "",
33098
+ musicName: "",
33099
+ musicLink: "",
33100
+ musicHash: ""
33101
+ },
33102
+ properties: {
33103
+ visible: true,
33104
+ isLock: false,
33105
+ required: true,
33106
+ musicName: "",
33107
+ musicLink: "",
33108
+ musicHash: "",
33109
+ shadowSize: 0,
33110
+ shadowColor: "#999999",
33111
+ shadowX: 0,
33112
+ shadowY: 0,
33113
+ shadowBlur: 0,
33114
+ shadowPoint: 270,
33115
+ aniOrigin: "default",
33116
+ animations: [
33117
+ {
33118
+ animate: "fadeIn",
33119
+ count: 1,
33120
+ timing: "ease",
33121
+ loop: false,
33122
+ delay: 2.4,
33123
+ duration: 3,
33124
+ name: "淡入",
33125
+ order: "normal",
33126
+ type: "normal",
33127
+ aniType: "entry",
33128
+ allDelay: "2.4",
33129
+ id: 68742
33130
+ }
33131
+ ],
33132
+ src: "https://h5cdn.unika.cc/static/assets/shape/shape-1.svg",
33133
+ textAni: []
33134
+ }
33135
+ };
33136
+
33137
+ const lottieDefaultProps = {
33138
+ id: '1640154752919',
33139
+ pid: '',
33140
+ type: 'lottie',
33141
+ layerName: 'lottie动画11',
33142
+ sign: false,
33143
+ loop: false,
33144
+ delay: 2,
33145
+ aniPath: 'https://h5cdn.unika.cc/static/lotties/wedding.json',
33146
+ css: {
33147
+ left: 35.5,
33148
+ top: 105,
33149
+ width: 305,
33150
+ height: 305,
33151
+ opacity: 1,
33152
+ transform: 0
33153
+ },
33154
+ properties: {
33155
+ visible: true,
33156
+ isLock: false
33157
+ }
33158
+ };
33159
+
33160
+ const videoDefaultProps = {
33161
+ id: '',
33162
+ pid: '',
33163
+ type: 'video',
33164
+ videoCodeOri: '',
33165
+ videoCode: 'https://youtu.be/ER1R3lFOQFg',
33166
+ layerName: 'video',
33167
+ sign: true,
33168
+ signSort: 5,
33169
+ videoStyle: '固定播放',
33170
+ videoUrl: '',
33171
+ imgUrl: '',
33172
+ playMode: 'click',
33173
+ playLoop: true,
33174
+ playControls: true,
33175
+ videoType: 1,
33176
+ fullScreen: false,
33177
+ overturnType: 0,
33178
+ css: {
33179
+ width: 350,
33180
+ height: 197,
33181
+ left: 12,
33182
+ top: 268.5,
33183
+ opacity: 1,
33184
+ borderRadius: 0,
33185
+ borderWidth: 0,
33186
+ borderStyle: 'solid',
33187
+ borderColor: 'rgba(153, 153, 153, 1)',
33188
+ transform: 0,
33189
+ recordImgWidth: 350,
33190
+ recordImgHeight: 197,
33191
+ recordBtnWidth: 60,
33192
+ recordBtnHeight: 60
33193
+ },
33194
+ triggers: {
33195
+ event: '',
33196
+ link: '',
33197
+ go: null,
33198
+ phone: '',
33199
+ musicName: '',
33200
+ musicLink: '',
33201
+ musicHash: ''
33202
+ },
33203
+ properties: {
33204
+ visible: true,
33205
+ isLock: false,
33206
+ required: true,
33207
+ musicName: '',
33208
+ musicLink: '',
33209
+ musicHash: '',
33210
+ shadowSize: 0,
33211
+ shadowColor: '#999999',
33212
+ shadowX: 0,
33213
+ shadowY: 0,
33214
+ shadowBlur: 0,
33215
+ shadowPoint: 270,
33216
+ aniOrigin: 'default',
33217
+ animations: [],
33218
+ src: 'https://h5cdn.unika.cc/static/img/uniComponents/video_button1.png',
33219
+ cover: 'https://h5cdn.unika.cc/static/img/uniComponents/logo.png',
33220
+ realW: 0,
33221
+ realH: 0,
33222
+ maskId: ''
33223
+ },
33224
+ originalUrl: '',
33225
+ crop: ''
33226
+ };
33227
+
33228
+ const callDefaultProps = {
33229
+ id: '1749136706168',
33230
+ pid: '',
33231
+ type: 'call',
33232
+ tel: '18888888888',
33233
+ btnText: '一键拨号',
33234
+ layerName: '拨号16',
33235
+ sign: true,
33236
+ signSort: 6,
33237
+ css: {
33238
+ borderWidth: 0,
33239
+ borderStyle: 'solid',
33240
+ borderColor: 'rgba(153, 153, 153, 1)',
33241
+ opacity: 1,
33242
+ fontSize: 16,
33243
+ color: 'rgba(255, 255, 255, 1)',
33244
+ backgroundColor: 'rgb(33, 147, 255)',
33245
+ width: 120,
33246
+ height: 40,
33247
+ borderRadius: 10,
33248
+ top: 122,
33249
+ left: 155,
33250
+ transform: 0,
33251
+ },
33252
+ properties: {
33253
+ visible: true,
33254
+ isLock: false,
33255
+ required: true,
33256
+ musicName: '',
33257
+ musicLink: '',
33258
+ musicHash: '',
33259
+ shadowSize: 0,
33260
+ shadowColor: '#999999',
33261
+ shadowX: 0,
33262
+ shadowY: 0,
33263
+ shadowBlur: 0,
33264
+ shadowPoint: 270,
33265
+ aniOrigin: 'default',
33266
+ animations: [],
33267
+ }
33268
+ };
33269
+
33270
+ const buttonDefaultProps = {
33271
+ id: '1749136706168',
33272
+ pid: '',
33273
+ type: 'button',
33274
+ btnText: 'Button',
33275
+ layerName: 'button',
33276
+ sign: true,
33277
+ signSort: 6,
33278
+ css: {
33279
+ borderWidth: 0,
33280
+ borderStyle: 'solid',
33281
+ borderColor: 'rgba(153, 153, 153, 1)',
33282
+ opacity: 1,
33283
+ fontSize: 16,
33284
+ color: 'rgba(255, 255, 255, 1)',
33285
+ backgroundColor: 'rgb(33, 147, 255)',
33286
+ width: 120,
33287
+ height: 40,
33288
+ borderRadius: 10,
33289
+ top: 122,
33290
+ left: 155,
33291
+ transform: 0
33292
+ },
33293
+ triggers: {
33294
+ event: 'link',
33295
+ link: 'http://www.baidu.com',
33296
+ go: 4,
33297
+ phone: '0622222222',
33298
+ musicName: '告白气球',
33299
+ musicLink: 'https://amp3.hunbei.com/mp3/qiniu/gaobaiqiqiu.mp3',
33300
+ musicHash: '',
33301
+ music_id: 2247,
33302
+ cat: 'sys',
33303
+ originalUrl: '',
33304
+ crop: null,
33305
+ },
33306
+ properties: {
33307
+ visible: true,
33308
+ isLock: false,
33309
+ required: true,
33310
+ musicName: '',
33311
+ musicLink: '',
33312
+ musicHash: '',
33313
+ shadowSize: 0,
33314
+ shadowColor: '#999999',
33315
+ shadowX: 0,
33316
+ shadowY: 0,
33317
+ shadowBlur: 0,
33318
+ shadowPoint: 270,
33319
+ aniOrigin: 'default',
33320
+ animations: [],
33321
+ },
33322
+ };
33323
+
33324
+ const formInputDefaultProps = {
33325
+ id: 'id1',
33326
+ pid: '',
33327
+ type: 'form-input',
33328
+ title: '姓名',
33329
+ inputType: 'text',
33330
+ layerName: '输入框',
33331
+ sign: false,
33332
+ signSort: 1,
33333
+ css: {
33334
+ fontFamily: '微软雅黑',
33335
+ fontSize: 14,
33336
+ color: '#6e6e6e',
33337
+ width: 235,
33338
+ height: 40,
33339
+ left: 70,
33340
+ top: 330,
33341
+ backgroundColor: '#fff',
33342
+ borderRadius: 2,
33343
+ borderColor: 'rgba(153, 153, 153, 1)',
33344
+ borderWidth: 1,
33345
+ borderStyle: 'solid',
33346
+ transform: 0,
33347
+ opacity: 1
33348
+ },
33349
+ properties: {
33350
+ visible: true,
33351
+ isLock: false,
33352
+ required: true,
33353
+ musicName: '',
33354
+ musicLink: '',
33355
+ musicHash: '',
33356
+ shadowSize: 0,
33357
+ shadowColor: '#999999',
33358
+ shadowX: 0,
33359
+ shadowY: 0,
33360
+ shadowBlur: 0,
33361
+ shadowPoint: 270,
33362
+ aniOrigin: 'default',
33363
+ animations: []
33364
+ }
33365
+ };
33366
+
33367
+ const formSubmitDefaultProps = {
33368
+ id: 'id4',
33369
+ pid: '',
33370
+ btName: '提交',
33371
+ type: 'form-submit',
33372
+ layerName: 'submitFormButton',
33373
+ sign: false,
33374
+ signSort: 1,
33375
+ subType: 'allPage',
33376
+ succEvent: 'alert',
33377
+ succAlert: '提交成功,感谢您的参与!',
33378
+ succUrl: '',
33379
+ css: {
33380
+ width: 235,
33381
+ height: 40,
33382
+ lineHeight: 1,
33383
+ color: '#fff',
33384
+ fontSize: 16,
33385
+ left: 70,
33386
+ top: 480,
33387
+ borderRadius: 4,
33388
+ borderColor: 'rgba(153, 153, 153, 1)',
33389
+ borderWidth: 0,
33390
+ borderStyle: 'solid',
33391
+ backgroundColor: '#2687f1',
33392
+ textAlign: 'center',
33393
+ transform: 0,
33394
+ opacity: 1
33395
+ },
33396
+ properties: {
33397
+ visible: true,
33398
+ isLock: false,
33399
+ required: true,
33400
+ musicName: '',
33401
+ musicLink: '',
33402
+ musicHash: '',
33403
+ shadowSize: 0,
33404
+ shadowColor: '#999999',
33405
+ shadowX: 0,
33406
+ shadowY: 0,
33407
+ shadowBlur: 0,
33408
+ shadowPoint: 270,
33409
+ aniOrigin: 'default',
33410
+ animations: []
33411
+ }
33412
+ };
33413
+
33414
+ /** 送呈快捷短语 — 开发/编辑器 fallback;生产环境由 biz-editor-server API 提供 */
33415
+ const INVITE_QUICK_PHRASES = [
33416
+ '邀请您一道分享我们的喜悦',
33417
+ '诚挚邀请您参加我们的婚礼',
33418
+ '期待您的到来和见证',
33419
+ '恭候您的光临',
33420
+ '愿与您共享幸福时刻',
33421
+ '我们诚挚地邀请您',
33422
+ '见证我们的爱情之路',
33423
+ '共享美好时刻',
33424
+ ];
33425
+
33426
+ /** 将模板图片解析进送呈条目(编辑器选封面时调用,结果写入 global.invite) */
33427
+ function applyTemplateToInviteItem(item, template) {
33428
+ return {
33429
+ ...item,
33430
+ templateId: template.id,
33431
+ templateName: template.name,
33432
+ layout: template.layout || item.layout || 'type2',
33433
+ img1: template.img1,
33434
+ img2: template.img2,
33435
+ img3: template.img3,
33436
+ divider: template.divider,
33437
+ fontFamily: template.fontFamily,
33438
+ fontColor: template.fontColor,
33439
+ };
33440
+ }
33441
+
32315
33442
  const components = [
33443
+ script$s,
32316
33444
  script$r,
32317
33445
  script$q,
32318
33446
  script$p,
@@ -32325,22 +33453,22 @@ const components = [
32325
33453
  script$i,
32326
33454
  script$h,
32327
33455
  script$g,
32328
- script$f,
33456
+ script$3,
32329
33457
  script$2,
32330
- script$1,
32331
33458
  script,
33459
+ script$f,
32332
33460
  script$e,
32333
33461
  script$d,
32334
33462
  script$c,
32335
33463
  script$b,
32336
33464
  script$a,
32337
- script$9,
32338
- script$4,
33465
+ script$5,
33466
+ script$8,
32339
33467
  script$7,
33468
+ script$9,
32340
33469
  script$6,
32341
- script$8,
32342
- script$5,
32343
- script$3
33470
+ script$4,
33471
+ script$1
32344
33472
  ];
32345
33473
  // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
32346
33474
  const install = (app) => {
@@ -32352,4 +33480,4 @@ var index = {
32352
33480
  install
32353
33481
  };
32354
33482
 
32355
- export { script$f as UniBarrage, script$g as UniButton, script$m as UniCalendar, script$j as UniCall, script$l as UniCountdown, script$i as UniEffect, script$9 as UniFormContainer, script$e as UniFormInput, script$a as UniFormMultiple, script$c as UniFormSelect, script$b as UniFormSingle, script$d as UniFormSubmit, script$q as UniImage, script$h as UniLottie, script$k as UniMap, script$4 as UniMenu, script$5 as UniMenuMap, script$8 as UniMenuReceipt, script$6 as UniMenuTel, script$7 as UniMenuVideo, script$o as UniMusic, script$p as UniShape, script$r as UniText, script$n as UniVideo, script$3 as UniWatermark, script as WorkRender, script$2 as WorkRenderH5, script$1 as WorkRenderLong, applyTextAnimation, applyTextAnimationsForPage, index as default, install, restoreTextAnimation };
33483
+ export { INVITE_COVER_TEMPLATES, INVITE_QUICK_PHRASES, script$g as UniBarrage, script$h as UniButton, script$n as UniCalendar, script$k as UniCall, script$m as UniCountdown, script$j as UniEffect, script$a as UniFormContainer, script$f as UniFormInput, script$b as UniFormMultiple, script$d as UniFormSelect, script$c as UniFormSingle, script$e as UniFormSubmit, script$r as UniImage, script$1 as UniInvite, script$i as UniLottie, script$l as UniMap, script$5 as UniMenu, script$6 as UniMenuMap, script$9 as UniMenuReceipt, script$7 as UniMenuTel, script$8 as UniMenuVideo, script$p as UniMusic, script$q as UniShape, script$s as UniText, script$o as UniVideo, script$4 as UniWatermark, script as WorkRender, script$3 as WorkRenderH5, script$2 as WorkRenderLong, applyInviteStateToGlobal, applyTemplateToInviteItem, applyTextAnimation, applyTextAnimationsForPage, buttonDefaultProps, calendarDefaultProps, callDefaultProps, countdownDefaultProps, index as default, effectDefaultProps, formInputDefaultProps, formSubmitDefaultProps, getInviteDismissDelay, getInviteRenderFromGlobal, getInviteTemplateById, install, inviteDefaultProps, isValidInviteItem, lottieDefaultProps, mapDefaultProps, musicDefaultProps, resolveInviteRenderData, restoreTextAnimation, shapeDefaultProps, useInviteManager, videoDefaultProps };