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
@@ -31,7 +31,7 @@
31
31
  return px;
32
32
  }
33
33
 
34
- var script$r = vue.defineComponent({
34
+ var script$s = vue.defineComponent({
35
35
  name: 'UniText',
36
36
  props: {
37
37
  element: {
@@ -134,9 +134,9 @@
134
134
  }
135
135
  });
136
136
 
137
- const _hoisted_1$m = ["data-id", "data-pid", "data-type", "sign", "signsort", "layername"];
137
+ const _hoisted_1$n = ["data-id", "data-pid", "data-type", "sign", "signsort", "layername"];
138
138
 
139
- function render$n(_ctx, _cache, $props, $setup, $data, $options) {
139
+ function render$o(_ctx, _cache, $props, $setup, $data, $options) {
140
140
  return (_ctx.element && (!_ctx.element.properties || _ctx.element.properties.visible !== false))
141
141
  ? (vue.openBlock(), vue.createElementBlock("div", {
142
142
  key: 0,
@@ -167,18 +167,18 @@
167
167
  style: vue.normalizeStyle(_ctx.textEditorStyle)
168
168
  }, vue.toDisplayString(_ctx.element.textContent), 5 /* TEXT, STYLE */)
169
169
  ], 4 /* STYLE */)
170
- ], 12 /* STYLE, PROPS */, _hoisted_1$m))
170
+ ], 12 /* STYLE, PROPS */, _hoisted_1$n))
171
171
  : vue.createCommentVNode("v-if", true)
172
172
  }
173
173
 
174
- script$r.render = render$n;
175
- script$r.__file = "src/components/UniText/UniText.vue";
174
+ script$s.render = render$o;
175
+ script$s.__file = "src/components/UniText/UniText.vue";
176
176
 
177
- script$r.install = (app) => {
178
- app.component(script$r.name, script$r);
177
+ script$s.install = (app) => {
178
+ app.component(script$s.name, script$s);
179
179
  };
180
180
 
181
- var script$q = vue.defineComponent({
181
+ var script$r = vue.defineComponent({
182
182
  name: 'uni-image',
183
183
  props: {
184
184
  element: {
@@ -305,10 +305,10 @@
305
305
  }
306
306
  });
307
307
 
308
- const _hoisted_1$l = ["data-id", "data-pid", "data-type", "data-show", "pid", "type", "layername", "sign", "signsort", "imgmattinginfo"];
309
- const _hoisted_2$h = ["src"];
308
+ const _hoisted_1$m = ["data-id", "data-pid", "data-type", "data-show", "pid", "type", "layername", "sign", "signsort", "imgmattinginfo"];
309
+ const _hoisted_2$j = ["src"];
310
310
 
311
- function render$m(_ctx, _cache, $props, $setup, $data, $options) {
311
+ function render$n(_ctx, _cache, $props, $setup, $data, $options) {
312
312
  return (vue.openBlock(), vue.createElementBlock("div", {
313
313
  class: "ele-img eles",
314
314
  "data-id": _ctx.element.id,
@@ -347,7 +347,7 @@
347
347
  alt: "image",
348
348
  class: "ele-image",
349
349
  style: vue.normalizeStyle(_ctx.imgTagStyle)
350
- }, null, 12 /* STYLE, PROPS */, _hoisted_2$h)
350
+ }, null, 12 /* STYLE, PROPS */, _hoisted_2$j)
351
351
  ], 4 /* STYLE */))
352
352
  : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
353
353
  vue.createCommentVNode(" 图片展示方式2:使用背景图 "),
@@ -363,17 +363,17 @@
363
363
  ], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */))
364
364
  ], 4 /* STYLE */)
365
365
  ], 4 /* STYLE */)
366
- ], 12 /* STYLE, PROPS */, _hoisted_1$l))
366
+ ], 12 /* STYLE, PROPS */, _hoisted_1$m))
367
367
  }
368
368
 
369
- script$q.render = render$m;
370
- script$q.__file = "src/components/UniImage/UniImage.vue";
369
+ script$r.render = render$n;
370
+ script$r.__file = "src/components/UniImage/UniImage.vue";
371
371
 
372
- script$q.install = (app) => {
373
- app.component(script$q.name, script$q);
372
+ script$r.install = (app) => {
373
+ app.component(script$r.name, script$r);
374
374
  };
375
375
 
376
- var script$p = vue.defineComponent({
376
+ var script$q = vue.defineComponent({
377
377
  name: 'uni-shape',
378
378
  props: {
379
379
  element: {
@@ -472,6 +472,7 @@
472
472
  }, { immediate: true });
473
473
  // 样式计算
474
474
  const containerStyle = vue.computed(() => ({
475
+ position: (props.element && props.element.css && props.element.css.position) || 'absolute',
475
476
  left: px2rem(css.value.left),
476
477
  top: px2rem(css.value.top),
477
478
  width: px2rem(css.value.width),
@@ -523,12 +524,12 @@
523
524
  }
524
525
  });
525
526
 
526
- const _hoisted_1$k = ["data-id"];
527
- const _hoisted_2$g = ["innerHTML"];
528
- const _hoisted_3$f = /*#__PURE__*/vue.createElementVNode("div", { class: "svg-loading" }, "Loading...", -1 /* HOISTED */);
529
- const _hoisted_4$c = { class: "svg-error" };
527
+ const _hoisted_1$l = ["data-id"];
528
+ const _hoisted_2$i = ["innerHTML"];
529
+ const _hoisted_3$g = /*#__PURE__*/vue.createElementVNode("div", { class: "svg-loading" }, "Loading...", -1 /* HOISTED */);
530
+ const _hoisted_4$d = { class: "svg-error" };
530
531
 
531
- function render$l(_ctx, _cache, $props, $setup, $data, $options) {
532
+ function render$m(_ctx, _cache, $props, $setup, $data, $options) {
532
533
  return (vue.openBlock(), vue.createElementBlock("div", {
533
534
  class: "ele-shape eles",
534
535
  "data-id": _ctx.element.id,
@@ -553,16 +554,16 @@
553
554
  innerHTML: _ctx.processedSvg,
554
555
  class: "svg-container",
555
556
  style: {"width":"100%","height":"100%"}
556
- }, null, 8 /* PROPS */, _hoisted_2$g))
557
+ }, null, 8 /* PROPS */, _hoisted_2$i))
557
558
  : (_ctx.isLoading)
558
559
  ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
559
560
  vue.createCommentVNode(" 加载状态 "),
560
- _hoisted_3$f
561
+ _hoisted_3$g
561
562
  ], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */))
562
563
  : (_ctx.loadError)
563
564
  ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [
564
565
  vue.createCommentVNode(" 错误状态 "),
565
- vue.createElementVNode("div", _hoisted_4$c, [
566
+ vue.createElementVNode("div", _hoisted_4$d, [
566
567
  vue.renderSlot(_ctx.$slots, "error", {
567
568
  src: _ctx.properties.src
568
569
  }, () => [
@@ -573,14 +574,14 @@
573
574
  : vue.createCommentVNode("v-if", true)
574
575
  ], 4 /* STYLE */)
575
576
  ], 4 /* STYLE */)
576
- ], 12 /* STYLE, PROPS */, _hoisted_1$k))
577
+ ], 12 /* STYLE, PROPS */, _hoisted_1$l))
577
578
  }
578
579
 
579
- script$p.render = render$l;
580
- script$p.__file = "src/components/UniShape/UniShape.vue";
580
+ script$q.render = render$m;
581
+ script$q.__file = "src/components/UniShape/UniShape.vue";
581
582
 
582
- script$p.install = (app) => {
583
- app.component(script$p.name, script$p);
583
+ script$q.install = (app) => {
584
+ app.component(script$q.name, script$q);
584
585
  };
585
586
 
586
587
  const musicState = vue.ref({
@@ -824,7 +825,7 @@
824
825
  };
825
826
  };
826
827
 
827
- var script$o = vue.defineComponent({
828
+ var script$p = vue.defineComponent({
828
829
  name: 'uni-music',
829
830
  props: {
830
831
  musicData: {
@@ -894,19 +895,19 @@
894
895
  }
895
896
  });
896
897
 
897
- const _hoisted_1$j = { id: "audio" };
898
- const _hoisted_2$f = ["src"];
899
- const _hoisted_3$e = {
898
+ const _hoisted_1$k = { id: "audio" };
899
+ const _hoisted_2$h = ["src"];
900
+ const _hoisted_3$f = {
900
901
  key: 1,
901
902
  class: "iconfont"
902
903
  };
903
- const _hoisted_4$b = ["src"];
904
- const _hoisted_5$a = /*#__PURE__*/vue.createElementVNode("div", { class: "icon-cancel" }, [
904
+ const _hoisted_4$c = ["src"];
905
+ const _hoisted_5$b = /*#__PURE__*/vue.createElementVNode("div", { class: "icon-cancel" }, [
905
906
  /*#__PURE__*/vue.createElementVNode("div", { class: "icon-h" })
906
907
  ], -1 /* HOISTED */);
907
908
 
908
- function render$k(_ctx, _cache, $props, $setup, $data, $options) {
909
- return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$j, [
909
+ function render$l(_ctx, _cache, $props, $setup, $data, $options) {
910
+ return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$k, [
910
911
  vue.createElementVNode("div", {
911
912
  class: vue.normalizeClass(["audio", { 'a-border': _ctx.showBorder, 'mrotate': _ctx.localIsPlaying }]),
912
913
  style: vue.normalizeStyle({ background: _ctx.bgColor }),
@@ -920,8 +921,8 @@
920
921
  src: _ctx.playIconUrl,
921
922
  class: "music-icon",
922
923
  alt: "หยุดชั่วคราว"
923
- }, null, 8 /* PROPS */, _hoisted_2$f))
924
- : (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$e, "❚❚"))
924
+ }, null, 8 /* PROPS */, _hoisted_2$h))
925
+ : (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$f, "❚❚"))
925
926
  ], 64 /* STABLE_FRAGMENT */))
926
927
  : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
927
928
  (_ctx.playIconUrl)
@@ -930,22 +931,22 @@
930
931
  src: _ctx.playIconUrl,
931
932
  class: "music-icon",
932
933
  alt: "กำลังเล่น"
933
- }, null, 8 /* PROPS */, _hoisted_4$b))
934
+ }, null, 8 /* PROPS */, _hoisted_4$c))
934
935
  : vue.createCommentVNode("v-if", true),
935
- _hoisted_5$a
936
+ _hoisted_5$b
936
937
  ], 64 /* STABLE_FRAGMENT */))
937
938
  ], 6 /* CLASS, STYLE */)
938
939
  ]))
939
940
  }
940
941
 
941
- script$o.render = render$k;
942
- script$o.__file = "src/components/UniMusic/UniMusic.vue";
942
+ script$p.render = render$l;
943
+ script$p.__file = "src/components/UniMusic/UniMusic.vue";
943
944
 
