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