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