944
- script$o.install = (app) => {
945
- app.component(script$o.name, script$o);
945
+ script$p.install = (app) => {
946
+ app.component(script$p.name, script$p);
946
947
  };
947
948
 
948
- var script$n = vue.defineComponent({
949
+ var script$o = vue.defineComponent({
949
950
  name: 'uni-video',
950
951
  props: {
951
952
  element: {
@@ -956,6 +957,7 @@
956
957
  setup(props) {
957
958
  const isPlaying = vue.ref(false);
958
959
  const containerStyle = vue.computed(() => ({
960
+ position: (props.element && props.element.css && props.element.css.position) || 'absolute',
959
961
  left: px2rem(props.element.css.left),
960
962
  top: px2rem(props.element.css.top),
961
963
  width: px2rem(props.element.css.width),
@@ -1017,27 +1019,27 @@
1017
1019
  }
1018
1020
  });
1019
1021
 
1020
- const _hoisted_1$i = {
1022
+ const _hoisted_1$j = {
1021
1023
  key: 0,
1022
1024
  class: "video-container"
1023
1025
  };
1024
- const _hoisted_2$e = ["src"];
1025
- const _hoisted_3$d = ["src"];
1026
+ const _hoisted_2$g = ["src"];
1027
+ const _hoisted_3$e = ["src"];
1026
1028
 
1027
- function render$j(_ctx, _cache, $props, $setup, $data, $options) {
1029
+ function render$k(_ctx, _cache, $props, $setup, $data, $options) {
1028
1030
  return (vue.openBlock(), vue.createElementBlock("div", {
1029
1031
  class: "element-video eles",
1030
1032
  style: vue.normalizeStyle(_ctx.containerStyle)
1031
1033
  }, [
1032
1034
  vue.createElementVNode("div", {
1033
1035
  class: "ani-wrap",
1034
- style: vue.normalizeStyle({
1035
- ..._ctx.aniWrapStyle,
1036
- boxShadow: _ctx.shadowStyle
1036
+ style: vue.normalizeStyle({
1037
+ ..._ctx.aniWrapStyle,
1038
+ boxShadow: _ctx.shadowStyle
1037
1039
  })
1038
1040
  }, [
1039
1041
  (_ctx.isPlaying)
1040
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$i, [
1042
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$j, [
1041
1043
  vue.createElementVNode("iframe", {
1042
1044
  src: _ctx.youtubeEmbedUrl,
1043
1045
  type: "text/html",
@@ -1045,7 +1047,7 @@
1045
1047
  allowfullscreen: "",
1046
1048
  scrolling: "no",
1047
1049
  allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
1048
- }, null, 8 /* PROPS */, _hoisted_2$e)
1050
+ }, null, 8 /* PROPS */, _hoisted_2$g)
1049
1051
  ]))
1050
1052
  : (vue.openBlock(), vue.createElementBlock("div", {
1051
1053
  key: 1,
@@ -1057,20 +1059,20 @@
1057
1059
  src: _ctx.element.properties.src,
1058
1060
  alt: "Play button",
1059
1061
  class: "play-btn"
1060
- }, null, 8 /* PROPS */, _hoisted_3$d)
1062
+ }, null, 8 /* PROPS */, _hoisted_3$e)
1061
1063
  ], 4 /* STYLE */))
1062
1064
  ], 4 /* STYLE */)
1063
1065
  ], 4 /* STYLE */))
1064
1066
  }
1065
1067
 
1066
- script$n.render = render$j;
1067
- script$n.__file = "src/components/UniVideo/UniVideo.vue";
1068
+ script$o.render = render$k;
1069
+ script$o.__file = "src/components/UniVideo/UniVideo.vue";
1068
1070
 
1069
- script$n.install = (app) => {
1070
- app.component(script$n.name, script$n);
1071
+ script$o.install = (app) => {
1072
+ app.component(script$o.name, script$o);
1071
1073
  };
1072
1074
 
1073
- var script$m = vue.defineComponent({
1075
+ var script$n = vue.defineComponent({
1074
1076
  name: 'uni-calendar',
1075
1077
  props: {
1076
1078
  element: {
@@ -1140,6 +1142,7 @@
1140
1142
  // 计算日历容器的样式
1141
1143
  const calendarStyle = vue.computed(() => {
1142
1144
  return {
1145
+ position: (props.element && props.element.css && props.element.css.position) || 'absolute',
1143
1146
  left: px2rem(props.element.css.left),
1144
1147
  top: px2rem(props.element.css.top),
1145
1148
  width: px2rem(props.element.css.width),
@@ -1185,33 +1188,33 @@
1185
1188
  }
1186
1189
  });
1187
1190
 
1188
- const _hoisted_1$h = ["data-id", "data-pid", "data-type", "data-show", "pid", "type", "layername", "sign", "signsort"];
1189
- const _hoisted_2$d = {
1191
+ const _hoisted_1$i = ["data-id", "data-pid", "data-type", "data-show", "pid", "type", "layername", "sign", "signsort"];
1192
+ const _hoisted_2$f = {
1190
1193
  key: 0,
1191
1194
  class: "can-wrap"
1192
1195
  };
1193
- const _hoisted_3$c = { class: "can-top" };
1194
- const _hoisted_4$a = { class: "can-main" };
1195
- const _hoisted_5$9 = { class: "can-date" };
1196
- const _hoisted_6$7 = {
1196
+ const _hoisted_3$d = { class: "can-top" };
1197
+ const _hoisted_4$b = { class: "can-main" };
1198
+ const _hoisted_5$a = { class: "can-date" };
1199
+ const _hoisted_6$8 = {
1197
1200
  key: 1,
1198
1201
  class: "can-wrap2"
1199
1202
  };
1200
- const _hoisted_7$6 = { class: "can-top" };
1201
- const _hoisted_8$3 = /*#__PURE__*/vue.createElementVNode("span", null, "/", -1 /* HOISTED */);
1202
- const _hoisted_9$3 = { class: "can-main" };
1203
- const _hoisted_10$3 = { class: "can-week" };
1204
- const _hoisted_11$3 = { class: "can-date" };
1205
- const _hoisted_12$3 = {
1203
+ const _hoisted_7$7 = { class: "can-top" };
1204
+ const _hoisted_8$4 = /*#__PURE__*/vue.createElementVNode("span", null, "/", -1 /* HOISTED */);
1205
+ const _hoisted_9$4 = { class: "can-main" };
1206
+ const _hoisted_10$4 = { class: "can-week" };
1207
+ const _hoisted_11$4 = { class: "can-date" };
1208
+ const _hoisted_12$4 = {
1206
1209
  key: 2,
1207
1210
  class: "can-wrap3"
1208
1211
  };
1209
- const _hoisted_13$3 = { class: "can-top" };
1210
- const _hoisted_14$3 = /*#__PURE__*/vue.createElementVNode("span", null, "/", -1 /* HOISTED */);
1211
- const _hoisted_15$3 = { class: "can-main" };
1212
- const _hoisted_16$3 = { class: "can-date" };
1212
+ const _hoisted_13$4 = { class: "can-top" };
1213
+ const _hoisted_14$4 = /*#__PURE__*/vue.createElementVNode("span", null, "/", -1 /* HOISTED */);
1214
+ const _hoisted_15$4 = { class: "can-main" };
1215
+ const _hoisted_16$4 = { class: "can-date" };
1213
1216
 
1214
- function render$i(_ctx, _cache, $props, $setup, $data, $options) {
1217
+ function render$j(_ctx, _cache, $props, $setup, $data, $options) {
1215
1218
  return (vue.openBlock(), vue.createElementBlock("div", {
1216
1219
  class: "ele-calendar eles",
1217
1220
  "data-id": _ctx.element.id,
@@ -1231,8 +1234,8 @@
1231
1234
  style: vue.normalizeStyle(_ctx.aniWrapStyle)
1232
1235
  }, [
1233
1236
  (_ctx.element.kind === 1)
1234
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$d, [
1235
- vue.createElementVNode("div", _hoisted_3$c, [
1237
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$f, [
1238
+ vue.createElementVNode("div", _hoisted_3$d, [
1236
1239
  vue.createElementVNode("div", {
1237
1240
  class: "can-left",
1238
1241
  style: vue.normalizeStyle({ color: _ctx.element.themeColor || '#ed5566' })
@@ -1245,7 +1248,7 @@
1245
1248
  vue.createTextVNode(" " + vue.toDisplayString(_ctx.month), 1 /* TEXT */)
1246
1249
  ], 4 /* STYLE */)
1247
1250
  ]),
1248
- vue.createElementVNode("div", _hoisted_4$a, [
1251
+ vue.createElementVNode("div", _hoisted_4$b, [
1249
1252
  vue.createElementVNode("div", {
1250
1253
  class: "can-week",
1251
1254
  style: vue.normalizeStyle({ backgroundColor: _ctx.element.themeColor || '#ed5566' })
@@ -1254,7 +1257,7 @@
1254
1257
  return (vue.openBlock(), vue.createElementBlock("span", { key: day }, vue.toDisplayString(day), 1 /* TEXT */))
1255
1258
  }), 128 /* KEYED_FRAGMENT */))
1256
1259
  ], 4 /* STYLE */),
1257
- vue.createElementVNode("div", _hoisted_5$9, [
1260
+ vue.createElementVNode("div", _hoisted_5$a, [
1258
1261
  vue.createElementVNode("ul", null, [
1259
1262
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.days, (day, index) => {
1260
1263
  return (vue.openBlock(), vue.createElementBlock("li", {
@@ -1283,19 +1286,19 @@
1283
1286
  ]))
1284
1287
  : vue.createCommentVNode("v-if", true),
1285
1288
  (_ctx.element.kind === 2)
1286
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$7, [
1287
- vue.createElementVNode("div", _hoisted_7$6, [
1289
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$8, [
1290
+ vue.createElementVNode("div", _hoisted_7$7, [
1288
1291
  vue.createElementVNode("div", {
1289
1292
  class: "can-size",
1290
1293
  style: vue.normalizeStyle({ color: _ctx.element.themeColor || '#ed5566' })
1291
1294
  }, [
1292
1295
  vue.createTextVNode(vue.toDisplayString(_ctx.currentDay) + " ", 1 /* TEXT */),
1293
- _hoisted_8$3,
1296
+ _hoisted_8$4,
1294
1297
  vue.createTextVNode(" " + vue.toDisplayString(_ctx.currentMonth), 1 /* TEXT */)
1295
1298
  ], 4 /* STYLE */)
1296
1299
  ]),
1297
- vue.createElementVNode("div", _hoisted_9$3, [
1298
- vue.createElementVNode("div", _hoisted_10$3, [
1300
+ vue.createElementVNode("div", _hoisted_9$4, [
1301
+ vue.createElementVNode("div", _hoisted_10$4, [
1299
1302
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.weekDays, (day) => {
1300
1303
  return (vue.openBlock(), vue.createElementBlock("span", {
1301
1304
  key: day,
@@ -1303,7 +1306,7 @@
1303
1306
  }, vue.toDisplayString(day), 5 /* TEXT, STYLE */))
1304
1307
  }), 128 /* KEYED_FRAGMENT */))
1305
1308
  ]),
1306
- vue.createElementVNode("div", _hoisted_11$3, [
1309
+ vue.createElementVNode("div", _hoisted_11$4, [
1307
1310
  vue.createElementVNode("div", {
1308
1311
  class: "can-year",
1309
1312
  style: vue.normalizeStyle({ color: _ctx.element.themeColor || '#ed5566' })
@@ -1336,14 +1339,14 @@
1336
1339
  ]))
1337
1340
  : vue.createCommentVNode("v-if", true),
1338
1341
  (_ctx.element.kind === 3)
1339
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12$3, [
1340
- vue.createElementVNode("div", _hoisted_13$3, [
1342
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12$4, [
1343
+ vue.createElementVNode("div", _hoisted_13$4, [
1341
1344
  vue.createElementVNode("div", {
1342
1345
  class: "can-size",
1343
1346
  style: vue.normalizeStyle({ color: _ctx.element.themeColor || '#ed5566' })
1344
1347
  }, [
1345
1348
  vue.createTextVNode(vue.toDisplayString(_ctx.currentDay) + " ", 1 /* TEXT */),
1346
- _hoisted_14$3,
1349
+ _hoisted_14$4,
1347
1350
  vue.createTextVNode(" " + vue.toDisplayString(_ctx.currentMonth), 1 /* TEXT */)
1348
1351
  ], 4 /* STYLE */),
1349
1352
  vue.createElementVNode("div", {
@@ -1351,7 +1354,7 @@
1351
1354
  style: vue.normalizeStyle({ color: _ctx.element.themeColor || '#ed5566' })
1352
1355
  }, "-" + vue.toDisplayString(_ctx.currentYear) + "-", 5 /* TEXT, STYLE */)
1353
1356
  ]),
1354
- vue.createElementVNode("div", _hoisted_15$3, [
1357
+ vue.createElementVNode("div", _hoisted_15$4, [
1355
1358
  vue.createElementVNode("div", {
1356
1359
  class: "can-week",
1357
1360
  style: vue.normalizeStyle({ borderColor: _ctx.element.themeColor || '#ed5566' })
@@ -1363,7 +1366,7 @@
1363
1366
  }, vue.toDisplayString(day), 5 /* TEXT, STYLE */))
1364
1367
  }), 128 /* KEYED_FRAGMENT */))
1365
1368
  ], 4 /* STYLE */),
1366
- vue.createElementVNode("div", _hoisted_16$3, [
1369
+ vue.createElementVNode("div", _hoisted_16$4, [
1367
1370
  vue.createElementVNode("ul", null, [
1368
1371
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.days, (day, index) => {
1369
1372
  return (vue.openBlock(), vue.createElementBlock("li", {
@@ -1392,17 +1395,17 @@
1392
1395
  ]))
1393
1396
  : vue.createCommentVNode("v-if", true)
1394
1397
  ], 4 /* STYLE */)
1395
- ], 12 /* STYLE, PROPS */, _hoisted_1$h))
1398
+ ], 12 /* STYLE, PROPS */, _hoisted_1$i))
1396
1399
  }
1397
1400
 
1398
- script$m.render = render$i;
1399
- script$m.__file = "src/components/UniCalendar/UniCalendar.vue";
1401
+ script$n.render = render$j;
1402
+ script$n.__file = "src/components/UniCalendar/UniCalendar.vue";
1400
1403
 
1401
- script$m.install = (app) => {
1402
- app.component(script$m.name, script$m);
1404
+ script$n.install = (app) => {
1405
+ app.component(script$n.name, script$n);
1403
1406
  };
1404
1407
 
1405
- var script$l = vue.defineComponent({
1408
+ var script$m = vue.defineComponent({
1406
1409
  name: 'uni-countdown',
1407
1410
  props: {
1408
1411
  element: {
@@ -1681,30 +1684,30 @@
1681
1684
  }
1682
1685
  });
1683
1686
 
1684
- const _hoisted_1$g = ["data-id", "data-pid", "data-type", "data-show", "pid", "type", "layername", "sign", "signsort"];
1685
- const _hoisted_2$c = ["data-direction"];
1686
- const _hoisted_3$b = { class: "c-wrap" };
1687
- const _hoisted_4$9 = { class: "c-num c-left" };
1688
- const _hoisted_5$8 = { class: "flex-wrap" };
1689
- const _hoisted_6$6 = { class: "c-num c-right" };
1690
- const _hoisted_7$5 = { class: "flex-wrap" };
1691
- const _hoisted_8$2 = { class: "c-wrap" };
1692
- const _hoisted_9$2 = { class: "c-num c-left" };
1693
- const _hoisted_10$2 = { class: "flex-wrap" };
1694
- const _hoisted_11$2 = { class: "c-num c-right" };
1695
- const _hoisted_12$2 = { class: "flex-wrap" };
1696
- const _hoisted_13$2 = { class: "c-wrap" };
1697
- const _hoisted_14$2 = { class: "c-num c-left" };
1698
- const _hoisted_15$2 = { class: "flex-wrap" };
1699
- const _hoisted_16$2 = { class: "c-num c-right" };
1700
- const _hoisted_17$2 = { class: "flex-wrap" };
1701
- const _hoisted_18$2 = { class: "c-wrap" };
1702
- const _hoisted_19$2 = { class: "c-num c-left" };
1703
- const _hoisted_20$2 = { class: "flex-wrap" };
1704
- const _hoisted_21$2 = { class: "c-num c-right" };
1705
- const _hoisted_22$2 = { class: "flex-wrap" };
1687
+ const _hoisted_1$h = ["data-id", "data-pid", "data-type", "data-show", "pid", "type", "layername", "sign", "signsort"];
1688
+ const _hoisted_2$e = ["data-direction"];
1689
+ const _hoisted_3$c = { class: "c-wrap" };
1690
+ const _hoisted_4$a = { class: "c-num c-left" };
1691
+ const _hoisted_5$9 = { class: "flex-wrap" };
1692
+ const _hoisted_6$7 = { class: "c-num c-right" };
1693
+ const _hoisted_7$6 = { class: "flex-wrap" };
1694
+ const _hoisted_8$3 = { class: "c-wrap" };
1695
+ const _hoisted_9$3 = { class: "c-num c-left" };
1696
+ const _hoisted_10$3 = { class: "flex-wrap" };
1697
+ const _hoisted_11$3 = { class: "c-num c-right" };
1698
+ const _hoisted_12$3 = { class: "flex-wrap" };
1699
+ const _hoisted_13$3 = { class: "c-wrap" };
1700
+ const _hoisted_14$3 = { class: "c-num c-left" };
1701
+ const _hoisted_15$3 = { class: "flex-wrap" };
1702
+ const _hoisted_16$3 = { class: "c-num c-right" };
1703
+ const _hoisted_17$3 = { class: "flex-wrap" };
1704
+ const _hoisted_18$3 = { class: "c-wrap" };
1705
+ const _hoisted_19$3 = { class: "c-num c-left" };
1706
+ const _hoisted_20$3 = { class: "flex-wrap" };
1707
+ const _hoisted_21$3 = { class: "c-num c-right" };
1708
+ const _hoisted_22$3 = { class: "flex-wrap" };
1706
1709
 
1707
- function render$h(_ctx, _cache, $props, $setup, $data, $options) {
1710
+ function render$i(_ctx, _cache, $props, $setup, $data, $options) {
1708
1711
  return (vue.openBlock(), vue.createElementBlock("div", {
1709
1712
  class: "count-down eles",
1710
1713
  "data-id": _ctx.element.id,
@@ -1746,9 +1749,9 @@
1746
1749
  class: "c-com c-day",
1747
1750
  style: vue.normalizeStyle(_ctx.comStyle)
1748
1751
  }, [
1749
- vue.createElementVNode("div", _hoisted_3$b, [
1750
- vue.createElementVNode("div", _hoisted_4$9, [
1751
- vue.createElementVNode("div", _hoisted_5$8, [
1752
+ vue.createElementVNode("div", _hoisted_3$c, [
1753
+ vue.createElementVNode("div", _hoisted_4$a, [
1754
+ vue.createElementVNode("div", _hoisted_5$9, [
1752
1755
  (_ctx.days >= 100)
1753
1756
  ? (vue.openBlock(), vue.createElementBlock("div", {
1754
1757
  key: 0,
@@ -1766,8 +1769,8 @@
1766
1769
  }, vue.toDisplayString(_ctx.currentDaysLeft), 5 /* TEXT, STYLE */)
1767
1770
  ])
1768
1771
  ]),
1769
- vue.createElementVNode("div", _hoisted_6$6, [
1770
- vue.createElementVNode("div", _hoisted_7$5, [
1772
+ vue.createElementVNode("div", _hoisted_6$7, [
1773
+ vue.createElementVNode("div", _hoisted_7$6, [
1771
1774
  vue.createElementVNode("div", {
1772
1775
  class: "next-num",
1773
1776
  style: vue.normalizeStyle(_ctx.numStyle)
@@ -1789,9 +1792,9 @@
1789
1792
  class: "c-com c-hour",
1790
1793
  style: vue.normalizeStyle(_ctx.comStyle)
1791
1794
  }, [
1792
- vue.createElementVNode("div", _hoisted_8$2, [
1793
- vue.createElementVNode("div", _hoisted_9$2, [
1794
- vue.createElementVNode("div", _hoisted_10$2, [
1795
+ vue.createElementVNode("div", _hoisted_8$3, [
1796
+ vue.createElementVNode("div", _hoisted_9$3, [
1797
+ vue.createElementVNode("div", _hoisted_10$3, [
1795
1798
  vue.createElementVNode("div", {
1796
1799
  class: "next-num",
1797
1800
  style: vue.normalizeStyle(_ctx.numStyle)
@@ -1802,8 +1805,8 @@
1802
1805
  }, vue.toDisplayString(_ctx.currentHoursLeft), 5 /* TEXT, STYLE */)
1803
1806
  ])
1804
1807
  ]),
1805
- vue.createElementVNode("div", _hoisted_11$2, [
1806
- vue.createElementVNode("div", _hoisted_12$2, [
1808
+ vue.createElementVNode("div", _hoisted_11$3, [
1809
+ vue.createElementVNode("div", _hoisted_12$3, [
1807
1810
  vue.createElementVNode("div", {
1808
1811
  class: "next-num",
1809
1812
  style: vue.normalizeStyle(_ctx.numStyle)
@@ -1825,9 +1828,9 @@
1825
1828
  class: "c-com c-minute",
1826
1829
  style: vue.normalizeStyle(_ctx.comStyle)
1827
1830
  }, [
1828
- vue.createElementVNode("div", _hoisted_13$2, [
1829
- vue.createElementVNode("div", _hoisted_14$2, [
1830
- vue.createElementVNode("div", _hoisted_15$2, [
1831
+ vue.createElementVNode("div", _hoisted_13$3, [
1832
+ vue.createElementVNode("div", _hoisted_14$3, [
1833
+ vue.createElementVNode("div", _hoisted_15$3, [
1831
1834
  vue.createElementVNode("div", {
1832
1835
  class: "next-num",
1833
1836
  style: vue.normalizeStyle(_ctx.numStyle)
@@ -1838,8 +1841,8 @@
1838
1841
  }, vue.toDisplayString(_ctx.currentMinutesLeft), 5 /* TEXT, STYLE */)
1839
1842
  ])
1840
1843
  ]),
1841
- vue.createElementVNode("div", _hoisted_16$2, [
1842
- vue.createElementVNode("div", _hoisted_17$2, [
1844
+ vue.createElementVNode("div", _hoisted_16$3, [
1845
+ vue.createElementVNode("div", _hoisted_17$3, [
1843
1846
  vue.createElementVNode("div", {
1844
1847
  class: "next-num",
1845
1848
  style: vue.normalizeStyle(_ctx.numStyle)
@@ -1861,9 +1864,9 @@
1861
1864
  class: "c-com c-second",
1862
1865
  style: vue.normalizeStyle(_ctx.comStyle)
1863
1866
  }, [
1864
- vue.createElementVNode("div", _hoisted_18$2, [
1865
- vue.createElementVNode("div", _hoisted_19$2, [
1866
- vue.createElementVNode("div", _hoisted_20$2, [
1867
+ vue.createElementVNode("div", _hoisted_18$3, [
1868
+ vue.createElementVNode("div", _hoisted_19$3, [
1869
+ vue.createElementVNode("div", _hoisted_20$3, [
1867
1870
  vue.createElementVNode("div", {
1868
1871
  class: "next-num",
1869
1872
  style: vue.normalizeStyle(_ctx.numStyle)
@@ -1874,8 +1877,8 @@
1874
1877
  }, vue.toDisplayString(_ctx.currentSecondsLeft), 5 /* TEXT, STYLE */)
1875
1878
  ])
1876
1879
  ]),
1877
- vue.createElementVNode("div", _hoisted_21$2, [
1878
- vue.createElementVNode("div", _hoisted_22$2, [
1880
+ vue.createElementVNode("div", _hoisted_21$3, [
1881
+ vue.createElementVNode("div", _hoisted_22$3, [
1879
1882
  vue.createElementVNode("div", {
1880
1883
  class: "next-num",
1881
1884
  style: vue.normalizeStyle(_ctx.numStyle)
@@ -1892,36 +1895,43 @@
1892
1895
  }, vue.toDisplayString(_ctx.second), 5 /* TEXT, STYLE */)
1893
1896
  ])
1894
1897
  ], 4 /* STYLE */)
1895
- ], 14 /* CLASS, STYLE, PROPS */, _hoisted_2$c)
1898
+ ], 14 /* CLASS, STYLE, PROPS */, _hoisted_2$e)
1896
1899
  ], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */))
1897
1900
  ], 4 /* STYLE */)
1898
- ], 12 /* STYLE, PROPS */, _hoisted_1$g))
1901
+ ], 12 /* STYLE, PROPS */, _hoisted_1$h))
1899
1902
  }
1900
1903
 
1901
- script$l.render = render$h;
1902
- script$l.__scopeId = "data-v-bb868822";
1903
- script$l.__file = "src/components/UniCountdown/UniCountdown.vue";
1904
+ script$m.render = render$i;
1905
+ script$m.__scopeId = "data-v-bb868822";
1906
+ script$m.__file = "src/components/UniCountdown/UniCountdown.vue";
1904
1907
 
1905
- script$l.install = (app) => {
1906
- app.component(script$l.name, script$l);
1908
+ script$m.install = (app) => {
1909
+ app.component(script$m.name, script$m);
1907
1910
  };
1908
1911
 
1909
- var script$k = vue.defineComponent({
1912
+ var script$l = vue.defineComponent({
1910
1913
  name: 'uni-map',
1911
1914
  props: {
1912
1915
  element: {
1913
1916
  type: Object,
1914
1917
  required: true,
1915
1918
  },
1919
+ isEditing: {
1920
+ type: Boolean,
1921
+ default: false,
1922
+ },
1916
1923
  },
1917
1924
  setup(props) {
1918
1925
  const iframeUrl = vue.computed(() => (props.element.iframeUrl || '').replace('width="600"', 'width="100%"').replace('height="450"', 'height="100%"'));
1919
1926
  // 处理导航按钮点击
1920
1927
  const handleNavigation = () => {
1928
+ if (props.isEditing)
1929
+ return;
1921
1930
  window.open(props.element.url);
1922
1931
  };
1923
1932
  // 容器样式
1924
1933
  const containerStyle = vue.computed(() => ({
1934
+ position: (props.element && props.element.css && props.element.css.position) || 'absolute',
1925
1935
  left: px2rem(props.element.css.left),
1926
1936
  top: px2rem(props.element.css.top),
1927
1937
  width: px2rem(props.element.css.width),
@@ -1969,11 +1979,11 @@
1969
1979
  }
1970
1980
  });
1971
1981
 
1972
- const _hoisted_1$f = ["data-id", "data-pid", "data-type", "data-show", "pid", "type", "layername", "sign", "signsort"];
1973
- const _hoisted_2$b = ["innerHTML"];
1974
- const _hoisted_3$a = /*#__PURE__*/vue.createElementVNode("div", { class: "mask-map" }, null, -1 /* HOISTED */);
1982
+ const _hoisted_1$g = ["data-id", "data-pid", "data-type", "data-show", "pid", "type", "layername", "sign", "signsort"];
1983
+ const _hoisted_2$d = ["innerHTML"];
1984
+ const _hoisted_3$b = /*#__PURE__*/vue.createElementVNode("div", { class: "mask-map" }, null, -1 /* HOISTED */);
1975
1985
 
1976
- function render$g(_ctx, _cache, $props, $setup, $data, $options) {
1986
+ function render$h(_ctx, _cache, $props, $setup, $data, $options) {
1977
1987
  return (vue.openBlock(), vue.createElementBlock("div", {
1978
1988
  class: "element-ditu eles",
1979
1989
  "data-id": _ctx.element.id,
@@ -1989,9 +1999,9 @@
1989
1999
  }, [
1990
2000
  vue.createElementVNode("div", {
1991
2001
  class: "ani-wrap",
1992
- style: vue.normalizeStyle({
1993
- ..._ctx.aniWrapStyle,
1994
- boxShadow: _ctx.shadowStyle
2002
+ style: vue.normalizeStyle({
2003
+ ..._ctx.aniWrapStyle,
2004
+ boxShadow: _ctx.shadowStyle
1995
2005
  })
1996
2006
  }, [
1997
2007
  (_ctx.element.mapStyle === 'default')
@@ -2005,10 +2015,10 @@
2005
2015
  vue.createElementVNode("div", {
2006
2016
  innerHTML: _ctx.iframeUrl,
2007
2017
  class: "map-iframe"
2008
- }, null, 8 /* PROPS */, _hoisted_2$b),
2018
+ }, null, 8 /* PROPS */, _hoisted_2$d),
2009
2019
  vue.createCommentVNode(" 隐藏的辅助元素 "),
2010
- vue.createCommentVNode(" <div :id=\"'teng_' + element.id + Date.now()\" class=\"center-map\" style=\"display: none;\"></div>\r\n <div :id=\"'bai_' + element.id + Date.now()\" class=\"center-map\" style=\"display: none;\"></div> "),
2011
- _hoisted_3$a
2020
+ vue.createCommentVNode(" <div :id=\"'teng_' + element.id + Date.now()\" class=\"center-map\" style=\"display: none;\"></div>\n <div :id=\"'bai_' + element.id + Date.now()\" class=\"center-map\" style=\"display: none;\"></div> "),
2021
+ _hoisted_3$b
2012
2022
  ], 4 /* STYLE */))
2013
2023
  : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
2014
2024
  vue.createCommentVNode(" 导航按钮 "),
@@ -2026,26 +2036,31 @@
2026
2036
  ], 4 /* STYLE */)
2027
2037
  ], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */))
2028
2038
  ], 4 /* STYLE */)
2029
- ], 12 /* STYLE, PROPS */, _hoisted_1$f))
2039
+ ], 12 /* STYLE, PROPS */, _hoisted_1$g))
2030
2040
  }
2031
2041
 
2032
- script$k.render = render$g;
2033
- script$k.__file = "src/components/UniMap/UniMap.vue";
2042
+ script$l.render = render$h;
2043
+ script$l.__file = "src/components/UniMap/UniMap.vue";
2034
2044
 
2035
- script$k.install = (app) => {
2036
- app.component(script$k.name, script$k);
2045
+ script$l.install = (app) => {
2046
+ app.component(script$l.name, script$l);
2037
2047
  };
2038
2048
 
2039
- var script$j = vue.defineComponent({
2049
+ var script$k = vue.defineComponent({
2040
2050
  name: 'uni-call',
2041
2051
  props: {
2042
2052
  element: {
2043
2053
  type: Object,
2044
2054
  required: true
2045
2055
  },
2056
+ isEditing: {
2057
+ type: Boolean,
2058
+ default: false,
2059
+ },
2046
2060
  },
2047
2061
  setup(props) {
2048
2062
  const containerStyle = vue.computed(() => ({
2063
+ position: (props.element && props.element.css && props.element.css.position) || 'absolute',
2049
2064
  left: px2rem(props.element.css.left),
2050
2065
  top: px2rem(props.element.css.top),
2051
2066
  width: px2rem(props.element.css.width),
@@ -2075,6 +2090,8 @@
2075
2090
  const btnText = vue.computed(() => props.element.btnText || 'โทรออกด่วน');
2076
2091
  const css = vue.computed(() => props.element.css);
2077
2092
  const handleDial = () => {
2093
+ if (props.isEditing)
2094
+ return;
2078
2095
  const phoneNumber = props.element.tel;
2079
2096
  if (!phoneNumber)
2080
2097
  return;
@@ -2112,22 +2129,24 @@
2112
2129
  }
2113
2130
  });
2114
2131
 
2115
- const _hoisted_1$e = { class: "call-content" };
2132
+ const _hoisted_1$f = ["data-id"];
2133
+ const _hoisted_2$c = { class: "call-content" };
2116
2134
 
2117
- function render$f(_ctx, _cache, $props, $setup, $data, $options) {
2135
+ function render$g(_ctx, _cache, $props, $setup, $data, $options) {
2118
2136
  return (vue.openBlock(), vue.createElementBlock("div", {
2119
2137
  class: "call eles",
2138
+ "data-id": _ctx.element.id,
2120
2139
  style: vue.normalizeStyle(_ctx.containerStyle),
2121
2140
  onClick: _cache[0] || (_cache[0] = (...args) => (_ctx.handleDial && _ctx.handleDial(...args)))
2122
2141
  }, [
2123
2142
  vue.createElementVNode("div", {
2124
2143
  class: "ani-wrap",
2125
- style: vue.normalizeStyle({
2126
- ..._ctx.aniWrapStyle,
2127
- boxShadow: _ctx.shadowStyle
2144
+ style: vue.normalizeStyle({
2145
+ ..._ctx.aniWrapStyle,
2146
+ boxShadow: _ctx.shadowStyle
2128
2147
  })
2129
2148
  }, [
2130
- vue.createElementVNode("div", _hoisted_1$e, [
2149
+ vue.createElementVNode("div", _hoisted_2$c, [
2131
2150
  vue.createElementVNode("i", {
2132
2151
  class: "iconfont hb-tel",
2133
2152
  style: vue.normalizeStyle(_ctx.bntStyle)
@@ -2138,14 +2157,14 @@
2138
2157
  }, vue.toDisplayString(_ctx.btnText), 5 /* TEXT, STYLE */)
2139
2158
  ])
2140
2159
  ], 4 /* STYLE */)
2141
- ], 4 /* STYLE */))
2160
+ ], 12 /* STYLE, PROPS */, _hoisted_1$f))
2142
2161
  }
2143
2162
 
2144
- script$j.render = render$f;
2145
- script$j.__file = "src/components/UniCall/UniCall.vue";
2163
+ script$k.render = render$g;
2164
+ script$k.__file = "src/components/UniCall/UniCall.vue";
2146
2165
 
2147
- script$j.install = (app) => {
2148
- app.component(script$j.name, script$j);
2166
+ script$k.install = (app) => {
2167
+ app.component(script$k.name, script$k);
2149
2168
  };
2150
2169
 
2151
2170
  // 花瓣图片资源 (base64编码)
@@ -2185,7 +2204,7 @@
2185
2204
  'https://h5cdn.unika.cc/static/img/uniComponents/huaban.png'
2186
2205
  // 可以添加更多花瓣图片
2187
2206
  ];
2188
- var script$i = vue.defineComponent({
2207
+ var script$j = vue.defineComponent({
2189
2208
  name: 'uni-effect',
2190
2209
  props: {
2191
2210
  element: {
@@ -2283,14 +2302,14 @@
2283
2302
  }
2284
2303
  });
2285
2304
 
2286
- const _hoisted_1$d = { class: "effect-wrap" };
2305
+ const _hoisted_1$e = { class: "effect-wrap" };
2287
2306
 
2288
- function render$e(_ctx, _cache, $props, $setup, $data, $options) {
2307
+ function render$f(_ctx, _cache, $props, $setup, $data, $options) {
2289
2308
  return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
2290
2309
  class: "ele-effect eles",
2291
2310
  style: vue.normalizeStyle(_ctx.containerStyle)
2292
2311
  }, [
2293
- vue.createElementVNode("div", _hoisted_1$d, [
2312
+ vue.createElementVNode("div", _hoisted_1$e, [
2294
2313
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.particles, (particle, index) => {
2295
2314
  return (vue.openBlock(), vue.createElementBlock("div", {
2296
2315
  key: index,
@@ -2304,11 +2323,11 @@
2304
2323
  ])
2305
2324
  }
2306
2325
 
2307
- script$i.render = render$e;
2308
- script$i.__file = "src/components/UniEffect/UniEffect.vue";
2326
+ script$j.render = render$f;
2327
+ script$j.__file = "src/components/UniEffect/UniEffect.vue";
2309
2328
 
2310
- script$i.install = (app) => {
2311
- app.component(script$i.name, script$i);
2329
+ script$j.install = (app) => {
2330
+ app.component(script$j.name, script$j);
2312
2331
  };
2313
2332
 
2314
2333
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
@@ -23790,7 +23809,7 @@
23790
23809
  }
23791
23810
  var Vue3Lottie = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
23792
23811
 
23793
- var script$h = vue.defineComponent({
23812
+ var script$i = vue.defineComponent({
23794
23813
  name: 'uni-lottie',
23795
23814
  components: {
23796
23815
  Vue3Lottie
@@ -23813,6 +23832,7 @@
23813
23832
  return d > 200 ? Math.round(d) : Math.round(d * 1000);
23814
23833
  });
23815
23834
  const lottieStyle = vue.computed(() => ({
23835
+ position: (props.element && props.element.css && props.element.css.position) || 'absolute',
23816
23836
  left: px2rem(props.element.css.left),
23817
23837
  top: px2rem(props.element.css.top),
23818
23838
  width: px2rem(props.element.css.width),
@@ -23850,9 +23870,9 @@
23850
23870
  }
23851
23871
  });
23852
23872
 
23853
- const _hoisted_1$c = ["data-id", "data-pid", "data-type", "data-show"];
23873
+ const _hoisted_1$d = ["data-id", "data-pid", "data-type", "data-show"];
23854
23874
 
23855
- function render$d(_ctx, _cache, $props, $setup, $data, $options) {
23875
+ function render$e(_ctx, _cache, $props, $setup, $data, $options) {
23856
23876
  const _component_Vue3Lottie = vue.resolveComponent("Vue3Lottie");
23857
23877
 
23858
23878
  return (vue.openBlock(), vue.createElementBlock("div", {
@@ -23875,17 +23895,17 @@
23875
23895
  ref: "lottieAnimation"
23876
23896
  }, null, 8 /* PROPS */, ["style", "animationLink", "loop", "delay"])
23877
23897
  ], 4 /* STYLE */)
23878
- ], 12 /* STYLE, PROPS */, _hoisted_1$c))
23898
+ ], 12 /* STYLE, PROPS */, _hoisted_1$d))
23879
23899
  }
23880
23900
 
23881
- script$h.render = render$d;
23882
- script$h.__file = "src/components/UniLottie/UniLottie.vue";
23901
+ script$i.render = render$e;
23902
+ script$i.__file = "src/components/UniLottie/UniLottie.vue";
23883
23903
 
23884
- script$h.install = (app) => {
23885
- app.component(script$h.name, script$h);
23904
+ script$i.install = (app) => {
23905
+ app.component(script$i.name, script$i);
23886
23906
  };
23887
23907
 
23888
- var script$g = vue.defineComponent({
23908
+ var script$h = vue.defineComponent({
23889
23909
  name: 'uni-button',
23890
23910
  props: {
23891
23911
  element: {
@@ -23896,6 +23916,7 @@
23896
23916
  emits: ['trigger'],
23897
23917
  setup(props, { emit }) {
23898
23918
  const containerStyle = vue.computed(() => ({
23919
+ position: (props.element && props.element.css && props.element.css.position) || 'absolute',
23899
23920
  left: px2rem(props.element.css.left),
23900
23921
  top: px2rem(props.element.css.top),
23901
23922
  width: px2rem(props.element.css.width),
@@ -23951,9 +23972,9 @@
23951
23972
  }
23952
23973
  });
23953
23974
 
23954
- const _hoisted_1$b = { class: "button-content" };
23975
+ const _hoisted_1$c = { class: "button-content" };
23955
23976
 
23956
- function render$c(_ctx, _cache, $props, $setup, $data, $options) {
23977
+ function render$d(_ctx, _cache, $props, $setup, $data, $options) {
23957
23978
  return (vue.openBlock(), vue.createElementBlock("div", {
23958
23979
  class: "button eles",
23959
23980
  style: vue.normalizeStyle(_ctx.containerStyle),
@@ -23961,12 +23982,12 @@
23961
23982
  }, [
23962
23983
  vue.createElementVNode("div", {
23963
23984
  class: "ani-wrap",
23964
- style: vue.normalizeStyle({
23965
- ..._ctx.aniWrapStyle,
23966
- boxShadow: _ctx.shadowStyle
23985
+ style: vue.normalizeStyle({
23986
+ ..._ctx.aniWrapStyle,
23987
+ boxShadow: _ctx.shadowStyle
23967
23988
  })
23968
23989
  }, [
23969
- vue.createElementVNode("div", _hoisted_1$b, [
23990
+ vue.createElementVNode("div", _hoisted_1$c, [
23970
23991
  vue.createElementVNode("span", {
23971
23992
  class: "btn-text",
23972
23993
  style: vue.normalizeStyle(_ctx.bntStyle)
@@ -23976,11 +23997,11 @@
23976
23997
  ], 4 /* STYLE */))
23977
23998
  }
23978
23999
 
23979
- script$g.render = render$c;
23980
- script$g.__file = "src/components/UniButton/UniButton.vue";
24000
+ script$h.render = render$d;
24001
+ script$h.__file = "src/components/UniButton/UniButton.vue";
23981
24002
 
23982
- script$g.install = (app) => {
23983
- app.component(script$g.name, script$g);
24003
+ script$h.install = (app) => {
24004
+ app.component(script$h.name, script$h);
23984
24005
  };
23985
24006
 
23986
24007
  var bind = function bind(fn, thisArg) {
@@ -27668,7 +27689,7 @@
27668
27689
 
27669
27690
  var axios = axios_1;
27670
27691
 
27671
- var script$f = vue.defineComponent({
27692
+ var script$g = vue.defineComponent({
27672
27693
  name: 'uni-barrage',
27673
27694
  props: {
27674
27695
  env: {
@@ -27969,31 +27990,31 @@
27969
27990
  }
27970
27991
  });
27971
27992
 
27972
- const _hoisted_1$a = {
27993
+ const _hoisted_1$b = {
27973
27994
  id: "toolbarNew",
27974
27995
  ref: "toolbar"
27975
27996
  };
27976
- const _hoisted_2$a = { class: "toolbar" };
27977
- const _hoisted_3$9 = { class: "bar-left" };
27978
- const _hoisted_4$8 = /*#__PURE__*/vue.createElementVNode("img", { src: "https://h5cdn.unika.cc/static/img/uniComponents/hide.png" }, null, -1 /* HOISTED */);
27979
- const _hoisted_5$7 = [
27980
- _hoisted_4$8
27997
+ const _hoisted_2$b = { class: "toolbar" };
27998
+ const _hoisted_3$a = { class: "bar-left" };
27999
+ const _hoisted_4$9 = /*#__PURE__*/vue.createElementVNode("img", { src: "https://h5cdn.unika.cc/static/img/uniComponents/hide.png" }, null, -1 /* HOISTED */);
28000
+ const _hoisted_5$8 = [
28001
+ _hoisted_4$9
27981
28002
  ];
27982
- const _hoisted_6$5 = {
28003
+ const _hoisted_6$6 = {
27983
28004
  key: 0,
27984
28005
  class: "bar-right"
27985
28006
  };
27986
- const _hoisted_7$4 = {
28007
+ const _hoisted_7$5 = {
27987
28008
  key: 0,
27988
28009
  class: "bar-praise"
27989
28010
  };
27990
- const _hoisted_8$1 = /*#__PURE__*/vue.createElementVNode("strong", { class: "ani-num" }, "+1", -1 /* HOISTED */);
27991
- const _hoisted_9$1 = /*#__PURE__*/vue.createElementVNode("div", { class: "stop-longtap" }, null, -1 /* HOISTED */);
27992
- const _hoisted_10$1 = /*#__PURE__*/vue.createElementVNode("img", {
28011
+ const _hoisted_8$2 = /*#__PURE__*/vue.createElementVNode("strong", { class: "ani-num" }, "+1", -1 /* HOISTED */);
28012
+ const _hoisted_9$2 = /*#__PURE__*/vue.createElementVNode("div", { class: "stop-longtap" }, null, -1 /* HOISTED */);
28013
+ const _hoisted_10$2 = /*#__PURE__*/vue.createElementVNode("img", {
27993
28014
  src: "https://h5cdn.unika.cc/static/img/uniComponents/parise.png",
27994
28015
  class: "animated"
27995
28016
  }, null, -1 /* HOISTED */);
27996
- const _hoisted_11$1 = /*#__PURE__*/vue.createElementVNode("div", { class: "zan-wrap" }, [
28017
+ const _hoisted_11$2 = /*#__PURE__*/vue.createElementVNode("div", { class: "zan-wrap" }, [
27997
28018
  /*#__PURE__*/vue.createElementVNode("span"),
27998
28019
  /*#__PURE__*/vue.createElementVNode("span"),
27999
28020
  /*#__PURE__*/vue.createElementVNode("span"),
@@ -28003,36 +28024,36 @@
28003
28024
  /*#__PURE__*/vue.createElementVNode("span"),
28004
28025
  /*#__PURE__*/vue.createElementVNode("span")
28005
28026
  ], -1 /* HOISTED */);
28006
- const _hoisted_12$1 = [
28007
- _hoisted_8$1,
28008
- _hoisted_9$1,
28009
- _hoisted_10$1,
28010
- _hoisted_11$1
28027
+ const _hoisted_12$2 = [
28028
+ _hoisted_8$2,
28029
+ _hoisted_9$2,
28030
+ _hoisted_10$2,
28031
+ _hoisted_11$2
28011
28032
  ];
28012
- const _hoisted_13$1 = { class: "bar-messwin" };
28013
- const _hoisted_14$1 = /*#__PURE__*/vue.createElementVNode("img", {
28033
+ const _hoisted_13$2 = { class: "bar-messwin" };
28034
+ const _hoisted_14$2 = /*#__PURE__*/vue.createElementVNode("img", {
28014
28035
  src: "https://h5cdn.unika.cc/static/img/uniComponents/mess-logo.png",
28015
28036
  alt: "",
28016
28037
  class: "mess-logo"
28017
28038
  }, null, -1 /* HOISTED */);
28018
- const _hoisted_15$1 = /*#__PURE__*/vue.createElementVNode("div", { class: "mess-title" }, "ข้อความอวยพร", -1 /* HOISTED */);
28019
- const _hoisted_16$1 = { class: "mess-input" };
28020
- const _hoisted_17$1 = { class: "mess-textarea" };
28021
- const _hoisted_18$1 = { class: "wish-dropdown" };
28022
- const _hoisted_19$1 = ["onClick"];
28023
- const _hoisted_20$1 = /*#__PURE__*/vue.createElementVNode("div", { class: "wish-dot" }, "•", -1 /* HOISTED */);
28024
- const _hoisted_21$1 = { class: "wish-text" };
28025
- const _hoisted_22$1 = {
28039
+ const _hoisted_15$2 = /*#__PURE__*/vue.createElementVNode("div", { class: "mess-title" }, "ข้อความอวยพร", -1 /* HOISTED */);
28040
+ const _hoisted_16$2 = { class: "mess-input" };
28041
+ const _hoisted_17$2 = { class: "mess-textarea" };
28042
+ const _hoisted_18$2 = { class: "wish-dropdown" };
28043
+ const _hoisted_19$2 = ["onClick"];
28044
+ const _hoisted_20$2 = /*#__PURE__*/vue.createElementVNode("div", { class: "wish-dot" }, "•", -1 /* HOISTED */);
28045
+ const _hoisted_21$2 = { class: "wish-text" };
28046
+ const _hoisted_22$2 = {
28026
28047
  key: 1,
28027
28048
  class: "give-gift-wrapper"
28028
28049
  };
28029
- const _hoisted_23$1 = { class: "give-gift" };
28030
- const _hoisted_24 = /*#__PURE__*/vue.createElementVNode("i", { class: "iconfont icon-zuojiantou" }, null, -1 /* HOISTED */);
28031
- const _hoisted_25 = [
28032
- _hoisted_24
28050
+ const _hoisted_23$2 = { class: "give-gift" };
28051
+ const _hoisted_24$1 = /*#__PURE__*/vue.createElementVNode("i", { class: "iconfont icon-zuojiantou" }, null, -1 /* HOISTED */);
28052
+ const _hoisted_25$1 = [
28053
+ _hoisted_24$1
28033
28054
  ];
28034
- const _hoisted_26 = ["src"];
28035
- const _hoisted_27 = {
28055
+ const _hoisted_26$1 = ["src"];
28056
+ const _hoisted_27$1 = {
28036
28057
  key: 2,
28037
28058
  class: "mess-success-popup"
28038
28059
  };
@@ -28056,7 +28077,7 @@
28056
28077
  const _hoisted_35 = { class: "mint-msgbox-message" };
28057
28078
  const _hoisted_36 = { class: "mint-msgbox-btns" };
28058
28079
 
28059
- function render$b(_ctx, _cache, $props, $setup, $data, $options) {
28080
+ function render$c(_ctx, _cache, $props, $setup, $data, $options) {
28060
28081
  return (vue.openBlock(), vue.createElementBlock("div", null, [
28061
28082
  vue.createCommentVNode(" 弹幕显示区域 "),
28062
28083
  vue.withDirectives(vue.createElementVNode("div", {
@@ -28078,9 +28099,9 @@
28078
28099
  [vue.vShow, _ctx.showBullets]
28079
28100
  ]),
28080
28101
  vue.createCommentVNode(" 底部工具栏 "),
28081
- vue.createElementVNode("div", _hoisted_1$a, [
28082
- vue.createElementVNode("div", _hoisted_2$a, [
28083
- vue.withDirectives(vue.createElementVNode("div", _hoisted_3$9, [
28102
+ vue.createElementVNode("div", _hoisted_1$b, [
28103
+ vue.createElementVNode("div", _hoisted_2$b, [
28104
+ vue.withDirectives(vue.createElementVNode("div", _hoisted_3$a, [
28084
28105
  vue.createElementVNode("input", {
28085
28106
  type: "text",
28086
28107
  placeholder: "ข้อความอวยพร..",
@@ -28099,12 +28120,12 @@
28099
28120
  vue.withDirectives(vue.createElementVNode("div", {
28100
28121
  onClick: _cache[2] || (_cache[2] = vue.withModifiers((...args) => (_ctx.toggleBullets && _ctx.toggleBullets(...args)), ["stop"])),
28101
28122
  class: "toolbar-close"
28102
- }, [..._hoisted_5$7], 512 /* NEED_PATCH */), [
28123
+ }, [..._hoisted_5$8], 512 /* NEED_PATCH */), [
28103
28124
  [vue.vShow, !_ctx.showBullets]
28104
28125
  ]),
28105
28126
  vue.createCommentVNode(" 新增的右侧按钮区域 "),
28106
28127
  ((_ctx.global.toolbar.gift || _ctx.global.toolbar.praise) && _ctx.showBullets)
28107
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$5, [
28128
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$6, [
28108
28129
  (_ctx.global.toolbar.gift && _ctx.global.toolbar.giftQRCode)
28109
28130
  ? (vue.openBlock(), vue.createElementBlock("img", {
28110
28131
  key: 0,
@@ -28120,11 +28141,11 @@
28120
28141
  onClick: _cache[4] || (_cache[4] = (...args) => (_ctx.handlePraise && _ctx.handlePraise(...args)))
28121
28142
  }, [
28122
28143
  (_ctx.praiseCount > 0)
28123
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$4, vue.toDisplayString(_ctx.praiseCount), 1 /* TEXT */))
28144
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$5, vue.toDisplayString(_ctx.praiseCount), 1 /* TEXT */))
28124
28145
  : vue.createCommentVNode("v-if", true),
28125
28146
  vue.createElementVNode("div", {
28126
28147
  class: vue.normalizeClass(["bar-zan", { active: _ctx.isPraised }])
28127
- }, [..._hoisted_12$1], 2 /* CLASS */)
28148
+ }, [..._hoisted_12$2], 2 /* CLASS */)
28128
28149
  ]))
28129
28150
  : vue.createCommentVNode("v-if", true)
28130
28151
  ]))
@@ -28139,11 +28160,11 @@
28139
28160
  style: {"z-index":"2003"},
28140
28161
  onClick: _cache[12] || (_cache[12] = vue.withModifiers((...args) => (_ctx.closePopup && _ctx.closePopup(...args)), ["self"]))
28141
28162
  }, [
28142
- vue.createElementVNode("div", _hoisted_13$1, [
28143
- _hoisted_14$1,
28144
- _hoisted_15$1,
28163
+ vue.createElementVNode("div", _hoisted_13$2, [
28164
+ _hoisted_14$2,
28165
+ _hoisted_15$2,
28145
28166
  vue.createCommentVNode(" 祝福留言. "),
28146
- vue.createElementVNode("div", _hoisted_16$1, [
28167
+ vue.createElementVNode("div", _hoisted_16$2, [
28147
28168
  vue.withDirectives(vue.createElementVNode("input", {
28148
28169
  ref: "nameInput",
28149
28170
  "onUpdate:modelValue": _cache[5] || (_cache[5] = $event => ((_ctx.name) = $event)),
@@ -28156,7 +28177,7 @@
28156
28177
  ])
28157
28178
  ]),
28158
28179
  vue.createCommentVNode(" 请输入您的姓名 "),
28159
- vue.createElementVNode("div", _hoisted_17$1, [
28180
+ vue.createElementVNode("div", _hoisted_17$2, [
28160
28181
  vue.withDirectives(vue.createElementVNode("textarea", {
28161
28182
  "onUpdate:modelValue": _cache[7] || (_cache[7] = $event => ((_ctx.content) = $event)),
28162
28183
  placeholder: "ข้อความของคุณ..",
@@ -28173,16 +28194,16 @@
28173
28194
  onClick: _cache[9] || (_cache[9] = (...args) => (_ctx.showBlessingOptions && _ctx.showBlessingOptions(...args)))
28174
28195
  }),
28175
28196
  vue.createCommentVNode(" 请选择祝福语 "),
28176
- vue.withDirectives(vue.createElementVNode("div", _hoisted_18$1, [
28197
+ vue.withDirectives(vue.createElementVNode("div", _hoisted_18$2, [
28177
28198
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.blessingOptions, (blessing, index) => {
28178
28199
  return (vue.openBlock(), vue.createElementBlock("div", {
28179
28200
  class: "wish-item",
28180
28201
  key: index,
28181
28202
  onClick: $event => (_ctx.selectBlessing(blessing))
28182
28203
  }, [
28183
- _hoisted_20$1,
28184
- vue.createElementVNode("div", _hoisted_21$1, vue.toDisplayString(blessing), 1 /* TEXT */)
28185
- ], 8 /* PROPS */, _hoisted_19$1))
28204
+ _hoisted_20$2,
28205
+ vue.createElementVNode("div", _hoisted_21$2, vue.toDisplayString(blessing), 1 /* TEXT */)
28206
+ ], 8 /* PROPS */, _hoisted_19$2))
28186
28207
  }), 128 /* KEYED_FRAGMENT */))
28187
28208
  ], 512 /* NEED_PATCH */), [
28188
28209
  [vue.vShow, _ctx.showBlessingList]
@@ -28202,18 +28223,18 @@
28202
28223
  : vue.createCommentVNode("v-if", true),
28203
28224
  vue.createCommentVNode(" 在template部分修改礼物弹窗结构 "),
28204
28225
  (_ctx.showGift)
28205
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_22$1, [
28206
- vue.createElementVNode("div", _hoisted_23$1, [
28226
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_22$2, [
28227
+ vue.createElementVNode("div", _hoisted_23$2, [
28207
28228
  vue.createElementVNode("div", {
28208
28229
  class: "back",
28209
28230
  onClick: _cache[13] || (_cache[13] = (...args) => (_ctx.closeGiftPopup && _ctx.closeGiftPopup(...args)))
28210
- }, [..._hoisted_25]),
28231
+ }, [..._hoisted_25$1]),
28211
28232
  vue.createElementVNode("img", {
28212
28233
  src: _ctx.global.toolbar.giftQRCode,
28213
28234
  alt: "",
28214
28235
  onLoad: _cache[14] || (_cache[14] = (...args) => (_ctx.handleImageLoad && _ctx.handleImageLoad(...args))),
28215
28236
  class: vue.normalizeClass({ 'loaded': _ctx.imageLoaded })
28216
- }, null, 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_26),
28237
+ }, null, 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_26$1),
28217
28238
  vue.createCommentVNode(" 新增底部关闭按钮 "),
28218
28239
  vue.createElementVNode("i", {
28219
28240
  class: "iconfont icon-cuowu2 close-btn",
@@ -28224,7 +28245,7 @@
28224
28245
  : vue.createCommentVNode("v-if", true),
28225
28246
  vue.createCommentVNode(" 留言成功弹窗 "),
28226
28247
  (_ctx.showSuccessPopup)
28227
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_27, [
28248
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_27$1, [
28228
28249
  vue.createElementVNode("div", _hoisted_28, [
28229
28250
  vue.createElementVNode("i", {
28230
28251
  class: "iconfont icon-cuowu2",
@@ -28266,11 +28287,11 @@
28266
28287
  ]))
28267
28288
  }
28268
28289
 
28269
- script$f.render = render$b;
28270
- script$f.__file = "src/components/UniBarrage/UniBarrage.vue";
28290
+ script$g.render = render$c;
28291
+ script$g.__file = "src/components/UniBarrage/UniBarrage.vue";
28271
28292
 
28272
- script$f.install = (app) => {
28273
- app.component(script$f.name, script$f);
28293
+ script$g.install = (app) => {
28294
+ app.component(script$g.name, script$g);
28274
28295
  };
28275
28296
 
28276
28297
  function useTouchHandler(pages, currentPageId, direction, isLoopEnabled, onUserInteraction) {
@@ -28619,7 +28640,7 @@
28619
28640
  return true;
28620
28641
  }
28621
28642
 
28622
- var script$e = vue.defineComponent({
28643
+ var script$f = vue.defineComponent({
28623
28644
  name: 'uni-form-input',
28624
28645
  props: {
28625
28646
  global: {
@@ -28683,6 +28704,7 @@
28683
28704
  const title = vue.computed(() => props.element.title || '');
28684
28705
  const inputType = vue.computed(() => props.element.inputType || 'text');
28685
28706
  const containerStyles = vue.computed(() => ({
28707
+ position: (props.element && props.element.css && props.element.css.position) || 'absolute',
28686
28708
  left: px2rem(props.element.css.left || 0),
28687
28709
  top: px2rem(props.element.css.top || 0),
28688
28710
  width: px2rem(props.element.css.width || 235),
@@ -28718,13 +28740,13 @@
28718
28740
  }
28719
28741
  });
28720
28742
 
28721
- const _hoisted_1$9 = {
28743
+ const _hoisted_1$a = {
28722
28744
  key: 0,
28723
28745
  class: "required-marker"
28724
28746
  };
28725
- const _hoisted_2$9 = ["type", "placeholder"];
28747
+ const _hoisted_2$a = ["type", "placeholder"];
28726
28748
 
28727
- function render$a(_ctx, _cache, $props, $setup, $data, $options) {
28749
+ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
28728
28750
  return (vue.openBlock(), vue.createElementBlock("div", {
28729
28751
  class: "ele-form form-input eles",
28730
28752
  style: vue.normalizeStyle(_ctx.containerStyles)
@@ -28737,7 +28759,7 @@
28737
28759
  })
28738
28760
  }, [
28739
28761
  (_ctx.required)
28740
- ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$9, "*"))
28762
+ ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$a, "*"))
28741
28763
  : vue.createCommentVNode("v-if", true),
28742
28764
  vue.withDirectives(vue.createElementVNode("input", {
28743
28765
  type: _ctx.inputType,
@@ -28746,17 +28768,17 @@
28746
28768
  style: vue.normalizeStyle(_ctx.inputStyles),
28747
28769
  onBlur: _cache[1] || (_cache[1] = (...args) => (_ctx.handleBlur && _ctx.handleBlur(...args))),
28748
28770
  class: "dynamic-placeholder-input"
28749
- }, null, 44 /* STYLE, PROPS, NEED_HYDRATION */, _hoisted_2$9), [
28771
+ }, null, 44 /* STYLE, PROPS, NEED_HYDRATION */, _hoisted_2$a), [
28750
28772
  [vue.vModelDynamic, _ctx.inputValue]
28751
28773
  ])
28752
28774
  ], 4 /* STYLE */)
28753
28775
  ], 4 /* STYLE */))
28754
28776
  }
28755
28777
 
28756
- script$e.render = render$a;
28757
- script$e.__file = "src/components/UniFormInput/UniFormInput.vue";
28778
+ script$f.render = render$b;
28779
+ script$f.__file = "src/components/UniFormInput/UniFormInput.vue";
28758
28780
 
28759
- var script$d = vue.defineComponent({
28781
+ var script$e = vue.defineComponent({
28760
28782
  name: 'uni-form-submit',
28761
28783
  props: {
28762
28784
  global: {
@@ -28783,6 +28805,7 @@
28783
28805
  const host = props.env === 'prd' ? 'https://h5.unika.cc' : 'http://localhost:3001';
28784
28806
  const btName = vue.computed(() => props.element.btName || 'ส่ง'); // 提交
28785
28807
  const commonStyles = vue.computed(() => ({
28808
+ position: (props.element && props.element.css && props.element.css.position) || 'absolute',
28786
28809
  left: px2rem(props.element.css.left),
28787
28810
  top: px2rem(props.element.css.top),
28788
28811
  width: px2rem(props.element.css.width),
@@ -28856,15 +28879,15 @@
28856
28879
  }
28857
28880
  });
28858
28881
 
28859
- const _hoisted_1$8 = ["data-id"];
28860
- const _hoisted_2$8 = ["disabled"];
28861
- const _hoisted_3$8 = {
28882
+ const _hoisted_1$9 = ["data-id"];
28883
+ const _hoisted_2$9 = ["disabled"];
28884
+ const _hoisted_3$9 = {
28862
28885
  key: 0,
28863
28886
  class: "f-ovh"
28864
28887
  };
28865
- const _hoisted_4$7 = { class: "f-ovh" };
28888
+ const _hoisted_4$8 = { class: "f-ovh" };
28866
28889
 
28867
- function render$9(_ctx, _cache, $props, $setup, $data, $options) {
28890
+ function render$a(_ctx, _cache, $props, $setup, $data, $options) {
28868
28891
  return (vue.openBlock(), vue.createElementBlock("div", {
28869
28892
  class: "ele-form eles",
28870
28893
  "data-id": _ctx.element.id,
@@ -28877,19 +28900,19 @@
28877
28900
  disabled: _ctx.isSubmitting
28878
28901
  }, [
28879
28902
  (_ctx.isSubmitting)
28880
- ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$8, "กำลังส่ง..."))
28903
+ ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$9, "กำลังส่ง..."))
28881
28904
  : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
28882
28905
  vue.createCommentVNode(" 提交中 "),
28883
- vue.createElementVNode("span", _hoisted_4$7, vue.toDisplayString(_ctx.btName), 1 /* TEXT */)
28906
+ vue.createElementVNode("span", _hoisted_4$8, vue.toDisplayString(_ctx.btName), 1 /* TEXT */)
28884
28907
  ], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */))
28885
- ], 12 /* STYLE, PROPS */, _hoisted_2$8)
28886
- ], 12 /* STYLE, PROPS */, _hoisted_1$8))
28908
+ ], 12 /* STYLE, PROPS */, _hoisted_2$9)
28909
+ ], 12 /* STYLE, PROPS */, _hoisted_1$9))
28887
28910
  }
28888
28911
 
28889
- script$d.render = render$9;
28890
- script$d.__file = "src/components/UniFormSubmit/UniFormSubmit.vue";
28912
+ script$e.render = render$a;
28913
+ script$e.__file = "src/components/UniFormSubmit/UniFormSubmit.vue";
28891
28914
 
28892
- var script$c = vue.defineComponent({
28915
+ var script$d = vue.defineComponent({
28893
28916
  name: 'uni-form-select',
28894
28917
  props: {
28895
28918
  global: {
@@ -28931,6 +28954,7 @@
28931
28954
  return item ? item.label : '';
28932
28955
  });
28933
28956
  const containerStyle = vue.computed(() => ({
28957
+ position: (props.element && props.element.css && props.element.css.position) || 'absolute',
28934
28958
  fontFamily: props.element.css.fontFamily,
28935
28959
  fontSize: px2rem(props.element.css.fontSize || 0),
28936
28960
  color: hasError.value ? '#ff4d4f' : props.element.css.color,
@@ -28994,21 +29018,21 @@
28994
29018
  }
28995
29019
  });
28996
29020
 
28997
- const _hoisted_1$7 = ["data-id"];
28998
- const _hoisted_2$7 = {
29021
+ const _hoisted_1$8 = ["data-id"];
29022
+ const _hoisted_2$8 = {
28999
29023
  key: 0,
29000
29024
  class: "require"
29001
29025
  };
29002
- const _hoisted_3$7 = { class: "fs-cont" };
29003
- const _hoisted_4$6 = {
29026
+ const _hoisted_3$8 = { class: "fs-cont" };
29027
+ const _hoisted_4$7 = {
29004
29028
  value: "",
29005
29029
  disabled: "",
29006
29030
  hidden: ""
29007
29031
  };
29008
- const _hoisted_5$6 = ["value"];
29009
- const _hoisted_6$4 = ["onClick"];
29032
+ const _hoisted_5$7 = ["value"];
29033
+ const _hoisted_6$5 = ["onClick"];
29010
29034
 
29011
- function render$8(_ctx, _cache, $props, $setup, $data, $options) {
29035
+ function render$9(_ctx, _cache, $props, $setup, $data, $options) {
29012
29036
  return (vue.openBlock(), vue.createElementBlock("div", {
29013
29037
  class: vue.normalizeClass(["ele-form f-select eles", { 'has-error': _ctx.hasError }]),
29014
29038
  "data-id": _ctx.element.id,
@@ -29023,9 +29047,9 @@
29023
29047
  onClick: _cache[0] || (_cache[0] = (...args) => (_ctx.toggleDropdown && _ctx.toggleDropdown(...args)))
29024
29048
  }, [
29025
29049
  (_ctx.required)
29026
- ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$7, "*"))
29050
+ ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$8, "*"))
29027
29051
  : vue.createCommentVNode("v-if", true),
29028
- vue.createElementVNode("span", _hoisted_3$7, vue.toDisplayString(_ctx.selectedLabel || _ctx.element.title), 1 /* TEXT */),
29052
+ vue.createElementVNode("span", _hoisted_3$8, vue.toDisplayString(_ctx.selectedLabel || _ctx.element.title), 1 /* TEXT */),
29029
29053
  vue.createElementVNode("i", {
29030
29054
  class: vue.normalizeClass(["iconfont icon-bofang1", { 'rotate-180': _ctx.isOpen }])
29031
29055
  }, null, 2 /* CLASS */)
@@ -29036,12 +29060,12 @@
29036
29060
  onChange: _cache[2] || (_cache[2] = (...args) => (_ctx.handleChange && _ctx.handleChange(...args))),
29037
29061
  onBlur: _cache[3] || (_cache[3] = (...args) => (_ctx.handleBlur && _ctx.handleBlur(...args)))
29038
29062
  }, [
29039
- vue.createElementVNode("option", _hoisted_4$6, vue.toDisplayString(_ctx.element.title), 1 /* TEXT */),
29063
+ vue.createElementVNode("option", _hoisted_4$7, vue.toDisplayString(_ctx.element.title), 1 /* TEXT */),
29040
29064
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.element.items, (item) => {
29041
29065
  return (vue.openBlock(), vue.createElementBlock("option", {
29042
29066
  key: item.value,
29043
29067
  value: item.value
29044
- }, vue.toDisplayString(item.label), 9 /* TEXT, PROPS */, _hoisted_5$6))
29068
+ }, vue.toDisplayString(item.label), 9 /* TEXT, PROPS */, _hoisted_5$7))
29045
29069
  }), 128 /* KEYED_FRAGMENT */))
29046
29070
  ], 544 /* NEED_HYDRATION, NEED_PATCH */), [
29047
29071
  [vue.vModelSelect, _ctx.selectedValue]
@@ -29057,18 +29081,18 @@
29057
29081
  key: item.value,
29058
29082
  class: vue.normalizeClass(["dropdown-item", { 'selected': item.value === _ctx.selectedValue }]),
29059
29083
  onClick: $event => (_ctx.selectItem(item))
29060
- }, vue.toDisplayString(item.label), 11 /* TEXT, CLASS, PROPS */, _hoisted_6$4))
29084
+ }, vue.toDisplayString(item.label), 11 /* TEXT, CLASS, PROPS */, _hoisted_6$5))
29061
29085
  }), 128 /* KEYED_FRAGMENT */))
29062
29086
  ], 4 /* STYLE */))
29063
29087
  : vue.createCommentVNode("v-if", true)
29064
29088
  ], 4 /* STYLE */)
29065
- ], 14 /* CLASS, STYLE, PROPS */, _hoisted_1$7))
29089
+ ], 14 /* CLASS, STYLE, PROPS */, _hoisted_1$8))
29066
29090
  }
29067
29091
 
29068
- script$c.render = render$8;
29069
- script$c.__file = "src/components/UniFormSelect/UniFormSelect.vue";
29092
+ script$d.render = render$9;
29093
+ script$d.__file = "src/components/UniFormSelect/UniFormSelect.vue";
29070
29094
 
29071
- var script$b = vue.defineComponent({
29095
+ var script$c = vue.defineComponent({
29072
29096
  name: 'uni-form-single',
29073
29097
  props: {
29074
29098
  global: {
@@ -29106,6 +29130,7 @@
29106
29130
  };
29107
29131
  // 样式计算
29108
29132
  const containerStyles = vue.computed(() => ({
29133
+ position: (props.element && props.element.css && props.element.css.position) || 'absolute',
29109
29134
  fontFamily: props.element.css.fontFamily,
29110
29135
  fontSize: px2rem(props.element.css.fontSize || 0),
29111
29136
  color: hasError.value ? '#ff4d4f' : props.element.css.color,
@@ -29148,16 +29173,16 @@
29148
29173
  }
29149
29174
  });
29150
29175
 
29151
- const _hoisted_1$6 = ["data-id"];
29152
- const _hoisted_2$6 = { class: "fs-tit" };
29153
- const _hoisted_3$6 = {
29176
+ const _hoisted_1$7 = ["data-id"];
29177
+ const _hoisted_2$7 = { class: "fs-tit" };
29178
+ const _hoisted_3$7 = {
29154
29179
  key: 0,
29155
29180
  class: "require"
29156
29181
  };
29157
- const _hoisted_4$5 = ["onClick"];
29158
- const _hoisted_5$5 = ["name", "value"];
29182
+ const _hoisted_4$6 = ["onClick"];
29183
+ const _hoisted_5$6 = ["name", "value"];
29159
29184
 
29160
- function render$7(_ctx, _cache, $props, $setup, $data, $options) {
29185
+ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
29161
29186
  return (vue.openBlock(), vue.createElementBlock("div", {
29162
29187
  class: vue.normalizeClass(["ele-form f-single eles", { 'has-error': _ctx.hasError }]),
29163
29188
  "data-id": _ctx.element.id,
@@ -29167,9 +29192,9 @@
29167
29192
  class: "ani-wrap",
29168
29193
  style: vue.normalizeStyle(_ctx.innerStyles)
29169
29194
  }, [
29170
- vue.createElementVNode("div", _hoisted_2$6, [
29195
+ vue.createElementVNode("div", _hoisted_2$7, [
29171
29196
  (_ctx.required)
29172
- ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$6, "*"))
29197
+ ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$7, "*"))
29173
29198
  : vue.createCommentVNode("v-if", true),
29174
29199
  vue.createTextVNode(" " + vue.toDisplayString(_ctx.element.title), 1 /* TEXT */)
29175
29200
  ]),
@@ -29187,22 +29212,22 @@
29187
29212
  class: "fs-txt",
29188
29213
  style: vue.normalizeStyle(_ctx.itemStyles)
29189
29214
  }, vue.toDisplayString(item.label), 5 /* TEXT, STYLE */)
29190
- ], 8 /* PROPS */, _hoisted_4$5))
29215
+ ], 8 /* PROPS */, _hoisted_4$6))
29191
29216
  }), 128 /* KEYED_FRAGMENT */))
29192
29217
  ]),
29193
29218
  vue.createElementVNode("input", {
29194
29219
  type: "hidden",
29195
29220
  name: `singleselect_${_ctx.element.id}`,
29196
29221
  value: _ctx.selectedValue
29197
- }, null, 8 /* PROPS */, _hoisted_5$5)
29222
+ }, null, 8 /* PROPS */, _hoisted_5$6)
29198
29223
  ], 4 /* STYLE */)
29199
- ], 14 /* CLASS, STYLE, PROPS */, _hoisted_1$6))
29224
+ ], 14 /* CLASS, STYLE, PROPS */, _hoisted_1$7))
29200
29225
  }
29201
29226
 
29202
- script$b.render = render$7;
29203
- script$b.__file = "src/components/UniFormSingle/UniFormSingle.vue";
29227
+ script$c.render = render$8;
29228
+ script$c.__file = "src/components/UniFormSingle/UniFormSingle.vue";
29204
29229
 
29205
- var script$a = vue.defineComponent({
29230
+ var script$b = vue.defineComponent({
29206
29231
  name: 'uni-form-multiple',
29207
29232
  props: {
29208
29233
  global: {
@@ -29249,6 +29274,7 @@
29249
29274
  };
29250
29275
  // 样式计算
29251
29276
  const containerStyles = vue.computed(() => ({
29277
+ position: (props.element && props.element.css && props.element.css.position) || 'absolute',
29252
29278
  fontFamily: props.element.css.fontFamily,
29253
29279
  fontSize: px2rem(props.element.css.fontSize || 0),
29254
29280
  color: hasError.value ? '#ff4d4f' : props.element.css.color,
@@ -29292,16 +29318,16 @@
29292
29318
  }
29293
29319
  });
29294
29320
 
29295
- const _hoisted_1$5 = ["data-id"];
29296
- const _hoisted_2$5 = { class: "fs-tit" };
29297
- const _hoisted_3$5 = {
29321
+ const _hoisted_1$6 = ["data-id"];
29322
+ const _hoisted_2$6 = { class: "fs-tit" };
29323
+ const _hoisted_3$6 = {
29298
29324
  key: 0,
29299
29325
  class: "require"
29300
29326
  };
29301
- const _hoisted_4$4 = ["onClick"];
29302
- const _hoisted_5$4 = ["name", "value"];
29327
+ const _hoisted_4$5 = ["onClick"];
29328
+ const _hoisted_5$5 = ["name", "value"];
29303
29329
 
29304
- function render$6(_ctx, _cache, $props, $setup, $data, $options) {
29330
+ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
29305
29331
  return (vue.openBlock(), vue.createElementBlock("div", {
29306
29332
  class: vue.normalizeClass(["ele-form f-multiple eles", { 'has-error': _ctx.hasError }]),
29307
29333
  "data-id": _ctx.element.id,
@@ -29311,9 +29337,9 @@
29311
29337
  class: "ani-wrap",
29312
29338
  style: vue.normalizeStyle(_ctx.innerStyles)
29313
29339
  }, [
29314
- vue.createElementVNode("div", _hoisted_2$5, [
29340
+ vue.createElementVNode("div", _hoisted_2$6, [
29315
29341
  (_ctx.required)
29316
- ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$5, "*"))
29342
+ ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$6, "*"))
29317
29343
  : vue.createCommentVNode("v-if", true),
29318
29344
  vue.createTextVNode(" " + vue.toDisplayString(_ctx.element.title), 1 /* TEXT */)
29319
29345
  ]),
@@ -29331,22 +29357,22 @@
29331
29357
  class: "fs-txt",
29332
29358
  style: vue.normalizeStyle(_ctx.itemStyles)
29333
29359
  }, vue.toDisplayString(item.label), 5 /* TEXT, STYLE */)
29334
- ], 8 /* PROPS */, _hoisted_4$4))
29360
+ ], 8 /* PROPS */, _hoisted_4$5))
29335
29361
  }), 128 /* KEYED_FRAGMENT */))
29336
29362
  ]),
29337
29363
  vue.createElementVNode("input", {
29338
29364
  type: "hidden",
29339
29365
  name: `multiselect_${_ctx.element.id}`,
29340
29366
  value: _ctx.selectedValues.join(',')
29341
- }, null, 8 /* PROPS */, _hoisted_5$4)
29367
+ }, null, 8 /* PROPS */, _hoisted_5$5)
29342
29368
  ], 4 /* STYLE */)
29343
- ], 14 /* CLASS, STYLE, PROPS */, _hoisted_1$5))
29369
+ ], 14 /* CLASS, STYLE, PROPS */, _hoisted_1$6))
29344
29370
  }
29345
29371
 
29346
- script$a.render = render$6;
29347
- script$a.__file = "src/components/UniFormMultiple/UniFormMultiple.vue";
29372
+ script$b.render = render$7;
29373
+ script$b.__file = "src/components/UniFormMultiple/UniFormMultiple.vue";
29348
29374
 
29349
- var script$9 = vue.defineComponent({
29375
+ var script$a = vue.defineComponent({
29350
29376
  name: 'FormContainer',
29351
29377
  props: {
29352
29378
  autoReset: {
@@ -29370,7 +29396,7 @@
29370
29396
  }
29371
29397
  });
29372
29398
 
29373
- function render$5(_ctx, _cache, $props, $setup, $data, $options) {
29399
+ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
29374
29400
  return (vue.openBlock(), vue.createElementBlock("form", {
29375
29401
  class: "form-container",
29376
29402
  onSubmit: _cache[0] || (_cache[0] = vue.withModifiers(() => {}, ["prevent"]))
@@ -29379,10 +29405,10 @@
29379
29405
  ], 32 /* NEED_HYDRATION */))
29380
29406
  }
29381
29407
 
29382
- script$9.render = render$5;
29383
- script$9.__file = "src/components/UniFormContainer/UniFormContainer.vue";
29408
+ script$a.render = render$6;
29409
+ script$a.__file = "src/components/UniFormContainer/UniFormContainer.vue";
29384
29410
 
29385
- var script$8 = /*#__PURE__*/ vue.defineComponent({
29411
+ var script$9 = /*#__PURE__*/ vue.defineComponent({
29386
29412
  ...{ name: 'uni-menu-receipt' },
29387
29413
  __name: 'UniMenuReceipt',
29388
29414
  props: {
@@ -29412,9 +29438,9 @@
29412
29438
  }
29413
29439
  });
29414
29440
 
29415
- script$8.__file = "src/components/UniMenuReceipt/UniMenuReceipt.vue";
29441
+ script$9.__file = "src/components/UniMenuReceipt/UniMenuReceipt.vue";
29416
29442
 
29417
- var script$7 = /*#__PURE__*/ vue.defineComponent({
29443
+ var script$8 = /*#__PURE__*/ vue.defineComponent({
29418
29444
  ...{ name: 'uni-menu-video' },
29419
29445
  __name: 'UniMenuVideo',
29420
29446
  props: {
@@ -29444,9 +29470,9 @@
29444
29470
  }
29445
29471
  });
29446
29472
 
29447
- script$7.__file = "src/components/UniMenuVideo/UniMenuVideo.vue";
29473
+ script$8.__file = "src/components/UniMenuVideo/UniMenuVideo.vue";
29448
29474
 
29449
- var script$6 = /*#__PURE__*/ vue.defineComponent({
29475
+ var script$7 = /*#__PURE__*/ vue.defineComponent({
29450
29476
  ...{ name: 'uni-menu-tel' },
29451
29477
  __name: 'UniMenuTel',
29452
29478
  props: {
@@ -29476,9 +29502,9 @@
29476
29502
  }
29477
29503
  });
29478
29504
 
29479
- script$6.__file = "src/components/UniMenuTel/UniMenuTel.vue";
29505
+ script$7.__file = "src/components/UniMenuTel/UniMenuTel.vue";
29480
29506
 
29481
- var script$5 = /*#__PURE__*/ vue.defineComponent({
29507
+ var script$6 = /*#__PURE__*/ vue.defineComponent({
29482
29508
  ...{ name: 'uni-menu-map' },
29483
29509
  __name: 'UniMenuMap',
29484
29510
  props: {
@@ -29508,9 +29534,9 @@
29508
29534
  }
29509
29535
  });
29510
29536
 
29511
- script$5.__file = "src/components/UniMenuMap/UniMenuMap.vue";
29537
+ script$6.__file = "src/components/UniMenuMap/UniMenuMap.vue";
29512
29538
 
29513
- var script$4 = vue.defineComponent({
29539
+ var script$5 = vue.defineComponent({
29514
29540
  name: 'uni-menu',
29515
29541
  props: {
29516
29542
  global: {
@@ -29524,10 +29550,10 @@
29524
29550
  }
29525
29551
  },
29526
29552
  components: {
29527
- UniMenuReceipt: script$8,
29528
- UniMenuVideo: script$7,
29529
- UniMenuTel: script$6,
29530
- UniMenuMap: script$5
29553
+ UniMenuReceipt: script$9,
29554
+ UniMenuVideo: script$8,
29555
+ UniMenuTel: script$7,
29556
+ UniMenuMap: script$6
29531
29557
  },
29532
29558
  setup(props) {
29533
29559
  // 状态管理
@@ -29726,55 +29752,55 @@
29726
29752
  });
29727
29753
 
29728
29754
  const _withScopeId$1 = n => (vue.pushScopeId("data-v-5e9efd2f"),n=n(),vue.popScopeId(),n);
29729
- const _hoisted_1$4 = {
29755
+ const _hoisted_1$5 = {
29730
29756
  key: 0,
29731
29757
  id: "page-global"
29732
29758
  };
29733
- const _hoisted_2$4 = {
29759
+ const _hoisted_2$5 = {
29734
29760
  key: 1,
29735
29761
  id: "receipt-wrap",
29736
29762
  class: "v-slide"
29737
29763
  };
29738
- const _hoisted_3$4 = /*#__PURE__*/ _withScopeId$1(() => /*#__PURE__*/vue.createElementVNode("div", { class: "r-tit" }, "แบบตอบรับ", -1 /* HOISTED */));
29739
- const _hoisted_4$3 = { class: "r-cont" };
29740
- const _hoisted_5$3 = { class: "r-list" };
29741
- const _hoisted_6$3 = ["value"];
29742
- const _hoisted_7$3 = { class: "r-which" };
29743
- const _hoisted_8 = ["value"];
29744
- const _hoisted_9 = { class: "r-submit" };
29745
- const _hoisted_10 = {
29764
+ const _hoisted_3$5 = /*#__PURE__*/ _withScopeId$1(() => /*#__PURE__*/vue.createElementVNode("div", { class: "r-tit" }, "แบบตอบรับ", -1 /* HOISTED */));
29765
+ const _hoisted_4$4 = { class: "r-cont" };
29766
+ const _hoisted_5$4 = { class: "r-list" };
29767
+ const _hoisted_6$4 = ["value"];
29768
+ const _hoisted_7$4 = { class: "r-which" };
29769
+ const _hoisted_8$1 = ["value"];
29770
+ const _hoisted_9$1 = { class: "r-submit" };
29771
+ const _hoisted_10$1 = {
29746
29772
  key: 0,
29747
29773
  class: "which-select"
29748
29774
  };
29749
- const _hoisted_11 = ["onClick"];
29750
- const _hoisted_12 = {
29775
+ const _hoisted_11$1 = ["onClick"];
29776
+ const _hoisted_12$1 = {
29751
29777
  key: 1,
29752
29778
  class: "which-select"
29753
29779
  };
29754
- const _hoisted_13 = ["onClick"];
29755
- const _hoisted_14 = {
29780
+ const _hoisted_13$1 = ["onClick"];
29781
+ const _hoisted_14$1 = {
29756
29782
  key: 2,
29757
29783
  class: "tip-cover"
29758
29784
  };
29759
- const _hoisted_15 = { class: "tip" };
29760
- const _hoisted_16 = { class: "tip-content" };
29761
- const _hoisted_17 = {
29785
+ const _hoisted_15$1 = { class: "tip" };
29786
+ const _hoisted_16$1 = { class: "tip-content" };
29787
+ const _hoisted_17$1 = {
29762
29788
  key: 2,
29763
29789
  class: "global-v"
29764
29790
  };
29765
- const _hoisted_18 = /*#__PURE__*/ _withScopeId$1(() => /*#__PURE__*/vue.createElementVNode("i", { class: "iconfont icon-buoumaotubiao20" }, null, -1 /* HOISTED */));
29766
- const _hoisted_19 = [
29767
- _hoisted_18
29791
+ const _hoisted_18$1 = /*#__PURE__*/ _withScopeId$1(() => /*#__PURE__*/vue.createElementVNode("i", { class: "iconfont icon-buoumaotubiao20" }, null, -1 /* HOISTED */));
29792
+ const _hoisted_19$1 = [
29793
+ _hoisted_18$1
29768
29794
  ];
29769
- const _hoisted_20 = ["innerHTML"];
29770
- const _hoisted_21 = ["onClick"];
29771
- const _hoisted_22 = {
29795
+ const _hoisted_20$1 = ["innerHTML"];
29796
+ const _hoisted_21$1 = ["onClick"];
29797
+ const _hoisted_22$1 = {
29772
29798
  key: 4,
29773
29799
  class: "mint-toast"
29774
29800
  };
29775
- const _hoisted_23 = { class: "mint-toast-text" };
29801
+ const _hoisted_23$1 = { class: "mint-toast-text" };
29776
29802
 
29777
- function render$4(_ctx, _cache, $props, $setup, $data, $options) {
29803
+ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
29778
29804
  const _component_uni_menu_receipt = vue.resolveComponent("uni-menu-receipt");
29779
29805
  const _component_uni_menu_video = vue.resolveComponent("uni-menu-video");
29780
29806
  const _component_uni_menu_tel = vue.resolveComponent("uni-menu-tel");
@@ -29783,7 +29809,7 @@
29783
29809
  return (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
29784
29810
  vue.createCommentVNode(" 主按钮组 "),
29785
29811
  (_ctx.showGlobalButtons)
29786
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$4, [
29812
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$5, [
29787
29813
  vue.createVNode(_component_uni_menu_receipt, {
29788
29814
  global: _ctx.global,
29789
29815
  onClick: _cache[0] || (_cache[0] = $event => (_ctx.showReceiptForm = true))
@@ -29804,15 +29830,15 @@
29804
29830
  : vue.createCommentVNode("v-if", true),
29805
29831
  vue.createCommentVNode(" 回执表单 "),
29806
29832
  (_ctx.showReceiptForm)
29807
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$4, [
29833
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$5, [
29808
29834
  vue.createElementVNode("i", {
29809
29835
  class: "iconfont icon-guanbi",
29810
29836
  onClick: _cache[3] || (_cache[3] = (...args) => (_ctx.closeReceipt && _ctx.closeReceipt(...args)))
29811
29837
  }),
29812
- _hoisted_3$4,
29838
+ _hoisted_3$5,
29813
29839
  vue.createCommentVNode(" 宾客回执 "),
29814
- vue.createElementVNode("div", _hoisted_4$3, [
29815
- vue.createElementVNode("ul", _hoisted_5$3, [
29840
+ vue.createElementVNode("div", _hoisted_4$4, [
29841
+ vue.createElementVNode("ul", _hoisted_5$4, [
29816
29842
  vue.createElementVNode("li", null, [
29817
29843
  vue.withDirectives(vue.createElementVNode("input", {
29818
29844
  "onUpdate:modelValue": _cache[4] || (_cache[4] = $event => ((_ctx.receiptForm.guestName) = $event)),
@@ -29831,15 +29857,15 @@
29831
29857
  value: _ctx.selectedPeopleLabel,
29832
29858
  class: "r-input",
29833
29859
  onClick: _cache[5] || (_cache[5] = $event => (_ctx.showPeopleSelect = true))
29834
- }, null, 8 /* PROPS */, _hoisted_6$3)
29860
+ }, null, 8 /* PROPS */, _hoisted_6$4)
29835
29861
  ]),
29836
- vue.createElementVNode("li", _hoisted_7$3, [
29862
+ vue.createElementVNode("li", _hoisted_7$4, [
29837
29863
  vue.createElementVNode("input", {
29838
29864
  readonly: "",
29839
29865
  value: _ctx.selectedWhichLabel,
29840
29866
  class: "r-input",
29841
29867
  onClick: _cache[6] || (_cache[6] = $event => (_ctx.showWhichSelect = true))
29842
- }, null, 8 /* PROPS */, _hoisted_8)
29868
+ }, null, 8 /* PROPS */, _hoisted_8$1)
29843
29869
  ]),
29844
29870
  vue.createElementVNode("li", null, [
29845
29871
  vue.withDirectives(vue.createElementVNode("input", {
@@ -29853,7 +29879,7 @@
29853
29879
  ]),
29854
29880
  vue.createCommentVNode(" 手机号码 ")
29855
29881
  ]),
29856
- vue.createElementVNode("li", _hoisted_9, [
29882
+ vue.createElementVNode("li", _hoisted_9$1, [
29857
29883
  vue.createElementVNode("button", {
29858
29884
  class: "r-btn",
29859
29885
  onClick: _cache[8] || (_cache[8] = (...args) => (_ctx.submitReceipt && _ctx.submitReceipt(...args)))
@@ -29864,35 +29890,35 @@
29864
29890
  ]),
29865
29891
  vue.createCommentVNode(" 选择人数 "),
29866
29892
  (_ctx.showPeopleSelect)
29867
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10, [
29893
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10$1, [
29868
29894
  vue.createElementVNode("ul", null, [
29869
29895
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.peopleOptions, (item) => {
29870
29896
  return (vue.openBlock(), vue.createElementBlock("li", {
29871
29897
  key: item,
29872
29898
  onClick: $event => (_ctx.selectPeople(item))
29873
- }, vue.toDisplayString(item), 9 /* TEXT, PROPS */, _hoisted_11))
29899
+ }, vue.toDisplayString(item), 9 /* TEXT, PROPS */, _hoisted_11$1))
29874
29900
  }), 128 /* KEYED_FRAGMENT */))
29875
29901
  ])
29876
29902
  ]))
29877
29903
  : vue.createCommentVNode("v-if", true),
29878
29904
  vue.createCommentVNode(" 选择男方/女方 "),
29879
29905
  (_ctx.showWhichSelect)
29880
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12, [
29906
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12$1, [
29881
29907
  vue.createElementVNode("ul", null, [
29882
29908
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.global.receipt.whichList, (item) => {
29883
29909
  return (vue.openBlock(), vue.createElementBlock("li", {
29884
29910
  key: item.label,
29885
29911
  onClick: $event => (_ctx.selectWhich(item))
29886
- }, vue.toDisplayString(item.label), 9 /* TEXT, PROPS */, _hoisted_13))
29912
+ }, vue.toDisplayString(item.label), 9 /* TEXT, PROPS */, _hoisted_13$1))
29887
29913
  }), 128 /* KEYED_FRAGMENT */))
29888
29914
  ])
29889
29915
  ]))
29890
29916
  : vue.createCommentVNode("v-if", true),
29891
29917
  vue.createCommentVNode(" 提示信息 "),
29892
29918
  (_ctx.showTip)
29893
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_14, [
29894
- vue.createElementVNode("div", _hoisted_15, [
29895
- vue.createElementVNode("div", _hoisted_16, vue.toDisplayString(_ctx.tipMessage), 1 /* TEXT */),
29919
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_14$1, [
29920
+ vue.createElementVNode("div", _hoisted_15$1, [
29921
+ vue.createElementVNode("div", _hoisted_16$1, vue.toDisplayString(_ctx.tipMessage), 1 /* TEXT */),
29896
29922
  vue.createElementVNode("div", {
29897
29923
  class: "tip-btn",
29898
29924
  onClick: _cache[9] || (_cache[9] = $event => (_ctx.showTip = false))
@@ -29905,15 +29931,15 @@
29905
29931
  : vue.createCommentVNode("v-if", true),
29906
29932
  vue.createCommentVNode(" 视频播放 "),
29907
29933
  (_ctx.showVideoPlayer)
29908
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_17, [
29934
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_17$1, [
29909
29935
  vue.createElementVNode("div", {
29910
29936
  id: "close-gvideo",
29911
29937
  onClick: _cache[10] || (_cache[10] = (...args) => (_ctx.closeVideo && _ctx.closeVideo(...args)))
29912
- }, [..._hoisted_19]),
29938
+ }, [..._hoisted_19$1]),
29913
29939
  vue.createElementVNode("div", {
29914
29940
  class: "global-v-show",
29915
29941
  innerHTML: _ctx.global.video.url
29916
- }, null, 8 /* PROPS */, _hoisted_20)
29942
+ }, null, 8 /* PROPS */, _hoisted_20$1)
29917
29943
  ]))
29918
29944
  : vue.createCommentVNode("v-if", true),
29919
29945
  vue.createCommentVNode(" 拨号选择 "),
@@ -29928,49 +29954,49 @@
29928
29954
  return (vue.openBlock(), vue.createElementBlock("li", {
29929
29955
  key: item.value || item.label,
29930
29956
  onClick: $event => (_ctx.makeCall(item))
29931
- }, vue.toDisplayString(item.label), 9 /* TEXT, PROPS */, _hoisted_21))
29957
+ }, vue.toDisplayString(item.label), 9 /* TEXT, PROPS */, _hoisted_21$1))
29932
29958
  }), 128 /* KEYED_FRAGMENT */))
29933
29959
  ])
29934
29960
  ]))
29935
29961
  : vue.createCommentVNode("v-if", true),
29936
29962
  vue.createCommentVNode(" 提交结果提示 "),
29937
29963
  (_ctx.showToast)
29938
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_22, [
29964
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_22$1, [
29939
29965
  vue.createElementVNode("i", {
29940
29966
  class: vue.normalizeClass(["iconfont", _ctx.toastIcon]),
29941
29967
  style: {"font-size":"50px","margin-bottom":"5px"}
29942
29968
  }, null, 2 /* CLASS */),
29943
- vue.createElementVNode("div", _hoisted_23, vue.toDisplayString(_ctx.toastMessage), 1 /* TEXT */)
29969
+ vue.createElementVNode("div", _hoisted_23$1, vue.toDisplayString(_ctx.toastMessage), 1 /* TEXT */)
29944
29970
  ]))
29945
29971
  : vue.createCommentVNode("v-if", true)
29946
29972
  ], 64 /* STABLE_FRAGMENT */))
29947
29973
  }
29948
29974
 
29949
- script$4.render = render$4;
29950
- script$4.__scopeId = "data-v-5e9efd2f";
29951
- script$4.__file = "src/components/UniMenu/UniMenu.vue";
29975
+ script$5.render = render$5;
29976
+ script$5.__scopeId = "data-v-5e9efd2f";
29977
+ script$5.__file = "src/components/UniMenu/UniMenu.vue";
29952
29978
 
29953
- var script$3 = vue.defineComponent({
29979
+ var script$4 = vue.defineComponent({
29954
29980
  name: 'UniWatermark'
29955
29981
  });
29956
29982
 
29957
29983
  const _withScopeId = n => (vue.pushScopeId("data-v-0f2e9262"),n=n(),vue.popScopeId(),n);
29958
- const _hoisted_1$3 = {
29984
+ const _hoisted_1$4 = {
29959
29985
  class: "unika-watermark",
29960
29986
  "aria-hidden": "true"
29961
29987
  };
29962
- const _hoisted_2$3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/vue.createElementVNode("div", { class: "unika-watermark-pattern" }, null, -1 /* HOISTED */));
29963
- const _hoisted_3$3 = [
29964
- _hoisted_2$3
29988
+ const _hoisted_2$4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/vue.createElementVNode("div", { class: "unika-watermark-pattern" }, null, -1 /* HOISTED */));
29989
+ const _hoisted_3$4 = [
29990
+ _hoisted_2$4
29965
29991
  ];
29966
29992
 
29967
- function render$3(_ctx, _cache, $props, $setup, $data, $options) {
29968
- return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$3, [..._hoisted_3$3]))
29993
+ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
29994
+ return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$4, [..._hoisted_3$4]))
29969
29995
  }
29970
29996
 
29971
- script$3.render = render$3;
29972
- script$3.__scopeId = "data-v-0f2e9262";
29973
- script$3.__file = "src/components/UniWatermark/UniWatermark.vue";
29997
+ script$4.render = render$4;
29998
+ script$4.__scopeId = "data-v-0f2e9262";
29999
+ script$4.__file = "src/components/UniWatermark/UniWatermark.vue";
29974
30000
 
29975
30001
  /**
29976
30002
  * 应用文字动画 - 用于 WorkRender/H5 等场景
@@ -30252,30 +30278,30 @@
30252
30278
  return merged;
30253
30279
  }
30254
30280
 
30255
- var script$2 = vue.defineComponent({
30281
+ var script$3 = vue.defineComponent({
30256
30282
  name: 'WorkRenderH5',
30257
30283
  components: {
30258
- UniMusic: script$o,
30259
- UniText: script$r,
30260
- UniImage: script$q,
30261
- UniShape: script$p,
30262
- UniCalendar: script$m,
30263
- UniMap: script$k,
30264
- UniCountdown: script$l,
30265
- UniEffect: script$i,
30266
- UniVideo: script$n,
30267
- UniCall: script$j,
30268
- UniFormInput: script$e,
30269
- UniFormSubmit: script$d,
30270
- UniFormSelect: script$c,
30271
- UniFormMultiple: script$a,
30272
- UniFormSingle: script$b,
30273
- UniFormContainer: script$9,
30274
- UniBarrage: script$f,
30275
- UniMenu: script$4,
30276
- UniLottie: script$h,
30277
- UniButton: script$g,
30278
- UniWatermark: script$3,
30284
+ UniMusic: script$p,
30285
+ UniText: script$s,
30286
+ UniImage: script$r,
30287
+ UniShape: script$q,
30288
+ UniCalendar: script$n,
30289
+ UniMap: script$l,
30290
+ UniCountdown: script$m,
30291
+ UniEffect: script$j,
30292
+ UniVideo: script$o,
30293
+ UniCall: script$k,
30294
+ UniFormInput: script$f,
30295
+ UniFormSubmit: script$e,
30296
+ UniFormSelect: script$d,
30297
+ UniFormMultiple: script$b,
30298
+ UniFormSingle: script$c,
30299
+ UniFormContainer: script$a,
30300
+ UniBarrage: script$g,
30301
+ UniMenu: script$5,
30302
+ UniLottie: script$i,
30303
+ UniButton: script$h,
30304
+ UniWatermark: script$4,
30279
30305
  },
30280
30306
  props: {
30281
30307
  workData: {
@@ -30539,27 +30565,27 @@
30539
30565
  }
30540
30566
  });
30541
30567
 
30542
- const _hoisted_1$2 = {
30568
+ const _hoisted_1$3 = {
30543
30569
  id: "index",
30544
30570
  ref: "container"
30545
30571
  };
30546
- const _hoisted_2$2 = {
30572
+ const _hoisted_2$3 = {
30547
30573
  id: "page-list",
30548
30574
  style: {"max-width":"800px"}
30549
30575
  };
30550
- const _hoisted_3$2 = { class: "page-wrap" };
30551
- const _hoisted_4$2 = ["data-type"];
30552
- const _hoisted_5$2 = { class: "ele-wrap" };
30553
- const _hoisted_6$2 = { class: "tip-content" };
30554
- const _hoisted_7$2 = /*#__PURE__*/vue.createElementVNode("div", { class: "tip-btn" }, "OK", -1 /* HOISTED */);
30576
+ const _hoisted_3$3 = { class: "page-wrap" };
30577
+ const _hoisted_4$3 = ["data-type"];
30578
+ const _hoisted_5$3 = { class: "ele-wrap" };
30579
+ const _hoisted_6$3 = { class: "tip-content" };
30580
+ const _hoisted_7$3 = /*#__PURE__*/vue.createElementVNode("div", { class: "tip-btn" }, "OK", -1 /* HOISTED */);
30555
30581
 
30556
- function render$2(_ctx, _cache, $props, $setup, $data, $options) {
30582
+ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
30557
30583
  const _component_UniMusic = vue.resolveComponent("UniMusic");
30558
30584
  const _component_UniBarrage = vue.resolveComponent("UniBarrage");
30559
30585
  const _component_UniMenu = vue.resolveComponent("UniMenu");
30560
30586
  const _component_UniWatermark = vue.resolveComponent("UniWatermark");
30561
30587
 
30562
- return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$2, [
30588
+ return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$3, [
30563
30589
  vue.createCommentVNode(" 背景音乐 "),
30564
30590
  (_ctx.global.music.url)
30565
30591
  ? (vue.openBlock(), vue.createBlock(_component_UniMusic, {
@@ -30570,7 +30596,7 @@
30570
30596
  }, null, 8 /* PROPS */, ["music-data"]))
30571
30597
  : vue.createCommentVNode("v-if", true),
30572
30598
  vue.createCommentVNode(" 页面切换器 "),
30573
- vue.createElementVNode("div", _hoisted_2$2, [
30599
+ vue.createElementVNode("div", _hoisted_2$3, [
30574
30600
  vue.createVNode(vue.TransitionGroup, {
30575
30601
  name: _ctx.currentTransition,
30576
30602
  tag: "div",
@@ -30585,7 +30611,7 @@
30585
30611
  key: page.pageId,
30586
30612
  class: vue.normalizeClass(["page-item", { 'current': _ctx.currentPageId === page.pageId }])
30587
30613
  }, [
30588
- vue.createElementVNode("div", _hoisted_3$2, [
30614
+ vue.createElementVNode("div", _hoisted_3$3, [
30589
30615
  vue.createElementVNode("div", {
30590
30616
  "data-type": page.type,
30591
30617
  class: vue.normalizeClass(['scroll-wrap', page.type === 'long' ? 'scroll-long' : 'scroll-normal']),
@@ -30610,7 +30636,7 @@
30610
30636
  })
30611
30637
  }, null, 4 /* STYLE */)
30612
30638
  ], 4 /* STYLE */),
30613
- vue.createElementVNode("div", _hoisted_5$2, [
30639
+ vue.createElementVNode("div", _hoisted_5$3, [
30614
30640
  (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(page.elements.some(el => el.type === 'form-submit') ? 'UniFormContainer' : 'div'), vue.normalizeProps(vue.guardReactiveProps(page.elements.some(el => el.type === 'form-submit') ? { autoReset: true } : {})), {
30615
30641
  default: vue.withCtx(() => [
30616
30642
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(page.elements, (element) => {
@@ -30634,7 +30660,7 @@
30634
30660
  _: 2 /* DYNAMIC */
30635
30661
  }, 1040 /* FULL_PROPS, DYNAMIC_SLOTS */))
30636
30662
  ])
30637
- ], 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_4$2)
30663
+ ], 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_4$3)
30638
30664
  ])
30639
30665
  ], 2 /* CLASS */)), [
30640
30666
  [vue.vShow, _ctx.currentPageId === page.pageId]
@@ -30653,8 +30679,8 @@
30653
30679
  vue.createElementVNode("div", {
30654
30680
  class: vue.normalizeClass(["tip", { 'success': _ctx.messageType === 'success', 'error': _ctx.messageType === 'error' }])
30655
30681
  }, [
30656
- vue.createElementVNode("div", _hoisted_6$2, vue.toDisplayString(_ctx.messageText), 1 /* TEXT */),
30657
- _hoisted_7$2
30682
+ vue.createElementVNode("div", _hoisted_6$3, vue.toDisplayString(_ctx.messageText), 1 /* TEXT */),
30683
+ _hoisted_7$3
30658
30684
  ], 2 /* CLASS */)
30659
30685
  ]))
30660
30686
  : vue.createCommentVNode("v-if", true)
@@ -30667,37 +30693,37 @@
30667
30693
  ], 512 /* NEED_PATCH */))
30668
30694
  }
30669
30695
 
30670
- script$2.render = render$2;
30671
- script$2.__file = "src/components/WorkRenderH5/WorkRenderH5.vue";
30696
+ script$3.render = render$3;
30697
+ script$3.__file = "src/components/WorkRenderH5/WorkRenderH5.vue";
30672
30698
 
30673
- script$2.install = (app) => {
30674
- app.component(script$2.name, script$2);
30699
+ script$3.install = (app) => {
30700
+ app.component(script$3.name, script$3);
30675
30701
  };
30676
30702
 
30677
- var script$1 = vue.defineComponent({
30703
+ var script$2 = vue.defineComponent({
30678
30704
  name: 'WorkRenderLong',
30679
30705
  components: {
30680
- UniMusic: script$o,
30681
- UniText: script$r,
30682
- UniImage: script$q,
30683
- UniShape: script$p,
30684
- UniCalendar: script$m,
30685
- UniMap: script$k,
30686
- UniCountdown: script$l,
30687
- UniEffect: script$i,
30688
- UniVideo: script$n,
30689
- UniCall: script$j,
30690
- UniFormInput: script$e,
30691
- UniFormSubmit: script$d,
30692
- UniFormSelect: script$c,
30693
- UniFormMultiple: script$a,
30694
- UniFormSingle: script$b,
30695
- UniFormContainer: script$9,
30696
- UniBarrage: script$f,
30697
- UniMenu: script$4,
30698
- UniLottie: script$h,
30699
- UniButton: script$g,
30700
- UniWatermark: script$3,
30706
+ UniMusic: script$p,
30707
+ UniText: script$s,
30708
+ UniImage: script$r,
30709
+ UniShape: script$q,
30710
+ UniCalendar: script$n,
30711
+ UniMap: script$l,
30712
+ UniCountdown: script$m,
30713
+ UniEffect: script$j,
30714
+ UniVideo: script$o,
30715
+ UniCall: script$k,
30716
+ UniFormInput: script$f,
30717
+ UniFormSubmit: script$e,
30718
+ UniFormSelect: script$d,
30719
+ UniFormMultiple: script$b,
30720
+ UniFormSingle: script$c,
30721
+ UniFormContainer: script$a,
30722
+ UniBarrage: script$g,
30723
+ UniMenu: script$5,
30724
+ UniLottie: script$i,
30725
+ UniButton: script$h,
30726
+ UniWatermark: script$4,
30701
30727
  },
30702
30728
  props: {
30703
30729
  workData: {
@@ -31047,28 +31073,28 @@
31047
31073
  }
31048
31074
  });
31049
31075
 
31050
- const _hoisted_1$1 = {
31076
+ const _hoisted_1$2 = {
31051
31077
  id: "index",
31052
31078
  ref: "container"
31053
31079
  };
31054
- const _hoisted_2$1 = { id: "page-list" };
31055
- const _hoisted_3$1 = { class: "page-item current" };
31056
- const _hoisted_4$1 = { class: "page-wrap showAniEle" };
31057
- const _hoisted_5$1 = {
31080
+ const _hoisted_2$2 = { id: "page-list" };
31081
+ const _hoisted_3$2 = { class: "page-item current" };
31082
+ const _hoisted_4$2 = { class: "page-wrap showAniEle" };
31083
+ const _hoisted_5$2 = {
31058
31084
  class: "ele-wrap",
31059
31085
  style: {"position":"absolute"}
31060
31086
  };
31061
- const _hoisted_6$1 = { class: "tip-content" };
31062
- const _hoisted_7$1 = /*#__PURE__*/vue.createElementVNode("div", { class: "tip-btn" }, "OK", -1 /* HOISTED */);
31087
+ const _hoisted_6$2 = { class: "tip-content" };
31088
+ const _hoisted_7$2 = /*#__PURE__*/vue.createElementVNode("div", { class: "tip-btn" }, "OK", -1 /* HOISTED */);
31063
31089
 
31064
- function render$1(_ctx, _cache, $props, $setup, $data, $options) {
31090
+ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
31065
31091
  const _component_UniMusic = vue.resolveComponent("UniMusic");
31066
31092
  const _component_UniFormContainer = vue.resolveComponent("UniFormContainer");
31067
31093
  const _component_UniBarrage = vue.resolveComponent("UniBarrage");
31068
31094
  const _component_UniMenu = vue.resolveComponent("UniMenu");
31069
31095
  const _component_UniWatermark = vue.resolveComponent("UniWatermark");
31070
31096
 
31071
- return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1, [
31097
+ return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$2, [
31072
31098
  vue.createCommentVNode(" 背景音乐组件 "),
31073
31099
  (_ctx.global && _ctx.global.music && _ctx.global.music.url)
31074
31100
  ? (vue.openBlock(), vue.createBlock(_component_UniMusic, {
@@ -31079,9 +31105,9 @@
31079
31105
  }, null, 8 /* PROPS */, ["music-data"]))
31080
31106
  : vue.createCommentVNode("v-if", true),
31081
31107
  vue.createCommentVNode(" 页面容器 "),
31082
- vue.createElementVNode("div", _hoisted_2$1, [
31083
- vue.createElementVNode("div", _hoisted_3$1, [
31084
- vue.createElementVNode("div", _hoisted_4$1, [
31108
+ vue.createElementVNode("div", _hoisted_2$2, [
31109
+ vue.createElementVNode("div", _hoisted_3$2, [
31110
+ vue.createElementVNode("div", _hoisted_4$2, [
31085
31111
  vue.createElementVNode("div", {
31086
31112
  "data-type": "long",
31087
31113
  class: "scroll-wrap scroll-long",
@@ -31111,7 +31137,7 @@
31111
31137
  }, null, 4 /* STYLE */)
31112
31138
  ], 4 /* STYLE */),
31113
31139
  vue.createCommentVNode(" 页面元素容器 "),
31114
- vue.createElementVNode("div", _hoisted_5$1, [
31140
+ vue.createElementVNode("div", _hoisted_5$2, [
31115
31141
  (_ctx.page.elements.some(el => el.type === 'form-submit'))
31116
31142
  ? (vue.openBlock(), vue.createBlock(_component_UniFormContainer, {
31117
31143
  key: 0,
@@ -31170,8 +31196,8 @@
31170
31196
  vue.createElementVNode("div", {
31171
31197
  class: vue.normalizeClass(["tip", { 'success': _ctx.messageType === 'success', 'error': _ctx.messageType === 'error' }])
31172
31198
  }, [
31173
- vue.createElementVNode("div", _hoisted_6$1, vue.toDisplayString(_ctx.messageText), 1 /* TEXT */),
31174
- _hoisted_7$1
31199
+ vue.createElementVNode("div", _hoisted_6$2, vue.toDisplayString(_ctx.messageText), 1 /* TEXT */),
31200
+ _hoisted_7$2
31175
31201
  ], 2 /* CLASS */)
31176
31202
  ]))
31177
31203
  : vue.createCommentVNode("v-if", true)
@@ -31185,37 +31211,353 @@
31185
31211
  ], 512 /* NEED_PATCH */))
31186
31212
  }
31187
31213
 
31188
- script$1.render = render$1;
31189
- script$1.__file = "src/components/WorkRenderLong/WorkRenderLong.vue";
31214
+ script$2.render = render$2;
31215
+ script$2.__file = "src/components/WorkRenderLong/WorkRenderLong.vue";
31190
31216
 
31191
- script$1.install = (app) => {
31192
- app.component(script$1.name, script$1);
31217
+ script$2.install = (app) => {
31218
+ app.component(script$2.name, script$2);
31193
31219
  };
31194
31220
 
31221
+ function isValidInviteItem(item) {
31222
+ return !!(item && item.img1 && item.name);
31223
+ }
31224
+ /** 根据 URL state 从 global.invite 解析单条送呈渲染数据 */
31225
+ function resolveInviteRenderData(invite, stateId) {
31226
+ if (!stateId || !invite || !invite.open)
31227
+ return null;
31228
+ const items = invite.items || [];
31229
+ const item = items.find((i) => i.id === stateId);
31230
+ if (!isValidInviteItem(item))
31231
+ return null;
31232
+ return {
31233
+ titleChars: invite.titleChars,
31234
+ item: item,
31235
+ };
31236
+ }
31237
+ /** 从 global.invite.renderItem 得到 UniInvite 渲染数据 */
31238
+ function getInviteRenderFromGlobal(invite) {
31239
+ if (!invite || !invite.open || !invite.renderItem)
31240
+ return null;
31241
+ if (!isValidInviteItem(invite.renderItem))
31242
+ return null;
31243
+ return {
31244
+ titleChars: invite.titleChars,
31245
+ item: invite.renderItem,
31246
+ };
31247
+ }
31248
+ /**
31249
+ * h5-server:根据 ?state= 将解析结果写入 global.invite.renderItem(不修改 items)
31250
+ */
31251
+ function applyInviteStateToGlobal(global, stateId) {
31252
+ const invite = global.invite;
31253
+ if (!invite)
31254
+ return global;
31255
+ const resolved = resolveInviteRenderData(invite, stateId);
31256
+ return {
31257
+ ...global,
31258
+ invite: {
31259
+ ...invite,
31260
+ renderItem: resolved && resolved.item ? resolved.item : null,
31261
+ },
31262
+ };
31263
+ }
31264
+
31265
+ /**
31266
+ * 送呈显示逻辑:
31267
+ * - 每次进入/刷新页面都显示
31268
+ * - 点击打开后当前页不再显示
31269
+ * - 刷新 URL 后重新显示(不使用 localStorage)
31270
+ */
31271
+ function useInviteManager() {
31272
+ const isDismissed = vue.ref(false);
31273
+ const shouldShow = vue.computed(() => !isDismissed.value);
31274
+ const dismiss = () => {
31275
+ isDismissed.value = true;
31276
+ };
31277
+ const reset = () => {
31278
+ isDismissed.value = false;
31279
+ };
31280
+ return {
31281
+ isDismissed,
31282
+ shouldShow,
31283
+ dismiss,
31284
+ reset,
31285
+ };
31286
+ }
31287
+
31288
+ /** 各 layout 点击打开动画结束后隐藏(ms) */
31289
+ const DISMISS_DELAY = {
31290
+ type1: 2800,
31291
+ type2: 2200,
31292
+ type3: 2400,
31293
+ type4: 2400,
31294
+ type5: 2800,
31295
+ type6: 2500,
31296
+ };
31297
+ function getInviteDismissDelay(layout = 'type2') {
31298
+ const delay = DISMISS_DELAY[layout];
31299
+ return delay != null ? delay : DISMISS_DELAY.type2;
31300
+ }
31301
+
31302
+ var script$1 = vue.defineComponent({
31303
+ name: 'uni-invite',
31304
+ props: {
31305
+ inviteRender: {
31306
+ type: Object,
31307
+ default: null,
31308
+ },
31309
+ sceneId: {
31310
+ type: String,
31311
+ default: '',
31312
+ },
31313
+ forceShow: {
31314
+ type: Boolean,
31315
+ default: false,
31316
+ },
31317
+ preview: {
31318
+ type: Boolean,
31319
+ default: false,
31320
+ },
31321
+ },
31322
+ emits: ['dismiss', 'click'],
31323
+ setup(props, { emit }) {
31324
+ const { shouldShow, dismiss } = useInviteManager();
31325
+ const isOpening = vue.ref(false);
31326
+ const item = vue.computed(() => {
31327
+ if (!props.inviteRender || !props.inviteRender.item)
31328
+ return null;
31329
+ return props.inviteRender.item;
31330
+ });
31331
+ const layoutType = vue.computed(() => {
31332
+ return item.value && item.value.layout ? item.value.layout : 'type2';
31333
+ });
31334
+ const titleChars = vue.computed(() => {
31335
+ if (props.inviteRender && props.inviteRender.titleChars) {
31336
+ return props.inviteRender.titleChars;
31337
+ }
31338
+ return ['บัตร', 'เชิญ'];
31339
+ });
31340
+ const inviteStyle = vue.computed(() => ({
31341
+ fontFamily: item.value && item.value.fontFamily ? item.value.fontFamily : 'inherit',
31342
+ color: item.value && item.value.fontColor ? item.value.fontColor : 'rgb(255, 244, 205)',
31343
+ }));
31344
+ const visible = vue.computed(() => {
31345
+ if (!isValidInviteItem(item.value))
31346
+ return false;
31347
+ if (props.forceShow)
31348
+ return true;
31349
+ return shouldShow.value;
31350
+ });
31351
+ const handleClick = () => {
31352
+ if (props.forceShow || props.preview) {
31353
+ emit('click');
31354
+ return;
31355
+ }
31356
+ if (isOpening.value)
31357
+ return;
31358
+ isOpening.value = true;
31359
+ const delay = getInviteDismissDelay(layoutType.value);
31360
+ window.setTimeout(() => {
31361
+ dismiss();
31362
+ emit('dismiss');
31363
+ }, delay);
31364
+ };
31365
+ return {
31366
+ visible,
31367
+ isOpening,
31368
+ layoutType,
31369
+ titleChars,
31370
+ inviteStyle,
31371
+ item,
31372
+ handleClick,
31373
+ };
31374
+ },
31375
+ });
31376
+
31377
+ const _hoisted_1$1 = ["src"];
31378
+ const _hoisted_2$1 = { class: "top-ani" };
31379
+ const _hoisted_3$1 = ["src"];
31380
+ const _hoisted_4$1 = { class: "title" };
31381
+ const _hoisted_5$1 = ["src"];
31382
+ const _hoisted_6$1 = { class: "name" };
31383
+ const _hoisted_7$1 = { class: "content" };
31384
+ const _hoisted_8 = /*#__PURE__*/vue.createElementVNode("span", null, "—", -1 /* HOISTED */);
31385
+ const _hoisted_9 = /*#__PURE__*/vue.createElementVNode("span", null, "—", -1 /* HOISTED */);
31386
+ const _hoisted_10 = ["src"];
31387
+ const _hoisted_11 = ["src"];
31388
+ const _hoisted_12 = { class: "right-ani" };
31389
+ const _hoisted_13 = ["src"];
31390
+ const _hoisted_14 = { class: "title" };
31391
+ const _hoisted_15 = { class: "name" };
31392
+ const _hoisted_16 = { class: "content" };
31393
+ const _hoisted_17 = ["src"];
31394
+ const _hoisted_18 = ["src"];
31395
+ const _hoisted_19 = { class: "top-ani" };
31396
+ const _hoisted_20 = ["src"];
31397
+ const _hoisted_21 = { class: "title" };
31398
+ const _hoisted_22 = ["src"];
31399
+ const _hoisted_23 = { class: "name" };
31400
+ const _hoisted_24 = { class: "content" };
31401
+ const _hoisted_25 = /*#__PURE__*/vue.createElementVNode("span", null, "—", -1 /* HOISTED */);
31402
+ const _hoisted_26 = /*#__PURE__*/vue.createElementVNode("span", null, "—", -1 /* HOISTED */);
31403
+ const _hoisted_27 = ["src"];
31404
+
31405
+ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
31406
+ return (_ctx.visible && _ctx.item)
31407
+ ? (vue.openBlock(), vue.createElementBlock("div", {
31408
+ key: 0,
31409
+ id: "invite",
31410
+ class: vue.normalizeClass({ 'uni-invite--preview': _ctx.preview }),
31411
+ style: vue.normalizeStyle(_ctx.inviteStyle),
31412
+ onClick: _cache[0] || (_cache[0] = (...args) => (_ctx.handleClick && _ctx.handleClick(...args)))
31413
+ }, [
31414
+ vue.createCommentVNode(" type2:上下翻页(默认) "),
31415
+ (_ctx.layoutType === 'type2')
31416
+ ? (vue.openBlock(), vue.createElementBlock("div", {
31417
+ key: 0,
31418
+ class: vue.normalizeClass(["type2", { active: _ctx.isOpening }])
31419
+ }, [
31420
+ vue.createElementVNode("img", {
31421
+ src: _ctx.item.img1,
31422
+ alt: "",
31423
+ class: "img1"
31424
+ }, null, 8 /* PROPS */, _hoisted_1$1),
31425
+ vue.createElementVNode("div", _hoisted_2$1, [
31426
+ vue.createElementVNode("img", {
31427
+ src: _ctx.item.img2,
31428
+ alt: "",
31429
+ class: "img2"
31430
+ }, null, 8 /* PROPS */, _hoisted_3$1),
31431
+ vue.createElementVNode("div", _hoisted_4$1, [
31432
+ vue.createElementVNode("span", null, vue.toDisplayString(_ctx.titleChars[0]), 1 /* TEXT */),
31433
+ vue.createElementVNode("span", null, vue.toDisplayString(_ctx.titleChars[1]), 1 /* TEXT */)
31434
+ ]),
31435
+ (_ctx.item.divider)
31436
+ ? (vue.openBlock(), vue.createElementBlock("img", {
31437
+ key: 0,
31438
+ src: _ctx.item.divider,
31439
+ alt: "",
31440
+ class: "divider"
31441
+ }, null, 8 /* PROPS */, _hoisted_5$1))
31442
+ : vue.createCommentVNode("v-if", true),
31443
+ vue.createElementVNode("div", _hoisted_6$1, vue.toDisplayString(_ctx.item.name), 1 /* TEXT */)
31444
+ ]),
31445
+ vue.createElementVNode("div", _hoisted_7$1, [
31446
+ _hoisted_8,
31447
+ vue.createTextVNode(" " + vue.toDisplayString(_ctx.item.phrase) + " ", 1 /* TEXT */),
31448
+ _hoisted_9
31449
+ ]),
31450
+ vue.createElementVNode("img", {
31451
+ src: _ctx.item.img3,
31452
+ alt: "",
31453
+ class: "img3"
31454
+ }, null, 8 /* PROPS */, _hoisted_10)
31455
+ ], 2 /* CLASS */))
31456
+ : (_ctx.layoutType === 'type3')
31457
+ ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
31458
+ vue.createCommentVNode(" type3:右侧竖排翻页 "),
31459
+ vue.createElementVNode("div", {
31460
+ class: vue.normalizeClass(["type3", { active: _ctx.isOpening }])
31461
+ }, [
31462
+ vue.createElementVNode("img", {
31463
+ src: _ctx.item.img1,
31464
+ alt: "",
31465
+ class: "img1"
31466
+ }, null, 8 /* PROPS */, _hoisted_11),
31467
+ vue.createElementVNode("div", _hoisted_12, [
31468
+ vue.createElementVNode("img", {
31469
+ src: _ctx.item.img2,
31470
+ alt: "",
31471
+ class: "img2"
31472
+ }, null, 8 /* PROPS */, _hoisted_13),
31473
+ vue.createElementVNode("div", _hoisted_14, [
31474
+ vue.createElementVNode("span", null, vue.toDisplayString(_ctx.titleChars[0]), 1 /* TEXT */),
31475
+ vue.createElementVNode("span", null, vue.toDisplayString(_ctx.titleChars[1]), 1 /* TEXT */)
31476
+ ]),
31477
+ vue.createElementVNode("div", _hoisted_15, vue.toDisplayString(_ctx.item.name), 1 /* TEXT */),
31478
+ vue.createElementVNode("div", _hoisted_16, vue.toDisplayString(_ctx.item.phrase), 1 /* TEXT */)
31479
+ ]),
31480
+ vue.createElementVNode("img", {
31481
+ src: _ctx.item.img3,
31482
+ alt: "",
31483
+ class: "img3"
31484
+ }, null, 8 /* PROPS */, _hoisted_17)
31485
+ ], 2 /* CLASS */)
31486
+ ], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */))
31487
+ : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [
31488
+ vue.createCommentVNode(" 其他 layout 暂 fallback 到 type2 "),
31489
+ vue.createElementVNode("div", {
31490
+ class: vue.normalizeClass(["type2", { active: _ctx.isOpening }])
31491
+ }, [
31492
+ vue.createElementVNode("img", {
31493
+ src: _ctx.item.img1,
31494
+ alt: "",
31495
+ class: "img1"
31496
+ }, null, 8 /* PROPS */, _hoisted_18),
31497
+ vue.createElementVNode("div", _hoisted_19, [
31498
+ vue.createElementVNode("img", {
31499
+ src: _ctx.item.img2,
31500
+ alt: "",
31501
+ class: "img2"
31502
+ }, null, 8 /* PROPS */, _hoisted_20),
31503
+ vue.createElementVNode("div", _hoisted_21, [
31504
+ vue.createElementVNode("span", null, vue.toDisplayString(_ctx.titleChars[0]), 1 /* TEXT */),
31505
+ vue.createElementVNode("span", null, vue.toDisplayString(_ctx.titleChars[1]), 1 /* TEXT */)
31506
+ ]),
31507
+ (_ctx.item.divider)
31508
+ ? (vue.openBlock(), vue.createElementBlock("img", {
31509
+ key: 0,
31510
+ src: _ctx.item.divider,
31511
+ alt: "",
31512
+ class: "divider"
31513
+ }, null, 8 /* PROPS */, _hoisted_22))
31514
+ : vue.createCommentVNode("v-if", true),
31515
+ vue.createElementVNode("div", _hoisted_23, vue.toDisplayString(_ctx.item.name), 1 /* TEXT */)
31516
+ ]),
31517
+ vue.createElementVNode("div", _hoisted_24, [
31518
+ _hoisted_25,
31519
+ vue.createTextVNode(" " + vue.toDisplayString(_ctx.item.phrase) + " ", 1 /* TEXT */),
31520
+ _hoisted_26
31521
+ ]),
31522
+ vue.createElementVNode("img", {
31523
+ src: _ctx.item.img3,
31524
+ alt: "",
31525
+ class: "img3"
31526
+ }, null, 8 /* PROPS */, _hoisted_27)
31527
+ ], 2 /* CLASS */)
31528
+ ], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */))
31529
+ ], 6 /* CLASS, STYLE */))
31530
+ : vue.createCommentVNode("v-if", true)
31531
+ }
31532
+
31533
+ script$1.render = render$1;
31534
+ script$1.__file = "src/components/UniInvite/UniInvite.vue";
31535
+
31195
31536
  var script = vue.defineComponent({
31196
31537
  name: 'WorkRender',
31197
31538
  components: {
31198
- UniMusic: script$o,
31199
- UniText: script$r,
31200
- UniImage: script$q,
31201
- UniShape: script$p,
31202
- UniCalendar: script$m,
31203
- UniMap: script$k,
31204
- UniCountdown: script$l,
31205
- UniEffect: script$i,
31206
- UniVideo: script$n,
31207
- UniCall: script$j,
31208
- UniFormInput: script$e,
31209
- UniFormSubmit: script$d,
31210
- UniFormSelect: script$c,
31211
- UniFormMultiple: script$a,
31212
- UniFormSingle: script$b,
31213
- UniFormContainer: script$9,
31214
- UniBarrage: script$f,
31215
- UniMenu: script$4,
31216
- UniLottie: script$h,
31217
- UniButton: script$g,
31218
- UniWatermark: script$3,
31539
+ UniMusic: script$p,
31540
+ UniText: script$s,
31541
+ UniImage: script$r,
31542
+ UniShape: script$q,
31543
+ UniCalendar: script$n,
31544
+ UniMap: script$l,
31545
+ UniCountdown: script$m,
31546
+ UniEffect: script$j,
31547
+ UniVideo: script$o,
31548
+ UniCall: script$k,
31549
+ UniFormInput: script$f,
31550
+ UniFormSubmit: script$e,
31551
+ UniFormSelect: script$d,
31552
+ UniFormMultiple: script$b,
31553
+ UniFormSingle: script$c,
31554
+ UniFormContainer: script$a,
31555
+ UniBarrage: script$g,
31556
+ UniMenu: script$5,
31557
+ UniLottie: script$i,
31558
+ UniButton: script$h,
31559
+ UniWatermark: script$4,
31560
+ UniInvite: script$1,
31219
31561
  },
31220
31562
  props: {
31221
31563
  workData: {
@@ -31241,6 +31583,7 @@
31241
31583
  const personalData = vue.computed(() => workData.value.personalData || {});
31242
31584
  const global = vue.computed(() => workData.value.global || {});
31243
31585
  const pages = vue.computed(() => workData.value.pages || []);
31586
+ const inviteRender = vue.computed(() => getInviteRenderFromGlobal(global.value.invite));
31244
31587
  /** 仅 member_level === 1 显示水印;2、3 及缺省等均不显示 */
31245
31588
  const shouldShowWatermark = vue.computed(() => Number(global.value.member_level) === 1);
31246
31589
  // 长页模式
@@ -32074,6 +32417,7 @@
32074
32417
  return {
32075
32418
  personalData,
32076
32419
  global,
32420
+ inviteRender,
32077
32421
  shouldShowWatermark,
32078
32422
  pages,
32079
32423
  currentPageId,
@@ -32140,6 +32484,7 @@
32140
32484
  const _component_UniBarrage = vue.resolveComponent("UniBarrage");
32141
32485
  const _component_UniMenu = vue.resolveComponent("UniMenu");
32142
32486
  const _component_UniWatermark = vue.resolveComponent("UniWatermark");
32487
+ const _component_UniInvite = vue.resolveComponent("UniInvite");
32143
32488
 
32144
32489
  return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
32145
32490
  vue.createCommentVNode(" 背景音乐 "),
@@ -32248,6 +32593,13 @@
32248
32593
  vue.createVNode(_component_UniMenu, { global: _ctx.global }, null, 8 /* PROPS */, ["global"]),
32249
32594
  (_ctx.shouldShowWatermark)
32250
32595
  ? (vue.openBlock(), vue.createBlock(_component_UniWatermark, { key: 1 }))
32596
+ : vue.createCommentVNode("v-if", true),
32597
+ (_ctx.inviteRender)
32598
+ ? (vue.openBlock(), vue.createBlock(_component_UniInvite, {
32599
+ key: 2,
32600
+ "invite-render": _ctx.inviteRender,
32601
+ "scene-id": _ctx.global.sceneId || ''
32602
+ }, null, 8 /* PROPS */, ["invite-render", "scene-id"]))
32251
32603
  : vue.createCommentVNode("v-if", true)
32252
32604
  ], 512 /* NEED_PATCH */))
32253
32605
  }
@@ -32259,6 +32611,10 @@
32259
32611
  app.component(script.name, script);
32260
32612
  };
32261
32613
 
32614
+ script$f.install = (app) => {
32615
+ app.component(script$f.name, script$f);
32616
+ };
32617
+
32262
32618
  script$e.install = (app) => {
32263
32619
  app.component(script$e.name, script$e);
32264
32620
  };
@@ -32279,35 +32635,105 @@
32279
32635
  app.component(script$a.name, script$a);
32280
32636
  };
32281
32637
 
32282
- script$9.install = (app) => {
32283
- app.component(script$9.name, script$9);
32638
+ script$5.install = (app) => {
32639
+ app.component(script$5.name, script$5);
32284
32640
  };
32285
32641
 
32286
- script$4.install = (app) => {
32287
- app.component(script$4.name, script$4);
32642
+ script$8.install = (app) => {
32643
+ app.component(script$8.name, script$8);
32288
32644
  };
32289
32645
 
32290
32646
  script$7.install = (app) => {
32291
32647
  app.component(script$7.name, script$7);
32292
32648
  };
32293
32649
 
32650
+ script$9.install = (app) => {
32651
+ app.component(script$9.name, script$9);
32652
+ };
32653
+
32294
32654
  script$6.install = (app) => {
32295
32655
  app.component(script$6.name, script$6);
32296
32656
  };
32297
32657
 
32298
- script$8.install = (app) => {
32299
- app.component(script$8.name, script$8);
32658
+ script$4.install = (app) => {
32659
+ app.component(script$4.name, script$4);
32300
32660
  };
32301
32661
 
32302
- script$5.install = (app) => {
32303
- app.component(script$5.name, script$5);
32662
+ script$1.install = (app) => {
32663
+ app.component(script$1.name, script$1);
32304
32664
  };
32305
32665
 
32306
- script$3.install = (app) => {
32307
- app.component(script$3.name, script$3);
32666
+ /** 送呈封面模板 开发 fallback,生产由 biz-editor-server 提供 */
32667
+ const INVITE_COVER_TEMPLATES = [
32668
+ {
32669
+ id: 'horse-lotus',
32670
+ name: '神马都好',
32671
+ layout: 'type2',
32672
+ img1: 'https://unika-static-dev.oss-ap-southeast-7.aliyuncs.com/admin/invite/176950478669788012e57f2.png',
32673
+ img2: 'https://unika-static-dev.oss-ap-southeast-7.aliyuncs.com/admin/invite/17695047966978801c72723.png',
32674
+ img3: 'https://unika-static-dev.oss-ap-southeast-7.aliyuncs.com/admin/invite/176950476769787fff50681.png',
32675
+ divider: 'https://unika-static-dev.oss-ap-southeast-7.aliyuncs.com/admin/invite/176.png',
32676
+ fontFamily: 'xinyahei_1',
32677
+ fontColor: 'rgb(255, 244, 205)',
32678
+ },
32679
+ ];
32680
+ function getInviteTemplateById(id) {
32681
+ return INVITE_COVER_TEMPLATES.find(t => t.id === id);
32682
+ }
32683
+
32684
+ const defaultItemId = 'invite-default-1';
32685
+ const defaultTpl = INVITE_COVER_TEMPLATES[0];
32686
+ /** global.invite 默认结构 — 仅含渲染字段,不含 templates/phrases */
32687
+ const inviteDefaultProps = {
32688
+ open: true,
32689
+ titleChars: ['บัตร', 'เชิญ'],
32690
+ items: [
32691
+ {
32692
+ id: defaultItemId,
32693
+ name: '我',
32694
+ phrase: '邀请您一道分享我们的喜悦',
32695
+ templateId: defaultTpl.id,
32696
+ templateName: defaultTpl.name,
32697
+ img1: defaultTpl.img1,
32698
+ img2: defaultTpl.img2,
32699
+ img3: defaultTpl.img3,
32700
+ divider: defaultTpl.divider,
32701
+ fontFamily: defaultTpl.fontFamily,
32702
+ fontColor: defaultTpl.fontColor,
32703
+ },
32704
+ ],
32308
32705
  };
32309
32706
 
32707
+ /** 送呈快捷短语 — 开发/编辑器 fallback;生产环境由 biz-editor-server API 提供 */
32708
+ const INVITE_QUICK_PHRASES = [
32709
+ '邀请您一道分享我们的喜悦',
32710
+ '诚挚邀请您参加我们的婚礼',
32711
+ '期待您的到来和见证',
32712
+ '恭候您的光临',
32713
+ '愿与您共享幸福时刻',
32714
+ '我们诚挚地邀请您',
32715
+ '见证我们的爱情之路',
32716
+ '共享美好时刻',
32717
+ ];
32718
+
32719
+ /** 将模板图片解析进送呈条目(编辑器选封面时调用,结果写入 global.invite) */
32720
+ function applyTemplateToInviteItem(item, template) {
32721
+ return {
32722
+ ...item,
32723
+ templateId: template.id,
32724
+ templateName: template.name,
32725
+ layout: template.layout || item.layout || 'type2',
32726
+ img1: template.img1,
32727
+ img2: template.img2,
32728
+ img3: template.img3,
32729
+ divider: template.divider,
32730
+ fontFamily: template.fontFamily,
32731
+ fontColor: template.fontColor,
32732
+ };
32733
+ }
32734
+
32310
32735
  const components = [
32736
+ script$s,
32311
32737
  script$r,
32312
32738
  script$q,
32313
32739
  script$p,
@@ -32320,22 +32746,22 @@
32320
32746
  script$i,
32321
32747
  script$h,
32322
32748
  script$g,
32323
- script$f,
32749
+ script$3,
32324
32750
  script$2,
32325
- script$1,
32326
32751
  script,
32752
+ script$f,
32327
32753
  script$e,
32328
32754
  script$d,
32329
32755
  script$c,
32330
32756
  script$b,
32331
32757
  script$a,
32332
- script$9,
32333
- script$4,
32758
+ script$5,
32759
+ script$8,
32334
32760
  script$7,
32761
+ script$9,
32335
32762
  script$6,
32336
- script$8,
32337
- script$5,
32338
- script$3
32763
+ script$4,
32764
+ script$1
32339
32765
  ];
32340
32766
  // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
32341
32767
  const install = (app) => {
@@ -32347,39 +32773,51 @@
32347
32773
  install
32348
32774
  };
32349
32775
 
32350
- exports.UniBarrage = script$f;
32351
- exports.UniButton = script$g;
32352
- exports.UniCalendar = script$m;
32353
- exports.UniCall = script$j;
32354
- exports.UniCountdown = script$l;
32355
- exports.UniEffect = script$i;
32356
- exports.UniFormContainer = script$9;
32357
- exports.UniFormInput = script$e;
32358
- exports.UniFormMultiple = script$a;
32359
- exports.UniFormSelect = script$c;
32360
- exports.UniFormSingle = script$b;
32361
- exports.UniFormSubmit = script$d;
32362
- exports.UniImage = script$q;
32363
- exports.UniLottie = script$h;
32364
- exports.UniMap = script$k;
32365
- exports.UniMenu = script$4;
32366
- exports.UniMenuMap = script$5;
32367
- exports.UniMenuReceipt = script$8;
32368
- exports.UniMenuTel = script$6;
32369
- exports.UniMenuVideo = script$7;
32370
- exports.UniMusic = script$o;
32371
- exports.UniShape = script$p;
32372
- exports.UniText = script$r;
32373
- exports.UniVideo = script$n;
32374
- exports.UniWatermark = script$3;
32776
+ exports.INVITE_COVER_TEMPLATES = INVITE_COVER_TEMPLATES;
32777
+ exports.INVITE_QUICK_PHRASES = INVITE_QUICK_PHRASES;
32778
+ exports.UniBarrage = script$g;
32779
+ exports.UniButton = script$h;
32780
+ exports.UniCalendar = script$n;
32781
+ exports.UniCall = script$k;
32782
+ exports.UniCountdown = script$m;
32783
+ exports.UniEffect = script$j;
32784
+ exports.UniFormContainer = script$a;
32785
+ exports.UniFormInput = script$f;
32786
+ exports.UniFormMultiple = script$b;
32787
+ exports.UniFormSelect = script$d;
32788
+ exports.UniFormSingle = script$c;
32789
+ exports.UniFormSubmit = script$e;
32790
+ exports.UniImage = script$r;
32791
+ exports.UniInvite = script$1;
32792
+ exports.UniLottie = script$i;
32793
+ exports.UniMap = script$l;
32794
+ exports.UniMenu = script$5;
32795
+ exports.UniMenuMap = script$6;
32796
+ exports.UniMenuReceipt = script$9;
32797
+ exports.UniMenuTel = script$7;
32798
+ exports.UniMenuVideo = script$8;
32799
+ exports.UniMusic = script$p;
32800
+ exports.UniShape = script$q;
32801
+ exports.UniText = script$s;
32802
+ exports.UniVideo = script$o;
32803
+ exports.UniWatermark = script$4;
32375
32804
  exports.WorkRender = script;
32376
- exports.WorkRenderH5 = script$2;
32377
- exports.WorkRenderLong = script$1;
32805
+ exports.WorkRenderH5 = script$3;
32806
+ exports.WorkRenderLong = script$2;
32807
+ exports.applyInviteStateToGlobal = applyInviteStateToGlobal;
32808
+ exports.applyTemplateToInviteItem = applyTemplateToInviteItem;
32378
32809
  exports.applyTextAnimation = applyTextAnimation;
32379
32810
  exports.applyTextAnimationsForPage = applyTextAnimationsForPage;
32380
32811
  exports["default"] = index;
32812
+ exports.getInviteDismissDelay = getInviteDismissDelay;
32813
+ exports.getInviteRenderFromGlobal = getInviteRenderFromGlobal;
32814
+ exports.getInviteTemplateById = getInviteTemplateById;
32381
32815
  exports.install = install;
32816
+ exports.inviteDefaultProps = inviteDefaultProps;
32817
+ exports.isValidInviteItem = isValidInviteItem;
32818
+ exports.resolveInviteRenderData = resolveInviteRenderData;
32382
32819
  exports.restoreTextAnimation = restoreTextAnimation;
32820
+ exports.useInviteManager = useInviteManager;
32383
32821
 
32384
32822
  Object.defineProperty(exports, '__esModule', { value: true });
32385
32823