unika-components 1.2.3 → 1.2.5

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 (72) hide show
  1. package/dist/index.html +53 -0
  2. package/dist/js/app.js +3325 -0
  3. package/dist/js/chunk-vendors.js +1638 -0
  4. package/dist/src/components/UniButton/UniButton.vue.d.ts +1 -0
  5. package/dist/src/components/UniCalendar/UniCalendar.vue.d.ts +1 -0
  6. package/dist/src/components/UniCall/UniCall.vue.d.ts +12 -1
  7. package/dist/src/components/UniFormInput/UniFormInput.vue.d.ts +1 -0
  8. package/dist/src/components/UniFormMultiple/UniFormMultiple.vue.d.ts +1 -0
  9. package/dist/src/components/UniFormSelect/UniFormSelect.vue.d.ts +1 -0
  10. package/dist/src/components/UniFormSingle/UniFormSingle.vue.d.ts +1 -0
  11. package/dist/src/components/UniFormSubmit/UniFormSubmit.vue.d.ts +1 -0
  12. package/dist/src/components/UniInvite/UniInvite.vue.d.ts +57 -0
  13. package/dist/src/components/UniInvite/index.d.ts +2 -0
  14. package/dist/src/components/UniLottie/UniLottie.vue.d.ts +1 -0
  15. package/dist/src/components/UniMap/UniMap.vue.d.ts +12 -1
  16. package/dist/src/components/UniShape/UniShape.vue.d.ts +1 -0
  17. package/dist/src/components/UniVideo/UniVideo.vue.d.ts +1 -0
  18. package/dist/src/components/WorkRender/WorkRender.vue.d.ts +1 -0
  19. package/dist/src/composables/inviteManager.d.ts +13 -0
  20. package/dist/src/constants/invitePhrases.d.ts +3 -0
  21. package/dist/src/constants/inviteProps.d.ts +4 -0
  22. package/dist/src/constants/inviteTemplates.d.ts +5 -0
  23. package/dist/src/defaultProps.d.ts +49 -0
  24. package/dist/src/index.d.ts +10 -1
  25. package/dist/src/utils/inviteAnimation.d.ts +3 -0
  26. package/dist/src/utils/inviteTemplate.d.ts +4 -0
  27. package/dist/src/utils/resolveInviteRender.d.ts +11 -0
  28. package/dist/unika-components.css +1951 -1240
  29. package/dist/unika-components.esm.js +955 -529
  30. package/dist/unika-components.umd.js +993 -555
  31. package/package.json +1 -1
  32. package/dist/.DS_Store +0 -0
  33. package/dist/src/components/LongPage/LongPage.vue.d.ts +0 -20
  34. package/dist/src/components/LongPage/index.d.ts +0 -2
  35. package/dist/src/components/SwiperPage/SwiperAnimate.d.ts +0 -3
  36. package/dist/src/components/SwiperPage/SwiperPage.vue.d.ts +0 -36
  37. package/dist/src/components/SwiperPage/index.d.ts +0 -2
  38. package/dist/src/components/UniBackground/UniBackground.vue.d.ts +0 -11
  39. package/dist/src/components/UniBackground/index.d.ts +0 -2
  40. package/dist/src/components/UniBulidUp/UniBulidUp.vue.d.ts +0 -12
  41. package/dist/src/components/UniBulidUp/index.d.ts +0 -2
  42. package/dist/src/components/UniCalendar/Calendar.vue.d.ts +0 -165
  43. package/dist/src/components/UniEffect/sonw.d.ts +0 -2
  44. package/dist/src/components/UniFormMultiple/validators.d.ts +0 -20
  45. package/dist/src/components/UniFormSelect/validators.d.ts +0 -1
  46. package/dist/src/components/UniFormSingle/validators.d.ts +0 -20
  47. package/dist/src/components/UniLike/UniLike.vue.d.ts +0 -14
  48. package/dist/src/components/UniLike/index.d.ts +0 -2
  49. package/dist/src/components/UniLotties/UniLotties.vue.d.ts +0 -340
  50. package/dist/src/components/UniLotties/index.d.ts +0 -2
  51. package/dist/src/components/UniRegisterForm/UniRegisterForm.vue.d.ts +0 -28
  52. package/dist/src/components/UniRegisterForm/index.d.ts +0 -2
  53. package/dist/src/components/UniSvg/UniSvg.vue.d.ts +0 -12
  54. package/dist/src/components/UniSvg/index.d.ts +0 -2
  55. package/dist/src/components/UniSwiper/UniSwiper.vue.d.ts +0 -12
  56. package/dist/src/components/UniSwiper/index.d.ts +0 -2
  57. package/dist/src/components/UniTanmu/Barrage.vue.d.ts +0 -76
  58. package/dist/src/components/UniTanmu/UniTanmu.vue.d.ts +0 -59
  59. package/dist/src/components/UniTanmu/index.d.ts +0 -2
  60. package/dist/src/components/UniTest/index.d.ts +0 -2
  61. package/dist/src/components/UniTextBk/index.d.ts +0 -2
  62. package/dist/src/components/WorkRender/DynamicElement.vue.d.ts +0 -59
  63. package/dist/src/components/WorkRender/PageIndicator.vue.d.ts +0 -110
  64. package/dist/src/components/WorkRender/SwiperAnimate.d.ts +0 -3
  65. package/dist/src/components/WorkRender/WorkRenderer.vue.d.ts +0 -59
  66. package/dist/src/components/WorkRenderLong/test.vue.d.ts +0 -72
  67. package/dist/src/composables/useElementProps.d.ts +0 -8
  68. package/dist/src/composables/useElementStyle.d.ts +0 -18
  69. package/dist/src/constants/countdown.d.ts +0 -65
  70. package/dist/src/constants/toolbar.d.ts +0 -13
  71. package/dist/src/hooks/useComponentClick.d.ts +0 -2
  72. 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: {
@@ -298,10 +298,10 @@ var script$q = defineComponent({
298
298
  }
299
299
  });
300
300
 
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"];
301
+ const _hoisted_1$m = ["data-id", "data-pid", "data-type", "data-show", "pid", "type", "layername", "sign", "signsort", "imgmattinginfo"];
302
+ const _hoisted_2$j = ["src"];
303
303
 
304
- function render$m(_ctx, _cache, $props, $setup, $data, $options) {
304
+ function render$n(_ctx, _cache, $props, $setup, $data, $options) {
305
305
  return (openBlock(), createElementBlock("div", {
306
306
  class: "ele-img eles",
307
307
  "data-id": _ctx.element.id,
@@ -340,7 +340,7 @@ function render$m(_ctx, _cache, $props, $setup, $data, $options) {
340
340
  alt: "image",
341
341
  class: "ele-image",
342
342
  style: normalizeStyle(_ctx.imgTagStyle)
343
- }, null, 12 /* STYLE, PROPS */, _hoisted_2$h)
343
+ }, null, 12 /* STYLE, PROPS */, _hoisted_2$j)
344
344
  ], 4 /* STYLE */))
345
345
  : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
346
346
  createCommentVNode(" 图片展示方式2:使用背景图 "),
@@ -356,17 +356,17 @@ function render$m(_ctx, _cache, $props, $setup, $data, $options) {
356
356
  ], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */))
357
357
  ], 4 /* STYLE */)
358
358
  ], 4 /* STYLE */)
359
- ], 12 /* STYLE, PROPS */, _hoisted_1$l))
359
+ ], 12 /* STYLE, PROPS */, _hoisted_1$m))
360
360
  }
361
361
 
362
- script$q.render = render$m;
363
- script$q.__file = "src/components/UniImage/UniImage.vue";
362
+ script$r.render = render$n;
363
+ script$r.__file = "src/components/UniImage/UniImage.vue";
364
364
 
365
- script$q.install = (app) => {
366
- app.component(script$q.name, script$q);
365
+ script$r.install = (app) => {
366
+ app.component(script$r.name, script$r);
367
367
  };
368
368
 
369
- var script$p = defineComponent({
369
+ var script$q = defineComponent({
370
370
  name: 'uni-shape',
371
371
  props: {
372
372
  element: {
@@ -465,6 +465,7 @@ var script$p = defineComponent({
465
465
  }, { immediate: true });
466
466
  // 样式计算
467
467
  const containerStyle = computed(() => ({
468
+ position: (props.element && props.element.css && props.element.css.position) || 'absolute',
468
469
  left: px2rem(css.value.left),
469
470
  top: px2rem(css.value.top),
470
471
  width: px2rem(css.value.width),
@@ -516,12 +517,12 @@ var script$p = defineComponent({
516
517
  }
517
518
  });
518
519
 
519
- const _hoisted_1$k = ["data-id"];
520
- const _hoisted_2$g = ["innerHTML"];
521
- const _hoisted_3$f = /*#__PURE__*/createElementVNode("div", { class: "svg-loading" }, "Loading...", -1 /* HOISTED */);
522
- const _hoisted_4$c = { class: "svg-error" };
520
+ const _hoisted_1$l = ["data-id"];
521
+ const _hoisted_2$i = ["innerHTML"];
522
+ const _hoisted_3$g = /*#__PURE__*/createElementVNode("div", { class: "svg-loading" }, "Loading...", -1 /* HOISTED */);
523
+ const _hoisted_4$d = { class: "svg-error" };
523
524
 
524
- function render$l(_ctx, _cache, $props, $setup, $data, $options) {
525
+ function render$m(_ctx, _cache, $props, $setup, $data, $options) {
525
526
  return (openBlock(), createElementBlock("div", {
526
527
  class: "ele-shape eles",
527
528
  "data-id": _ctx.element.id,
@@ -546,16 +547,16 @@ function render$l(_ctx, _cache, $props, $setup, $data, $options) {
546
547
  innerHTML: _ctx.processedSvg,
547
548
  class: "svg-container",
548
549
  style: {"width":"100%","height":"100%"}
549
- }, null, 8 /* PROPS */, _hoisted_2$g))
550
+ }, null, 8 /* PROPS */, _hoisted_2$i))
550
551
  : (_ctx.isLoading)
551
552
  ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
552
553
  createCommentVNode(" 加载状态 "),
553
- _hoisted_3$f
554
+ _hoisted_3$g
554
555
  ], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */))
555
556
  : (_ctx.loadError)
556
557
  ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
557
558
  createCommentVNode(" 错误状态 "),
558
- createElementVNode("div", _hoisted_4$c, [
559
+ createElementVNode("div", _hoisted_4$d, [
559
560
  renderSlot(_ctx.$slots, "error", {
560
561
  src: _ctx.properties.src
561
562
  }, () => [
@@ -566,14 +567,14 @@ function render$l(_ctx, _cache, $props, $setup, $data, $options) {
566
567
  : createCommentVNode("v-if", true)
567
568
  ], 4 /* STYLE */)
568
569
  ], 4 /* STYLE */)
569
- ], 12 /* STYLE, PROPS */, _hoisted_1$k))
570
+ ], 12 /* STYLE, PROPS */, _hoisted_1$l))
570
571
  }
571
572
 
572
- script$p.render = render$l;
573
- script$p.__file = "src/components/UniShape/UniShape.vue";
573
+ script$q.render = render$m;
574
+ script$q.__file = "src/components/UniShape/UniShape.vue";
574
575
 
575
- script$p.install = (app) => {
576
- app.component(script$p.name, script$p);
576
+ script$q.install = (app) => {
577
+ app.component(script$q.name, script$q);
577
578
  };
578
579
 
579
580
  const musicState = ref({
@@ -817,7 +818,7 @@ const useMusicManager = () => {
817
818
  };
818
819
  };
819
820
 
820
- var script$o = defineComponent({
821
+ var script$p = defineComponent({
821
822
  name: 'uni-music',
822
823
  props: {
823
824
  musicData: {
@@ -887,19 +888,19 @@ var script$o = defineComponent({
887
888
  }
888
889
  });
889
890
 
890
- const _hoisted_1$j = { id: "audio" };
891
- const _hoisted_2$f = ["src"];
892
- const _hoisted_3$e = {
891
+ const _hoisted_1$k = { id: "audio" };
892
+ const _hoisted_2$h = ["src"];
893
+ const _hoisted_3$f = {
893
894
  key: 1,
894
895
  class: "iconfont"
895
896
  };
896
- const _hoisted_4$b = ["src"];
897
- const _hoisted_5$a = /*#__PURE__*/createElementVNode("div", { class: "icon-cancel" }, [
897
+ const _hoisted_4$c = ["src"];
898
+ const _hoisted_5$b = /*#__PURE__*/createElementVNode("div", { class: "icon-cancel" }, [
898
899
  /*#__PURE__*/createElementVNode("div", { class: "icon-h" })
899
900
  ], -1 /* HOISTED */);
900
901
 
901
- function render$k(_ctx, _cache, $props, $setup, $data, $options) {
902
- return (openBlock(), createElementBlock("div", _hoisted_1$j, [
902
+ function render$l(_ctx, _cache, $props, $setup, $data, $options) {
903
+ return (openBlock(), createElementBlock("div", _hoisted_1$k, [
903
904
  createElementVNode("div", {
904
905
  class: normalizeClass(["audio", { 'a-border': _ctx.showBorder, 'mrotate': _ctx.localIsPlaying }]),
905
906
  style: normalizeStyle({ background: _ctx.bgColor }),
@@ -913,8 +914,8 @@ function render$k(_ctx, _cache, $props, $setup, $data, $options) {
913
914
  src: _ctx.playIconUrl,
914
915
  class: "music-icon",
915
916
  alt: "หยุดชั่วคราว"
916
- }, null, 8 /* PROPS */, _hoisted_2$f))
917
- : (openBlock(), createElementBlock("span", _hoisted_3$e, "❚❚"))
917
+ }, null, 8 /* PROPS */, _hoisted_2$h))
918
+ : (openBlock(), createElementBlock("span", _hoisted_3$f, "❚❚"))
918
919
  ], 64 /* STABLE_FRAGMENT */))
919
920
  : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
920
921
  (_ctx.playIconUrl)
@@ -923,22 +924,22 @@ function render$k(_ctx, _cache, $props, $setup, $data, $options) {
923
924
  src: _ctx.playIconUrl,
924
925
  class: "music-icon",
925
926
  alt: "กำลังเล่น"
926
- }, null, 8 /* PROPS */, _hoisted_4$b))
927
+ }, null, 8 /* PROPS */, _hoisted_4$c))
927
928
  : createCommentVNode("v-if", true),
928
- _hoisted_5$a
929
+ _hoisted_5$b
929
930
  ], 64 /* STABLE_FRAGMENT */))
930
931
  ], 6 /* CLASS, STYLE */)
931
932
  ]))
932
933
  }
933
934
 
934
- script$o.render = render$k;
935
- script$o.__file = "src/components/UniMusic/UniMusic.vue";
935
+ script$p.render = render$l;
936
+ script$p.__file = "src/components/UniMusic/UniMusic.vue";
936
937
 
