unika-components 1.2.5 → 1.2.7
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.
- package/dist/assets/css/invite.css +712 -0
- package/dist/src/components/UniCountdown/UniCountdown.vue.d.ts +12 -1
- package/dist/src/components/UniFormInput/UniFormInput.vue.d.ts +13 -1
- package/dist/src/components/UniImage/UniImage.vue.d.ts +0 -3
- package/dist/src/index.d.ts +12 -0
- package/dist/src/utils/resolveInviteRender.d.ts +1 -0
- package/dist/unika-components.css +851 -829
- package/dist/unika-components.esm.js +752 -39
- package/dist/unika-components.umd.js +763 -38
- package/package.json +1 -1
|
@@ -205,9 +205,6 @@ var script$r = defineComponent({
|
|
|
205
205
|
color: css.value.color,
|
|
206
206
|
opacity: css.value.opacity,
|
|
207
207
|
borderRadius: px2rem(css.value.borderRadius || 0),
|
|
208
|
-
borderWidth: px2rem(css.value.borderWidth || 0),
|
|
209
|
-
borderStyle: css.value.borderStyle,
|
|
210
|
-
borderColor: css.value.borderColor,
|
|
211
208
|
boxShadow: properties.value.shadowSize
|
|
212
209
|
? `${px2rem(properties.value.shadowX)} ${px2rem(properties.value.shadowY)} ${px2rem(properties.value.shadowBlur)} ${properties.value.shadowColor}`
|
|
213
210
|
: 'none'
|
|
@@ -519,7 +516,7 @@ var script$q = defineComponent({
|
|
|
519
516
|
|
|
520
517
|
const _hoisted_1$l = ["data-id"];
|
|
521
518
|
const _hoisted_2$i = ["innerHTML"];
|
|
522
|
-
const _hoisted_3$
|
|
519
|
+
const _hoisted_3$h = /*#__PURE__*/createElementVNode("div", { class: "svg-loading" }, "Loading...", -1 /* HOISTED */);
|
|
523
520
|
const _hoisted_4$d = { class: "svg-error" };
|
|
524
521
|
|
|
525
522
|
function render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -551,7 +548,7 @@ function render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
551
548
|
: (_ctx.isLoading)
|
|
552
549
|
? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
553
550
|
createCommentVNode(" 加载状态 "),
|
|
554
|
-
_hoisted_3$
|
|
551
|
+
_hoisted_3$h
|
|
555
552
|
], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */))
|
|
556
553
|
: (_ctx.loadError)
|
|
557
554
|
? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
@@ -890,7 +887,7 @@ var script$p = defineComponent({
|
|
|
890
887
|
|
|
891
888
|
const _hoisted_1$k = { id: "audio" };
|
|
892
889
|
const _hoisted_2$h = ["src"];
|
|
893
|
-
const _hoisted_3$
|
|
890
|
+
const _hoisted_3$g = {
|
|
894
891
|
key: 1,
|
|
895
892
|
class: "iconfont"
|
|
896
893
|
};
|
|
@@ -915,7 +912,7 @@ function render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
915
912
|
class: "music-icon",
|
|
916
913
|
alt: "หยุดชั่วคราว"
|
|
917
914
|
}, null, 8 /* PROPS */, _hoisted_2$h))
|
|
918
|
-
: (openBlock(), createElementBlock("span", _hoisted_3$
|
|
915
|
+
: (openBlock(), createElementBlock("span", _hoisted_3$g, "❚❚"))
|
|
919
916
|
], 64 /* STABLE_FRAGMENT */))
|
|
920
917
|
: (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
921
918
|
(_ctx.playIconUrl)
|
|
@@ -1017,7 +1014,7 @@ const _hoisted_1$j = {
|
|
|
1017
1014
|
class: "video-container"
|
|
1018
1015
|
};
|
|
1019
1016
|
const _hoisted_2$g = ["src"];
|
|
1020
|
-
const _hoisted_3$
|
|
1017
|
+
const _hoisted_3$f = ["src"];
|
|
1021
1018
|
|
|
1022
1019
|
function render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1023
1020
|
return (openBlock(), createElementBlock("div", {
|
|
@@ -1052,7 +1049,7 @@ function render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1052
1049
|
src: _ctx.element.properties.src,
|
|
1053
1050
|
alt: "Play button",
|
|
1054
1051
|
class: "play-btn"
|
|
1055
|
-
}, null, 8 /* PROPS */, _hoisted_3$
|
|
1052
|
+
}, null, 8 /* PROPS */, _hoisted_3$f)
|
|
1056
1053
|
], 4 /* STYLE */))
|
|
1057
1054
|
], 4 /* STYLE */)
|
|
1058
1055
|
], 4 /* STYLE */))
|
|
@@ -1186,7 +1183,7 @@ const _hoisted_2$f = {
|
|
|
1186
1183
|
key: 0,
|
|
1187
1184
|
class: "can-wrap"
|
|
1188
1185
|
};
|
|
1189
|
-
const _hoisted_3$
|
|
1186
|
+
const _hoisted_3$e = { class: "can-top" };
|
|
1190
1187
|
const _hoisted_4$b = { class: "can-main" };
|
|
1191
1188
|
const _hoisted_5$a = { class: "can-date" };
|
|
1192
1189
|
const _hoisted_6$8 = {
|
|
@@ -1228,7 +1225,7 @@ function render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1228
1225
|
}, [
|
|
1229
1226
|
(_ctx.element.kind === 1)
|
|
1230
1227
|
? (openBlock(), createElementBlock("div", _hoisted_2$f, [
|
|
1231
|
-
createElementVNode("div", _hoisted_3$
|
|
1228
|
+
createElementVNode("div", _hoisted_3$e, [
|
|
1232
1229
|
createElementVNode("div", {
|
|
1233
1230
|
class: "can-left",
|
|
1234
1231
|
style: normalizeStyle({ color: _ctx.element.themeColor || '#ed5566' })
|
|
@@ -1565,6 +1562,7 @@ var script$m = defineComponent({
|
|
|
1565
1562
|
onUnmounted(() => {
|
|
1566
1563
|
stopCountdown();
|
|
1567
1564
|
});
|
|
1565
|
+
const isVertical = computed(() => props.element.direction === 'vertical');
|
|
1568
1566
|
// 容器样式
|
|
1569
1567
|
const containerStyle = computed(() => ({
|
|
1570
1568
|
position: (props.element && props.element.css && props.element.css.position) || 'absolute',
|
|
@@ -1573,7 +1571,8 @@ var script$m = defineComponent({
|
|
|
1573
1571
|
width: px2rem(props.element.css.width),
|
|
1574
1572
|
height: px2rem(props.element.css.height),
|
|
1575
1573
|
transform: `rotate(${props.element.css.transform}deg)`,
|
|
1576
|
-
opacity: props.element.css.opacity
|
|
1574
|
+
opacity: props.element.css.opacity,
|
|
1575
|
+
overflow: 'visible',
|
|
1577
1576
|
}));
|
|
1578
1577
|
// 文本模式容器样式
|
|
1579
1578
|
const textContainerStyle = computed(() => ({
|
|
@@ -1582,6 +1581,10 @@ var script$m = defineComponent({
|
|
|
1582
1581
|
borderRadius: px2rem(props.element.css.borderRadius || 0),
|
|
1583
1582
|
borderStyle: props.element.css.borderStyle,
|
|
1584
1583
|
borderWidth: px2rem(props.element.css.borderWidth || 0),
|
|
1584
|
+
display: isVertical.value ? 'flex' : undefined,
|
|
1585
|
+
flexDirection: isVertical.value ? 'column' : undefined,
|
|
1586
|
+
alignItems: isVertical.value ? 'center' : undefined,
|
|
1587
|
+
justifyContent: isVertical.value ? 'center' : undefined,
|
|
1585
1588
|
}));
|
|
1586
1589
|
// 文本内容样式
|
|
1587
1590
|
const textContentStyle = computed(() => ({
|
|
@@ -1594,8 +1597,13 @@ var script$m = defineComponent({
|
|
|
1594
1597
|
const flipStyle = computed(() => ({
|
|
1595
1598
|
transform: getScaleValue(),
|
|
1596
1599
|
opacity: props.element.css.opacity,
|
|
1597
|
-
|
|
1598
|
-
|
|
1600
|
+
display: 'flex',
|
|
1601
|
+
flexDirection: isVertical.value ? 'column' : 'row',
|
|
1602
|
+
alignItems: 'center',
|
|
1603
|
+
justifyContent: 'center',
|
|
1604
|
+
width: '100%',
|
|
1605
|
+
height: isVertical.value ? 'auto' : '100%',
|
|
1606
|
+
minHeight: isVertical.value ? '100%' : undefined,
|
|
1599
1607
|
}));
|
|
1600
1608
|
// 获取缩放值
|
|
1601
1609
|
const getScaleValue = () => {
|
|
@@ -1612,7 +1620,8 @@ var script$m = defineComponent({
|
|
|
1612
1620
|
borderWidth: px2rem(props.element.css.borderWidth || 0),
|
|
1613
1621
|
borderRadius: px2rem(props.element.css.borderRadius || 0),
|
|
1614
1622
|
backgroundColor: props.element.css.backgroundColor,
|
|
1615
|
-
margin:
|
|
1623
|
+
margin: isVertical.value ? `${px2rem(6)} 0` : `0 ${px2rem(6)}`,
|
|
1624
|
+
flexShrink: 0,
|
|
1616
1625
|
}));
|
|
1617
1626
|
// 数字样式
|
|
1618
1627
|
const numStyle = computed(() => ({
|
|
@@ -1679,7 +1688,7 @@ var script$m = defineComponent({
|
|
|
1679
1688
|
|
|
1680
1689
|
const _hoisted_1$h = ["data-id", "data-pid", "data-type", "data-show", "pid", "type", "layername", "sign", "signsort"];
|
|
1681
1690
|
const _hoisted_2$e = ["data-direction"];
|
|
1682
|
-
const _hoisted_3$
|
|
1691
|
+
const _hoisted_3$d = { class: "c-wrap" };
|
|
1683
1692
|
const _hoisted_4$a = { class: "c-num c-left" };
|
|
1684
1693
|
const _hoisted_5$9 = { class: "flex-wrap" };
|
|
1685
1694
|
const _hoisted_6$7 = { class: "c-num c-right" };
|
|
@@ -1742,7 +1751,7 @@ function render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1742
1751
|
class: "c-com c-day",
|
|
1743
1752
|
style: normalizeStyle(_ctx.comStyle)
|
|
1744
1753
|
}, [
|
|
1745
|
-
createElementVNode("div", _hoisted_3$
|
|
1754
|
+
createElementVNode("div", _hoisted_3$d, [
|
|
1746
1755
|
createElementVNode("div", _hoisted_4$a, [
|
|
1747
1756
|
createElementVNode("div", _hoisted_5$9, [
|
|
1748
1757
|
(_ctx.days >= 100)
|
|
@@ -1974,7 +1983,7 @@ var script$l = defineComponent({
|
|
|
1974
1983
|
|
|
1975
1984
|
const _hoisted_1$g = ["data-id", "data-pid", "data-type", "data-show", "pid", "type", "layername", "sign", "signsort"];
|
|
1976
1985
|
const _hoisted_2$d = ["innerHTML"];
|
|
1977
|
-
const _hoisted_3$
|
|
1986
|
+
const _hoisted_3$c = /*#__PURE__*/createElementVNode("div", { class: "mask-map" }, null, -1 /* HOISTED */);
|
|
1978
1987
|
|
|
1979
1988
|
function render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1980
1989
|
return (openBlock(), createElementBlock("div", {
|
|
@@ -2011,7 +2020,7 @@ function render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2011
2020
|
}, null, 8 /* PROPS */, _hoisted_2$d),
|
|
2012
2021
|
createCommentVNode(" 隐藏的辅助元素 "),
|
|
2013
2022
|
createCommentVNode(" <div :id=\"'teng_' + element.id + Date.now()\" class=\"center-map\" style=\"display: none;\"></div>\n <div :id=\"'bai_' + element.id + Date.now()\" class=\"center-map\" style=\"display: none;\"></div> "),
|
|
2014
|
-
_hoisted_3$
|
|
2023
|
+
_hoisted_3$c
|
|
2015
2024
|
], 4 /* STYLE */))
|
|
2016
2025
|
: (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
2017
2026
|
createCommentVNode(" 导航按钮 "),
|
|
@@ -23049,13 +23058,13 @@ var DataView = getNative(root$1, "DataView");
|
|
|
23049
23058
|
var DataView$1 = DataView;
|
|
23050
23059
|
var Promise$1 = getNative(root$1, "Promise");
|
|
23051
23060
|
var Promise$2 = Promise$1;
|
|
23052
|
-
var Set = getNative(root$1, "Set");
|
|
23053
|
-
var Set$1 = Set;
|
|
23061
|
+
var Set$1 = getNative(root$1, "Set");
|
|
23062
|
+
var Set$1$1 = Set$1;
|
|
23054
23063
|
var mapTag$4 = "[object Map]", objectTag$2 = "[object Object]", promiseTag = "[object Promise]", setTag$4 = "[object Set]", weakMapTag$1 = "[object WeakMap]";
|
|
23055
23064
|
var dataViewTag$3 = "[object DataView]";
|
|
23056
|
-
var dataViewCtorString = toSource(DataView$1), mapCtorString = toSource(Map$1), promiseCtorString = toSource(Promise$2), setCtorString = toSource(Set$1), weakMapCtorString = toSource(WeakMap$1);
|
|
23065
|
+
var dataViewCtorString = toSource(DataView$1), mapCtorString = toSource(Map$1), promiseCtorString = toSource(Promise$2), setCtorString = toSource(Set$1$1), weakMapCtorString = toSource(WeakMap$1);
|
|
23057
23066
|
var getTag = baseGetTag;
|
|
23058
|
-
if (DataView$1 && getTag(new DataView$1(new ArrayBuffer(1))) != dataViewTag$3 || Map$1 && getTag(new Map$1()) != mapTag$4 || Promise$2 && getTag(Promise$2.resolve()) != promiseTag || Set$1 && getTag(new Set$1()) != setTag$4 || WeakMap$1 && getTag(new WeakMap$1()) != weakMapTag$1) {
|
|
23067
|
+
if (DataView$1 && getTag(new DataView$1(new ArrayBuffer(1))) != dataViewTag$3 || Map$1 && getTag(new Map$1()) != mapTag$4 || Promise$2 && getTag(Promise$2.resolve()) != promiseTag || Set$1$1 && getTag(new Set$1$1()) != setTag$4 || WeakMap$1 && getTag(new WeakMap$1()) != weakMapTag$1) {
|
|
23059
23068
|
getTag = function(value) {
|
|
23060
23069
|
var result = baseGetTag(value), Ctor = result == objectTag$2 ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
|
|
23061
23070
|
if (ctorString) {
|
|
@@ -27988,7 +27997,7 @@ const _hoisted_1$b = {
|
|
|
27988
27997
|
ref: "toolbar"
|
|
27989
27998
|
};
|
|
27990
27999
|
const _hoisted_2$b = { class: "toolbar" };
|
|
27991
|
-
const _hoisted_3$
|
|
28000
|
+
const _hoisted_3$b = { class: "bar-left" };
|
|
27992
28001
|
const _hoisted_4$9 = /*#__PURE__*/createElementVNode("img", { src: "https://h5cdn.unika.cc/static/img/uniComponents/hide.png" }, null, -1 /* HOISTED */);
|
|
27993
28002
|
const _hoisted_5$8 = [
|
|
27994
28003
|
_hoisted_4$9
|
|
@@ -28094,7 +28103,7 @@ function render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28094
28103
|
createCommentVNode(" 底部工具栏 "),
|
|
28095
28104
|
createElementVNode("div", _hoisted_1$b, [
|
|
28096
28105
|
createElementVNode("div", _hoisted_2$b, [
|
|
28097
|
-
withDirectives(createElementVNode("div", _hoisted_3$
|
|
28106
|
+
withDirectives(createElementVNode("div", _hoisted_3$b, [
|
|
28098
28107
|
createElementVNode("input", {
|
|
28099
28108
|
type: "text",
|
|
28100
28109
|
placeholder: "ข้อความอวยพร..",
|
|
@@ -28644,6 +28653,10 @@ var script$f = defineComponent({
|
|
|
28644
28653
|
type: Object,
|
|
28645
28654
|
required: true
|
|
28646
28655
|
},
|
|
28656
|
+
isEditing: {
|
|
28657
|
+
type: Boolean,
|
|
28658
|
+
default: false,
|
|
28659
|
+
},
|
|
28647
28660
|
},
|
|
28648
28661
|
setup(props) {
|
|
28649
28662
|
const inputValue = ref('');
|
|
@@ -28683,9 +28696,16 @@ var script$f = defineComponent({
|
|
|
28683
28696
|
});
|
|
28684
28697
|
// 失去焦点时验证
|
|
28685
28698
|
const handleBlur = () => {
|
|
28699
|
+
if (props.isEditing)
|
|
28700
|
+
return;
|
|
28686
28701
|
isTouched.value = true;
|
|
28687
28702
|
validate();
|
|
28688
28703
|
};
|
|
28704
|
+
const onInputPointerDown = (e) => {
|
|
28705
|
+
if (!props.isEditing)
|
|
28706
|
+
return;
|
|
28707
|
+
e.preventDefault();
|
|
28708
|
+
};
|
|
28689
28709
|
// 值变化时验证(如果已经触摸过)
|
|
28690
28710
|
watch(inputValue, () => {
|
|
28691
28711
|
if (isTouched.value) {
|
|
@@ -28728,20 +28748,24 @@ var script$f = defineComponent({
|
|
|
28728
28748
|
containerStyles,
|
|
28729
28749
|
wrapperStyles,
|
|
28730
28750
|
inputStyles,
|
|
28731
|
-
handleBlur
|
|
28751
|
+
handleBlur,
|
|
28752
|
+
onInputPointerDown,
|
|
28753
|
+
isEditing: computed(() => props.isEditing),
|
|
28732
28754
|
};
|
|
28733
28755
|
}
|
|
28734
28756
|
});
|
|
28735
28757
|
|
|
28736
|
-
const _hoisted_1$a =
|
|
28758
|
+
const _hoisted_1$a = ["data-id"];
|
|
28759
|
+
const _hoisted_2$a = {
|
|
28737
28760
|
key: 0,
|
|
28738
28761
|
class: "required-marker"
|
|
28739
28762
|
};
|
|
28740
|
-
const
|
|
28763
|
+
const _hoisted_3$a = ["type", "placeholder", "readonly", "tabindex"];
|
|
28741
28764
|
|
|
28742
28765
|
function render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
28743
28766
|
return (openBlock(), createElementBlock("div", {
|
|
28744
|
-
class: "ele-form form-input eles",
|
|
28767
|
+
class: normalizeClass(["ele-form form-input eles", { 'form-input--editing': _ctx.isEditing }]),
|
|
28768
|
+
"data-id": _ctx.element.id,
|
|
28745
28769
|
style: normalizeStyle(_ctx.containerStyles)
|
|
28746
28770
|
}, [
|
|
28747
28771
|
createElementVNode("div", {
|
|
@@ -28752,20 +28776,24 @@ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28752
28776
|
})
|
|
28753
28777
|
}, [
|
|
28754
28778
|
(_ctx.required)
|
|
28755
|
-
? (openBlock(), createElementBlock("span",
|
|
28779
|
+
? (openBlock(), createElementBlock("span", _hoisted_2$a, "*"))
|
|
28756
28780
|
: createCommentVNode("v-if", true),
|
|
28757
28781
|
withDirectives(createElementVNode("input", {
|
|
28758
28782
|
type: _ctx.inputType,
|
|
28759
28783
|
placeholder: _ctx.title,
|
|
28760
28784
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => ((_ctx.inputValue) = $event)),
|
|
28761
28785
|
style: normalizeStyle(_ctx.inputStyles),
|
|
28762
|
-
|
|
28763
|
-
|
|
28764
|
-
|
|
28786
|
+
readonly: _ctx.isEditing,
|
|
28787
|
+
tabindex: _ctx.isEditing ? -1 : undefined,
|
|
28788
|
+
class: "dynamic-placeholder-input",
|
|
28789
|
+
onMousedown: _cache[1] || (_cache[1] = (...args) => (_ctx.onInputPointerDown && _ctx.onInputPointerDown(...args))),
|
|
28790
|
+
onTouchstart: _cache[2] || (_cache[2] = (...args) => (_ctx.onInputPointerDown && _ctx.onInputPointerDown(...args))),
|
|
28791
|
+
onBlur: _cache[3] || (_cache[3] = (...args) => (_ctx.handleBlur && _ctx.handleBlur(...args)))
|
|
28792
|
+
}, null, 44 /* STYLE, PROPS, NEED_HYDRATION */, _hoisted_3$a), [
|
|
28765
28793
|
[vModelDynamic, _ctx.inputValue]
|
|
28766
28794
|
])
|
|
28767
28795
|
], 4 /* STYLE */)
|
|
28768
|
-
],
|
|
28796
|
+
], 14 /* CLASS, STYLE, PROPS */, _hoisted_1$a))
|
|
28769
28797
|
}
|
|
28770
28798
|
|
|
28771
28799
|
script$f.render = render$b;
|
|
@@ -31211,15 +31239,33 @@ script$2.install = (app) => {
|
|
|
31211
31239
|
app.component(script$2.name, script$2);
|
|
31212
31240
|
};
|
|
31213
31241
|
|
|
31242
|
+
const PLACEHOLDER_INVITE_STATE_IDS = new Set(['invite-default-1']);
|
|
31243
|
+
function isPlaceholderInviteStateId(stateId) {
|
|
31244
|
+
if (!stateId)
|
|
31245
|
+
return false;
|
|
31246
|
+
if (PLACEHOLDER_INVITE_STATE_IDS.has(stateId))
|
|
31247
|
+
return true;
|
|
31248
|
+
return stateId.startsWith('invite-default-');
|
|
31249
|
+
}
|
|
31214
31250
|
function isValidInviteItem(item) {
|
|
31215
31251
|
return !!(item && item.img1 && item.name);
|
|
31216
31252
|
}
|
|
31253
|
+
function pickInviteItemByState(invite, stateId) {
|
|
31254
|
+
const items = invite.items || [];
|
|
31255
|
+
const direct = items.find((i) => i.id === stateId);
|
|
31256
|
+
if (direct)
|
|
31257
|
+
return direct;
|
|
31258
|
+
// 兼容模板占位 id:条目已迁移为随机 id 时,旧链接仍只有一条送呈
|
|
31259
|
+
if (isPlaceholderInviteStateId(stateId) && items.length === 1) {
|
|
31260
|
+
return items[0];
|
|
31261
|
+
}
|
|
31262
|
+
return undefined;
|
|
31263
|
+
}
|
|
31217
31264
|
/** 根据 URL state 从 global.invite 解析单条送呈渲染数据 */
|
|
31218
31265
|
function resolveInviteRenderData(invite, stateId) {
|
|
31219
31266
|
if (!stateId || !invite || !invite.open)
|
|
31220
31267
|
return null;
|
|
31221
|
-
const
|
|
31222
|
-
const item = items.find((i) => i.id === stateId);
|
|
31268
|
+
const item = pickInviteItemByState(invite, stateId);
|
|
31223
31269
|
if (!isValidInviteItem(item))
|
|
31224
31270
|
return null;
|
|
31225
31271
|
return {
|
|
@@ -31355,6 +31401,11 @@ var script$1 = defineComponent({
|
|
|
31355
31401
|
emit('dismiss');
|
|
31356
31402
|
}, delay);
|
|
31357
31403
|
};
|
|
31404
|
+
onMounted(() => {
|
|
31405
|
+
// #region agent log
|
|
31406
|
+
fetch('http://127.0.0.1:7825/ingest/b036d6f9-5c3e-4f40-bb7d-3367a145a4d2', { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-Debug-Session-Id': '6d48a4' }, body: JSON.stringify({ sessionId: '6d48a4', runId: 'pre-fix', hypothesisId: 'H4', location: 'UniInvite.vue:onMounted', message: 'invite visibility', data: { visible: visible.value, itemId: item.value ? item.value.id : null, hasImg1: !!(item.value && item.value.img1), shouldShow: shouldShow.value }, timestamp: Date.now() }) }).catch(() => { });
|
|
31407
|
+
// #endregion
|
|
31408
|
+
});
|
|
31358
31409
|
return {
|
|
31359
31410
|
visible,
|
|
31360
31411
|
isOpening,
|
|
@@ -31576,7 +31627,18 @@ var script = defineComponent({
|
|
|
31576
31627
|
const personalData = computed(() => workData.value.personalData || {});
|
|
31577
31628
|
const global = computed(() => workData.value.global || {});
|
|
31578
31629
|
const pages = computed(() => workData.value.pages || []);
|
|
31579
|
-
const inviteRender = computed(() =>
|
|
31630
|
+
const inviteRender = computed(() => {
|
|
31631
|
+
const invite = global.value.invite;
|
|
31632
|
+
const fromRenderItem = getInviteRenderFromGlobal(invite);
|
|
31633
|
+
if (fromRenderItem)
|
|
31634
|
+
return fromRenderItem;
|
|
31635
|
+
if (typeof window !== 'undefined' && invite) {
|
|
31636
|
+
const stateId = new URLSearchParams(window.location.search).get('state');
|
|
31637
|
+
if (stateId)
|
|
31638
|
+
return resolveInviteRenderData(invite, stateId);
|
|
31639
|
+
}
|
|
31640
|
+
return null;
|
|
31641
|
+
});
|
|
31580
31642
|
/** 仅 member_level === 1 显示水印;2、3 及缺省等均不显示 */
|
|
31581
31643
|
const shouldShowWatermark = computed(() => Number(global.value.member_level) === 1);
|
|
31582
31644
|
// 长页模式
|
|
@@ -31799,6 +31861,9 @@ var script = defineComponent({
|
|
|
31799
31861
|
nextTick(() => {
|
|
31800
31862
|
setTimeout(runTextAnimationsForCurrentPage, 150);
|
|
31801
31863
|
});
|
|
31864
|
+
// #region agent log
|
|
31865
|
+
fetch('http://127.0.0.1:7825/ingest/b036d6f9-5c3e-4f40-bb7d-3367a145a4d2', { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-Debug-Session-Id': '6d48a4' }, body: JSON.stringify({ sessionId: '6d48a4', runId: 'pre-fix', hypothesisId: 'H2', location: 'WorkRender.vue:onMounted', message: 'invite render computed', data: { hasInviteRender: !!inviteRender.value, renderItemId: global.value.invite && global.value.invite.renderItem ? global.value.invite.renderItem.id : null, urlState: typeof window !== 'undefined' ? new URLSearchParams(window.location.search).get('state') : null }, timestamp: Date.now() }) }).catch(() => { });
|
|
31866
|
+
// #endregion
|
|
31802
31867
|
});
|
|
31803
31868
|
onBeforeUnmount(() => {
|
|
31804
31869
|
if (global.value.cat === 'long_page') {
|
|
@@ -32674,7 +32739,7 @@ function getInviteTemplateById(id) {
|
|
|
32674
32739
|
return INVITE_COVER_TEMPLATES.find(t => t.id === id);
|
|
32675
32740
|
}
|
|
32676
32741
|
|
|
32677
|
-
const defaultItemId = 'invite-default-1';
|
|
32742
|
+
const defaultItemId = 'invite-default-1'; // template placeholder — replace with random id at runtime
|
|
32678
32743
|
const defaultTpl = INVITE_COVER_TEMPLATES[0];
|
|
32679
32744
|
/** global.invite 默认结构 — 仅含渲染字段,不含 templates/phrases */
|
|
32680
32745
|
const inviteDefaultProps = {
|
|
@@ -32697,6 +32762,654 @@ const inviteDefaultProps = {
|
|
|
32697
32762
|
],
|
|
32698
32763
|
};
|
|
32699
32764
|
|
|
32765
|
+
const musicDefaultProps = {
|
|
32766
|
+
// url: "https://h5cdn.unika.cc/static/img/uniComponents/MarryMe.mp3",
|
|
32767
|
+
url: "",
|
|
32768
|
+
name: "Love Paradise",
|
|
32769
|
+
music_id: '2302',
|
|
32770
|
+
bgcolor: "rgba(128, 90, 218, 0.19)",
|
|
32771
|
+
iconUrl: "https://h5cdn.unika.cc/static/assets/musicBackground/musicBackground-1.png",
|
|
32772
|
+
isGlobal: false,
|
|
32773
|
+
};
|
|
32774
|
+
|
|
32775
|
+
const calendarDefaultProps = {
|
|
32776
|
+
id: '1748877692931',
|
|
32777
|
+
pid: '',
|
|
32778
|
+
type: 'calendar',
|
|
32779
|
+
layerName: '日历14',
|
|
32780
|
+
endTime: '2025/05/22',
|
|
32781
|
+
language: 'Chinese',
|
|
32782
|
+
kind: 1,
|
|
32783
|
+
sign: true,
|
|
32784
|
+
signSort: 4,
|
|
32785
|
+
showSize: 'middle',
|
|
32786
|
+
themeColor: '#ed5566',
|
|
32787
|
+
heartColor: 'rgba(151, 237, 85, 1)',
|
|
32788
|
+
heartAni: true,
|
|
32789
|
+
dateColor: '#666',
|
|
32790
|
+
css: {
|
|
32791
|
+
borderWidth: 2,
|
|
32792
|
+
borderStyle: 'solid',
|
|
32793
|
+
borderColor: '#ed5566',
|
|
32794
|
+
opacity: 0.98,
|
|
32795
|
+
backgroundColor: '#fff',
|
|
32796
|
+
width: 325,
|
|
32797
|
+
height: 325,
|
|
32798
|
+
borderRadius: 0,
|
|
32799
|
+
top: 148.5625,
|
|
32800
|
+
left: 28.4375,
|
|
32801
|
+
transform: 0,
|
|
32802
|
+
animation2: 'fadeInDown 1.5s ease 0.0s 1 normal backwards running',
|
|
32803
|
+
animation: 'fadeInDown 1.5s ease 0.0s 1 normal backwards running'
|
|
32804
|
+
},
|
|
32805
|
+
properties: {
|
|
32806
|
+
visible: true,
|
|
32807
|
+
isLock: false,
|
|
32808
|
+
required: true,
|
|
32809
|
+
musicName: '',
|
|
32810
|
+
musicLink: '',
|
|
32811
|
+
musicHash: '',
|
|
32812
|
+
shadowSize: 0,
|
|
32813
|
+
shadowColor: '#999999',
|
|
32814
|
+
shadowX: 0,
|
|
32815
|
+
shadowY: 0,
|
|
32816
|
+
shadowBlur: 0,
|
|
32817
|
+
shadowPoint: 270,
|
|
32818
|
+
aniOrigin: 'default',
|
|
32819
|
+
animations: [
|
|
32820
|
+
{
|
|
32821
|
+
animate: 'fadeInDown',
|
|
32822
|
+
count: 1,
|
|
32823
|
+
timing: 'ease',
|
|
32824
|
+
loop: false,
|
|
32825
|
+
delay: 0,
|
|
32826
|
+
duration: 1.5,
|
|
32827
|
+
name: '从上淡入',
|
|
32828
|
+
order: 'normal',
|
|
32829
|
+
type: 'normal',
|
|
32830
|
+
aniType: 'entry',
|
|
32831
|
+
allDelay: '0.0',
|
|
32832
|
+
id: 80102
|
|
32833
|
+
}
|
|
32834
|
+
],
|
|
32835
|
+
textAni: []
|
|
32836
|
+
},
|
|
32837
|
+
triggers: {
|
|
32838
|
+
event: 'music',
|
|
32839
|
+
link: 'http://www.baidu.com',
|
|
32840
|
+
go: 4,
|
|
32841
|
+
phone: '0622222222',
|
|
32842
|
+
musicName: '告白气球',
|
|
32843
|
+
musicLink: 'https://amp3.hunbei.com/mp3/qiniu/gaobaiqiqiu.mp3',
|
|
32844
|
+
musicHash: '',
|
|
32845
|
+
music_id: 2247,
|
|
32846
|
+
cat: 'sys',
|
|
32847
|
+
originalUrl: '',
|
|
32848
|
+
crop: null,
|
|
32849
|
+
},
|
|
32850
|
+
signType: 'time'
|
|
32851
|
+
};
|
|
32852
|
+
|
|
32853
|
+
const mapDefaultProps =
|
|
32854
|
+
// {
|
|
32855
|
+
// "id": '1714374739136',
|
|
32856
|
+
// "pid": "",
|
|
32857
|
+
// "type": "map",
|
|
32858
|
+
// "textContent": "",
|
|
32859
|
+
// "layerName": "地图20",
|
|
32860
|
+
// "btnName": "导航",
|
|
32861
|
+
// "sign": true,
|
|
32862
|
+
// "signSort": 4,
|
|
32863
|
+
// "mapStyle": "按钮",
|
|
32864
|
+
// "css": {
|
|
32865
|
+
// "borderWidth": 0,
|
|
32866
|
+
// "borderStyle": "solid",
|
|
32867
|
+
// "borderColor": "rgba(153, 153, 153, 1)",
|
|
32868
|
+
// "opacity": 1,
|
|
32869
|
+
// "fontSize": 30,
|
|
32870
|
+
// "color": "rgba(255, 255, 255, 1)",
|
|
32871
|
+
// "backgroundColor": "rgba(52, 68, 244, 1)",
|
|
32872
|
+
// "width": 220,
|
|
32873
|
+
// "height": 40,
|
|
32874
|
+
// "top": 378,
|
|
32875
|
+
// "left": 127.5,
|
|
32876
|
+
// "transform": 0,
|
|
32877
|
+
// "borderRadius": 0,
|
|
32878
|
+
// "animation2": "fadeIn 1.5s ease 1.0s 1 normal backwards running",
|
|
32879
|
+
// "animation": "fadeIn 1.5s ease 1.0s 1 normal backwards running"
|
|
32880
|
+
// },
|
|
32881
|
+
// "properties": {
|
|
32882
|
+
// "visible": true,
|
|
32883
|
+
// "isLock": false,
|
|
32884
|
+
// "required": true,
|
|
32885
|
+
// "musicName": "",
|
|
32886
|
+
// "musicLink": "",
|
|
32887
|
+
// "musicHash": "",
|
|
32888
|
+
// "shadowSize": 0,
|
|
32889
|
+
// "shadowColor": "#999999",
|
|
32890
|
+
// "shadowX": 0,
|
|
32891
|
+
// "shadowY": 0,
|
|
32892
|
+
// "shadowBlur": 0,
|
|
32893
|
+
// "shadowPoint": 270,
|
|
32894
|
+
// "aniOrigin": "default",
|
|
32895
|
+
// "animations": [
|
|
32896
|
+
// {
|
|
32897
|
+
// "animate": "fadeIn",
|
|
32898
|
+
// "count": 1,
|
|
32899
|
+
// "timing": "ease",
|
|
32900
|
+
// "loop": false,
|
|
32901
|
+
// "delay": 1,
|
|
32902
|
+
// "duration": 1.5,
|
|
32903
|
+
// "name": "淡入",
|
|
32904
|
+
// "order": "normal",
|
|
32905
|
+
// "type": "normal",
|
|
32906
|
+
// "aniType": "entry",
|
|
32907
|
+
// "allDelay": "1.0",
|
|
32908
|
+
// "id": 40976
|
|
32909
|
+
// }
|
|
32910
|
+
// ],
|
|
32911
|
+
// "lng": 120.298935,
|
|
32912
|
+
// "lat": 35.972687,
|
|
32913
|
+
// "location": "涵碧楼酒店",
|
|
32914
|
+
// "zoom": 15,
|
|
32915
|
+
// "type": "gaode",
|
|
32916
|
+
// "isMapEdit": 1,
|
|
32917
|
+
// "textAni": [],
|
|
32918
|
+
// "mapImg": "",
|
|
32919
|
+
// "mapChange": "120.298935|35.972687|15|205|205"
|
|
32920
|
+
// },
|
|
32921
|
+
// "signType": "ditu"
|
|
32922
|
+
// }
|
|
32923
|
+
{
|
|
32924
|
+
id: '',
|
|
32925
|
+
pid: '',
|
|
32926
|
+
type: 'map',
|
|
32927
|
+
textContent: '',
|
|
32928
|
+
layerName: 'map',
|
|
32929
|
+
btnName: 'Google Map',
|
|
32930
|
+
sign: true,
|
|
32931
|
+
signSort: 6,
|
|
32932
|
+
mapStyle: 'default',
|
|
32933
|
+
iframeUrl: '<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3875.8578774438038!2d100.54467957597053!3d13.72705308666229!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x30e29f2476aee2a3%3A0x6e91389d33667ab8!2sOne%20Bangkok!5e0!3m2!1szh-CN!2sth!4v1746974818429!5m2!1szh-CN!2sth" width="600" height="450" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>',
|
|
32934
|
+
url: 'https://maps.app.goo.gl/DbrLnbiWJt9DQa3y6',
|
|
32935
|
+
css: {
|
|
32936
|
+
borderWidth: 0,
|
|
32937
|
+
borderStyle: 'solid',
|
|
32938
|
+
borderColor: 'rgba(153, 153, 153, 1)',
|
|
32939
|
+
opacity: 1,
|
|
32940
|
+
fontSize: 30,
|
|
32941
|
+
color: 'rgba(255, 255, 255, 1)',
|
|
32942
|
+
backgroundColor: 'rgba(52, 68, 244, 1)',
|
|
32943
|
+
width: 220,
|
|
32944
|
+
height: 220,
|
|
32945
|
+
top: 196,
|
|
32946
|
+
left: 77,
|
|
32947
|
+
transform: 0,
|
|
32948
|
+
borderRadius: 0
|
|
32949
|
+
},
|
|
32950
|
+
properties: {
|
|
32951
|
+
visible: true,
|
|
32952
|
+
isLock: false,
|
|
32953
|
+
required: true,
|
|
32954
|
+
musicName: '',
|
|
32955
|
+
musicLink: '',
|
|
32956
|
+
musicHash: '',
|
|
32957
|
+
shadowSize: 0,
|
|
32958
|
+
shadowColor: '#999999',
|
|
32959
|
+
shadowX: 0,
|
|
32960
|
+
shadowY: 0,
|
|
32961
|
+
shadowBlur: 0,
|
|
32962
|
+
shadowPoint: 270,
|
|
32963
|
+
aniOrigin: 'default',
|
|
32964
|
+
animations: [],
|
|
32965
|
+
lng: 120.298935,
|
|
32966
|
+
lat: 35.972687,
|
|
32967
|
+
location: 'One Bangkok',
|
|
32968
|
+
zoom: 15,
|
|
32969
|
+
type: 'google',
|
|
32970
|
+
isMapEdit: 0
|
|
32971
|
+
},
|
|
32972
|
+
signType: 'map'
|
|
32973
|
+
};
|
|
32974
|
+
|
|
32975
|
+
const countdownDefaultProps = {
|
|
32976
|
+
id: '1749545996934',
|
|
32977
|
+
pid: '',
|
|
32978
|
+
type: 'countdown',
|
|
32979
|
+
layerName: 'countdown',
|
|
32980
|
+
deadline: '2025-11-15 13:00:00',
|
|
32981
|
+
endOption: 'zero',
|
|
32982
|
+
endText: '',
|
|
32983
|
+
sign: true,
|
|
32984
|
+
language: 'th',
|
|
32985
|
+
direction: 'across',
|
|
32986
|
+
signSort: 7,
|
|
32987
|
+
showType: 'flip',
|
|
32988
|
+
showSize: 'middle',
|
|
32989
|
+
css: {
|
|
32990
|
+
borderWidth: 0,
|
|
32991
|
+
borderStyle: 'solid',
|
|
32992
|
+
borderColor: 'rgba(153, 153, 153, 1)',
|
|
32993
|
+
opacity: 1,
|
|
32994
|
+
fontSize: 20,
|
|
32995
|
+
color: 'rgba(255, 255, 255, 1)',
|
|
32996
|
+
backgroundColor: '#000000',
|
|
32997
|
+
width: 375,
|
|
32998
|
+
height: 85,
|
|
32999
|
+
borderRadius: 5,
|
|
33000
|
+
top: 214.5,
|
|
33001
|
+
left: 35,
|
|
33002
|
+
transform: 0,
|
|
33003
|
+
textAlign: 'center',
|
|
33004
|
+
animation2: 'fadeInLeft 1.5s ease 0.0s 1 normal backwards running',
|
|
33005
|
+
animation: 'fadeInLeft 1.5s ease 0.0s 1 normal backwards running'
|
|
33006
|
+
},
|
|
33007
|
+
properties: {
|
|
33008
|
+
visible: true,
|
|
33009
|
+
isLock: false,
|
|
33010
|
+
required: true,
|
|
33011
|
+
musicName: '',
|
|
33012
|
+
musicLink: '',
|
|
33013
|
+
musicHash: '',
|
|
33014
|
+
shadowSize: 0,
|
|
33015
|
+
shadowColor: '#999999',
|
|
33016
|
+
shadowX: 0,
|
|
33017
|
+
shadowY: 0,
|
|
33018
|
+
shadowBlur: 0,
|
|
33019
|
+
shadowPoint: 270,
|
|
33020
|
+
aniOrigin: 'default',
|
|
33021
|
+
animations: [
|
|
33022
|
+
{
|
|
33023
|
+
animate: 'fadeInLeft',
|
|
33024
|
+
count: 1,
|
|
33025
|
+
timing: 'ease',
|
|
33026
|
+
loop: false,
|
|
33027
|
+
delay: 0,
|
|
33028
|
+
duration: 1.5,
|
|
33029
|
+
name: '从左淡入',
|
|
33030
|
+
order: 'normal',
|
|
33031
|
+
type: 'normal',
|
|
33032
|
+
aniType: 'entry',
|
|
33033
|
+
allDelay: '0.0',
|
|
33034
|
+
id: 9504
|
|
33035
|
+
}
|
|
33036
|
+
],
|
|
33037
|
+
textAni: []
|
|
33038
|
+
},
|
|
33039
|
+
signType: 'time'
|
|
33040
|
+
};
|
|
33041
|
+
|
|
33042
|
+
const effectDefaultProps = {
|
|
33043
|
+
id: '1749564784798',
|
|
33044
|
+
pid: '',
|
|
33045
|
+
type: 'effect',
|
|
33046
|
+
layerName: 'effect',
|
|
33047
|
+
sign: false,
|
|
33048
|
+
signSort: 1,
|
|
33049
|
+
css: {
|
|
33050
|
+
width: 375,
|
|
33051
|
+
height: 595,
|
|
33052
|
+
left: 0,
|
|
33053
|
+
top: 52.5,
|
|
33054
|
+
opacity: 1,
|
|
33055
|
+
transform: 0
|
|
33056
|
+
},
|
|
33057
|
+
properties: {
|
|
33058
|
+
type: 'petal',
|
|
33059
|
+
speed: 'middle',
|
|
33060
|
+
count: 'middle',
|
|
33061
|
+
visible: true,
|
|
33062
|
+
isLock: false,
|
|
33063
|
+
animations: []
|
|
33064
|
+
}
|
|
33065
|
+
};
|
|
33066
|
+
|
|
33067
|
+
const shapeDefaultProps = {
|
|
33068
|
+
id: "1722563395007",
|
|
33069
|
+
pid: "",
|
|
33070
|
+
type: "shape",
|
|
33071
|
+
layerName: "形状3",
|
|
33072
|
+
sign: false,
|
|
33073
|
+
signSort: 1,
|
|
33074
|
+
overturnType: 0,
|
|
33075
|
+
css: {
|
|
33076
|
+
fontFamily: "kanit",
|
|
33077
|
+
fontSize: 12,
|
|
33078
|
+
opacity: 0.35,
|
|
33079
|
+
width: 303,
|
|
33080
|
+
height: 525,
|
|
33081
|
+
left: 35.632000000000005,
|
|
33082
|
+
top: 60,
|
|
33083
|
+
transform: 0,
|
|
33084
|
+
borderRadius: 0,
|
|
33085
|
+
borderWidth: 0,
|
|
33086
|
+
borderColor: "rgba(153, 153, 153, 1)",
|
|
33087
|
+
borderStyle: "solid",
|
|
33088
|
+
svgPathColor: ["rgba(255, 255, 255, 1)"],
|
|
33089
|
+
animation2: "fadeIn 3s ease 2.4s 1 normal backwards running",
|
|
33090
|
+
animation: "fadeIn 3s ease 2.4s 1 normal backwards running"
|
|
33091
|
+
},
|
|
33092
|
+
triggers: {
|
|
33093
|
+
event: "",
|
|
33094
|
+
link: "",
|
|
33095
|
+
go: "",
|
|
33096
|
+
phone: "",
|
|
33097
|
+
musicName: "",
|
|
33098
|
+
musicLink: "",
|
|
33099
|
+
musicHash: ""
|
|
33100
|
+
},
|
|
33101
|
+
properties: {
|
|
33102
|
+
visible: true,
|
|
33103
|
+
isLock: false,
|
|
33104
|
+
required: true,
|
|
33105
|
+
musicName: "",
|
|
33106
|
+
musicLink: "",
|
|
33107
|
+
musicHash: "",
|
|
33108
|
+
shadowSize: 0,
|
|
33109
|
+
shadowColor: "#999999",
|
|
33110
|
+
shadowX: 0,
|
|
33111
|
+
shadowY: 0,
|
|
33112
|
+
shadowBlur: 0,
|
|
33113
|
+
shadowPoint: 270,
|
|
33114
|
+
aniOrigin: "default",
|
|
33115
|
+
animations: [
|
|
33116
|
+
{
|
|
33117
|
+
animate: "fadeIn",
|
|
33118
|
+
count: 1,
|
|
33119
|
+
timing: "ease",
|
|
33120
|
+
loop: false,
|
|
33121
|
+
delay: 2.4,
|
|
33122
|
+
duration: 3,
|
|
33123
|
+
name: "淡入",
|
|
33124
|
+
order: "normal",
|
|
33125
|
+
type: "normal",
|
|
33126
|
+
aniType: "entry",
|
|
33127
|
+
allDelay: "2.4",
|
|
33128
|
+
id: 68742
|
|
33129
|
+
}
|
|
33130
|
+
],
|
|
33131
|
+
src: "https://h5cdn.unika.cc/static/assets/shape/shape-1.svg",
|
|
33132
|
+
textAni: []
|
|
33133
|
+
}
|
|
33134
|
+
};
|
|
33135
|
+
|
|
33136
|
+
const lottieDefaultProps = {
|
|
33137
|
+
id: '1640154752919',
|
|
33138
|
+
pid: '',
|
|
33139
|
+
type: 'lottie',
|
|
33140
|
+
layerName: 'lottie动画11',
|
|
33141
|
+
sign: false,
|
|
33142
|
+
loop: false,
|
|
33143
|
+
delay: 2,
|
|
33144
|
+
aniPath: 'https://h5cdn.unika.cc/static/lotties/wedding.json',
|
|
33145
|
+
css: {
|
|
33146
|
+
left: 35.5,
|
|
33147
|
+
top: 105,
|
|
33148
|
+
width: 305,
|
|
33149
|
+
height: 305,
|
|
33150
|
+
opacity: 1,
|
|
33151
|
+
transform: 0
|
|
33152
|
+
},
|
|
33153
|
+
properties: {
|
|
33154
|
+
visible: true,
|
|
33155
|
+
isLock: false
|
|
33156
|
+
}
|
|
33157
|
+
};
|
|
33158
|
+
|
|
33159
|
+
const videoDefaultProps = {
|
|
33160
|
+
id: '',
|
|
33161
|
+
pid: '',
|
|
33162
|
+
type: 'video',
|
|
33163
|
+
videoCodeOri: '',
|
|
33164
|
+
videoCode: 'https://youtu.be/ER1R3lFOQFg',
|
|
33165
|
+
layerName: 'video',
|
|
33166
|
+
sign: true,
|
|
33167
|
+
signSort: 5,
|
|
33168
|
+
videoStyle: '固定播放',
|
|
33169
|
+
videoUrl: '',
|
|
33170
|
+
imgUrl: '',
|
|
33171
|
+
playMode: 'click',
|
|
33172
|
+
playLoop: true,
|
|
33173
|
+
playControls: true,
|
|
33174
|
+
videoType: 1,
|
|
33175
|
+
fullScreen: false,
|
|
33176
|
+
overturnType: 0,
|
|
33177
|
+
css: {
|
|
33178
|
+
width: 350,
|
|
33179
|
+
height: 197,
|
|
33180
|
+
left: 12,
|
|
33181
|
+
top: 268.5,
|
|
33182
|
+
opacity: 1,
|
|
33183
|
+
borderRadius: 0,
|
|
33184
|
+
borderWidth: 0,
|
|
33185
|
+
borderStyle: 'solid',
|
|
33186
|
+
borderColor: 'rgba(153, 153, 153, 1)',
|
|
33187
|
+
transform: 0,
|
|
33188
|
+
recordImgWidth: 350,
|
|
33189
|
+
recordImgHeight: 197,
|
|
33190
|
+
recordBtnWidth: 60,
|
|
33191
|
+
recordBtnHeight: 60
|
|
33192
|
+
},
|
|
33193
|
+
triggers: {
|
|
33194
|
+
event: '',
|
|
33195
|
+
link: '',
|
|
33196
|
+
go: null,
|
|
33197
|
+
phone: '',
|
|
33198
|
+
musicName: '',
|
|
33199
|
+
musicLink: '',
|
|
33200
|
+
musicHash: ''
|
|
33201
|
+
},
|
|
33202
|
+
properties: {
|
|
33203
|
+
visible: true,
|
|
33204
|
+
isLock: false,
|
|
33205
|
+
required: true,
|
|
33206
|
+
musicName: '',
|
|
33207
|
+
musicLink: '',
|
|
33208
|
+
musicHash: '',
|
|
33209
|
+
shadowSize: 0,
|
|
33210
|
+
shadowColor: '#999999',
|
|
33211
|
+
shadowX: 0,
|
|
33212
|
+
shadowY: 0,
|
|
33213
|
+
shadowBlur: 0,
|
|
33214
|
+
shadowPoint: 270,
|
|
33215
|
+
aniOrigin: 'default',
|
|
33216
|
+
animations: [],
|
|
33217
|
+
src: 'https://h5cdn.unika.cc/static/img/uniComponents/video_button1.png',
|
|
33218
|
+
cover: 'https://h5cdn.unika.cc/static/img/uniComponents/logo.png',
|
|
33219
|
+
realW: 0,
|
|
33220
|
+
realH: 0,
|
|
33221
|
+
maskId: ''
|
|
33222
|
+
},
|
|
33223
|
+
originalUrl: '',
|
|
33224
|
+
crop: ''
|
|
33225
|
+
};
|
|
33226
|
+
|
|
33227
|
+
const callDefaultProps = {
|
|
33228
|
+
id: '1749136706168',
|
|
33229
|
+
pid: '',
|
|
33230
|
+
type: 'call',
|
|
33231
|
+
tel: '18888888888',
|
|
33232
|
+
btnText: '一键拨号',
|
|
33233
|
+
layerName: '拨号16',
|
|
33234
|
+
sign: true,
|
|
33235
|
+
signSort: 6,
|
|
33236
|
+
css: {
|
|
33237
|
+
borderWidth: 0,
|
|
33238
|
+
borderStyle: 'solid',
|
|
33239
|
+
borderColor: 'rgba(153, 153, 153, 1)',
|
|
33240
|
+
opacity: 1,
|
|
33241
|
+
fontSize: 16,
|
|
33242
|
+
color: 'rgba(255, 255, 255, 1)',
|
|
33243
|
+
backgroundColor: 'rgb(33, 147, 255)',
|
|
33244
|
+
width: 120,
|
|
33245
|
+
height: 40,
|
|
33246
|
+
borderRadius: 10,
|
|
33247
|
+
top: 122,
|
|
33248
|
+
left: 155,
|
|
33249
|
+
transform: 0,
|
|
33250
|
+
},
|
|
33251
|
+
properties: {
|
|
33252
|
+
visible: true,
|
|
33253
|
+
isLock: false,
|
|
33254
|
+
required: true,
|
|
33255
|
+
musicName: '',
|
|
33256
|
+
musicLink: '',
|
|
33257
|
+
musicHash: '',
|
|
33258
|
+
shadowSize: 0,
|
|
33259
|
+
shadowColor: '#999999',
|
|
33260
|
+
shadowX: 0,
|
|
33261
|
+
shadowY: 0,
|
|
33262
|
+
shadowBlur: 0,
|
|
33263
|
+
shadowPoint: 270,
|
|
33264
|
+
aniOrigin: 'default',
|
|
33265
|
+
animations: [],
|
|
33266
|
+
}
|
|
33267
|
+
};
|
|
33268
|
+
|
|
33269
|
+
const buttonDefaultProps = {
|
|
33270
|
+
id: '1749136706168',
|
|
33271
|
+
pid: '',
|
|
33272
|
+
type: 'button',
|
|
33273
|
+
btnText: 'Button',
|
|
33274
|
+
layerName: 'button',
|
|
33275
|
+
sign: true,
|
|
33276
|
+
signSort: 6,
|
|
33277
|
+
css: {
|
|
33278
|
+
borderWidth: 0,
|
|
33279
|
+
borderStyle: 'solid',
|
|
33280
|
+
borderColor: 'rgba(153, 153, 153, 1)',
|
|
33281
|
+
opacity: 1,
|
|
33282
|
+
fontSize: 16,
|
|
33283
|
+
color: 'rgba(255, 255, 255, 1)',
|
|
33284
|
+
backgroundColor: 'rgb(33, 147, 255)',
|
|
33285
|
+
width: 120,
|
|
33286
|
+
height: 40,
|
|
33287
|
+
borderRadius: 10,
|
|
33288
|
+
top: 122,
|
|
33289
|
+
left: 155,
|
|
33290
|
+
transform: 0
|
|
33291
|
+
},
|
|
33292
|
+
triggers: {
|
|
33293
|
+
event: 'link',
|
|
33294
|
+
link: 'http://www.baidu.com',
|
|
33295
|
+
go: 4,
|
|
33296
|
+
phone: '0622222222',
|
|
33297
|
+
musicName: '告白气球',
|
|
33298
|
+
musicLink: 'https://amp3.hunbei.com/mp3/qiniu/gaobaiqiqiu.mp3',
|
|
33299
|
+
musicHash: '',
|
|
33300
|
+
music_id: 2247,
|
|
33301
|
+
cat: 'sys',
|
|
33302
|
+
originalUrl: '',
|
|
33303
|
+
crop: null,
|
|
33304
|
+
},
|
|
33305
|
+
properties: {
|
|
33306
|
+
visible: true,
|
|
33307
|
+
isLock: false,
|
|
33308
|
+
required: true,
|
|
33309
|
+
musicName: '',
|
|
33310
|
+
musicLink: '',
|
|
33311
|
+
musicHash: '',
|
|
33312
|
+
shadowSize: 0,
|
|
33313
|
+
shadowColor: '#999999',
|
|
33314
|
+
shadowX: 0,
|
|
33315
|
+
shadowY: 0,
|
|
33316
|
+
shadowBlur: 0,
|
|
33317
|
+
shadowPoint: 270,
|
|
33318
|
+
aniOrigin: 'default',
|
|
33319
|
+
animations: [],
|
|
33320
|
+
},
|
|
33321
|
+
};
|
|
33322
|
+
|
|
33323
|
+
const formInputDefaultProps = {
|
|
33324
|
+
id: 'id1',
|
|
33325
|
+
pid: '',
|
|
33326
|
+
type: 'form-input',
|
|
33327
|
+
title: '姓名',
|
|
33328
|
+
inputType: 'text',
|
|
33329
|
+
layerName: '输入框',
|
|
33330
|
+
sign: false,
|
|
33331
|
+
signSort: 1,
|
|
33332
|
+
css: {
|
|
33333
|
+
fontFamily: '微软雅黑',
|
|
33334
|
+
fontSize: 14,
|
|
33335
|
+
color: '#6e6e6e',
|
|
33336
|
+
width: 235,
|
|
33337
|
+
height: 40,
|
|
33338
|
+
left: 70,
|
|
33339
|
+
top: 330,
|
|
33340
|
+
backgroundColor: '#fff',
|
|
33341
|
+
borderRadius: 2,
|
|
33342
|
+
borderColor: 'rgba(153, 153, 153, 1)',
|
|
33343
|
+
borderWidth: 1,
|
|
33344
|
+
borderStyle: 'solid',
|
|
33345
|
+
transform: 0,
|
|
33346
|
+
opacity: 1
|
|
33347
|
+
},
|
|
33348
|
+
properties: {
|
|
33349
|
+
visible: true,
|
|
33350
|
+
isLock: false,
|
|
33351
|
+
required: true,
|
|
33352
|
+
musicName: '',
|
|
33353
|
+
musicLink: '',
|
|
33354
|
+
musicHash: '',
|
|
33355
|
+
shadowSize: 0,
|
|
33356
|
+
shadowColor: '#999999',
|
|
33357
|
+
shadowX: 0,
|
|
33358
|
+
shadowY: 0,
|
|
33359
|
+
shadowBlur: 0,
|
|
33360
|
+
shadowPoint: 270,
|
|
33361
|
+
aniOrigin: 'default',
|
|
33362
|
+
animations: []
|
|
33363
|
+
}
|
|
33364
|
+
};
|
|
33365
|
+
|
|
33366
|
+
const formSubmitDefaultProps = {
|
|
33367
|
+
id: 'id4',
|
|
33368
|
+
pid: '',
|
|
33369
|
+
btName: '提交',
|
|
33370
|
+
type: 'form-submit',
|
|
33371
|
+
layerName: 'submitFormButton',
|
|
33372
|
+
sign: false,
|
|
33373
|
+
signSort: 1,
|
|
33374
|
+
subType: 'allPage',
|
|
33375
|
+
succEvent: 'alert',
|
|
33376
|
+
succAlert: '提交成功,感谢您的参与!',
|
|
33377
|
+
succUrl: '',
|
|
33378
|
+
css: {
|
|
33379
|
+
width: 235,
|
|
33380
|
+
height: 40,
|
|
33381
|
+
lineHeight: 1,
|
|
33382
|
+
color: '#fff',
|
|
33383
|
+
fontSize: 16,
|
|
33384
|
+
left: 70,
|
|
33385
|
+
top: 480,
|
|
33386
|
+
borderRadius: 4,
|
|
33387
|
+
borderColor: 'rgba(153, 153, 153, 1)',
|
|
33388
|
+
borderWidth: 0,
|
|
33389
|
+
borderStyle: 'solid',
|
|
33390
|
+
backgroundColor: '#2687f1',
|
|
33391
|
+
textAlign: 'center',
|
|
33392
|
+
transform: 0,
|
|
33393
|
+
opacity: 1
|
|
33394
|
+
},
|
|
33395
|
+
properties: {
|
|
33396
|
+
visible: true,
|
|
33397
|
+
isLock: false,
|
|
33398
|
+
required: true,
|
|
33399
|
+
musicName: '',
|
|
33400
|
+
musicLink: '',
|
|
33401
|
+
musicHash: '',
|
|
33402
|
+
shadowSize: 0,
|
|
33403
|
+
shadowColor: '#999999',
|
|
33404
|
+
shadowX: 0,
|
|
33405
|
+
shadowY: 0,
|
|
33406
|
+
shadowBlur: 0,
|
|
33407
|
+
shadowPoint: 270,
|
|
33408
|
+
aniOrigin: 'default',
|
|
33409
|
+
animations: []
|
|
33410
|
+
}
|
|
33411
|
+
};
|
|
33412
|
+
|
|
32700
33413
|
/** 送呈快捷短语 — 开发/编辑器 fallback;生产环境由 biz-editor-server API 提供 */
|
|
32701
33414
|
const INVITE_QUICK_PHRASES = [
|
|
32702
33415
|
'邀请您一道分享我们的喜悦',
|
|
@@ -32766,4 +33479,4 @@ var index = {
|
|
|
32766
33479
|
install
|
|
32767
33480
|
};
|
|
32768
33481
|
|
|
32769
|
-
export { INVITE_COVER_TEMPLATES, INVITE_QUICK_PHRASES, script$g as UniBarrage, script$h as UniButton, script$n as UniCalendar, script$k as UniCall, script$m as UniCountdown, script$j as UniEffect, script$a as UniFormContainer, script$f as UniFormInput, script$b as UniFormMultiple, script$d as UniFormSelect, script$c as UniFormSingle, script$e as UniFormSubmit, script$r as UniImage, script$1 as UniInvite, script$i as UniLottie, script$l as UniMap, script$5 as UniMenu, script$6 as UniMenuMap, script$9 as UniMenuReceipt, script$7 as UniMenuTel, script$8 as UniMenuVideo, script$p as UniMusic, script$q as UniShape, script$s as UniText, script$o as UniVideo, script$4 as UniWatermark, script as WorkRender, script$3 as WorkRenderH5, script$2 as WorkRenderLong, applyInviteStateToGlobal, applyTemplateToInviteItem, applyTextAnimation, applyTextAnimationsForPage, index as default, getInviteDismissDelay, getInviteRenderFromGlobal, getInviteTemplateById, install, inviteDefaultProps, isValidInviteItem, resolveInviteRenderData, restoreTextAnimation, useInviteManager };
|
|
33482
|
+
export { INVITE_COVER_TEMPLATES, INVITE_QUICK_PHRASES, script$g as UniBarrage, script$h as UniButton, script$n as UniCalendar, script$k as UniCall, script$m as UniCountdown, script$j as UniEffect, script$a as UniFormContainer, script$f as UniFormInput, script$b as UniFormMultiple, script$d as UniFormSelect, script$c as UniFormSingle, script$e as UniFormSubmit, script$r as UniImage, script$1 as UniInvite, script$i as UniLottie, script$l as UniMap, script$5 as UniMenu, script$6 as UniMenuMap, script$9 as UniMenuReceipt, script$7 as UniMenuTel, script$8 as UniMenuVideo, script$p as UniMusic, script$q as UniShape, script$s as UniText, script$o as UniVideo, script$4 as UniWatermark, script as WorkRender, script$3 as WorkRenderH5, script$2 as WorkRenderLong, applyInviteStateToGlobal, applyTemplateToInviteItem, applyTextAnimation, applyTextAnimationsForPage, buttonDefaultProps, calendarDefaultProps, callDefaultProps, countdownDefaultProps, index as default, effectDefaultProps, formInputDefaultProps, formSubmitDefaultProps, getInviteDismissDelay, getInviteRenderFromGlobal, getInviteTemplateById, install, inviteDefaultProps, isValidInviteItem, lottieDefaultProps, mapDefaultProps, musicDefaultProps, resolveInviteRenderData, restoreTextAnimation, shapeDefaultProps, useInviteManager, videoDefaultProps };
|