937
- script$o.install = (app) => {
938
- app.component(script$o.name, script$o);
938
+ script$p.install = (app) => {
939
+ app.component(script$p.name, script$p);
939
940
  };
940
941
 
941
- var script$n = defineComponent({
942
+ var script$o = defineComponent({
942
943
  name: 'uni-video',
943
944
  props: {
944
945
  element: {
@@ -949,6 +950,7 @@ var script$n = defineComponent({
949
950
  setup(props) {
950
951
  const isPlaying = ref(false);
951
952
  const containerStyle = computed(() => ({
953
+ position: (props.element && props.element.css && props.element.css.position) || 'absolute',
952
954
  left: px2rem(props.element.css.left),
953
955
  top: px2rem(props.element.css.top),
954
956
  width: px2rem(props.element.css.width),
@@ -1010,27 +1012,27 @@ var script$n = defineComponent({
1010
1012
  }
1011
1013
  });
1012
1014
 
1013
- const _hoisted_1$i = {
1015
+ const _hoisted_1$j = {
1014
1016
  key: 0,
1015
1017
  class: "video-container"
1016
1018
  };
1017
- const _hoisted_2$e = ["src"];
1018
- const _hoisted_3$d = ["src"];
1019
+ const _hoisted_2$g = ["src"];
1020
+ const _hoisted_3$e = ["src"];
1019
1021
 
1020
- function render$j(_ctx, _cache, $props, $setup, $data, $options) {
1022
+ function render$k(_ctx, _cache, $props, $setup, $data, $options) {
1021
1023
  return (openBlock(), createElementBlock("div", {
1022
1024
  class: "element-video eles",
1023
1025
  style: normalizeStyle(_ctx.containerStyle)
1024
1026
  }, [
1025
1027
  createElementVNode("div", {
1026
1028
  class: "ani-wrap",
1027
- style: normalizeStyle({
1028
- ..._ctx.aniWrapStyle,
1029
- boxShadow: _ctx.shadowStyle
1029
+ style: normalizeStyle({
1030
+ ..._ctx.aniWrapStyle,
1031
+ boxShadow: _ctx.shadowStyle
1030
1032
  })
1031
1033
  }, [
1032
1034
  (_ctx.isPlaying)
1033
- ? (openBlock(), createElementBlock("div", _hoisted_1$i, [
1035
+ ? (openBlock(), createElementBlock("div", _hoisted_1$j, [
1034
1036
  createElementVNode("iframe", {
1035
1037
  src: _ctx.youtubeEmbedUrl,
1036
1038
  type: "text/html",
@@ -1038,7 +1040,7 @@ function render$j(_ctx, _cache, $props, $setup, $data, $options) {
1038
1040
  allowfullscreen: "",
1039
1041
  scrolling: "no",
1040
1042
  allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
1041
- }, null, 8 /* PROPS */, _hoisted_2$e)
1043
+ }, null, 8 /* PROPS */, _hoisted_2$g)
1042
1044
  ]))
1043
1045
  : (openBlock(), createElementBlock("div", {
1044
1046
  key: 1,
@@ -1050,20 +1052,20 @@ function render$j(_ctx, _cache, $props, $setup, $data, $options) {
1050
1052
  src: _ctx.element.properties.src,
1051
1053
  alt: "Play button",
1052
1054
  class: "play-btn"
1053
- }, null, 8 /* PROPS */, _hoisted_3$d)
1055
+ }, null, 8 /* PROPS */, _hoisted_3$e)
1054
1056
  ], 4 /* STYLE */))
1055
1057
  ], 4 /* STYLE */)
1056
1058
  ], 4 /* STYLE */))
1057
1059
  }
1058
1060
 
1059
- script$n.render = render$j;
1060
- script$n.__file = "src/components/UniVideo/UniVideo.vue";
1061
+ script$o.render = render$k;
1062
+ script$o.__file = "src/components/UniVideo/UniVideo.vue";
1061
1063
 
1062
- script$n.install = (app) => {
1063
- app.component(script$n.name, script$n);
1064
+ script$o.install = (app) => {
1065
+ app.component(script$o.name, script$o);
1064
1066
  };
1065
1067
 
1066
- var script$m = defineComponent({
1068
+ var script$n = defineComponent({
1067
1069
  name: 'uni-calendar',
1068
1070
  props: {
1069
1071
  element: {
@@ -1133,6 +1135,7 @@ var script$m = defineComponent({
1133
1135
  // 计算日历容器的样式
1134
1136
  const calendarStyle = computed(() => {
1135
1137
  return {
1138
+ position: (props.element && props.element.css && props.element.css.position) || 'absolute',
1136
1139
  left: px2rem(props.element.css.left),
1137
1140
  top: px2rem(props.element.css.top),
1138
1141
  width: px2rem(props.element.css.width),
@@ -1178,33 +1181,33 @@ var script$m = defineComponent({
1178
1181
  }
1179
1182
  });
1180
1183
 
1181
- const _hoisted_1$h = ["data-id", "data-pid", "data-type", "data-show", "pid", "type", "layername", "sign", "signsort"];
1182
- const _hoisted_2$d = {
1184
+ const _hoisted_1$i = ["data-id", "data-pid", "data-type", "data-show", "pid", "type", "layername", "sign", "signsort"];
1185
+ const _hoisted_2$f = {
1183
1186
  key: 0,
1184
1187
  class: "can-wrap"
1185
1188
  };
1186
- const _hoisted_3$c = { class: "can-top" };
1187
- const _hoisted_4$a = { class: "can-main" };
1188
- const _hoisted_5$9 = { class: "can-date" };
1189
- const _hoisted_6$7 = {
1189
+ const _hoisted_3$d = { class: "can-top" };
1190
+ const _hoisted_4$b = { class: "can-main" };
1191
+ const _hoisted_5$a = { class: "can-date" };
1192
+ const _hoisted_6$8 = {
1190
1193
  key: 1,
1191
1194
  class: "can-wrap2"
1192
1195
  };
1193
- const _hoisted_7$6 = { class: "can-top" };
1194
- const _hoisted_8$3 = /*#__PURE__*/createElementVNode("span", null, "/", -1 /* HOISTED */);
1195
- const _hoisted_9$3 = { class: "can-main" };
1196
- const _hoisted_10$3 = { class: "can-week" };
1197
- const _hoisted_11$3 = { class: "can-date" };
1198
- const _hoisted_12$3 = {
1196
+ const _hoisted_7$7 = { class: "can-top" };
1197
+ const _hoisted_8$4 = /*#__PURE__*/createElementVNode("span", null, "/", -1 /* HOISTED */);
1198
+ const _hoisted_9$4 = { class: "can-main" };
1199
+ const _hoisted_10$4 = { class: "can-week" };
1200
+ const _hoisted_11$4 = { class: "can-date" };
1201
+ const _hoisted_12$4 = {
1199
1202
  key: 2,
1200
1203
  class: "can-wrap3"
1201
1204
  };
1202
- const _hoisted_13$3 = { class: "can-top" };
1203
- const _hoisted_14$3 = /*#__PURE__*/createElementVNode("span", null, "/", -1 /* HOISTED */);
1204
- const _hoisted_15$3 = { class: "can-main" };
1205
- const _hoisted_16$3 = { class: "can-date" };
1205
+ const _hoisted_13$4 = { class: "can-top" };
1206
+ const _hoisted_14$4 = /*#__PURE__*/createElementVNode("span", null, "/", -1 /* HOISTED */);
1207
+ const _hoisted_15$4 = { class: "can-main" };
1208
+ const _hoisted_16$4 = { class: "can-date" };
1206
1209
 
1207
- function render$i(_ctx, _cache, $props, $setup, $data, $options) {
1210
+ function render$j(_ctx, _cache, $props, $setup, $data, $options) {
1208
1211
  return (openBlock(), createElementBlock("div", {
1209
1212
  class: "ele-calendar eles",
1210
1213
  "data-id": _ctx.element.id,
@@ -1224,8 +1227,8 @@ function render$i(_ctx, _cache, $props, $setup, $data, $options) {
1224
1227
  style: normalizeStyle(_ctx.aniWrapStyle)
1225
1228
  }, [
1226
1229
  (_ctx.element.kind === 1)
1227
- ? (openBlock(), createElementBlock("div", _hoisted_2$d, [
1228
- createElementVNode("div", _hoisted_3$c, [
1230
+ ? (openBlock(), createElementBlock("div", _hoisted_2$f, [
1231
+ createElementVNode("div", _hoisted_3$d, [
1229
1232
  createElementVNode("div", {
1230
1233
  class: "can-left",
1231
1234
  style: normalizeStyle({ color: _ctx.element.themeColor || '#ed5566' })
@@ -1238,7 +1241,7 @@ function render$i(_ctx, _cache, $props, $setup, $data, $options) {
1238
1241
  createTextVNode(" " + toDisplayString(_ctx.month), 1 /* TEXT */)
1239
1242
  ], 4 /* STYLE */)
1240
1243
  ]),
1241
- createElementVNode("div", _hoisted_4$a, [
1244
+ createElementVNode("div", _hoisted_4$b, [
1242
1245
  createElementVNode("div", {
1243
1246
  class: "can-week",
1244
1247
  style: normalizeStyle({ backgroundColor: _ctx.element.themeColor || '#ed5566' })
@@ -1247,7 +1250,7 @@ function render$i(_ctx, _cache, $props, $setup, $data, $options) {
1247
1250
  return (openBlock(), createElementBlock("span", { key: day }, toDisplayString(day), 1 /* TEXT */))
1248
1251
  }), 128 /* KEYED_FRAGMENT */))
1249
1252
  ], 4 /* STYLE */),
1250
- createElementVNode("div", _hoisted_5$9, [
1253
+ createElementVNode("div", _hoisted_5$a, [
1251
1254
  createElementVNode("ul", null, [
1252
1255
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.days, (day, index) => {
1253
1256
  return (openBlock(), createElementBlock("li", {
@@ -1276,19 +1279,19 @@ function render$i(_ctx, _cache, $props, $setup, $data, $options) {
1276
1279
  ]))
1277
1280
  : createCommentVNode("v-if", true),
1278
1281
  (_ctx.element.kind === 2)
1279
- ? (openBlock(), createElementBlock("div", _hoisted_6$7, [
1280
- createElementVNode("div", _hoisted_7$6, [
1282
+ ? (openBlock(), createElementBlock("div", _hoisted_6$8, [
1283
+ createElementVNode("div", _hoisted_7$7, [
1281
1284
  createElementVNode("div", {
1282
1285
  class: "can-size",
1283
1286
  style: normalizeStyle({ color: _ctx.element.themeColor || '#ed5566' })
1284
1287
  }, [
1285
1288
  createTextVNode(toDisplayString(_ctx.currentDay) + " ", 1 /* TEXT */),
1286
- _hoisted_8$3,
1289
+ _hoisted_8$4,
1287
1290
  createTextVNode(" " + toDisplayString(_ctx.currentMonth), 1 /* TEXT */)
1288
1291
  ], 4 /* STYLE */)
1289
1292
  ]),
1290
- createElementVNode("div", _hoisted_9$3, [
1291
- createElementVNode("div", _hoisted_10$3, [
1293
+ createElementVNode("div", _hoisted_9$4, [
1294
+ createElementVNode("div", _hoisted_10$4, [
1292
1295
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.weekDays, (day) => {
1293
1296
  return (openBlock(), createElementBlock("span", {
1294
1297
  key: day,
@@ -1296,7 +1299,7 @@ function render$i(_ctx, _cache, $props, $setup, $data, $options) {
1296
1299
  }, toDisplayString(day), 5 /* TEXT, STYLE */))
1297
1300
  }), 128 /* KEYED_FRAGMENT */))
1298
1301
  ]),
1299
- createElementVNode("div", _hoisted_11$3, [
1302
+ createElementVNode("div", _hoisted_11$4, [
1300
1303
  createElementVNode("div", {
1301
1304
  class: "can-year",
1302
1305
  style: normalizeStyle({ color: _ctx.element.themeColor || '#ed5566' })
@@ -1329,14 +1332,14 @@ function render$i(_ctx, _cache, $props, $setup, $data, $options) {
1329
1332
  ]))
1330
1333
  : createCommentVNode("v-if", true),
1331
1334
  (_ctx.element.kind === 3)
1332
- ? (openBlock(), createElementBlock("div", _hoisted_12$3, [
1333
- createElementVNode("div", _hoisted_13$3, [
1335
+ ? (openBlock(), createElementBlock("div", _hoisted_12$4, [
1336
+ createElementVNode("div", _hoisted_13$4, [
1334
1337
  createElementVNode("div", {
1335
1338
  class: "can-size",
1336
1339
  style: normalizeStyle({ color: _ctx.element.themeColor || '#ed5566' })
1337
1340
  }, [
1338
1341
  createTextVNode(toDisplayString(_ctx.currentDay) + " ", 1 /* TEXT */),
1339
- _hoisted_14$3,
1342
+ _hoisted_14$4,
1340
1343
  createTextVNode(" " + toDisplayString(_ctx.currentMonth), 1 /* TEXT */)
1341
1344
  ], 4 /* STYLE */),
1342
1345
  createElementVNode("div", {
@@ -1344,7 +1347,7 @@ function render$i(_ctx, _cache, $props, $setup, $data, $options) {
1344
1347
  style: normalizeStyle({ color: _ctx.element.themeColor || '#ed5566' })
1345
1348
  }, "-" + toDisplayString(_ctx.currentYear) + "-", 5 /* TEXT, STYLE */)
1346
1349
  ]),
1347
- createElementVNode("div", _hoisted_15$3, [
1350
+ createElementVNode("div", _hoisted_15$4, [
1348
1351
  createElementVNode("div", {
1349
1352
  class: "can-week",
1350
1353
  style: normalizeStyle({ borderColor: _ctx.element.themeColor || '#ed5566' })
@@ -1356,7 +1359,7 @@ function render$i(_ctx, _cache, $props, $setup, $data, $options) {
1356
1359
  }, toDisplayString(day), 5 /* TEXT, STYLE */))
1357
1360
  }), 128 /* KEYED_FRAGMENT */))
1358
1361
  ], 4 /* STYLE */),
1359
- createElementVNode("div", _hoisted_16$3, [
1362
+ createElementVNode("div", _hoisted_16$4, [
1360
1363
  createElementVNode("ul", null, [
1361
1364
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.days, (day, index) => {
1362
1365
  return (openBlock(), createElementBlock("li", {
@@ -1385,17 +1388,17 @@ function render$i(_ctx, _cache, $props, $setup, $data, $options) {
1385
1388
  ]))
1386
1389
  : createCommentVNode("v-if", true)
1387
1390
  ], 4 /* STYLE */)
1388
- ], 12 /* STYLE, PROPS */, _hoisted_1$h))
1391
+ ], 12 /* STYLE, PROPS */, _hoisted_1$i))
1389
1392
  }
1390
1393
 
1391
- script$m.render = render$i;
1392
- script$m.__file = "src/components/UniCalendar/UniCalendar.vue";
1394
+ script$n.render = render$j;
1395
+ script$n.__file = "src/components/UniCalendar/UniCalendar.vue";
1393
1396
 
1394
- script$m.install = (app) => {
1395
- app.component(script$m.name, script$m);
1397
+ script$n.install = (app) => {
1398
+ app.component(script$n.name, script$n);
1396
1399
  };
1397
1400
 
1398
- var script$l = defineComponent({
1401
+ var script$m = defineComponent({
1399
1402
  name: 'uni-countdown',
1400
1403
  props: {
1401
1404
  element: {
@@ -1674,30 +1677,30 @@ var script$l = defineComponent({
1674
1677
  }
1675
1678
  });
1676
1679
 
1677
- const _hoisted_1$g = ["data-id", "data-pid", "data-type", "data-show", "pid", "type", "layername", "sign", "signsort"];
1678
- const _hoisted_2$c = ["data-direction"];
1679
- const _hoisted_3$b = { class: "c-wrap" };
1680
- const _hoisted_4$9 = { class: "c-num c-left" };
1681
- const _hoisted_5$8 = { class: "flex-wrap" };
1682
- const _hoisted_6$6 = { class: "c-num c-right" };
1683
- const _hoisted_7$5 = { class: "flex-wrap" };
1684
- const _hoisted_8$2 = { class: "c-wrap" };
1685
- const _hoisted_9$2 = { class: "c-num c-left" };
1686
- const _hoisted_10$2 = { class: "flex-wrap" };
1687
- const _hoisted_11$2 = { class: "c-num c-right" };
1688
- const _hoisted_12$2 = { class: "flex-wrap" };
1689
- const _hoisted_13$2 = { class: "c-wrap" };
1690
- const _hoisted_14$2 = { class: "c-num c-left" };
1691
- const _hoisted_15$2 = { class: "flex-wrap" };
1692
- const _hoisted_16$2 = { class: "c-num c-right" };
1693
- const _hoisted_17$2 = { class: "flex-wrap" };
1694
- const _hoisted_18$2 = { class: "c-wrap" };
1695
- const _hoisted_19$2 = { class: "c-num c-left" };
1696
- const _hoisted_20$2 = { class: "flex-wrap" };
1697
- const _hoisted_21$2 = { class: "c-num c-right" };
1698
- const _hoisted_22$2 = { class: "flex-wrap" };
1680
+ const _hoisted_1$h = ["data-id", "data-pid", "data-type", "data-show", "pid", "type", "layername", "sign", "signsort"];
1681
+ const _hoisted_2$e = ["data-direction"];
1682
+ const _hoisted_3$c = { class: "c-wrap" };
1683
+ const _hoisted_4$a = { class: "c-num c-left" };
1684
+ const _hoisted_5$9 = { class: "flex-wrap" };
1685
+ const _hoisted_6$7 = { class: "c-num c-right" };
1686
+ const _hoisted_7$6 = { class: "flex-wrap" };
1687
+ const _hoisted_8$3 = { class: "c-wrap" };
1688
+ const _hoisted_9$3 = { class: "c-num c-left" };
1689
+ const _hoisted_10$3 = { class: "flex-wrap" };
1690
+ const _hoisted_11$3 = { class: "c-num c-right" };
1691
+ const _hoisted_12$3 = { class: "flex-wrap" };
1692
+ const _hoisted_13$3 = { class: "c-wrap" };
1693
+ const _hoisted_14$3 = { class: "c-num c-left" };
1694
+ const _hoisted_15$3 = { class: "flex-wrap" };
1695
+ const _hoisted_16$3 = { class: "c-num c-right" };
1696
+ const _hoisted_17$3 = { class: "flex-wrap" };
1697
+ const _hoisted_18$3 = { class: "c-wrap" };
1698
+ const _hoisted_19$3 = { class: "c-num c-left" };
1699
+ const _hoisted_20$3 = { class: "flex-wrap" };
1700
+ const _hoisted_21$3 = { class: "c-num c-right" };
1701
+ const _hoisted_22$3 = { class: "flex-wrap" };
1699
1702
 
1700
- function render$h(_ctx, _cache, $props, $setup, $data, $options) {
1703
+ function render$i(_ctx, _cache, $props, $setup, $data, $options) {
1701
1704
  return (openBlock(), createElementBlock("div", {
1702
1705
  class: "count-down eles",
1703
1706
  "data-id": _ctx.element.id,
@@ -1739,9 +1742,9 @@ function render$h(_ctx, _cache, $props, $setup, $data, $options) {
1739
1742
  class: "c-com c-day",
1740
1743
  style: normalizeStyle(_ctx.comStyle)
1741
1744
  }, [
1742
- createElementVNode("div", _hoisted_3$b, [
1743
- createElementVNode("div", _hoisted_4$9, [
1744
- createElementVNode("div", _hoisted_5$8, [
1745
+ createElementVNode("div", _hoisted_3$c, [
1746
+ createElementVNode("div", _hoisted_4$a, [
1747
+ createElementVNode("div", _hoisted_5$9, [
1745
1748
  (_ctx.days >= 100)
1746
1749
  ? (openBlock(), createElementBlock("div", {
1747
1750
  key: 0,
@@ -1759,8 +1762,8 @@ function render$h(_ctx, _cache, $props, $setup, $data, $options) {
1759
1762
  }, toDisplayString(_ctx.currentDaysLeft), 5 /* TEXT, STYLE */)
1760
1763
  ])
1761
1764
  ]),
1762
- createElementVNode("div", _hoisted_6$6, [
1763
- createElementVNode("div", _hoisted_7$5, [
1765
+ createElementVNode("div", _hoisted_6$7, [
1766
+ createElementVNode("div", _hoisted_7$6, [
1764
1767
  createElementVNode("div", {
1765
1768
  class: "next-num",
1766
1769
  style: normalizeStyle(_ctx.numStyle)
@@ -1782,9 +1785,9 @@ function render$h(_ctx, _cache, $props, $setup, $data, $options) {
1782
1785
  class: "c-com c-hour",
1783
1786
  style: normalizeStyle(_ctx.comStyle)
1784
1787
  }, [
1785
- createElementVNode("div", _hoisted_8$2, [
1786
- createElementVNode("div", _hoisted_9$2, [
1787
- createElementVNode("div", _hoisted_10$2, [
1788
+ createElementVNode("div", _hoisted_8$3, [
1789
+ createElementVNode("div", _hoisted_9$3, [
1790
+ createElementVNode("div", _hoisted_10$3, [
1788
1791
  createElementVNode("div", {
1789
1792
  class: "next-num",
1790
1793
  style: normalizeStyle(_ctx.numStyle)
@@ -1795,8 +1798,8 @@ function render$h(_ctx, _cache, $props, $setup, $data, $options) {
1795
1798
  }, toDisplayString(_ctx.currentHoursLeft), 5 /* TEXT, STYLE */)
1796
1799
  ])
1797
1800
  ]),
1798
- createElementVNode("div", _hoisted_11$2, [
1799
- createElementVNode("div", _hoisted_12$2, [
1801
+ createElementVNode("div", _hoisted_11$3, [
1802
+ createElementVNode("div", _hoisted_12$3, [
1800
1803
  createElementVNode("div", {
1801
1804
  class: "next-num",
1802
1805
  style: normalizeStyle(_ctx.numStyle)
@@ -1818,9 +1821,9 @@ function render$h(_ctx, _cache, $props, $setup, $data, $options) {
1818
1821
  class: "c-com c-minute",
1819
1822
  style: normalizeStyle(_ctx.comStyle)
1820
1823
  }, [
1821
- createElementVNode("div", _hoisted_13$2, [
1822
- createElementVNode("div", _hoisted_14$2, [
1823
- createElementVNode("div", _hoisted_15$2, [
1824
+ createElementVNode("div", _hoisted_13$3, [
1825
+ createElementVNode("div", _hoisted_14$3, [
1826
+ createElementVNode("div", _hoisted_15$3, [
1824
1827
  createElementVNode("div", {
1825
1828
  class: "next-num",
1826
1829
  style: normalizeStyle(_ctx.numStyle)
@@ -1831,8 +1834,8 @@ function render$h(_ctx, _cache, $props, $setup, $data, $options) {
1831
1834
  }, toDisplayString(_ctx.currentMinutesLeft), 5 /* TEXT, STYLE */)
1832
1835
  ])
1833
1836
  ]),
1834
- createElementVNode("div", _hoisted_16$2, [
1835
- createElementVNode("div", _hoisted_17$2, [
1837
+ createElementVNode("div", _hoisted_16$3, [
1838
+ createElementVNode("div", _hoisted_17$3, [
1836
1839
  createElementVNode("div", {
1837
1840
  class: "next-num",
1838
1841
  style: normalizeStyle(_ctx.numStyle)
@@ -1854,9 +1857,9 @@ function render$h(_ctx, _cache, $props, $setup, $data, $options) {
1854
1857
  class: "c-com c-second",
1855
1858
  style: normalizeStyle(_ctx.comStyle)
1856
1859
  }, [
1857
- createElementVNode("div", _hoisted_18$2, [
1858
- createElementVNode("div", _hoisted_19$2, [
1859
- createElementVNode("div", _hoisted_20$2, [
1860
+ createElementVNode("div", _hoisted_18$3, [
1861
+ createElementVNode("div", _hoisted_19$3, [
1862
+ createElementVNode("div", _hoisted_20$3, [
1860
1863
  createElementVNode("div", {
1861
1864
  class: "next-num",
1862
1865
  style: normalizeStyle(_ctx.numStyle)
@@ -1867,8 +1870,8 @@ function render$h(_ctx, _cache, $props, $setup, $data, $options) {
1867
1870
  }, toDisplayString(_ctx.currentSecondsLeft), 5 /* TEXT, STYLE */)
1868
1871
  ])
1869
1872
  ]),
1870
- createElementVNode("div", _hoisted_21$2, [
1871
- createElementVNode("div", _hoisted_22$2, [
1873
+ createElementVNode("div", _hoisted_21$3, [
1874
+ createElementVNode("div", _hoisted_22$3, [
1872
1875
  createElementVNode("div", {
1873
1876
  class: "next-num",
1874
1877
  style: normalizeStyle(_ctx.numStyle)
@@ -1885,36 +1888,43 @@ function render$h(_ctx, _cache, $props, $setup, $data, $options) {
1885
1888
  }, toDisplayString(_ctx.second), 5 /* TEXT, STYLE */)
1886
1889
  ])
1887
1890
  ], 4 /* STYLE */)
1888
- ], 14 /* CLASS, STYLE, PROPS */, _hoisted_2$c)
1891
+ ], 14 /* CLASS, STYLE, PROPS */, _hoisted_2$e)
1889
1892
  ], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */))
1890
1893
  ], 4 /* STYLE */)
1891
- ], 12 /* STYLE, PROPS */, _hoisted_1$g))
1894
+ ], 12 /* STYLE, PROPS */, _hoisted_1$h))
1892
1895
  }
1893
1896
 
1894
- script$l.render = render$h;
1895
- script$l.__scopeId = "data-v-bb868822";
1896
- script$l.__file = "src/components/UniCountdown/UniCountdown.vue";
1897
+ script$m.render = render$i;
1898
+ script$m.__scopeId = "data-v-bb868822";
1899
+ script$m.__file = "src/components/UniCountdown/UniCountdown.vue";
1897
1900
 
1898
- script$l.install = (app) => {
1899
- app.component(script$l.name, script$l);
1901
+ script$m.install = (app) => {
1902
+ app.component(script$m.name, script$m);
1900
1903
  };
1901
1904
 
1902
- var script$k = defineComponent({
1905
+ var script$l = defineComponent({
1903
1906
  name: 'uni-map',
1904
1907
  props: {
1905
1908
  element: {
1906
1909
  type: Object,
1907
1910
  required: true,
1908
1911
  },
1912
+ isEditing: {
1913
+ type: Boolean,
1914
+ default: false,
1915
+ },
1909
1916
  },
1910
1917
  setup(props) {
1911
1918
  const iframeUrl = computed(() => (props.element.iframeUrl || '').replace('width="600"', 'width="100%"').replace('height="450"', 'height="100%"'));
1912
1919
  // 处理导航按钮点击
1913
1920
  const handleNavigation = () => {
1921
+ if (props.isEditing)
1922
+ return;
1914
1923
  window.open(props.element.url);
1915
1924
  };
1916
1925
  // 容器样式
1917
1926
  const containerStyle = computed(() => ({
1927
+ position: (props.element && props.element.css && props.element.css.position) || 'absolute',
1918
1928
  left: px2rem(props.element.css.left),
1919
1929
  top: px2rem(props.element.css.top),
1920
1930
  width: px2rem(props.element.css.width),
@@ -1962,11 +1972,11 @@ var script$k = defineComponent({
1962
1972
  }
1963
1973
  });
1964
1974
 
1965
- const _hoisted_1$f = ["data-id", "data-pid", "data-type", "data-show", "pid", "type", "layername", "sign", "signsort"];
1966
- const _hoisted_2$b = ["innerHTML"];
1967
- const _hoisted_3$a = /*#__PURE__*/createElementVNode("div", { class: "mask-map" }, null, -1 /* HOISTED */);
1975
+ const _hoisted_1$g = ["data-id", "data-pid", "data-type", "data-show", "pid", "type", "layername", "sign", "signsort"];
1976
+ const _hoisted_2$d = ["innerHTML"];
1977
+ const _hoisted_3$b = /*#__PURE__*/createElementVNode("div", { class: "mask-map" }, null, -1 /* HOISTED */);
1968
1978
 
1969
- function render$g(_ctx, _cache, $props, $setup, $data, $options) {
1979
+ function render$h(_ctx, _cache, $props, $setup, $data, $options) {
1970
1980
  return (openBlock(), createElementBlock("div", {
1971
1981
  class: "element-ditu eles",
1972
1982
  "data-id": _ctx.element.id,
@@ -1982,9 +1992,9 @@ function render$g(_ctx, _cache, $props, $setup, $data, $options) {
1982
1992
  }, [
1983
1993
  createElementVNode("div", {
1984
1994
  class: "ani-wrap",
1985
- style: normalizeStyle({
1986
- ..._ctx.aniWrapStyle,
1987
- boxShadow: _ctx.shadowStyle
1995
+ style: normalizeStyle({
1996
+ ..._ctx.aniWrapStyle,
1997
+ boxShadow: _ctx.shadowStyle
1988
1998
  })
1989
1999
  }, [
1990
2000
  (_ctx.element.mapStyle === 'default')
@@ -1998,10 +2008,10 @@ function render$g(_ctx, _cache, $props, $setup, $data, $options) {
1998
2008
  createElementVNode("div", {
1999
2009
  innerHTML: _ctx.iframeUrl,
2000
2010
  class: "map-iframe"
2001
- }, null, 8 /* PROPS */, _hoisted_2$b),
2011
+ }, null, 8 /* PROPS */, _hoisted_2$d),
2002
2012
  createCommentVNode(" 隐藏的辅助元素 "),
2003
- 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> "),
2004
- _hoisted_3$a
2013
+ 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> "),
2014
+ _hoisted_3$b
2005
2015
  ], 4 /* STYLE */))
2006
2016
  : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
2007
2017
  createCommentVNode(" 导航按钮 "),
@@ -2019,26 +2029,31 @@ function render$g(_ctx, _cache, $props, $setup, $data, $options) {
2019
2029
  ], 4 /* STYLE */)
2020
2030
  ], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */))
2021
2031
  ], 4 /* STYLE */)
2022
- ], 12 /* STYLE, PROPS */, _hoisted_1$f))
2032
+ ], 12 /* STYLE, PROPS */, _hoisted_1$g))
2023
2033
  }
2024
2034
 
2025
- script$k.render = render$g;
2026
- script$k.__file = "src/components/UniMap/UniMap.vue";
2035
+ script$l.render = render$h;
2036
+ script$l.__file = "src/components/UniMap/UniMap.vue";
2027
2037
 
2028
- script$k.install = (app) => {
2029
- app.component(script$k.name, script$k);
2038
+ script$l.install = (app) => {
2039
+ app.component(script$l.name, script$l);
2030
2040
  };
2031
2041
 
2032
- var script$j = defineComponent({
2042
+ var script$k = defineComponent({
2033
2043
  name: 'uni-call',
2034
2044
  props: {
2035
2045
  element: {
2036
2046
  type: Object,
2037
2047
  required: true
2038
2048
  },
2049
+ isEditing: {
2050
+ type: Boolean,
2051
+ default: false,
2052
+ },
2039
2053
  },
2040
2054
  setup(props) {
2041
2055
  const containerStyle = computed(() => ({
2056
+ position: (props.element && props.element.css && props.element.css.position) || 'absolute',
2042
2057
  left: px2rem(props.element.css.left),
2043
2058
  top: px2rem(props.element.css.top),
2044
2059
  width: px2rem(props.element.css.width),
@@ -2068,6 +2083,8 @@ var script$j = defineComponent({
2068
2083
  const btnText = computed(() => props.element.btnText || 'โทรออกด่วน');
2069
2084
  const css = computed(() => props.element.css);
2070
2085
  const handleDial = () => {
2086
+ if (props.isEditing)
2087
+ return;
2071
2088
  const phoneNumber = props.element.tel;
2072
2089
  if (!phoneNumber)
2073
2090
  return;
@@ -2105,22 +2122,24 @@ var script$j = defineComponent({
2105
2122
  }
2106
2123
  });
2107
2124
 
2108
- const _hoisted_1$e = { class: "call-content" };
2125
+ const _hoisted_1$f = ["data-id"];
2126
+ const _hoisted_2$c = { class: "call-content" };
2109
2127
 
2110
- function render$f(_ctx, _cache, $props, $setup, $data, $options) {
2128
+ function render$g(_ctx, _cache, $props, $setup, $data, $options) {
2111
2129
  return (openBlock(), createElementBlock("div", {
2112
2130
  class: "call eles",
2131
+ "data-id": _ctx.element.id,
2113
2132
  style: normalizeStyle(_ctx.containerStyle),
2114
2133
  onClick: _cache[0] || (_cache[0] = (...args) => (_ctx.handleDial && _ctx.handleDial(...args)))
2115
2134
  }, [
2116
2135
  createElementVNode("div", {
2117
2136
  class: "ani-wrap",
2118
- style: normalizeStyle({
2119
- ..._ctx.aniWrapStyle,
2120
- boxShadow: _ctx.shadowStyle
2137
+ style: normalizeStyle({
2138
+ ..._ctx.aniWrapStyle,
2139
+ boxShadow: _ctx.shadowStyle
2121
2140
  })
2122
2141
  }, [
2123
- createElementVNode("div", _hoisted_1$e, [
2142
+ createElementVNode("div", _hoisted_2$c, [
2124
2143
  createElementVNode("i", {
2125
2144
  class: "iconfont hb-tel",
2126
2145
  style: normalizeStyle(_ctx.bntStyle)
@@ -2131,14 +2150,14 @@ function render$f(_ctx, _cache, $props, $setup, $data, $options) {
2131
2150
  }, toDisplayString(_ctx.btnText), 5 /* TEXT, STYLE */)
2132
2151
  ])
2133
2152
  ], 4 /* STYLE */)
2134
- ], 4 /* STYLE */))
2153
+ ], 12 /* STYLE, PROPS */, _hoisted_1$f))
2135
2154
  }
2136
2155
 
2137
- script$j.render = render$f;
2138
- script$j.__file = "src/components/UniCall/UniCall.vue";
2156
+ script$k.render = render$g;
2157
+ script$k.__file = "src/components/UniCall/UniCall.vue";
2139
2158
 
2140
- script$j.install = (app) => {
2141
- app.component(script$j.name, script$j);
2159
+ script$k.install = (app) => {
2160
+ app.component(script$k.name, script$k);
2142
2161
  };
2143
2162
 
2144
2163
  // 花瓣图片资源 (base64编码)
@@ -2178,7 +2197,7 @@ const petal_images = [
2178
2197
  'https://h5cdn.unika.cc/static/img/uniComponents/huaban.png'
2179
2198
  // 可以添加更多花瓣图片
2180
2199
  ];
2181
- var script$i = defineComponent({
2200
+ var script$j = defineComponent({
2182
2201
  name: 'uni-effect',
2183
2202
  props: {
2184
2203
  element: {
@@ -2276,14 +2295,14 @@ var script$i = defineComponent({
2276
2295
  }
2277
2296
  });
2278
2297
 
2279
- const _hoisted_1$d = { class: "effect-wrap" };
2298
+ const _hoisted_1$e = { class: "effect-wrap" };
2280
2299
 
2281
- function render$e(_ctx, _cache, $props, $setup, $data, $options) {
2300
+ function render$f(_ctx, _cache, $props, $setup, $data, $options) {
2282
2301
  return withDirectives((openBlock(), createElementBlock("div", {
2283
2302
  class: "ele-effect eles",
2284
2303
  style: normalizeStyle(_ctx.containerStyle)
2285
2304
  }, [
2286
- createElementVNode("div", _hoisted_1$d, [
2305
+ createElementVNode("div", _hoisted_1$e, [
2287
2306
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.particles, (particle, index) => {
2288
2307
  return (openBlock(), createElementBlock("div", {
2289
2308
  key: index,
@@ -2297,11 +2316,11 @@ function render$e(_ctx, _cache, $props, $setup, $data, $options) {
2297
2316
  ])
2298
2317
  }
2299
2318
 
2300
- script$i.render = render$e;
2301
- script$i.__file = "src/components/UniEffect/UniEffect.vue";
2319
+ script$j.render = render$f;
2320
+ script$j.__file = "src/components/UniEffect/UniEffect.vue";
2302
2321
 
2303
- script$i.install = (app) => {
2304
- app.component(script$i.name, script$i);
2322
+ script$j.install = (app) => {
2323
+ app.component(script$j.name, script$j);
2305
2324
  };
2306
2325
 
2307
2326
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
@@ -23783,7 +23802,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
23783
23802
  }
23784
23803
  var Vue3Lottie = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
23785
23804
 
23786
- var script$h = defineComponent({
23805
+ var script$i = defineComponent({
23787
23806
  name: 'uni-lottie',
23788
23807
  components: {
23789
23808
  Vue3Lottie
@@ -23806,6 +23825,7 @@ var script$h = defineComponent({
23806
23825
  return d > 200 ? Math.round(d) : Math.round(d * 1000);
23807
23826
  });
23808
23827
  const lottieStyle = computed(() => ({
23828
+ position: (props.element && props.element.css && props.element.css.position) || 'absolute',
23809
23829
  left: px2rem(props.element.css.left),
23810
23830
  top: px2rem(props.element.css.top),
23811
23831
  width: px2rem(props.element.css.width),
@@ -23843,9 +23863,9 @@ var script$h = defineComponent({
23843
23863
  }
23844
23864
  });
23845
23865
 
23846
- const _hoisted_1$c = ["data-id", "data-pid", "data-type", "data-show"];
23866
+ const _hoisted_1$d = ["data-id", "data-pid", "data-type", "data-show"];
23847
23867
 
23848
- function render$d(_ctx, _cache, $props, $setup, $data, $options) {
23868
+ function render$e(_ctx, _cache, $props, $setup, $data, $options) {
23849
23869
  const _component_Vue3Lottie = resolveComponent("Vue3Lottie");
23850
23870
 
23851
23871
  return (openBlock(), createElementBlock("div", {
@@ -23868,17 +23888,17 @@ function render$d(_ctx, _cache, $props, $setup, $data, $options) {
23868
23888
  ref: "lottieAnimation"
23869
23889
  }, null, 8 /* PROPS */, ["style", "animationLink", "loop", "delay"])
23870
23890
  ], 4 /* STYLE */)
23871
- ], 12 /* STYLE, PROPS */, _hoisted_1$c))
23891
+ ], 12 /* STYLE, PROPS */, _hoisted_1$d))
23872
23892
  }
23873
23893
 
23874
- script$h.render = render$d;
23875
- script$h.__file = "src/components/UniLottie/UniLottie.vue";
23894
+ script$i.render = render$e;
23895
+ script$i.__file = "src/components/UniLottie/UniLottie.vue";
23876
23896
 
23877
- script$h.install = (app) => {
23878
- app.component(script$h.name, script$h);
23897
+ script$i.install = (app) => {
23898
+ app.component(script$i.name, script$i);
23879
23899
  };
23880
23900
 
23881
- var script$g = defineComponent({
23901
+ var script$h = defineComponent({
23882
23902
  name: 'uni-button',
23883
23903
  props: {
23884
23904
  element: {
@@ -23889,6 +23909,7 @@ var script$g = defineComponent({
23889
23909
  emits: ['trigger'],
23890
23910
  setup(props, { emit }) {
23891
23911
  const containerStyle = computed(() => ({
23912
+ position: (props.element && props.element.css && props.element.css.position) || 'absolute',
23892
23913
  left: px2rem(props.element.css.left),
23893
23914
  top: px2rem(props.element.css.top),
23894
23915
  width: px2rem(props.element.css.width),
@@ -23944,9 +23965,9 @@ var script$g = defineComponent({
23944
23965
  }
23945
23966
  });
23946
23967
 
23947
- const _hoisted_1$b = { class: "button-content" };
23968
+ const _hoisted_1$c = { class: "button-content" };
23948
23969
 
23949
- function render$c(_ctx, _cache, $props, $setup, $data, $options) {
23970
+ function render$d(_ctx, _cache, $props, $setup, $data, $options) {
23950
23971
  return (openBlock(), createElementBlock("div", {
23951
23972
  class: "button eles",
23952
23973
  style: normalizeStyle(_ctx.containerStyle),
@@ -23954,12 +23975,12 @@ function render$c(_ctx, _cache, $props, $setup, $data, $options) {
23954
23975
  }, [
23955
23976
  createElementVNode("div", {
23956
23977
  class: "ani-wrap",
23957
- style: normalizeStyle({
23958
- ..._ctx.aniWrapStyle,
23959
- boxShadow: _ctx.shadowStyle
23978
+ style: normalizeStyle({
23979
+ ..._ctx.aniWrapStyle,
23980
+ boxShadow: _ctx.shadowStyle
23960
23981
  })
23961
23982
  }, [
23962
- createElementVNode("div", _hoisted_1$b, [
23983
+ createElementVNode("div", _hoisted_1$c, [
23963
23984
  createElementVNode("span", {
23964
23985
  class: "btn-text",
23965
23986
  style: normalizeStyle(_ctx.bntStyle)
@@ -23969,11 +23990,11 @@ function render$c(_ctx, _cache, $props, $setup, $data, $options) {
23969
23990
  ], 4 /* STYLE */))
23970
23991
  }
23971
23992
 
23972
- script$g.render = render$c;
23973
- script$g.__file = "src/components/UniButton/UniButton.vue";
23993
+ script$h.render = render$d;
23994
+ script$h.__file = "src/components/UniButton/UniButton.vue";
23974
23995
 
23975
- script$g.install = (app) => {
23976
- app.component(script$g.name, script$g);
23996
+ script$h.install = (app) => {
23997
+ app.component(script$h.name, script$h);
23977
23998
  };
23978
23999
 
23979
24000
  var bind = function bind(fn, thisArg) {
@@ -27661,7 +27682,7 @@ axios_1.default = _default;
27661
27682
 
27662
27683
  var axios = axios_1;
27663
27684
 
27664
- var script$f = defineComponent({
27685
+ var script$g = defineComponent({
27665
27686
  name: 'uni-barrage',
27666
27687
  props: {
27667
27688
  env: {
@@ -27962,31 +27983,31 @@ var script$f = defineComponent({
27962
27983
  }
27963
27984
  });
27964
27985
 
27965
- const _hoisted_1$a = {
27986
+ const _hoisted_1$b = {
27966
27987
  id: "toolbarNew",
27967
27988
  ref: "toolbar"
27968
27989
  };
27969
- const _hoisted_2$a = { class: "toolbar" };
27970
- const _hoisted_3$9 = { class: "bar-left" };
27971
- const _hoisted_4$8 = /*#__PURE__*/createElementVNode("img", { src: "https://h5cdn.unika.cc/static/img/uniComponents/hide.png" }, null, -1 /* HOISTED */);
27972
- const _hoisted_5$7 = [
27973
- _hoisted_4$8
27990
+ const _hoisted_2$b = { class: "toolbar" };
27991
+ const _hoisted_3$a = { class: "bar-left" };
27992
+ const _hoisted_4$9 = /*#__PURE__*/createElementVNode("img", { src: "https://h5cdn.unika.cc/static/img/uniComponents/hide.png" }, null, -1 /* HOISTED */);
27993
+ const _hoisted_5$8 = [
27994
+ _hoisted_4$9
27974
27995
  ];
27975
- const _hoisted_6$5 = {
27996
+ const _hoisted_6$6 = {
27976
27997
  key: 0,
27977
27998
  class: "bar-right"
27978
27999
  };
27979
- const _hoisted_7$4 = {
28000
+ const _hoisted_7$5 = {
27980
28001
  key: 0,
27981
28002
  class: "bar-praise"
27982
28003
  };
27983
- const _hoisted_8$1 = /*#__PURE__*/createElementVNode("strong", { class: "ani-num" }, "+1", -1 /* HOISTED */);
27984
- const _hoisted_9$1 = /*#__PURE__*/createElementVNode("div", { class: "stop-longtap" }, null, -1 /* HOISTED */);
27985
- const _hoisted_10$1 = /*#__PURE__*/createElementVNode("img", {
28004
+ const _hoisted_8$2 = /*#__PURE__*/createElementVNode("strong", { class: "ani-num" }, "+1", -1 /* HOISTED */);
28005
+ const _hoisted_9$2 = /*#__PURE__*/createElementVNode("div", { class: "stop-longtap" }, null, -1 /* HOISTED */);
28006
+ const _hoisted_10$2 = /*#__PURE__*/createElementVNode("img", {
27986
28007
  src: "https://h5cdn.unika.cc/static/img/uniComponents/parise.png",
27987
28008
  class: "animated"
27988
28009
  }, null, -1 /* HOISTED */);
27989
- const _hoisted_11$1 = /*#__PURE__*/createElementVNode("div", { class: "zan-wrap" }, [
28010
+ const _hoisted_11$2 = /*#__PURE__*/createElementVNode("div", { class: "zan-wrap" }, [
27990
28011
  /*#__PURE__*/createElementVNode("span"),
27991
28012
  /*#__PURE__*/createElementVNode("span"),
27992
28013
  /*#__PURE__*/createElementVNode("span"),
@@ -27996,36 +28017,36 @@ const _hoisted_11$1 = /*#__PURE__*/createElementVNode("div", { class: "zan-wrap"
27996
28017
  /*#__PURE__*/createElementVNode("span"),
27997
28018
  /*#__PURE__*/createElementVNode("span")
27998
28019
  ], -1 /* HOISTED */);
27999
- const _hoisted_12$1 = [
28000
- _hoisted_8$1,
28001
- _hoisted_9$1,
28002
- _hoisted_10$1,
28003
- _hoisted_11$1
28020
+ const _hoisted_12$2 = [
28021
+ _hoisted_8$2,
28022
+ _hoisted_9$2,
28023
+ _hoisted_10$2,
28024
+ _hoisted_11$2
28004
28025
  ];
28005
- const _hoisted_13$1 = { class: "bar-messwin" };
28006
- const _hoisted_14$1 = /*#__PURE__*/createElementVNode("img", {
28026
+ const _hoisted_13$2 = { class: "bar-messwin" };
28027
+ const _hoisted_14$2 = /*#__PURE__*/createElementVNode("img", {
28007
28028
  src: "https://h5cdn.unika.cc/static/img/uniComponents/mess-logo.png",
28008
28029
  alt: "",
28009
28030
  class: "mess-logo"
28010
28031
  }, null, -1 /* HOISTED */);
28011
- const _hoisted_15$1 = /*#__PURE__*/createElementVNode("div", { class: "mess-title" }, "ข้อความอวยพร", -1 /* HOISTED */);
28012
- const _hoisted_16$1 = { class: "mess-input" };
28013
- const _hoisted_17$1 = { class: "mess-textarea" };
28014
- const _hoisted_18$1 = { class: "wish-dropdown" };
28015
- const _hoisted_19$1 = ["onClick"];
28016
- const _hoisted_20$1 = /*#__PURE__*/createElementVNode("div", { class: "wish-dot" }, "•", -1 /* HOISTED */);
28017
- const _hoisted_21$1 = { class: "wish-text" };
28018
- const _hoisted_22$1 = {
28032
+ const _hoisted_15$2 = /*#__PURE__*/createElementVNode("div", { class: "mess-title" }, "ข้อความอวยพร", -1 /* HOISTED */);
28033
+ const _hoisted_16$2 = { class: "mess-input" };
28034
+ const _hoisted_17$2 = { class: "mess-textarea" };
28035
+ const _hoisted_18$2 = { class: "wish-dropdown" };
28036
+ const _hoisted_19$2 = ["onClick"];
28037
+ const _hoisted_20$2 = /*#__PURE__*/createElementVNode("div", { class: "wish-dot" }, "•", -1 /* HOISTED */);
28038
+ const _hoisted_21$2 = { class: "wish-text" };
28039
+ const _hoisted_22$2 = {
28019
28040
  key: 1,
28020
28041
  class: "give-gift-wrapper"
28021
28042
  };
28022
- const _hoisted_23$1 = { class: "give-gift" };
28023
- const _hoisted_24 = /*#__PURE__*/createElementVNode("i", { class: "iconfont icon-zuojiantou" }, null, -1 /* HOISTED */);
28024
- const _hoisted_25 = [
28025
- _hoisted_24
28043
+ const _hoisted_23$2 = { class: "give-gift" };
28044
+ const _hoisted_24$1 = /*#__PURE__*/createElementVNode("i", { class: "iconfont icon-zuojiantou" }, null, -1 /* HOISTED */);
28045
+ const _hoisted_25$1 = [
28046
+ _hoisted_24$1
28026
28047
  ];
28027
- const _hoisted_26 = ["src"];
28028
- const _hoisted_27 = {
28048
+ const _hoisted_26$1 = ["src"];
28049
+ const _hoisted_27$1 = {
28029
28050
  key: 2,
28030
28051
  class: "mess-success-popup"
28031
28052
  };
@@ -28049,7 +28070,7 @@ const _hoisted_34 = { class: "mint-msgbox-content" };
28049
28070
  const _hoisted_35 = { class: "mint-msgbox-message" };
28050
28071
  const _hoisted_36 = { class: "mint-msgbox-btns" };
28051
28072
 
28052
- function render$b(_ctx, _cache, $props, $setup, $data, $options) {
28073
+ function render$c(_ctx, _cache, $props, $setup, $data, $options) {
28053
28074
  return (openBlock(), createElementBlock("div", null, [
28054
28075
  createCommentVNode(" 弹幕显示区域 "),
28055
28076
  withDirectives(createElementVNode("div", {
@@ -28071,9 +28092,9 @@ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
28071
28092
  [vShow, _ctx.showBullets]
28072
28093
  ]),
28073
28094
  createCommentVNode(" 底部工具栏 "),
28074
- createElementVNode("div", _hoisted_1$a, [
28075
- createElementVNode("div", _hoisted_2$a, [
28076
- withDirectives(createElementVNode("div", _hoisted_3$9, [
28095
+ createElementVNode("div", _hoisted_1$b, [
28096
+ createElementVNode("div", _hoisted_2$b, [
28097
+ withDirectives(createElementVNode("div", _hoisted_3$a, [
28077
28098
  createElementVNode("input", {
28078
28099
  type: "text",
28079
28100
  placeholder: "ข้อความอวยพร..",
@@ -28092,12 +28113,12 @@ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
28092
28113
  withDirectives(createElementVNode("div", {
28093
28114
  onClick: _cache[2] || (_cache[2] = withModifiers((...args) => (_ctx.toggleBullets && _ctx.toggleBullets(...args)), ["stop"])),
28094
28115
  class: "toolbar-close"
28095
- }, [..._hoisted_5$7], 512 /* NEED_PATCH */), [
28116
+ }, [..._hoisted_5$8], 512 /* NEED_PATCH */), [
28096
28117
  [vShow, !_ctx.showBullets]
28097
28118
  ]),
28098
28119
  createCommentVNode(" 新增的右侧按钮区域 "),
28099
28120
  ((_ctx.global.toolbar.gift || _ctx.global.toolbar.praise) && _ctx.showBullets)
28100
- ? (openBlock(), createElementBlock("div", _hoisted_6$5, [
28121
+ ? (openBlock(), createElementBlock("div", _hoisted_6$6, [
28101
28122
  (_ctx.global.toolbar.gift && _ctx.global.toolbar.giftQRCode)
28102
28123
  ? (openBlock(), createElementBlock("img", {
28103
28124
  key: 0,
@@ -28113,11 +28134,11 @@ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
28113
28134
  onClick: _cache[4] || (_cache[4] = (...args) => (_ctx.handlePraise && _ctx.handlePraise(...args)))
28114
28135
  }, [
28115
28136
  (_ctx.praiseCount > 0)
28116
- ? (openBlock(), createElementBlock("div", _hoisted_7$4, toDisplayString(_ctx.praiseCount), 1 /* TEXT */))
28137
+ ? (openBlock(), createElementBlock("div", _hoisted_7$5, toDisplayString(_ctx.praiseCount), 1 /* TEXT */))
28117
28138
  : createCommentVNode("v-if", true),
28118
28139
  createElementVNode("div", {
28119
28140
  class: normalizeClass(["bar-zan", { active: _ctx.isPraised }])
28120
- }, [..._hoisted_12$1], 2 /* CLASS */)
28141
+ }, [..._hoisted_12$2], 2 /* CLASS */)
28121
28142
  ]))
28122
28143
  : createCommentVNode("v-if", true)
28123
28144
  ]))
@@ -28132,11 +28153,11 @@ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
28132
28153
  style: {"z-index":"2003"},
28133
28154
  onClick: _cache[12] || (_cache[12] = withModifiers((...args) => (_ctx.closePopup && _ctx.closePopup(...args)), ["self"]))
28134
28155
  }, [
28135
- createElementVNode("div", _hoisted_13$1, [
28136
- _hoisted_14$1,
28137
- _hoisted_15$1,
28156
+ createElementVNode("div", _hoisted_13$2, [
28157
+ _hoisted_14$2,
28158
+ _hoisted_15$2,
28138
28159
  createCommentVNode(" 祝福留言. "),
28139
- createElementVNode("div", _hoisted_16$1, [
28160
+ createElementVNode("div", _hoisted_16$2, [
28140
28161
  withDirectives(createElementVNode("input", {
28141
28162
  ref: "nameInput",
28142
28163
  "onUpdate:modelValue": _cache[5] || (_cache[5] = $event => ((_ctx.name) = $event)),
@@ -28149,7 +28170,7 @@ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
28149
28170
  ])
28150
28171
  ]),
28151
28172
  createCommentVNode(" 请输入您的姓名 "),
28152
- createElementVNode("div", _hoisted_17$1, [
28173
+ createElementVNode("div", _hoisted_17$2, [
28153
28174
  withDirectives(createElementVNode("textarea", {
28154
28175
  "onUpdate:modelValue": _cache[7] || (_cache[7] = $event => ((_ctx.content) = $event)),
28155
28176
  placeholder: "ข้อความของคุณ..",
@@ -28166,16 +28187,16 @@ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
28166
28187
  onClick: _cache[9] || (_cache[9] = (...args) => (_ctx.showBlessingOptions && _ctx.showBlessingOptions(...args)))
28167
28188
  }),
28168
28189
  createCommentVNode(" 请选择祝福语 "),
28169
- withDirectives(createElementVNode("div", _hoisted_18$1, [
28190
+ withDirectives(createElementVNode("div", _hoisted_18$2, [
28170
28191
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.blessingOptions, (blessing, index) => {
28171
28192
  return (openBlock(), createElementBlock("div", {
28172
28193
  class: "wish-item",
28173
28194
  key: index,
28174
28195
  onClick: $event => (_ctx.selectBlessing(blessing))
28175
28196
  }, [
28176
- _hoisted_20$1,
28177
- createElementVNode("div", _hoisted_21$1, toDisplayString(blessing), 1 /* TEXT */)
28178
- ], 8 /* PROPS */, _hoisted_19$1))
28197
+ _hoisted_20$2,
28198
+ createElementVNode("div", _hoisted_21$2, toDisplayString(blessing), 1 /* TEXT */)
28199
+ ], 8 /* PROPS */, _hoisted_19$2))
28179
28200
  }), 128 /* KEYED_FRAGMENT */))
28180
28201
  ], 512 /* NEED_PATCH */), [
28181
28202
  [vShow, _ctx.showBlessingList]
@@ -28195,18 +28216,18 @@ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
28195
28216
  : createCommentVNode("v-if", true),
28196
28217
  createCommentVNode(" 在template部分修改礼物弹窗结构 "),
28197
28218
  (_ctx.showGift)
28198
- ? (openBlock(), createElementBlock("div", _hoisted_22$1, [
28199
- createElementVNode("div", _hoisted_23$1, [
28219
+ ? (openBlock(), createElementBlock("div", _hoisted_22$2, [
28220
+ createElementVNode("div", _hoisted_23$2, [
28200
28221
  createElementVNode("div", {
28201
28222
  class: "back",
28202
28223
  onClick: _cache[13] || (_cache[13] = (...args) => (_ctx.closeGiftPopup && _ctx.closeGiftPopup(...args)))
28203
- }, [..._hoisted_25]),
28224
+ }, [..._hoisted_25$1]),
28204
28225
  createElementVNode("img", {
28205
28226
  src: _ctx.global.toolbar.giftQRCode,
28206
28227
  alt: "",
28207
28228
  onLoad: _cache[14] || (_cache[14] = (...args) => (_ctx.handleImageLoad && _ctx.handleImageLoad(...args))),
28208
28229
  class: normalizeClass({ 'loaded': _ctx.imageLoaded })
28209
- }, null, 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_26),
28230
+ }, null, 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_26$1),
28210
28231
  createCommentVNode(" 新增底部关闭按钮 "),
28211
28232
  createElementVNode("i", {
28212
28233
  class: "iconfont icon-cuowu2 close-btn",
@@ -28217,7 +28238,7 @@ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
28217
28238
  : createCommentVNode("v-if", true),
28218
28239
  createCommentVNode(" 留言成功弹窗 "),
28219
28240
  (_ctx.showSuccessPopup)
28220
- ? (openBlock(), createElementBlock("div", _hoisted_27, [
28241
+ ? (openBlock(), createElementBlock("div", _hoisted_27$1, [
28221
28242
  createElementVNode("div", _hoisted_28, [
28222
28243
  createElementVNode("i", {
28223
28244
  class: "iconfont icon-cuowu2",
@@ -28259,11 +28280,11 @@ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
28259
28280
  ]))
28260
28281
  }
28261
28282
 
28262
- script$f.render = render$b;
28263
- script$f.__file = "src/components/UniBarrage/UniBarrage.vue";
28283
+ script$g.render = render$c;
28284
+ script$g.__file = "src/components/UniBarrage/UniBarrage.vue";
28264
28285
 
28265
- script$f.install = (app) => {
28266
- app.component(script$f.name, script$f);
28286
+ script$g.install = (app) => {
28287
+ app.component(script$g.name, script$g);
28267
28288
  };
28268
28289
 
28269
28290
  function useTouchHandler(pages, currentPageId, direction, isLoopEnabled, onUserInteraction) {
@@ -28612,7 +28633,7 @@ function validateInput(value, type) {
28612
28633
  return true;
28613
28634
  }
28614
28635
 
28615
- var script$e = defineComponent({
28636
+ var script$f = defineComponent({
28616
28637
  name: 'uni-form-input',
28617
28638
  props: {
28618
28639
  global: {
@@ -28676,6 +28697,7 @@ var script$e = defineComponent({
28676
28697
  const title = computed(() => props.element.title || '');
28677
28698
  const inputType = computed(() => props.element.inputType || 'text');
28678
28699
  const containerStyles = computed(() => ({
28700
+ position: (props.element && props.element.css && props.element.css.position) || 'absolute',
28679
28701
  left: px2rem(props.element.css.left || 0),
28680
28702
  top: px2rem(props.element.css.top || 0),
28681
28703
  width: px2rem(props.element.css.width || 235),
@@ -28711,13 +28733,13 @@ var script$e = defineComponent({
28711
28733
  }
28712
28734
  });
28713
28735
 
28714
- const _hoisted_1$9 = {
28736
+ const _hoisted_1$a = {
28715
28737
  key: 0,
28716
28738
  class: "required-marker"
28717
28739
  };
28718
- const _hoisted_2$9 = ["type", "placeholder"];
28740
+ const _hoisted_2$a = ["type", "placeholder"];
28719
28741
 
28720
- function render$a(_ctx, _cache, $props, $setup, $data, $options) {
28742
+ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
28721
28743
  return (openBlock(), createElementBlock("div", {
28722
28744
  class: "ele-form form-input eles",
28723
28745
  style: normalizeStyle(_ctx.containerStyles)
@@ -28730,7 +28752,7 @@ function render$a(_ctx, _cache, $props, $setup, $data, $options) {
28730
28752
  })
28731
28753
  }, [
28732
28754
  (_ctx.required)
28733
- ? (openBlock(), createElementBlock("span", _hoisted_1$9, "*"))
28755
+ ? (openBlock(), createElementBlock("span", _hoisted_1$a, "*"))
28734
28756
  : createCommentVNode("v-if", true),
28735
28757
  withDirectives(createElementVNode("input", {
28736
28758
  type: _ctx.inputType,
@@ -28739,17 +28761,17 @@ function render$a(_ctx, _cache, $props, $setup, $data, $options) {
28739
28761
  style: normalizeStyle(_ctx.inputStyles),
28740
28762
  onBlur: _cache[1] || (_cache[1] = (...args) => (_ctx.handleBlur && _ctx.handleBlur(...args))),
28741
28763
  class: "dynamic-placeholder-input"
28742
- }, null, 44 /* STYLE, PROPS, NEED_HYDRATION */, _hoisted_2$9), [
28764
+ }, null, 44 /* STYLE, PROPS, NEED_HYDRATION */, _hoisted_2$a), [
28743
28765
  [vModelDynamic, _ctx.inputValue]
28744
28766
  ])
28745
28767
  ], 4 /* STYLE */)
28746
28768
  ], 4 /* STYLE */))
28747
28769
  }
28748
28770
 
28749
- script$e.render = render$a;
28750
- script$e.__file = "src/components/UniFormInput/UniFormInput.vue";
28771
+ script$f.render = render$b;
28772
+ script$f.__file = "src/components/UniFormInput/UniFormInput.vue";
28751
28773
 
28752
- var script$d = defineComponent({
28774
+ var script$e = defineComponent({
28753
28775
  name: 'uni-form-submit',
28754
28776
  props: {
28755
28777
  global: {
@@ -28776,6 +28798,7 @@ var script$d = defineComponent({
28776
28798
  const host = props.env === 'prd' ? 'https://h5.unika.cc' : 'http://localhost:3001';
28777
28799
  const btName = computed(() => props.element.btName || 'ส่ง'); // 提交
28778
28800
  const commonStyles = computed(() => ({
28801
+ position: (props.element && props.element.css && props.element.css.position) || 'absolute',
28779
28802
  left: px2rem(props.element.css.left),
28780
28803
  top: px2rem(props.element.css.top),
28781
28804
  width: px2rem(props.element.css.width),
@@ -28849,15 +28872,15 @@ var script$d = defineComponent({
28849
28872
  }
28850
28873
  });
28851
28874
 
28852
- const _hoisted_1$8 = ["data-id"];
28853
- const _hoisted_2$8 = ["disabled"];
28854
- const _hoisted_3$8 = {
28875
+ const _hoisted_1$9 = ["data-id"];
28876
+ const _hoisted_2$9 = ["disabled"];
28877
+ const _hoisted_3$9 = {
28855
28878
  key: 0,
28856
28879
  class: "f-ovh"
28857
28880
  };
28858
- const _hoisted_4$7 = { class: "f-ovh" };
28881
+ const _hoisted_4$8 = { class: "f-ovh" };
28859
28882
 
28860
- function render$9(_ctx, _cache, $props, $setup, $data, $options) {
28883
+ function render$a(_ctx, _cache, $props, $setup, $data, $options) {
28861
28884
  return (openBlock(), createElementBlock("div", {
28862
28885
  class: "ele-form eles",
28863
28886
  "data-id": _ctx.element.id,
@@ -28870,19 +28893,19 @@ function render$9(_ctx, _cache, $props, $setup, $data, $options) {
28870
28893
  disabled: _ctx.isSubmitting
28871
28894
  }, [
28872
28895
  (_ctx.isSubmitting)
28873
- ? (openBlock(), createElementBlock("span", _hoisted_3$8, "กำลังส่ง..."))
28896
+ ? (openBlock(), createElementBlock("span", _hoisted_3$9, "กำลังส่ง..."))
28874
28897
  : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
28875
28898
  createCommentVNode(" 提交中 "),
28876
- createElementVNode("span", _hoisted_4$7, toDisplayString(_ctx.btName), 1 /* TEXT */)
28899
+ createElementVNode("span", _hoisted_4$8, toDisplayString(_ctx.btName), 1 /* TEXT */)
28877
28900
  ], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */))
28878
- ], 12 /* STYLE, PROPS */, _hoisted_2$8)
28879
- ], 12 /* STYLE, PROPS */, _hoisted_1$8))
28901
+ ], 12 /* STYLE, PROPS */, _hoisted_2$9)
28902
+ ], 12 /* STYLE, PROPS */, _hoisted_1$9))
28880
28903
  }
28881
28904
 
28882
- script$d.render = render$9;
28883
- script$d.__file = "src/components/UniFormSubmit/UniFormSubmit.vue";
28905
+ script$e.render = render$a;
28906
+ script$e.__file = "src/components/UniFormSubmit/UniFormSubmit.vue";
28884
28907
 
28885
- var script$c = defineComponent({
28908
+ var script$d = defineComponent({
28886
28909
  name: 'uni-form-select',
28887
28910
  props: {
28888
28911
  global: {
@@ -28924,6 +28947,7 @@ var script$c = defineComponent({
28924
28947
  return item ? item.label : '';
28925
28948
  });
28926
28949
  const containerStyle = computed(() => ({
28950
+ position: (props.element && props.element.css && props.element.css.position) || 'absolute',
28927
28951
  fontFamily: props.element.css.fontFamily,
28928
28952
  fontSize: px2rem(props.element.css.fontSize || 0),
28929
28953
  color: hasError.value ? '#ff4d4f' : props.element.css.color,
@@ -28987,21 +29011,21 @@ var script$c = defineComponent({
28987
29011
  }
28988
29012
  });
28989
29013
 
28990
- const _hoisted_1$7 = ["data-id"];
28991
- const _hoisted_2$7 = {
29014
+ const _hoisted_1$8 = ["data-id"];
29015
+ const _hoisted_2$8 = {
28992
29016
  key: 0,
28993
29017
  class: "require"
28994
29018
  };
28995
- const _hoisted_3$7 = { class: "fs-cont" };
28996
- const _hoisted_4$6 = {
29019
+ const _hoisted_3$8 = { class: "fs-cont" };
29020
+ const _hoisted_4$7 = {
28997
29021
  value: "",
28998
29022
  disabled: "",
28999
29023
  hidden: ""
29000
29024
  };
29001
- const _hoisted_5$6 = ["value"];
29002
- const _hoisted_6$4 = ["onClick"];
29025
+ const _hoisted_5$7 = ["value"];
29026
+ const _hoisted_6$5 = ["onClick"];
29003
29027
 
29004
- function render$8(_ctx, _cache, $props, $setup, $data, $options) {
29028
+ function render$9(_ctx, _cache, $props, $setup, $data, $options) {
29005
29029
  return (openBlock(), createElementBlock("div", {
29006
29030
  class: normalizeClass(["ele-form f-select eles", { 'has-error': _ctx.hasError }]),
29007
29031
  "data-id": _ctx.element.id,
@@ -29016,9 +29040,9 @@ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
29016
29040
  onClick: _cache[0] || (_cache[0] = (...args) => (_ctx.toggleDropdown && _ctx.toggleDropdown(...args)))
29017
29041
  }, [
29018
29042
  (_ctx.required)
29019
- ? (openBlock(), createElementBlock("span", _hoisted_2$7, "*"))
29043
+ ? (openBlock(), createElementBlock("span", _hoisted_2$8, "*"))
29020
29044
  : createCommentVNode("v-if", true),
29021
- createElementVNode("span", _hoisted_3$7, toDisplayString(_ctx.selectedLabel || _ctx.element.title), 1 /* TEXT */),
29045
+ createElementVNode("span", _hoisted_3$8, toDisplayString(_ctx.selectedLabel || _ctx.element.title), 1 /* TEXT */),
29022
29046
  createElementVNode("i", {
29023
29047
  class: normalizeClass(["iconfont icon-bofang1", { 'rotate-180': _ctx.isOpen }])
29024
29048
  }, null, 2 /* CLASS */)
@@ -29029,12 +29053,12 @@ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
29029
29053
  onChange: _cache[2] || (_cache[2] = (...args) => (_ctx.handleChange && _ctx.handleChange(...args))),
29030
29054
  onBlur: _cache[3] || (_cache[3] = (...args) => (_ctx.handleBlur && _ctx.handleBlur(...args)))
29031
29055
  }, [
29032
- createElementVNode("option", _hoisted_4$6, toDisplayString(_ctx.element.title), 1 /* TEXT */),
29056
+ createElementVNode("option", _hoisted_4$7, toDisplayString(_ctx.element.title), 1 /* TEXT */),
29033
29057
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.element.items, (item) => {
29034
29058
  return (openBlock(), createElementBlock("option", {
29035
29059
  key: item.value,
29036
29060
  value: item.value
29037
- }, toDisplayString(item.label), 9 /* TEXT, PROPS */, _hoisted_5$6))
29061
+ }, toDisplayString(item.label), 9 /* TEXT, PROPS */, _hoisted_5$7))
29038
29062
  }), 128 /* KEYED_FRAGMENT */))
29039
29063
  ], 544 /* NEED_HYDRATION, NEED_PATCH */), [
29040
29064
  [vModelSelect, _ctx.selectedValue]
@@ -29050,18 +29074,18 @@ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
29050
29074
  key: item.value,
29051
29075
  class: normalizeClass(["dropdown-item", { 'selected': item.value === _ctx.selectedValue }]),
29052
29076
  onClick: $event => (_ctx.selectItem(item))
29053
- }, toDisplayString(item.label), 11 /* TEXT, CLASS, PROPS */, _hoisted_6$4))
29077
+ }, toDisplayString(item.label), 11 /* TEXT, CLASS, PROPS */, _hoisted_6$5))
29054
29078
  }), 128 /* KEYED_FRAGMENT */))
29055
29079
  ], 4 /* STYLE */))
29056
29080
  : createCommentVNode("v-if", true)
29057
29081
  ], 4 /* STYLE */)
29058
- ], 14 /* CLASS, STYLE, PROPS */, _hoisted_1$7))
29082
+ ], 14 /* CLASS, STYLE, PROPS */, _hoisted_1$8))
29059
29083
  }
29060
29084
 
29061
- script$c.render = render$8;
29062
- script$c.__file = "src/components/UniFormSelect/UniFormSelect.vue";
29085
+ script$d.render = render$9;
29086
+ script$d.__file = "src/components/UniFormSelect/UniFormSelect.vue";
29063
29087
 
29064
- var script$b = defineComponent({
29088
+ var script$c = defineComponent({
29065
29089
  name: 'uni-form-single',
29066
29090
  props: {
29067
29091
  global: {
@@ -29099,6 +29123,7 @@ var script$b = defineComponent({
29099
29123
  };
29100
29124
  // 样式计算
29101
29125
  const containerStyles = computed(() => ({
29126
+ position: (props.element && props.element.css && props.element.css.position) || 'absolute',
29102
29127
  fontFamily: props.element.css.fontFamily,
29103
29128
  fontSize: px2rem(props.element.css.fontSize || 0),
29104
29129
  color: hasError.value ? '#ff4d4f' : props.element.css.color,
@@ -29141,16 +29166,16 @@ var script$b = defineComponent({
29141
29166
  }
29142
29167
  });
29143
29168
 
29144
- const _hoisted_1$6 = ["data-id"];
29145
- const _hoisted_2$6 = { class: "fs-tit" };
29146
- const _hoisted_3$6 = {
29169
+ const _hoisted_1$7 = ["data-id"];
29170
+ const _hoisted_2$7 = { class: "fs-tit" };
29171
+ const _hoisted_3$7 = {
29147
29172
  key: 0,
29148
29173
  class: "require"
29149
29174
  };
29150
- const _hoisted_4$5 = ["onClick"];
29151
- const _hoisted_5$5 = ["name", "value"];
29175
+ const _hoisted_4$6 = ["onClick"];
29176
+ const _hoisted_5$6 = ["name", "value"];
29152
29177
 
29153
- function render$7(_ctx, _cache, $props, $setup, $data, $options) {
29178
+ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
29154
29179
  return (openBlock(), createElementBlock("div", {
29155
29180
  class: normalizeClass(["ele-form f-single eles", { 'has-error': _ctx.hasError }]),
29156
29181
  "data-id": _ctx.element.id,
@@ -29160,9 +29185,9 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
29160
29185
  class: "ani-wrap",
29161
29186
  style: normalizeStyle(_ctx.innerStyles)
29162
29187
  }, [
29163
- createElementVNode("div", _hoisted_2$6, [
29188
+ createElementVNode("div", _hoisted_2$7, [
29164
29189
  (_ctx.required)
29165
- ? (openBlock(), createElementBlock("span", _hoisted_3$6, "*"))
29190
+ ? (openBlock(), createElementBlock("span", _hoisted_3$7, "*"))
29166
29191
  : createCommentVNode("v-if", true),
29167
29192
  createTextVNode(" " + toDisplayString(_ctx.element.title), 1 /* TEXT */)
29168
29193
  ]),
@@ -29180,22 +29205,22 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
29180
29205
  class: "fs-txt",
29181
29206
  style: normalizeStyle(_ctx.itemStyles)
29182
29207
  }, toDisplayString(item.label), 5 /* TEXT, STYLE */)
29183
- ], 8 /* PROPS */, _hoisted_4$5))
29208
+ ], 8 /* PROPS */, _hoisted_4$6))
29184
29209
  }), 128 /* KEYED_FRAGMENT */))
29185
29210
  ]),
29186
29211
  createElementVNode("input", {
29187
29212
  type: "hidden",
29188
29213
  name: `singleselect_${_ctx.element.id}`,
29189
29214
  value: _ctx.selectedValue
29190
- }, null, 8 /* PROPS */, _hoisted_5$5)
29215
+ }, null, 8 /* PROPS */, _hoisted_5$6)
29191
29216
  ], 4 /* STYLE */)
29192
- ], 14 /* CLASS, STYLE, PROPS */, _hoisted_1$6))
29217
+ ], 14 /* CLASS, STYLE, PROPS */, _hoisted_1$7))
29193
29218
  }
29194
29219
 
29195
- script$b.render = render$7;
29196
- script$b.__file = "src/components/UniFormSingle/UniFormSingle.vue";
29220
+ script$c.render = render$8;
29221
+ script$c.__file = "src/components/UniFormSingle/UniFormSingle.vue";
29197
29222
 
29198
- var script$a = defineComponent({
29223
+ var script$b = defineComponent({
29199
29224
  name: 'uni-form-multiple',
29200
29225
  props: {
29201
29226
  global: {
@@ -29242,6 +29267,7 @@ var script$a = defineComponent({
29242
29267
  };
29243
29268
  // 样式计算
29244
29269
  const containerStyles = computed(() => ({
29270
+ position: (props.element && props.element.css && props.element.css.position) || 'absolute',
29245
29271
  fontFamily: props.element.css.fontFamily,
29246
29272
  fontSize: px2rem(props.element.css.fontSize || 0),
29247
29273
  color: hasError.value ? '#ff4d4f' : props.element.css.color,
@@ -29285,16 +29311,16 @@ var script$a = defineComponent({
29285
29311
  }
29286
29312
  });
29287
29313
 
29288
- const _hoisted_1$5 = ["data-id"];
29289
- const _hoisted_2$5 = { class: "fs-tit" };
29290
- const _hoisted_3$5 = {
29314
+ const _hoisted_1$6 = ["data-id"];
29315
+ const _hoisted_2$6 = { class: "fs-tit" };
29316
+ const _hoisted_3$6 = {
29291
29317
  key: 0,
29292
29318
  class: "require"
29293
29319
  };
29294
- const _hoisted_4$4 = ["onClick"];
29295
- const _hoisted_5$4 = ["name", "value"];
29320
+ const _hoisted_4$5 = ["onClick"];
29321
+ const _hoisted_5$5 = ["name", "value"];
29296
29322
 
29297
- function render$6(_ctx, _cache, $props, $setup, $data, $options) {
29323
+ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
29298
29324
  return (openBlock(), createElementBlock("div", {
29299
29325
  class: normalizeClass(["ele-form f-multiple eles", { 'has-error': _ctx.hasError }]),
29300
29326
  "data-id": _ctx.element.id,
@@ -29304,9 +29330,9 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
29304
29330
  class: "ani-wrap",
29305
29331
  style: normalizeStyle(_ctx.innerStyles)
29306
29332
  }, [
29307
- createElementVNode("div", _hoisted_2$5, [
29333
+ createElementVNode("div", _hoisted_2$6, [
29308
29334
  (_ctx.required)
29309
- ? (openBlock(), createElementBlock("span", _hoisted_3$5, "*"))
29335
+ ? (openBlock(), createElementBlock("span", _hoisted_3$6, "*"))
29310
29336
  : createCommentVNode("v-if", true),
29311
29337
  createTextVNode(" " + toDisplayString(_ctx.element.title), 1 /* TEXT */)
29312
29338
  ]),
@@ -29324,22 +29350,22 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
29324
29350
  class: "fs-txt",
29325
29351
  style: normalizeStyle(_ctx.itemStyles)
29326
29352
  }, toDisplayString(item.label), 5 /* TEXT, STYLE */)
29327
- ], 8 /* PROPS */, _hoisted_4$4))
29353
+ ], 8 /* PROPS */, _hoisted_4$5))
29328
29354
  }), 128 /* KEYED_FRAGMENT */))
29329
29355
  ]),
29330
29356
  createElementVNode("input", {
29331
29357
  type: "hidden",
29332
29358
  name: `multiselect_${_ctx.element.id}`,
29333
29359
  value: _ctx.selectedValues.join(',')
29334
- }, null, 8 /* PROPS */, _hoisted_5$4)
29360
+ }, null, 8 /* PROPS */, _hoisted_5$5)
29335
29361
  ], 4 /* STYLE */)
29336
- ], 14 /* CLASS, STYLE, PROPS */, _hoisted_1$5))
29362
+ ], 14 /* CLASS, STYLE, PROPS */, _hoisted_1$6))
29337
29363
  }
29338
29364
 
29339
- script$a.render = render$6;
29340
- script$a.__file = "src/components/UniFormMultiple/UniFormMultiple.vue";
29365
+ script$b.render = render$7;
29366
+ script$b.__file = "src/components/UniFormMultiple/UniFormMultiple.vue";
29341
29367
 
29342
- var script$9 = defineComponent({
29368
+ var script$a = defineComponent({
29343
29369
  name: 'FormContainer',
29344
29370
  props: {
29345
29371
  autoReset: {
@@ -29363,7 +29389,7 @@ var script$9 = defineComponent({
29363
29389
  }
29364
29390
  });
29365
29391
 
29366
- function render$5(_ctx, _cache, $props, $setup, $data, $options) {
29392
+ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
29367
29393
  return (openBlock(), createElementBlock("form", {
29368
29394
  class: "form-container",
29369
29395
  onSubmit: _cache[0] || (_cache[0] = withModifiers(() => {}, ["prevent"]))
@@ -29372,10 +29398,10 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
29372
29398
  ], 32 /* NEED_HYDRATION */))
29373
29399
  }
29374
29400
 
29375
- script$9.render = render$5;
29376
- script$9.__file = "src/components/UniFormContainer/UniFormContainer.vue";
29401
+ script$a.render = render$6;
29402
+ script$a.__file = "src/components/UniFormContainer/UniFormContainer.vue";
29377
29403
 
29378
- var script$8 = /*#__PURE__*/ defineComponent({
29404
+ var script$9 = /*#__PURE__*/ defineComponent({
29379
29405
  ...{ name: 'uni-menu-receipt' },
29380
29406
  __name: 'UniMenuReceipt',
29381
29407
  props: {
@@ -29405,9 +29431,9 @@ var script$8 = /*#__PURE__*/ defineComponent({
29405
29431
  }
29406
29432
  });
29407
29433
 
29408
- script$8.__file = "src/components/UniMenuReceipt/UniMenuReceipt.vue";
29434
+ script$9.__file = "src/components/UniMenuReceipt/UniMenuReceipt.vue";
29409
29435
 
29410
- var script$7 = /*#__PURE__*/ defineComponent({
29436
+ var script$8 = /*#__PURE__*/ defineComponent({
29411
29437
  ...{ name: 'uni-menu-video' },
29412
29438
  __name: 'UniMenuVideo',
29413
29439
  props: {
@@ -29437,9 +29463,9 @@ var script$7 = /*#__PURE__*/ defineComponent({
29437
29463
  }
29438
29464
  });
29439
29465
 
29440
- script$7.__file = "src/components/UniMenuVideo/UniMenuVideo.vue";
29466
+ script$8.__file = "src/components/UniMenuVideo/UniMenuVideo.vue";
29441
29467
 
29442
- var script$6 = /*#__PURE__*/ defineComponent({
29468
+ var script$7 = /*#__PURE__*/ defineComponent({
29443
29469
  ...{ name: 'uni-menu-tel' },
29444
29470
  __name: 'UniMenuTel',
29445
29471
  props: {
@@ -29469,9 +29495,9 @@ var script$6 = /*#__PURE__*/ defineComponent({
29469
29495
  }
29470
29496
  });
29471
29497
 
29472
- script$6.__file = "src/components/UniMenuTel/UniMenuTel.vue";
29498
+ script$7.__file = "src/components/UniMenuTel/UniMenuTel.vue";
29473
29499
 
29474
- var script$5 = /*#__PURE__*/ defineComponent({
29500
+ var script$6 = /*#__PURE__*/ defineComponent({
29475
29501
  ...{ name: 'uni-menu-map' },
29476
29502
  __name: 'UniMenuMap',
29477
29503
  props: {
@@ -29501,9 +29527,9 @@ var script$5 = /*#__PURE__*/ defineComponent({
29501
29527
  }
29502
29528
  });
29503
29529
 
29504
- script$5.__file = "src/components/UniMenuMap/UniMenuMap.vue";
29530
+ script$6.__file = "src/components/UniMenuMap/UniMenuMap.vue";
29505
29531
 
29506
- var script$4 = defineComponent({
29532
+ var script$5 = defineComponent({
29507
29533
  name: 'uni-menu',
29508
29534
  props: {
29509
29535
  global: {
@@ -29517,10 +29543,10 @@ var script$4 = defineComponent({
29517
29543
  }
29518
29544
  },
29519
29545
  components: {
29520
- UniMenuReceipt: script$8,
29521
- UniMenuVideo: script$7,
29522
- UniMenuTel: script$6,
29523
- UniMenuMap: script$5
29546
+ UniMenuReceipt: script$9,
29547
+ UniMenuVideo: script$8,
29548
+ UniMenuTel: script$7,
29549
+ UniMenuMap: script$6
29524
29550
  },
29525
29551
  setup(props) {
29526
29552
  // 状态管理
@@ -29719,55 +29745,55 @@ var script$4 = defineComponent({
29719
29745
  });
29720
29746
 
29721
29747
  const _withScopeId$1 = n => (pushScopeId("data-v-5e9efd2f"),n=n(),popScopeId(),n);
29722
- const _hoisted_1$4 = {
29748
+ const _hoisted_1$5 = {
29723
29749
  key: 0,
29724
29750
  id: "page-global"
29725
29751
  };
29726
- const _hoisted_2$4 = {
29752
+ const _hoisted_2$5 = {
29727
29753
  key: 1,
29728
29754
  id: "receipt-wrap",
29729
29755
  class: "v-slide"
29730
29756
  };
29731
- const _hoisted_3$4 = /*#__PURE__*/ _withScopeId$1(() => /*#__PURE__*/createElementVNode("div", { class: "r-tit" }, "แบบตอบรับ", -1 /* HOISTED */));
29732
- const _hoisted_4$3 = { class: "r-cont" };
29733
- const _hoisted_5$3 = { class: "r-list" };
29734
- const _hoisted_6$3 = ["value"];
29735
- const _hoisted_7$3 = { class: "r-which" };
29736
- const _hoisted_8 = ["value"];
29737
- const _hoisted_9 = { class: "r-submit" };
29738
- const _hoisted_10 = {
29757
+ const _hoisted_3$5 = /*#__PURE__*/ _withScopeId$1(() => /*#__PURE__*/createElementVNode("div", { class: "r-tit" }, "แบบตอบรับ", -1 /* HOISTED */));
29758
+ const _hoisted_4$4 = { class: "r-cont" };
29759
+ const _hoisted_5$4 = { class: "r-list" };
29760
+ const _hoisted_6$4 = ["value"];
29761
+ const _hoisted_7$4 = { class: "r-which" };
29762
+ const _hoisted_8$1 = ["value"];
29763
+ const _hoisted_9$1 = { class: "r-submit" };
29764
+ const _hoisted_10$1 = {
29739
29765
  key: 0,
29740
29766
  class: "which-select"
29741
29767
  };
29742
- const _hoisted_11 = ["onClick"];
29743
- const _hoisted_12 = {
29768
+ const _hoisted_11$1 = ["onClick"];
29769
+ const _hoisted_12$1 = {
29744
29770
  key: 1,
29745
29771
  class: "which-select"
29746
29772
  };
29747
- const _hoisted_13 = ["onClick"];
29748
- const _hoisted_14 = {
29773
+ const _hoisted_13$1 = ["onClick"];
29774
+ const _hoisted_14$1 = {
29749
29775
  key: 2,
29750
29776
  class: "tip-cover"
29751
29777
  };
29752
- const _hoisted_15 = { class: "tip" };
29753
- const _hoisted_16 = { class: "tip-content" };
29754
- const _hoisted_17 = {
29778
+ const _hoisted_15$1 = { class: "tip" };
29779
+ const _hoisted_16$1 = { class: "tip-content" };
29780
+ const _hoisted_17$1 = {
29755
29781
  key: 2,
29756
29782
  class: "global-v"
29757
29783
  };
29758
- const _hoisted_18 = /*#__PURE__*/ _withScopeId$1(() => /*#__PURE__*/createElementVNode("i", { class: "iconfont icon-buoumaotubiao20" }, null, -1 /* HOISTED */));
29759
- const _hoisted_19 = [
29760
- _hoisted_18
29784
+ const _hoisted_18$1 = /*#__PURE__*/ _withScopeId$1(() => /*#__PURE__*/createElementVNode("i", { class: "iconfont icon-buoumaotubiao20" }, null, -1 /* HOISTED */));
29785
+ const _hoisted_19$1 = [
29786
+ _hoisted_18$1
29761
29787
  ];
29762
- const _hoisted_20 = ["innerHTML"];
29763
- const _hoisted_21 = ["onClick"];
29764
- const _hoisted_22 = {
29788
+ const _hoisted_20$1 = ["innerHTML"];
29789
+ const _hoisted_21$1 = ["onClick"];
29790
+ const _hoisted_22$1 = {
29765
29791
  key: 4,
29766
29792
  class: "mint-toast"
29767
29793
  };
29768
- const _hoisted_23 = { class: "mint-toast-text" };
29794
+ const _hoisted_23$1 = { class: "mint-toast-text" };
29769
29795
 
29770
- function render$4(_ctx, _cache, $props, $setup, $data, $options) {
29796
+ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
29771
29797
  const _component_uni_menu_receipt = resolveComponent("uni-menu-receipt");
29772
29798
  const _component_uni_menu_video = resolveComponent("uni-menu-video");
29773
29799
  const _component_uni_menu_tel = resolveComponent("uni-menu-tel");
@@ -29776,7 +29802,7 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
29776
29802
  return (openBlock(), createElementBlock(Fragment, null, [
29777
29803
  createCommentVNode(" 主按钮组 "),
29778
29804
  (_ctx.showGlobalButtons)
29779
- ? (openBlock(), createElementBlock("div", _hoisted_1$4, [
29805
+ ? (openBlock(), createElementBlock("div", _hoisted_1$5, [
29780
29806
  createVNode(_component_uni_menu_receipt, {
29781
29807
  global: _ctx.global,
29782
29808
  onClick: _cache[0] || (_cache[0] = $event => (_ctx.showReceiptForm = true))
@@ -29797,15 +29823,15 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
29797
29823
  : createCommentVNode("v-if", true),
29798
29824
  createCommentVNode(" 回执表单 "),
29799
29825
  (_ctx.showReceiptForm)
29800
- ? (openBlock(), createElementBlock("div", _hoisted_2$4, [
29826
+ ? (openBlock(), createElementBlock("div", _hoisted_2$5, [
29801
29827
  createElementVNode("i", {
29802
29828
  class: "iconfont icon-guanbi",
29803
29829
  onClick: _cache[3] || (_cache[3] = (...args) => (_ctx.closeReceipt && _ctx.closeReceipt(...args)))
29804
29830
  }),
29805
- _hoisted_3$4,
29831
+ _hoisted_3$5,
29806
29832
  createCommentVNode(" 宾客回执 "),
29807
- createElementVNode("div", _hoisted_4$3, [
29808
- createElementVNode("ul", _hoisted_5$3, [
29833
+ createElementVNode("div", _hoisted_4$4, [
29834
+ createElementVNode("ul", _hoisted_5$4, [
29809
29835
  createElementVNode("li", null, [
29810
29836
  withDirectives(createElementVNode("input", {
29811
29837
  "onUpdate:modelValue": _cache[4] || (_cache[4] = $event => ((_ctx.receiptForm.guestName) = $event)),
@@ -29824,15 +29850,15 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
29824
29850
  value: _ctx.selectedPeopleLabel,
29825
29851
  class: "r-input",
29826
29852
  onClick: _cache[5] || (_cache[5] = $event => (_ctx.showPeopleSelect = true))
29827
- }, null, 8 /* PROPS */, _hoisted_6$3)
29853
+ }, null, 8 /* PROPS */, _hoisted_6$4)
29828
29854
  ]),
29829
- createElementVNode("li", _hoisted_7$3, [
29855
+ createElementVNode("li", _hoisted_7$4, [
29830
29856
  createElementVNode("input", {
29831
29857
  readonly: "",
29832
29858
  value: _ctx.selectedWhichLabel,
29833
29859
  class: "r-input",
29834
29860
  onClick: _cache[6] || (_cache[6] = $event => (_ctx.showWhichSelect = true))
29835
- }, null, 8 /* PROPS */, _hoisted_8)
29861
+ }, null, 8 /* PROPS */, _hoisted_8$1)
29836
29862
  ]),
29837
29863
  createElementVNode("li", null, [
29838
29864
  withDirectives(createElementVNode("input", {
@@ -29846,7 +29872,7 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
29846
29872
  ]),
29847
29873
  createCommentVNode(" 手机号码 ")
29848
29874
  ]),
29849
- createElementVNode("li", _hoisted_9, [
29875
+ createElementVNode("li", _hoisted_9$1, [
29850
29876
  createElementVNode("button", {
29851
29877
  class: "r-btn",
29852
29878
  onClick: _cache[8] || (_cache[8] = (...args) => (_ctx.submitReceipt && _ctx.submitReceipt(...args)))
@@ -29857,35 +29883,35 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
29857
29883
  ]),
29858
29884
  createCommentVNode(" 选择人数 "),
29859
29885
  (_ctx.showPeopleSelect)
29860
- ? (openBlock(), createElementBlock("div", _hoisted_10, [
29886
+ ? (openBlock(), createElementBlock("div", _hoisted_10$1, [
29861
29887
  createElementVNode("ul", null, [
29862
29888
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.peopleOptions, (item) => {
29863
29889
  return (openBlock(), createElementBlock("li", {
29864
29890
  key: item,
29865
29891
  onClick: $event => (_ctx.selectPeople(item))
29866
- }, toDisplayString(item), 9 /* TEXT, PROPS */, _hoisted_11))
29892
+ }, toDisplayString(item), 9 /* TEXT, PROPS */, _hoisted_11$1))
29867
29893
  }), 128 /* KEYED_FRAGMENT */))
29868
29894
  ])
29869
29895
  ]))
29870
29896
  : createCommentVNode("v-if", true),
29871
29897
  createCommentVNode(" 选择男方/女方 "),
29872
29898
  (_ctx.showWhichSelect)
29873
- ? (openBlock(), createElementBlock("div", _hoisted_12, [
29899
+ ? (openBlock(), createElementBlock("div", _hoisted_12$1, [
29874
29900
  createElementVNode("ul", null, [
29875
29901
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.global.receipt.whichList, (item) => {
29876
29902
  return (openBlock(), createElementBlock("li", {
29877
29903
  key: item.label,
29878
29904
  onClick: $event => (_ctx.selectWhich(item))
29879
- }, toDisplayString(item.label), 9 /* TEXT, PROPS */, _hoisted_13))
29905
+ }, toDisplayString(item.label), 9 /* TEXT, PROPS */, _hoisted_13$1))
29880
29906
  }), 128 /* KEYED_FRAGMENT */))
29881
29907
  ])
29882
29908
  ]))
29883
29909
  : createCommentVNode("v-if", true),
29884
29910
  createCommentVNode(" 提示信息 "),
29885
29911
  (_ctx.showTip)
29886
- ? (openBlock(), createElementBlock("div", _hoisted_14, [
29887
- createElementVNode("div", _hoisted_15, [
29888
- createElementVNode("div", _hoisted_16, toDisplayString(_ctx.tipMessage), 1 /* TEXT */),
29912
+ ? (openBlock(), createElementBlock("div", _hoisted_14$1, [
29913
+ createElementVNode("div", _hoisted_15$1, [
29914
+ createElementVNode("div", _hoisted_16$1, toDisplayString(_ctx.tipMessage), 1 /* TEXT */),
29889
29915
  createElementVNode("div", {
29890
29916
  class: "tip-btn",
29891
29917
  onClick: _cache[9] || (_cache[9] = $event => (_ctx.showTip = false))
@@ -29898,15 +29924,15 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
29898
29924
  : createCommentVNode("v-if", true),
29899
29925
  createCommentVNode(" 视频播放 "),
29900
29926
  (_ctx.showVideoPlayer)
29901
- ? (openBlock(), createElementBlock("div", _hoisted_17, [
29927
+ ? (openBlock(), createElementBlock("div", _hoisted_17$1, [
29902
29928
  createElementVNode("div", {
29903
29929
  id: "close-gvideo",
29904
29930
  onClick: _cache[10] || (_cache[10] = (...args) => (_ctx.closeVideo && _ctx.closeVideo(...args)))
29905
- }, [..._hoisted_19]),
29931
+ }, [..._hoisted_19$1]),
29906
29932
  createElementVNode("div", {
29907
29933
  class: "global-v-show",
29908
29934
  innerHTML: _ctx.global.video.url
29909
- }, null, 8 /* PROPS */, _hoisted_20)
29935
+ }, null, 8 /* PROPS */, _hoisted_20$1)
29910
29936
  ]))
29911
29937
  : createCommentVNode("v-if", true),
29912
29938
  createCommentVNode(" 拨号选择 "),
@@ -29921,49 +29947,49 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
29921
29947
  return (openBlock(), createElementBlock("li", {
29922
29948
  key: item.value || item.label,
29923
29949
  onClick: $event => (_ctx.makeCall(item))
29924
- }, toDisplayString(item.label), 9 /* TEXT, PROPS */, _hoisted_21))
29950
+ }, toDisplayString(item.label), 9 /* TEXT, PROPS */, _hoisted_21$1))
29925
29951
  }), 128 /* KEYED_FRAGMENT */))
29926
29952
  ])
29927
29953
  ]))
29928
29954
  : createCommentVNode("v-if", true),
29929
29955
  createCommentVNode(" 提交结果提示 "),
29930
29956
  (_ctx.showToast)
29931
- ? (openBlock(), createElementBlock("div", _hoisted_22, [
29957
+ ? (openBlock(), createElementBlock("div", _hoisted_22$1, [
29932
29958
  createElementVNode("i", {
29933
29959
  class: normalizeClass(["iconfont", _ctx.toastIcon]),
29934
29960
  style: {"font-size":"50px","margin-bottom":"5px"}
29935
29961
  }, null, 2 /* CLASS */),
29936
- createElementVNode("div", _hoisted_23, toDisplayString(_ctx.toastMessage), 1 /* TEXT */)
29962
+ createElementVNode("div", _hoisted_23$1, toDisplayString(_ctx.toastMessage), 1 /* TEXT */)
29937
29963
  ]))
29938
29964
  : createCommentVNode("v-if", true)
29939
29965
  ], 64 /* STABLE_FRAGMENT */))
29940
29966
  }
29941
29967
 
29942
- script$4.render = render$4;
29943
- script$4.__scopeId = "data-v-5e9efd2f";
29944
- script$4.__file = "src/components/UniMenu/UniMenu.vue";
29968
+ script$5.render = render$5;
29969
+ script$5.__scopeId = "data-v-5e9efd2f";
29970
+ script$5.__file = "src/components/UniMenu/UniMenu.vue";
29945
29971
 
29946
- var script$3 = defineComponent({
29972
+ var script$4 = defineComponent({
29947
29973
  name: 'UniWatermark'
29948
29974
  });
29949
29975
 
29950
29976
  const _withScopeId = n => (pushScopeId("data-v-0f2e9262"),n=n(),popScopeId(),n);
29951
- const _hoisted_1$3 = {
29977
+ const _hoisted_1$4 = {
29952
29978
  class: "unika-watermark",
29953
29979
  "aria-hidden": "true"
29954
29980
  };
29955
- const _hoisted_2$3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/createElementVNode("div", { class: "unika-watermark-pattern" }, null, -1 /* HOISTED */));
29956
- const _hoisted_3$3 = [
29957
- _hoisted_2$3
29981
+ const _hoisted_2$4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/createElementVNode("div", { class: "unika-watermark-pattern" }, null, -1 /* HOISTED */));
29982
+ const _hoisted_3$4 = [
29983
+ _hoisted_2$4
29958
29984
  ];
29959
29985
 
29960
- function render$3(_ctx, _cache, $props, $setup, $data, $options) {
29961
- return (openBlock(), createElementBlock("div", _hoisted_1$3, [..._hoisted_3$3]))
29986
+ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
29987
+ return (openBlock(), createElementBlock("div", _hoisted_1$4, [..._hoisted_3$4]))
29962
29988
  }
29963
29989
 
29964
- script$3.render = render$3;
29965
- script$3.__scopeId = "data-v-0f2e9262";
29966
- script$3.__file = "src/components/UniWatermark/UniWatermark.vue";
29990
+ script$4.render = render$4;
29991
+ script$4.__scopeId = "data-v-0f2e9262";
29992
+ script$4.__file = "src/components/UniWatermark/UniWatermark.vue";
29967
29993
 
29968
29994
  /**
29969
29995
  * 应用文字动画 - 用于 WorkRender/H5 等场景
@@ -30245,30 +30271,30 @@ function splitGraphemeClustersFallback(text) {
30245
30271
  return merged;
30246
30272
  }
30247
30273
 
30248
- var script$2 = defineComponent({
30274
+ var script$3 = defineComponent({
30249
30275
  name: 'WorkRenderH5',
30250
30276
  components: {
30251
- UniMusic: script$o,
30252
- UniText: script$r,
30253
- UniImage: script$q,
30254
- UniShape: script$p,
30255
- UniCalendar: script$m,
30256
- UniMap: script$k,
30257
- UniCountdown: script$l,
30258
- UniEffect: script$i,
30259
- UniVideo: script$n,
30260
- UniCall: script$j,
30261
- UniFormInput: script$e,
30262
- UniFormSubmit: script$d,
30263
- UniFormSelect: script$c,
30264
- UniFormMultiple: script$a,
30265
- UniFormSingle: script$b,
30266
- UniFormContainer: script$9,
30267
- UniBarrage: script$f,
30268
- UniMenu: script$4,
30269
- UniLottie: script$h,
30270
- UniButton: script$g,
30271
- UniWatermark: script$3,
30277
+ UniMusic: script$p,
30278
+ UniText: script$s,
30279
+ UniImage: script$r,
30280
+ UniShape: script$q,
30281
+ UniCalendar: script$n,
30282
+ UniMap: script$l,
30283
+ UniCountdown: script$m,
30284
+ UniEffect: script$j,
30285
+ UniVideo: script$o,
30286
+ UniCall: script$k,
30287
+ UniFormInput: script$f,
30288
+ UniFormSubmit: script$e,
30289
+ UniFormSelect: script$d,
30290
+ UniFormMultiple: script$b,
30291
+ UniFormSingle: script$c,
30292
+ UniFormContainer: script$a,
30293
+ UniBarrage: script$g,
30294
+ UniMenu: script$5,
30295
+ UniLottie: script$i,
30296
+ UniButton: script$h,
30297
+ UniWatermark: script$4,
30272
30298
  },
30273
30299
  props: {
30274
30300
  workData: {
@@ -30532,27 +30558,27 @@ var script$2 = defineComponent({
30532
30558
  }
30533
30559
  });
30534
30560
 
30535
- const _hoisted_1$2 = {
30561
+ const _hoisted_1$3 = {
30536
30562
  id: "index",
30537
30563
  ref: "container"
30538
30564
  };
30539
- const _hoisted_2$2 = {
30565
+ const _hoisted_2$3 = {
30540
30566
  id: "page-list",
30541
30567
  style: {"max-width":"800px"}
30542
30568
  };
30543
- const _hoisted_3$2 = { class: "page-wrap" };
30544
- const _hoisted_4$2 = ["data-type"];
30545
- const _hoisted_5$2 = { class: "ele-wrap" };
30546
- const _hoisted_6$2 = { class: "tip-content" };
30547
- const _hoisted_7$2 = /*#__PURE__*/createElementVNode("div", { class: "tip-btn" }, "OK", -1 /* HOISTED */);
30569
+ const _hoisted_3$3 = { class: "page-wrap" };
30570
+ const _hoisted_4$3 = ["data-type"];
30571
+ const _hoisted_5$3 = { class: "ele-wrap" };
30572
+ const _hoisted_6$3 = { class: "tip-content" };
30573
+ const _hoisted_7$3 = /*#__PURE__*/createElementVNode("div", { class: "tip-btn" }, "OK", -1 /* HOISTED */);
30548
30574
 
30549
- function render$2(_ctx, _cache, $props, $setup, $data, $options) {
30575
+ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
30550
30576
  const _component_UniMusic = resolveComponent("UniMusic");
30551
30577
  const _component_UniBarrage = resolveComponent("UniBarrage");
30552
30578
  const _component_UniMenu = resolveComponent("UniMenu");
30553
30579
  const _component_UniWatermark = resolveComponent("UniWatermark");
30554
30580
 
30555
- return (openBlock(), createElementBlock("div", _hoisted_1$2, [
30581
+ return (openBlock(), createElementBlock("div", _hoisted_1$3, [
30556
30582
  createCommentVNode(" 背景音乐 "),
30557
30583
  (_ctx.global.music.url)
30558
30584
  ? (openBlock(), createBlock(_component_UniMusic, {
@@ -30563,7 +30589,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
30563
30589
  }, null, 8 /* PROPS */, ["music-data"]))
30564
30590
  : createCommentVNode("v-if", true),
30565
30591
  createCommentVNode(" 页面切换器 "),
30566
- createElementVNode("div", _hoisted_2$2, [
30592
+ createElementVNode("div", _hoisted_2$3, [
30567
30593
  createVNode(TransitionGroup, {
30568
30594
  name: _ctx.currentTransition,
30569
30595
  tag: "div",
@@ -30578,7 +30604,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
30578
30604
  key: page.pageId,
30579
30605
  class: normalizeClass(["page-item", { 'current': _ctx.currentPageId === page.pageId }])
30580
30606
  }, [
30581
- createElementVNode("div", _hoisted_3$2, [
30607
+ createElementVNode("div", _hoisted_3$3, [
30582
30608
  createElementVNode("div", {
30583
30609
  "data-type": page.type,
30584
30610
  class: normalizeClass(['scroll-wrap', page.type === 'long' ? 'scroll-long' : 'scroll-normal']),
@@ -30603,7 +30629,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
30603
30629
  })
30604
30630
  }, null, 4 /* STYLE */)
30605
30631
  ], 4 /* STYLE */),
30606
- createElementVNode("div", _hoisted_5$2, [
30632
+ createElementVNode("div", _hoisted_5$3, [
30607
30633
  (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 } : {})), {
30608
30634
  default: withCtx(() => [
30609
30635
  (openBlock(true), createElementBlock(Fragment, null, renderList(page.elements, (element) => {
@@ -30627,7 +30653,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
30627
30653
  _: 2 /* DYNAMIC */
30628
30654
  }, 1040 /* FULL_PROPS, DYNAMIC_SLOTS */))
30629
30655
  ])
30630
- ], 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_4$2)
30656
+ ], 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_4$3)
30631
30657
  ])
30632
30658
  ], 2 /* CLASS */)), [
30633
30659
  [vShow, _ctx.currentPageId === page.pageId]
@@ -30646,8 +30672,8 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
30646
30672
  createElementVNode("div", {
30647
30673
  class: normalizeClass(["tip", { 'success': _ctx.messageType === 'success', 'error': _ctx.messageType === 'error' }])
30648
30674
  }, [
30649
- createElementVNode("div", _hoisted_6$2, toDisplayString(_ctx.messageText), 1 /* TEXT */),
30650
- _hoisted_7$2
30675
+ createElementVNode("div", _hoisted_6$3, toDisplayString(_ctx.messageText), 1 /* TEXT */),
30676
+ _hoisted_7$3
30651
30677
  ], 2 /* CLASS */)
30652
30678
  ]))
30653
30679
  : createCommentVNode("v-if", true)
@@ -30660,37 +30686,37 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
30660
30686
  ], 512 /* NEED_PATCH */))
30661
30687
  }
30662
30688
 
30663
- script$2.render = render$2;
30664
- script$2.__file = "src/components/WorkRenderH5/WorkRenderH5.vue";
30689
+ script$3.render = render$3;
30690
+ script$3.__file = "src/components/WorkRenderH5/WorkRenderH5.vue";
30665
30691
 
30666
- script$2.install = (app) => {
30667
- app.component(script$2.name, script$2);
30692
+ script$3.install = (app) => {
30693
+ app.component(script$3.name, script$3);
30668
30694
  };
30669
30695
 
30670
- var script$1 = defineComponent({
30696
+ var script$2 = defineComponent({
30671
30697
  name: 'WorkRenderLong',
30672
30698
  components: {
30673
- UniMusic: script$o,
30674
- UniText: script$r,
30675
- UniImage: script$q,
30676
- UniShape: script$p,
30677
- UniCalendar: script$m,
30678
- UniMap: script$k,
30679
- UniCountdown: script$l,
30680
- UniEffect: script$i,
30681
- UniVideo: script$n,
30682
- UniCall: script$j,
30683
- UniFormInput: script$e,
30684
- UniFormSubmit: script$d,
30685
- UniFormSelect: script$c,
30686
- UniFormMultiple: script$a,
30687
- UniFormSingle: script$b,
30688
- UniFormContainer: script$9,
30689
- UniBarrage: script$f,
30690
- UniMenu: script$4,
30691
- UniLottie: script$h,
30692
- UniButton: script$g,
30693
- UniWatermark: script$3,
30699
+ UniMusic: script$p,
30700
+ UniText: script$s,
30701
+ UniImage: script$r,
30702
+ UniShape: script$q,
30703
+ UniCalendar: script$n,
30704
+ UniMap: script$l,
30705
+ UniCountdown: script$m,
30706
+ UniEffect: script$j,
30707
+ UniVideo: script$o,
30708
+ UniCall: script$k,
30709
+ UniFormInput: script$f,
30710
+ UniFormSubmit: script$e,
30711
+ UniFormSelect: script$d,
30712
+ UniFormMultiple: script$b,
30713
+ UniFormSingle: script$c,
30714
+ UniFormContainer: script$a,
30715
+ UniBarrage: script$g,
30716
+ UniMenu: script$5,
30717
+ UniLottie: script$i,
30718
+ UniButton: script$h,
30719
+ UniWatermark: script$4,
30694
30720
  },
30695
30721
  props: {
30696
30722
  workData: {
@@ -31040,28 +31066,28 @@ var script$1 = defineComponent({
31040
31066
  }
31041
31067
  });
31042
31068
 
31043
- const _hoisted_1$1 = {
31069
+ const _hoisted_1$2 = {
31044
31070
  id: "index",
31045
31071
  ref: "container"
31046
31072
  };
31047
- const _hoisted_2$1 = { id: "page-list" };
31048
- const _hoisted_3$1 = { class: "page-item current" };
31049
- const _hoisted_4$1 = { class: "page-wrap showAniEle" };
31050
- const _hoisted_5$1 = {
31073
+ const _hoisted_2$2 = { id: "page-list" };
31074
+ const _hoisted_3$2 = { class: "page-item current" };
31075
+ const _hoisted_4$2 = { class: "page-wrap showAniEle" };
31076
+ const _hoisted_5$2 = {
31051
31077
  class: "ele-wrap",
31052
31078
  style: {"position":"absolute"}
31053
31079
  };
31054
- const _hoisted_6$1 = { class: "tip-content" };
31055
- const _hoisted_7$1 = /*#__PURE__*/createElementVNode("div", { class: "tip-btn" }, "OK", -1 /* HOISTED */);
31080
+ const _hoisted_6$2 = { class: "tip-content" };
31081
+ const _hoisted_7$2 = /*#__PURE__*/createElementVNode("div", { class: "tip-btn" }, "OK", -1 /* HOISTED */);
31056
31082
 
31057
- function render$1(_ctx, _cache, $props, $setup, $data, $options) {
31083
+ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
31058
31084
  const _component_UniMusic = resolveComponent("UniMusic");
31059
31085
  const _component_UniFormContainer = resolveComponent("UniFormContainer");
31060
31086
  const _component_UniBarrage = resolveComponent("UniBarrage");
31061
31087
  const _component_UniMenu = resolveComponent("UniMenu");
31062
31088
  const _component_UniWatermark = resolveComponent("UniWatermark");
31063
31089
 
31064
- return (openBlock(), createElementBlock("div", _hoisted_1$1, [
31090
+ return (openBlock(), createElementBlock("div", _hoisted_1$2, [
31065
31091
  createCommentVNode(" 背景音乐组件 "),
31066
31092
  (_ctx.global && _ctx.global.music && _ctx.global.music.url)
31067
31093
  ? (openBlock(), createBlock(_component_UniMusic, {
@@ -31072,9 +31098,9 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
31072
31098
  }, null, 8 /* PROPS */, ["music-data"]))
31073
31099
  : createCommentVNode("v-if", true),
31074
31100
  createCommentVNode(" 页面容器 "),
31075
- createElementVNode("div", _hoisted_2$1, [
31076
- createElementVNode("div", _hoisted_3$1, [
31077
- createElementVNode("div", _hoisted_4$1, [
31101
+ createElementVNode("div", _hoisted_2$2, [
31102
+ createElementVNode("div", _hoisted_3$2, [
31103
+ createElementVNode("div", _hoisted_4$2, [
31078
31104
  createElementVNode("div", {
31079
31105
  "data-type": "long",
31080
31106
  class: "scroll-wrap scroll-long",
@@ -31104,7 +31130,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
31104
31130
  }, null, 4 /* STYLE */)
31105
31131
  ], 4 /* STYLE */),
31106
31132
  createCommentVNode(" 页面元素容器 "),
31107
- createElementVNode("div", _hoisted_5$1, [
31133
+ createElementVNode("div", _hoisted_5$2, [
31108
31134
  (_ctx.page.elements.some(el => el.type === 'form-submit'))
31109
31135
  ? (openBlock(), createBlock(_component_UniFormContainer, {
31110
31136
  key: 0,
@@ -31163,8 +31189,8 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
31163
31189
  createElementVNode("div", {
31164
31190
  class: normalizeClass(["tip", { 'success': _ctx.messageType === 'success', 'error': _ctx.messageType === 'error' }])
31165
31191
  }, [
31166
- createElementVNode("div", _hoisted_6$1, toDisplayString(_ctx.messageText), 1 /* TEXT */),
31167
- _hoisted_7$1
31192
+ createElementVNode("div", _hoisted_6$2, toDisplayString(_ctx.messageText), 1 /* TEXT */),
31193
+ _hoisted_7$2
31168
31194
  ], 2 /* CLASS */)
31169
31195
  ]))
31170
31196
  : createCommentVNode("v-if", true)
@@ -31178,37 +31204,353 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
31178
31204
  ], 512 /* NEED_PATCH */))
31179
31205
  }
31180
31206
 
31181
- script$1.render = render$1;
31182
- script$1.__file = "src/components/WorkRenderLong/WorkRenderLong.vue";
31207
+ script$2.render = render$2;
31208
+ script$2.__file = "src/components/WorkRenderLong/WorkRenderLong.vue";
31183
31209
 
31184
- script$1.install = (app) => {
31185
- app.component(script$1.name, script$1);
31210
+ script$2.install = (app) => {
31211
+ app.component(script$2.name, script$2);
31186
31212
  };
31187
31213
 
31214
+ function isValidInviteItem(item) {
31215
+ return !!(item && item.img1 && item.name);
31216
+ }
31217
+ /** 根据 URL state 从 global.invite 解析单条送呈渲染数据 */
31218
+ function resolveInviteRenderData(invite, stateId) {
31219
+ if (!stateId || !invite || !invite.open)
31220
+ return null;
31221
+ const items = invite.items || [];
31222
+ const item = items.find((i) => i.id === stateId);
31223
+ if (!isValidInviteItem(item))
31224
+ return null;
31225
+ return {
31226
+ titleChars: invite.titleChars,
31227
+ item: item,
31228
+ };
31229
+ }
31230
+ /** 从 global.invite.renderItem 得到 UniInvite 渲染数据 */
31231
+ function getInviteRenderFromGlobal(invite) {
31232
+ if (!invite || !invite.open || !invite.renderItem)
31233
+ return null;
31234
+ if (!isValidInviteItem(invite.renderItem))
31235
+ return null;
31236
+ return {
31237
+ titleChars: invite.titleChars,
31238
+ item: invite.renderItem,
31239
+ };
31240
+ }
31241
+ /**
31242
+ * h5-server:根据 ?state= 将解析结果写入 global.invite.renderItem(不修改 items)
31243
+ */
31244
+ function applyInviteStateToGlobal(global, stateId) {
31245
+ const invite = global.invite;
31246
+ if (!invite)
31247
+ return global;
31248
+ const resolved = resolveInviteRenderData(invite, stateId);
31249
+ return {
31250
+ ...global,
31251
+ invite: {
31252
+ ...invite,
31253
+ renderItem: resolved && resolved.item ? resolved.item : null,
31254
+ },
31255
+ };
31256
+ }
31257
+
31258
+ /**
31259
+ * 送呈显示逻辑:
31260
+ * - 每次进入/刷新页面都显示
31261
+ * - 点击打开后当前页不再显示
31262
+ * - 刷新 URL 后重新显示(不使用 localStorage)
31263
+ */
31264
+ function useInviteManager() {
31265
+ const isDismissed = ref(false);
31266
+ const shouldShow = computed(() => !isDismissed.value);
31267
+ const dismiss = () => {
31268
+ isDismissed.value = true;
31269
+ };
31270
+ const reset = () => {
31271
+ isDismissed.value = false;
31272
+ };
31273
+ return {
31274
+ isDismissed,
31275
+ shouldShow,
31276
+ dismiss,
31277
+ reset,
31278
+ };
31279
+ }
31280
+
31281
+ /** 各 layout 点击打开动画结束后隐藏(ms) */
31282
+ const DISMISS_DELAY = {
31283
+ type1: 2800,
31284
+ type2: 2200,
31285
+ type3: 2400,
31286
+ type4: 2400,
31287
+ type5: 2800,
31288
+ type6: 2500,
31289
+ };
31290
+ function getInviteDismissDelay(layout = 'type2') {
31291
+ const delay = DISMISS_DELAY[layout];
31292
+ return delay != null ? delay : DISMISS_DELAY.type2;
31293
+ }
31294
+
31295
+ var script$1 = defineComponent({
31296
+ name: 'uni-invite',
31297
+ props: {
31298
+ inviteRender: {
31299
+ type: Object,
31300
+ default: null,
31301
+ },
31302
+ sceneId: {
31303
+ type: String,
31304
+ default: '',
31305
+ },
31306
+ forceShow: {
31307
+ type: Boolean,
31308
+ default: false,
31309
+ },
31310
+ preview: {
31311
+ type: Boolean,
31312
+ default: false,
31313
+ },
31314
+ },
31315
+ emits: ['dismiss', 'click'],
31316
+ setup(props, { emit }) {
31317
+ const { shouldShow, dismiss } = useInviteManager();
31318
+ const isOpening = ref(false);
31319
+ const item = computed(() => {
31320
+ if (!props.inviteRender || !props.inviteRender.item)
31321
+ return null;
31322
+ return props.inviteRender.item;
31323
+ });
31324
+ const layoutType = computed(() => {
31325
+ return item.value && item.value.layout ? item.value.layout : 'type2';
31326
+ });
31327
+ const titleChars = computed(() => {
31328
+ if (props.inviteRender && props.inviteRender.titleChars) {
31329
+ return props.inviteRender.titleChars;
31330
+ }
31331
+ return ['บัตร', 'เชิญ'];
31332
+ });
31333
+ const inviteStyle = computed(() => ({
31334
+ fontFamily: item.value && item.value.fontFamily ? item.value.fontFamily : 'inherit',
31335
+ color: item.value && item.value.fontColor ? item.value.fontColor : 'rgb(255, 244, 205)',
31336
+ }));
31337
+ const visible = computed(() => {
31338
+ if (!isValidInviteItem(item.value))
31339
+ return false;
31340
+ if (props.forceShow)
31341
+ return true;
31342
+ return shouldShow.value;
31343
+ });
31344
+ const handleClick = () => {
31345
+ if (props.forceShow || props.preview) {
31346
+ emit('click');
31347
+ return;
31348
+ }
31349
+ if (isOpening.value)
31350
+ return;
31351
+ isOpening.value = true;
31352
+ const delay = getInviteDismissDelay(layoutType.value);
31353
+ window.setTimeout(() => {
31354
+ dismiss();
31355
+ emit('dismiss');
31356
+ }, delay);
31357
+ };
31358
+ return {
31359
+ visible,
31360
+ isOpening,
31361
+ layoutType,
31362
+ titleChars,
31363
+ inviteStyle,
31364
+ item,
31365
+ handleClick,
31366
+ };
31367
+ },
31368
+ });
31369
+
31370
+ const _hoisted_1$1 = ["src"];
31371
+ const _hoisted_2$1 = { class: "top-ani" };
31372
+ const _hoisted_3$1 = ["src"];
31373
+ const _hoisted_4$1 = { class: "title" };
31374
+ const _hoisted_5$1 = ["src"];
31375
+ const _hoisted_6$1 = { class: "name" };
31376
+ const _hoisted_7$1 = { class: "content" };
31377
+ const _hoisted_8 = /*#__PURE__*/createElementVNode("span", null, "—", -1 /* HOISTED */);
31378
+ const _hoisted_9 = /*#__PURE__*/createElementVNode("span", null, "—", -1 /* HOISTED */);
31379
+ const _hoisted_10 = ["src"];
31380
+ const _hoisted_11 = ["src"];
31381
+ const _hoisted_12 = { class: "right-ani" };
31382
+ const _hoisted_13 = ["src"];
31383
+ const _hoisted_14 = { class: "title" };
31384
+ const _hoisted_15 = { class: "name" };
31385
+ const _hoisted_16 = { class: "content" };
31386
+ const _hoisted_17 = ["src"];
31387
+ const _hoisted_18 = ["src"];
31388
+ const _hoisted_19 = { class: "top-ani" };
31389
+ const _hoisted_20 = ["src"];
31390
+ const _hoisted_21 = { class: "title" };
31391
+ const _hoisted_22 = ["src"];
31392
+ const _hoisted_23 = { class: "name" };
31393
+ const _hoisted_24 = { class: "content" };
31394
+ const _hoisted_25 = /*#__PURE__*/createElementVNode("span", null, "—", -1 /* HOISTED */);
31395
+ const _hoisted_26 = /*#__PURE__*/createElementVNode("span", null, "—", -1 /* HOISTED */);
31396
+ const _hoisted_27 = ["src"];
31397
+
31398
+ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
31399
+ return (_ctx.visible && _ctx.item)
31400
+ ? (openBlock(), createElementBlock("div", {
31401
+ key: 0,
31402
+ id: "invite",
31403
+ class: normalizeClass({ 'uni-invite--preview': _ctx.preview }),
31404
+ style: normalizeStyle(_ctx.inviteStyle),
31405
+ onClick: _cache[0] || (_cache[0] = (...args) => (_ctx.handleClick && _ctx.handleClick(...args)))
31406
+ }, [
31407
+ createCommentVNode(" type2:上下翻页(默认) "),
31408
+ (_ctx.layoutType === 'type2')
31409
+ ? (openBlock(), createElementBlock("div", {
31410
+ key: 0,
31411
+ class: normalizeClass(["type2", { active: _ctx.isOpening }])
31412
+ }, [
31413
+ createElementVNode("img", {
31414
+ src: _ctx.item.img1,
31415
+ alt: "",
31416
+ class: "img1"
31417
+ }, null, 8 /* PROPS */, _hoisted_1$1),
31418
+ createElementVNode("div", _hoisted_2$1, [
31419
+ createElementVNode("img", {
31420
+ src: _ctx.item.img2,
31421
+ alt: "",
31422
+ class: "img2"
31423
+ }, null, 8 /* PROPS */, _hoisted_3$1),
31424
+ createElementVNode("div", _hoisted_4$1, [
31425
+ createElementVNode("span", null, toDisplayString(_ctx.titleChars[0]), 1 /* TEXT */),
31426
+ createElementVNode("span", null, toDisplayString(_ctx.titleChars[1]), 1 /* TEXT */)
31427
+ ]),
31428
+ (_ctx.item.divider)
31429
+ ? (openBlock(), createElementBlock("img", {
31430
+ key: 0,
31431
+ src: _ctx.item.divider,
31432
+ alt: "",
31433
+ class: "divider"
31434
+ }, null, 8 /* PROPS */, _hoisted_5$1))
31435
+ : createCommentVNode("v-if", true),
31436
+ createElementVNode("div", _hoisted_6$1, toDisplayString(_ctx.item.name), 1 /* TEXT */)
31437
+ ]),
31438
+ createElementVNode("div", _hoisted_7$1, [
31439
+ _hoisted_8,
31440
+ createTextVNode(" " + toDisplayString(_ctx.item.phrase) + " ", 1 /* TEXT */),
31441
+ _hoisted_9
31442
+ ]),
31443
+ createElementVNode("img", {
31444
+ src: _ctx.item.img3,
31445
+ alt: "",
31446
+ class: "img3"
31447
+ }, null, 8 /* PROPS */, _hoisted_10)
31448
+ ], 2 /* CLASS */))
31449
+ : (_ctx.layoutType === 'type3')
31450
+ ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
31451
+ createCommentVNode(" type3:右侧竖排翻页 "),
31452
+ createElementVNode("div", {
31453
+ class: normalizeClass(["type3", { active: _ctx.isOpening }])
31454
+ }, [
31455
+ createElementVNode("img", {
31456
+ src: _ctx.item.img1,
31457
+ alt: "",
31458
+ class: "img1"
31459
+ }, null, 8 /* PROPS */, _hoisted_11),
31460
+ createElementVNode("div", _hoisted_12, [
31461
+ createElementVNode("img", {
31462
+ src: _ctx.item.img2,
31463
+ alt: "",
31464
+ class: "img2"
31465
+ }, null, 8 /* PROPS */, _hoisted_13),
31466
+ createElementVNode("div", _hoisted_14, [
31467
+ createElementVNode("span", null, toDisplayString(_ctx.titleChars[0]), 1 /* TEXT */),
31468
+ createElementVNode("span", null, toDisplayString(_ctx.titleChars[1]), 1 /* TEXT */)
31469
+ ]),
31470
+ createElementVNode("div", _hoisted_15, toDisplayString(_ctx.item.name), 1 /* TEXT */),
31471
+ createElementVNode("div", _hoisted_16, toDisplayString(_ctx.item.phrase), 1 /* TEXT */)
31472
+ ]),
31473
+ createElementVNode("img", {
31474
+ src: _ctx.item.img3,
31475
+ alt: "",
31476
+ class: "img3"
31477
+ }, null, 8 /* PROPS */, _hoisted_17)
31478
+ ], 2 /* CLASS */)
31479
+ ], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */))
31480
+ : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
31481
+ createCommentVNode(" 其他 layout 暂 fallback 到 type2 "),
31482
+ createElementVNode("div", {
31483
+ class: normalizeClass(["type2", { active: _ctx.isOpening }])
31484
+ }, [
31485
+ createElementVNode("img", {
31486
+ src: _ctx.item.img1,
31487
+ alt: "",
31488
+ class: "img1"
31489
+ }, null, 8 /* PROPS */, _hoisted_18),
31490
+ createElementVNode("div", _hoisted_19, [
31491
+ createElementVNode("img", {
31492
+ src: _ctx.item.img2,
31493
+ alt: "",
31494
+ class: "img2"
31495
+ }, null, 8 /* PROPS */, _hoisted_20),
31496
+ createElementVNode("div", _hoisted_21, [
31497
+ createElementVNode("span", null, toDisplayString(_ctx.titleChars[0]), 1 /* TEXT */),
31498
+ createElementVNode("span", null, toDisplayString(_ctx.titleChars[1]), 1 /* TEXT */)
31499
+ ]),
31500
+ (_ctx.item.divider)
31501
+ ? (openBlock(), createElementBlock("img", {
31502
+ key: 0,
31503
+ src: _ctx.item.divider,
31504
+ alt: "",
31505
+ class: "divider"
31506
+ }, null, 8 /* PROPS */, _hoisted_22))
31507
+ : createCommentVNode("v-if", true),
31508
+ createElementVNode("div", _hoisted_23, toDisplayString(_ctx.item.name), 1 /* TEXT */)
31509
+ ]),
31510
+ createElementVNode("div", _hoisted_24, [
31511
+ _hoisted_25,
31512
+ createTextVNode(" " + toDisplayString(_ctx.item.phrase) + " ", 1 /* TEXT */),
31513
+ _hoisted_26
31514
+ ]),
31515
+ createElementVNode("img", {
31516
+ src: _ctx.item.img3,
31517
+ alt: "",
31518
+ class: "img3"
31519
+ }, null, 8 /* PROPS */, _hoisted_27)
31520
+ ], 2 /* CLASS */)
31521
+ ], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */))
31522
+ ], 6 /* CLASS, STYLE */))
31523
+ : createCommentVNode("v-if", true)
31524
+ }
31525
+
31526
+ script$1.render = render$1;
31527
+ script$1.__file = "src/components/UniInvite/UniInvite.vue";
31528
+
31188
31529
  var script = defineComponent({
31189
31530
  name: 'WorkRender',
31190
31531
  components: {
31191
- UniMusic: script$o,
31192
- UniText: script$r,
31193
- UniImage: script$q,
31194
- UniShape: script$p,
31195
- UniCalendar: script$m,
31196
- UniMap: script$k,
31197
- UniCountdown: script$l,
31198
- UniEffect: script$i,
31199
- UniVideo: script$n,
31200
- UniCall: script$j,
31201
- UniFormInput: script$e,
31202
- UniFormSubmit: script$d,
31203
- UniFormSelect: script$c,
31204
- UniFormMultiple: script$a,
31205
- UniFormSingle: script$b,
31206
- UniFormContainer: script$9,
31207
- UniBarrage: script$f,
31208
- UniMenu: script$4,
31209
- UniLottie: script$h,
31210
- UniButton: script$g,
31211
- UniWatermark: script$3,
31532
+ UniMusic: script$p,
31533
+ UniText: script$s,
31534
+ UniImage: script$r,
31535
+ UniShape: script$q,
31536
+ UniCalendar: script$n,
31537
+ UniMap: script$l,
31538
+ UniCountdown: script$m,
31539
+ UniEffect: script$j,
31540
+ UniVideo: script$o,
31541
+ UniCall: script$k,
31542
+ UniFormInput: script$f,
31543
+ UniFormSubmit: script$e,
31544
+ UniFormSelect: script$d,
31545
+ UniFormMultiple: script$b,
31546
+ UniFormSingle: script$c,
31547
+ UniFormContainer: script$a,
31548
+ UniBarrage: script$g,
31549
+ UniMenu: script$5,
31550
+ UniLottie: script$i,
31551
+ UniButton: script$h,
31552
+ UniWatermark: script$4,
31553
+ UniInvite: script$1,
31212
31554
  },
31213
31555
  props: {
31214
31556
  workData: {
@@ -31234,6 +31576,7 @@ var script = defineComponent({
31234
31576
  const personalData = computed(() => workData.value.personalData || {});
31235
31577
  const global = computed(() => workData.value.global || {});
31236
31578
  const pages = computed(() => workData.value.pages || []);
31579
+ const inviteRender = computed(() => getInviteRenderFromGlobal(global.value.invite));
31237
31580
  /** 仅 member_level === 1 显示水印;2、3 及缺省等均不显示 */
31238
31581
  const shouldShowWatermark = computed(() => Number(global.value.member_level) === 1);
31239
31582
  // 长页模式
@@ -32067,6 +32410,7 @@ var script = defineComponent({
32067
32410
  return {
32068
32411
  personalData,
32069
32412
  global,
32413
+ inviteRender,
32070
32414
  shouldShowWatermark,
32071
32415
  pages,
32072
32416
  currentPageId,
@@ -32133,6 +32477,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
32133
32477
  const _component_UniBarrage = resolveComponent("UniBarrage");
32134
32478
  const _component_UniMenu = resolveComponent("UniMenu");
32135
32479
  const _component_UniWatermark = resolveComponent("UniWatermark");
32480
+ const _component_UniInvite = resolveComponent("UniInvite");
32136
32481
 
32137
32482
  return (openBlock(), createElementBlock("div", _hoisted_1, [
32138
32483
  createCommentVNode(" 背景音乐 "),
@@ -32241,6 +32586,13 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
32241
32586
  createVNode(_component_UniMenu, { global: _ctx.global }, null, 8 /* PROPS */, ["global"]),
32242
32587
  (_ctx.shouldShowWatermark)
32243
32588
  ? (openBlock(), createBlock(_component_UniWatermark, { key: 1 }))
32589
+ : createCommentVNode("v-if", true),
32590
+ (_ctx.inviteRender)
32591
+ ? (openBlock(), createBlock(_component_UniInvite, {
32592
+ key: 2,
32593
+ "invite-render": _ctx.inviteRender,
32594
+ "scene-id": _ctx.global.sceneId || ''
32595
+ }, null, 8 /* PROPS */, ["invite-render", "scene-id"]))
32244
32596
  : createCommentVNode("v-if", true)
32245
32597
  ], 512 /* NEED_PATCH */))
32246
32598
  }
@@ -32252,6 +32604,10 @@ script.install = (app) => {
32252
32604
  app.component(script.name, script);
32253
32605
  };
32254
32606
 
32607
+ script$f.install = (app) => {
32608
+ app.component(script$f.name, script$f);
32609
+ };
32610
+
32255
32611
  script$e.install = (app) => {
32256
32612
  app.component(script$e.name, script$e);
32257
32613
  };
@@ -32272,35 +32628,105 @@ script$a.install = (app) => {
32272
32628
  app.component(script$a.name, script$a);
32273
32629
  };
32274
32630
 
32275
- script$9.install = (app) => {
32276
- app.component(script$9.name, script$9);
32631
+ script$5.install = (app) => {
32632
+ app.component(script$5.name, script$5);
32277
32633
  };
32278
32634
 
32279
- script$4.install = (app) => {
32280
- app.component(script$4.name, script$4);
32635
+ script$8.install = (app) => {
32636
+ app.component(script$8.name, script$8);
32281
32637
  };
32282
32638
 
32283
32639
  script$7.install = (app) => {
32284
32640
  app.component(script$7.name, script$7);
32285
32641
  };
32286
32642
 
32643
+ script$9.install = (app) => {
32644
+ app.component(script$9.name, script$9);
32645
+ };
32646
+
32287
32647
  script$6.install = (app) => {
32288
32648
  app.component(script$6.name, script$6);
32289
32649
  };
32290
32650
 
32291
- script$8.install = (app) => {
32292
- app.component(script$8.name, script$8);
32651
+ script$4.install = (app) => {
32652
+ app.component(script$4.name, script$4);
32293
32653
  };
32294
32654
 
32295
- script$5.install = (app) => {
32296
- app.component(script$5.name, script$5);
32655
+ script$1.install = (app) => {
32656
+ app.component(script$1.name, script$1);
32297
32657
  };
32298
32658
 
32299
- script$3.install = (app) => {
32300
- app.component(script$3.name, script$3);
32659
+ /** 送呈封面模板 开发 fallback,生产由 biz-editor-server 提供 */
32660
+ const INVITE_COVER_TEMPLATES = [
32661
+ {
32662
+ id: 'horse-lotus',
32663
+ name: '神马都好',
32664
+ layout: 'type2',
32665
+ img1: 'https://unika-static-dev.oss-ap-southeast-7.aliyuncs.com/admin/invite/176950478669788012e57f2.png',
32666
+ img2: 'https://unika-static-dev.oss-ap-southeast-7.aliyuncs.com/admin/invite/17695047966978801c72723.png',
32667
+ img3: 'https://unika-static-dev.oss-ap-southeast-7.aliyuncs.com/admin/invite/176950476769787fff50681.png',
32668
+ divider: 'https://unika-static-dev.oss-ap-southeast-7.aliyuncs.com/admin/invite/176.png',
32669
+ fontFamily: 'xinyahei_1',
32670
+ fontColor: 'rgb(255, 244, 205)',
32671
+ },
32672
+ ];
32673
+ function getInviteTemplateById(id) {
32674
+ return INVITE_COVER_TEMPLATES.find(t => t.id === id);
32675
+ }
32676
+
32677
+ const defaultItemId = 'invite-default-1';
32678
+ const defaultTpl = INVITE_COVER_TEMPLATES[0];
32679
+ /** global.invite 默认结构 — 仅含渲染字段,不含 templates/phrases */
32680
+ const inviteDefaultProps = {
32681
+ open: true,
32682
+ titleChars: ['บัตร', 'เชิญ'],
32683
+ items: [
32684
+ {
32685
+ id: defaultItemId,
32686
+ name: '我',
32687
+ phrase: '邀请您一道分享我们的喜悦',
32688
+ templateId: defaultTpl.id,
32689
+ templateName: defaultTpl.name,
32690
+ img1: defaultTpl.img1,
32691
+ img2: defaultTpl.img2,
32692
+ img3: defaultTpl.img3,
32693
+ divider: defaultTpl.divider,
32694
+ fontFamily: defaultTpl.fontFamily,
32695
+ fontColor: defaultTpl.fontColor,
32696
+ },
32697
+ ],
32301
32698
  };
32302
32699
 
32700
+ /** 送呈快捷短语 — 开发/编辑器 fallback;生产环境由 biz-editor-server API 提供 */
32701
+ const INVITE_QUICK_PHRASES = [
32702
+ '邀请您一道分享我们的喜悦',
32703
+ '诚挚邀请您参加我们的婚礼',
32704
+ '期待您的到来和见证',
32705
+ '恭候您的光临',
32706
+ '愿与您共享幸福时刻',
32707
+ '我们诚挚地邀请您',
32708
+ '见证我们的爱情之路',
32709
+ '共享美好时刻',
32710
+ ];
32711
+
32712
+ /** 将模板图片解析进送呈条目(编辑器选封面时调用,结果写入 global.invite) */
32713
+ function applyTemplateToInviteItem(item, template) {
32714
+ return {
32715
+ ...item,
32716
+ templateId: template.id,
32717
+ templateName: template.name,
32718
+ layout: template.layout || item.layout || 'type2',
32719
+ img1: template.img1,
32720
+ img2: template.img2,
32721
+ img3: template.img3,
32722
+ divider: template.divider,
32723
+ fontFamily: template.fontFamily,
32724
+ fontColor: template.fontColor,
32725
+ };
32726
+ }
32727
+
32303
32728
  const components = [
32729
+ script$s,
32304
32730
  script$r,
32305
32731
  script$q,
32306
32732
  script$p,
@@ -32313,22 +32739,22 @@ const components = [
32313
32739
  script$i,
32314
32740
  script$h,
32315
32741
  script$g,
32316
- script$f,
32742
+ script$3,
32317
32743
  script$2,
32318
- script$1,
32319
32744
  script,
32745
+ script$f,
32320
32746
  script$e,
32321
32747
  script$d,
32322
32748
  script$c,
32323
32749
  script$b,
32324
32750
  script$a,
32325
- script$9,
32326
- script$4,
32751
+ script$5,
32752
+ script$8,
32327
32753
  script$7,
32754
+ script$9,
32328
32755
  script$6,
32329
- script$8,
32330
- script$5,
32331
- script$3
32756
+ script$4,
32757
+ script$1
32332
32758
  ];
32333
32759
  // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
32334
32760
  const install = (app) => {
@@ -32340,4 +32766,4 @@ var index = {
32340
32766
  install
32341
32767
  };
32342
32768
 
32343
- 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 };
32769
+ 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, index as default, getInviteDismissDelay, getInviteRenderFromGlobal, getInviteTemplateById, install, inviteDefaultProps, isValidInviteItem, resolveInviteRenderData, restoreTextAnimation, useInviteManager };