unika-components 1.0.71 → 1.0.73
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/src/components/UniCalendar/UniCalendar.vue.d.ts +3 -3
- package/dist/src/components/UniCall/UniCall.vue.d.ts +30 -3
- package/dist/src/components/UniLotties/UniLotties.vue.d.ts +3 -3
- package/dist/src/defaultProps.d.ts +12 -6
- package/dist/unika-components.css +320 -320
- package/dist/unika-components.esm.js +30 -11
- package/dist/unika-components.umd.js +30 -11
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7
7
|
type: StringConstructor;
|
|
8
8
|
default: string;
|
|
9
9
|
};
|
|
10
|
-
|
|
10
|
+
calTransform: {
|
|
11
11
|
type: StringConstructor;
|
|
12
12
|
default: string;
|
|
13
13
|
};
|
|
@@ -74,7 +74,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
74
74
|
type: StringConstructor;
|
|
75
75
|
default: string;
|
|
76
76
|
};
|
|
77
|
-
|
|
77
|
+
calTransform: {
|
|
78
78
|
type: StringConstructor;
|
|
79
79
|
default: string;
|
|
80
80
|
};
|
|
@@ -125,7 +125,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
125
125
|
}>>, {
|
|
126
126
|
left: string;
|
|
127
127
|
top: string;
|
|
128
|
-
|
|
128
|
+
calTransform: string;
|
|
129
129
|
opacity: number;
|
|
130
130
|
date: string;
|
|
131
131
|
backgroundColor: string;
|
|
@@ -11,10 +11,22 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
11
|
type: StringConstructor;
|
|
12
12
|
default: string;
|
|
13
13
|
};
|
|
14
|
-
|
|
14
|
+
callText: {
|
|
15
15
|
type: StringConstructor;
|
|
16
16
|
default: string;
|
|
17
17
|
};
|
|
18
|
+
opacity: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
default: number;
|
|
21
|
+
};
|
|
22
|
+
fontSize: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
isEditing: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
18
30
|
}, {
|
|
19
31
|
styleProps: import("vue").ComputedRef<Pick<any, string>>;
|
|
20
32
|
handleClick: () => void;
|
|
@@ -32,14 +44,29 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
32
44
|
type: StringConstructor;
|
|
33
45
|
default: string;
|
|
34
46
|
};
|
|
35
|
-
|
|
47
|
+
callText: {
|
|
36
48
|
type: StringConstructor;
|
|
37
49
|
default: string;
|
|
38
50
|
};
|
|
51
|
+
opacity: {
|
|
52
|
+
type: NumberConstructor;
|
|
53
|
+
default: number;
|
|
54
|
+
};
|
|
55
|
+
fontSize: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
isEditing: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
39
63
|
}>>, {
|
|
40
64
|
phoneNumber: string;
|
|
41
65
|
fontColor: string;
|
|
42
66
|
backgroundColor: string;
|
|
43
|
-
|
|
67
|
+
callText: string;
|
|
68
|
+
opacity: number;
|
|
69
|
+
fontSize: string;
|
|
70
|
+
isEditing: boolean;
|
|
44
71
|
}, {}>;
|
|
45
72
|
export default _default;
|
|
@@ -15,7 +15,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15
15
|
type: StringConstructor;
|
|
16
16
|
default: string;
|
|
17
17
|
};
|
|
18
|
-
|
|
18
|
+
transform: {
|
|
19
19
|
type: StringConstructor;
|
|
20
20
|
default: string;
|
|
21
21
|
};
|
|
@@ -378,7 +378,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
378
378
|
type: StringConstructor;
|
|
379
379
|
default: string;
|
|
380
380
|
};
|
|
381
|
-
|
|
381
|
+
transform: {
|
|
382
382
|
type: StringConstructor;
|
|
383
383
|
default: string;
|
|
384
384
|
};
|
|
@@ -402,6 +402,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
402
402
|
height: string;
|
|
403
403
|
delay: number;
|
|
404
404
|
top: string;
|
|
405
|
-
|
|
405
|
+
transform: string;
|
|
406
406
|
}, {}>;
|
|
407
407
|
export default _default;
|
|
@@ -264,7 +264,7 @@ export declare const callDefaultProps: {
|
|
|
264
264
|
top: string;
|
|
265
265
|
width: string;
|
|
266
266
|
height: string;
|
|
267
|
-
|
|
267
|
+
calTransform: string;
|
|
268
268
|
borderRadius: string;
|
|
269
269
|
borderStyle: string;
|
|
270
270
|
borderWidth: string;
|
|
@@ -272,7 +272,10 @@ export declare const callDefaultProps: {
|
|
|
272
272
|
fontColor: string;
|
|
273
273
|
backgroundColor: string;
|
|
274
274
|
phoneNumber: string;
|
|
275
|
-
|
|
275
|
+
callText: string;
|
|
276
|
+
fontSize: string;
|
|
277
|
+
opacity: number;
|
|
278
|
+
isEditing: boolean;
|
|
276
279
|
};
|
|
277
280
|
export declare const buttonDefaultProps: {
|
|
278
281
|
left: string;
|
|
@@ -341,7 +344,7 @@ export declare const lottiesDefaultProps: {
|
|
|
341
344
|
top: string;
|
|
342
345
|
width: string;
|
|
343
346
|
height: string;
|
|
344
|
-
|
|
347
|
+
transform: string;
|
|
345
348
|
loop: boolean;
|
|
346
349
|
delay: number;
|
|
347
350
|
pauseAnimation: boolean;
|
|
@@ -535,7 +538,7 @@ export declare const componentsDefaultProps: {
|
|
|
535
538
|
top: string;
|
|
536
539
|
width: string;
|
|
537
540
|
height: string;
|
|
538
|
-
|
|
541
|
+
calTransform: string;
|
|
539
542
|
borderRadius: string;
|
|
540
543
|
borderStyle: string;
|
|
541
544
|
borderWidth: string;
|
|
@@ -543,7 +546,10 @@ export declare const componentsDefaultProps: {
|
|
|
543
546
|
fontColor: string;
|
|
544
547
|
backgroundColor: string;
|
|
545
548
|
phoneNumber: string;
|
|
546
|
-
|
|
549
|
+
callText: string;
|
|
550
|
+
fontSize: string;
|
|
551
|
+
opacity: number;
|
|
552
|
+
isEditing: boolean;
|
|
547
553
|
};
|
|
548
554
|
};
|
|
549
555
|
'uni-like': {
|
|
@@ -605,7 +611,7 @@ export declare const componentsDefaultProps: {
|
|
|
605
611
|
top: string;
|
|
606
612
|
width: string;
|
|
607
613
|
height: string;
|
|
608
|
-
|
|
614
|
+
transform: string;
|
|
609
615
|
loop: boolean;
|
|
610
616
|
delay: number;
|
|
611
617
|
pauseAnimation: boolean;
|
|
@@ -1,7 +1,39 @@
|
|
|
1
|
-
|
|
2
|
-
.uni-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
|
|
2
|
+
.uni-background-component {
|
|
3
|
+
width: 100%;
|
|
4
|
+
}
|
|
5
|
+
.bg-img {
|
|
6
|
+
width: 100%;
|
|
7
|
+
height: 100%;
|
|
8
|
+
object-fit: cover;
|
|
9
|
+
z-index:1;
|
|
10
|
+
}
|
|
11
|
+
.watermark {
|
|
12
|
+
height: 100%;
|
|
13
|
+
position: absolute;
|
|
14
|
+
top: 0;
|
|
15
|
+
left: 0;
|
|
16
|
+
right: 0;
|
|
17
|
+
bottom: 0;
|
|
18
|
+
}
|
|
19
|
+
.watermark-div {
|
|
20
|
+
height: 100%;
|
|
21
|
+
width:100%;
|
|
22
|
+
position:absolute;
|
|
23
|
+
z-index:99999999;
|
|
24
|
+
}
|
|
25
|
+
body:before{
|
|
26
|
+
content: '';
|
|
27
|
+
position: fixed;
|
|
28
|
+
top: 0;
|
|
29
|
+
bottom: 0;
|
|
30
|
+
left: 0;
|
|
31
|
+
right: 0;
|
|
32
|
+
z-index: -1;
|
|
33
|
+
/* background: url(https://unika-static-dev.unika.cc/logo.png) 0 0 repeat; */
|
|
34
|
+
background-position: center;
|
|
35
|
+
opacity: 0.1;
|
|
36
|
+
}
|
|
5
37
|
|
|
6
38
|
.slide-guide {
|
|
7
39
|
position: absolute;
|
|
@@ -75,84 +107,11 @@ body, html {
|
|
|
75
107
|
transform: translate3d(-50%, -50%, 0);
|
|
76
108
|
}
|
|
77
109
|
}
|
|
78
|
-
|
|
79
|
-
.uni-background-component {
|
|
80
|
-
width: 100%;
|
|
81
|
-
}
|
|
82
|
-
.bg-img {
|
|
83
|
-
width: 100%;
|
|
84
|
-
height: 100%;
|
|
85
|
-
object-fit: cover;
|
|
86
|
-
z-index:1;
|
|
87
|
-
}
|
|
88
|
-
.watermark {
|
|
89
|
-
height: 100%;
|
|
90
|
-
position: absolute;
|
|
91
|
-
top: 0;
|
|
92
|
-
left: 0;
|
|
93
|
-
right: 0;
|
|
94
|
-
bottom: 0;
|
|
95
|
-
}
|
|
96
|
-
.watermark-div {
|
|
97
|
-
height: 100%;
|
|
98
|
-
width:100%;
|
|
99
|
-
position:absolute;
|
|
100
|
-
z-index:99999999;
|
|
101
|
-
}
|
|
102
|
-
body:before{
|
|
103
|
-
content: '';
|
|
104
|
-
position: fixed;
|
|
105
|
-
top: 0;
|
|
106
|
-
bottom: 0;
|
|
107
|
-
left: 0;
|
|
108
|
-
right: 0;
|
|
109
|
-
z-index: -1;
|
|
110
|
-
/* background: url(https://unika-static-dev.unika.cc/logo.png) 0 0 repeat; */
|
|
111
|
-
background-position: center;
|
|
112
|
-
opacity: 0.1;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.slot-number {
|
|
116
|
-
position: absolute;
|
|
117
|
-
bottom: 2px;
|
|
118
|
-
left: 7px;
|
|
119
|
-
font-size: 12px;
|
|
120
|
-
color: #666
|
|
121
|
-
}
|
|
122
110
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
}
|
|
126
|
-
button.uni-text-component {
|
|
127
|
-
padding: 5px 10px;
|
|
128
|
-
cursor: pointer;
|
|
129
|
-
}
|
|
130
|
-
.uni-text-component {
|
|
131
|
-
box-sizing: border-box;
|
|
132
|
-
white-space: pre-wrap;
|
|
111
|
+
.uni-image-component {
|
|
112
|
+
max-width: 100%;
|
|
133
113
|
}
|
|
134
114
|
|
|
135
|
-
.uni-video-component {
|
|
136
|
-
position: relative;
|
|
137
|
-
text-align: center;
|
|
138
|
-
}
|
|
139
|
-
.play-pause-button {
|
|
140
|
-
position: absolute;
|
|
141
|
-
top: 50%;
|
|
142
|
-
left: 50%;
|
|
143
|
-
transform: translate(-50%, -50%);
|
|
144
|
-
cursor: pointer;
|
|
145
|
-
font-size: 2rem;
|
|
146
|
-
color: #fff;
|
|
147
|
-
background: rgba(0, 0, 0, 0.6);
|
|
148
|
-
border-radius: 50%;
|
|
149
|
-
padding: 10px;
|
|
150
|
-
transition: background 0.3s;
|
|
151
|
-
}
|
|
152
|
-
.play-pause-button:hover {
|
|
153
|
-
background: rgba(0, 0, 0, 0.8);
|
|
154
|
-
}
|
|
155
|
-
|
|
156
115
|
#audio {
|
|
157
116
|
position: absolute;
|
|
158
117
|
right: 10px;
|
|
@@ -248,6 +207,47 @@ button.uni-text-component {
|
|
|
248
207
|
}
|
|
249
208
|
}
|
|
250
209
|
|
|
210
|
+
.slot-number {
|
|
211
|
+
position: absolute;
|
|
212
|
+
bottom: 2px;
|
|
213
|
+
left: 7px;
|
|
214
|
+
font-size: 12px;
|
|
215
|
+
color: #666
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.uni-video-component {
|
|
219
|
+
position: relative;
|
|
220
|
+
text-align: center;
|
|
221
|
+
}
|
|
222
|
+
.play-pause-button {
|
|
223
|
+
position: absolute;
|
|
224
|
+
top: 50%;
|
|
225
|
+
left: 50%;
|
|
226
|
+
transform: translate(-50%, -50%);
|
|
227
|
+
cursor: pointer;
|
|
228
|
+
font-size: 2rem;
|
|
229
|
+
color: #fff;
|
|
230
|
+
background: rgba(0, 0, 0, 0.6);
|
|
231
|
+
border-radius: 50%;
|
|
232
|
+
padding: 10px;
|
|
233
|
+
transition: background 0.3s;
|
|
234
|
+
}
|
|
235
|
+
.play-pause-button:hover {
|
|
236
|
+
background: rgba(0, 0, 0, 0.8);
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
h2.uni-text-component, p.uni-text-component {
|
|
240
|
+
margin-bottom: 0;
|
|
241
|
+
}
|
|
242
|
+
button.uni-text-component {
|
|
243
|
+
padding: 5px 10px;
|
|
244
|
+
cursor: pointer;
|
|
245
|
+
}
|
|
246
|
+
.uni-text-component {
|
|
247
|
+
box-sizing: border-box;
|
|
248
|
+
white-space: pre-wrap;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
251
|
.like-button {
|
|
252
252
|
display: flex;
|
|
253
253
|
flex-direction: column;
|
|
@@ -270,11 +270,6 @@ button.uni-text-component {
|
|
|
270
270
|
color: #333;
|
|
271
271
|
}
|
|
272
272
|
|
|
273
|
-
.effect {
|
|
274
|
-
width: 100%;
|
|
275
|
-
height: 100%;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
273
|
.ant-input-number {
|
|
279
274
|
box-sizing: border-box;
|
|
280
275
|
margin: 0;
|
|
@@ -310,6 +305,11 @@ button.uni-text-component {
|
|
|
310
305
|
vertical-align: top;
|
|
311
306
|
}
|
|
312
307
|
|
|
308
|
+
.effect {
|
|
309
|
+
width: 100%;
|
|
310
|
+
height: 100%;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
313
|
.swiper-warp {
|
|
314
314
|
width: 100%;
|
|
315
315
|
height: 100%;
|
|
@@ -871,249 +871,62 @@ button.swiper-pagination-bullet {
|
|
|
871
871
|
backface-visibility: hidden;
|
|
872
872
|
}
|
|
873
873
|
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
font-size: var(--countdown-size, 2rem);
|
|
878
|
-
line-height: 1.5;
|
|
879
|
-
display: block;
|
|
880
|
-
color: var(--main-color, #EC685C);
|
|
874
|
+
.unika-calendar-title {
|
|
875
|
+
font-size: 25px;
|
|
876
|
+
padding-bottom: 4px;
|
|
881
877
|
}
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
878
|
+
.unika-calendar-header {
|
|
879
|
+
display: -webkit-box;
|
|
880
|
+
display: -ms-flexbox;
|
|
881
|
+
display: flex;
|
|
882
|
+
-webkit-box-pack: justify;
|
|
883
|
+
-ms-flex-pack: justify;
|
|
884
|
+
justify-content: space-between;
|
|
885
|
+
-webkit-box-align: end;
|
|
886
|
+
-ms-flex-align: end;
|
|
887
|
+
align-items: flex-end;
|
|
888
|
+
line-height: 1;
|
|
889
|
+
padding: 0 47px 20px;
|
|
887
890
|
}
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
.flip-clock *:after {
|
|
892
|
-
box-sizing: border-box;
|
|
891
|
+
.unika-calendar-header .disabled {
|
|
892
|
+
pointer-events: none;
|
|
893
|
+
color: #f0f0f0;
|
|
893
894
|
}
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
display:
|
|
897
|
-
|
|
895
|
+
.unika-calendar-th {
|
|
896
|
+
display: -webkit-box;
|
|
897
|
+
display: -ms-flexbox;
|
|
898
|
+
display: flex;
|
|
899
|
+
-webkit-box-pack: start;
|
|
900
|
+
-ms-flex-pack: start;
|
|
901
|
+
justify-content: flex-start;
|
|
902
|
+
height: 25px;
|
|
903
|
+
line-height: 25px;
|
|
904
|
+
padding: 0 10px;
|
|
905
|
+
border-radius: 13px
|
|
898
906
|
}
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
907
|
+
.unika-calendar-th > * {
|
|
908
|
+
width: 14.2%;
|
|
909
|
+
text-align: center;
|
|
910
|
+
color: #fff;
|
|
911
|
+
font-size: 15px;
|
|
904
912
|
}
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
font-size: var(--label-size, 1rem);
|
|
908
|
-
line-height: 1.5;
|
|
909
|
-
display: block;
|
|
910
|
-
color: var(--label-color, #222222);
|
|
913
|
+
.unika-calendar-th > *:not(:first-child) {
|
|
914
|
+
margin-left: 10px;
|
|
911
915
|
}
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
916
|
+
.unika-calendar-body {
|
|
917
|
+
padding: 0;
|
|
918
|
+
margin: 0;
|
|
919
|
+
font-size: 0;
|
|
920
|
+
padding: 5px 10px 0;
|
|
921
|
+
text-align: left;
|
|
922
|
+
}
|
|
923
|
+
.unika-calendar-editor {
|
|
924
|
+
font-size: 25px;
|
|
925
|
+
}
|
|
926
|
+
.unika-calendar-editor span {
|
|
915
927
|
position: relative;
|
|
916
|
-
|
|
917
|
-
font-size:
|
|
918
|
-
line-height: 0.95;
|
|
919
|
-
}
|
|
920
|
-
|
|
921
|
-
@media (min-width: 1000px) {
|
|
922
|
-
.flip-clock__slot {
|
|
923
|
-
font-size: 1.2rem;
|
|
924
|
-
}
|
|
925
|
-
|
|
926
|
-
.flip-card {
|
|
927
|
-
font-size: 3rem;
|
|
928
|
-
}
|
|
929
|
-
}
|
|
930
|
-
|
|
931
|
-
.flip-card__top,
|
|
932
|
-
.flip-card__bottom,
|
|
933
|
-
.flip-card__back-bottom,
|
|
934
|
-
.flip-card__back::before,
|
|
935
|
-
.flip-card__back::after{
|
|
936
|
-
display: block;
|
|
937
|
-
height: 0.72em; /* halfHeight */
|
|
938
|
-
color: var(--main-color, #EC685C);
|
|
939
|
-
background: var(--main-flip-background-color, #222222);
|
|
940
|
-
padding: 0.23em 0.15em 0.4em;
|
|
941
|
-
border-radius: 0.15em 0.15em 0 0; /* borderRadius */
|
|
942
|
-
backface-visibility: hidden;
|
|
943
|
-
-webkit-backface-visibility: hidden;
|
|
944
|
-
transform-style: preserve-3d;
|
|
945
|
-
width: 2.1em;
|
|
946
|
-
}
|
|
947
|
-
|
|
948
|
-
.flip-card__top-4digits,
|
|
949
|
-
.flip-card__bottom-4digits,
|
|
950
|
-
.flip-card__back-bottom-4digits,
|
|
951
|
-
.flip-card__back-4digits::before,
|
|
952
|
-
.flip-card__back-4digits::after {
|
|
953
|
-
display: block;
|
|
954
|
-
height: 0.72em; /* halfHeight */
|
|
955
|
-
color: var(--main-color, #EC685C);
|
|
956
|
-
background: var(--main-flip-background-color, #222222);
|
|
957
|
-
padding: 0.23em 0.15em 0.4em;
|
|
958
|
-
border-radius: 0.15em 0.15em 0 0; /* borderRadius */
|
|
959
|
-
backface-visibility: hidden;
|
|
960
|
-
-webkit-backface-visibility: hidden;
|
|
961
|
-
transform-style: preserve-3d;
|
|
962
|
-
width: 2.65em;
|
|
963
|
-
}
|
|
964
|
-
|
|
965
|
-
.flip-card__bottom,
|
|
966
|
-
.flip-card__back-bottom,
|
|
967
|
-
.flip-card__bottom-4digits,
|
|
968
|
-
.flip-card__back-bottom-4digits {
|
|
969
|
-
color: var(--second-flip-color, #EC685C);
|
|
970
|
-
position: absolute;
|
|
971
|
-
top: 50%;
|
|
972
|
-
left: 0;
|
|
973
|
-
border-top: solid 1px var(--second-flip-background-color, #000);
|
|
974
|
-
background: var(--second-flip-background-color, #393939);
|
|
975
|
-
border-radius: 0 0 0.15em 0.15em; /* borderRadius */
|
|
976
|
-
pointer-events: none;
|
|
977
|
-
overflow: hidden;
|
|
978
|
-
z-index: 2;
|
|
979
|
-
}
|
|
980
|
-
|
|
981
|
-
.flip-card__back-bottom,
|
|
982
|
-
.flip-card__back-bottom-4digits {
|
|
983
|
-
z-index: 1;
|
|
984
|
-
}
|
|
985
|
-
|
|
986
|
-
.flip-card__bottom::after,
|
|
987
|
-
.flip-card__back-bottom::after,
|
|
988
|
-
.flip-card__bottom-4digits::after,
|
|
989
|
-
.flip-card__back-bottom-4digits::after {
|
|
990
|
-
display: block;
|
|
991
|
-
margin-top: -0.72em; /* Negative halfHeight */
|
|
992
|
-
}
|
|
993
|
-
.flip-card__back::before,
|
|
994
|
-
.flip-card__bottom::after,
|
|
995
|
-
.flip-card__back-bottom::after,
|
|
996
|
-
.flip-card__back-4digits::before,
|
|
997
|
-
.flip-card__bottom-4digits::after,
|
|
998
|
-
.flip-card__back-bottom-4digits::after {
|
|
999
|
-
content: attr(data-value);
|
|
1000
|
-
}
|
|
1001
|
-
|
|
1002
|
-
.flip-card__back,
|
|
1003
|
-
.flip-card__back-4digits {
|
|
1004
|
-
position: absolute;
|
|
1005
|
-
top: 0;
|
|
1006
|
-
height: 100%;
|
|
1007
|
-
left: 0%;
|
|
1008
|
-
pointer-events: none;
|
|
1009
|
-
}
|
|
1010
|
-
.flip-card__back::before,
|
|
1011
|
-
.flip-card__back-4digits::before {
|
|
1012
|
-
position: relative;
|
|
1013
|
-
overflow: hidden;
|
|
1014
|
-
z-index: -1;
|
|
1015
|
-
}
|
|
1016
|
-
|
|
1017
|
-
.flip .flip-card__back::before,
|
|
1018
|
-
.flip .flip-card__back-4digits::before {
|
|
1019
|
-
z-index: 1;
|
|
1020
|
-
animation: flipTop 0.3s cubic-bezier(0.37, 0.01, 0.94, 0.35);
|
|
1021
|
-
animation-fill-mode: both;
|
|
1022
|
-
transform-origin: center bottom;
|
|
1023
|
-
}
|
|
1024
|
-
|
|
1025
|
-
.flip .flip-card__bottom,
|
|
1026
|
-
.flip .flip-card__bottom-4digits {
|
|
1027
|
-
transform-origin: center top;
|
|
1028
|
-
animation-fill-mode: both;
|
|
1029
|
-
animation: flipBottom 0.6s cubic-bezier(0.15, 0.45, 0.28, 1);
|
|
1030
|
-
}
|
|
1031
|
-
@keyframes flipTop {
|
|
1032
|
-
0% {
|
|
1033
|
-
transform: rotateX(0deg);
|
|
1034
|
-
z-index: 2;
|
|
1035
|
-
}
|
|
1036
|
-
0%, 99% {
|
|
1037
|
-
opacity: 1;
|
|
1038
|
-
}
|
|
1039
|
-
100% {
|
|
1040
|
-
transform: rotateX(-90deg);
|
|
1041
|
-
opacity: 0;
|
|
1042
|
-
}
|
|
1043
|
-
}
|
|
1044
|
-
|
|
1045
|
-
@keyframes flipBottom {
|
|
1046
|
-
0%, 50% {
|
|
1047
|
-
z-index: -1;
|
|
1048
|
-
transform: rotateX(90deg);
|
|
1049
|
-
opacity: 0;
|
|
1050
|
-
}
|
|
1051
|
-
51% {
|
|
1052
|
-
opacity: 1;
|
|
1053
|
-
}
|
|
1054
|
-
100% {
|
|
1055
|
-
opacity: 1;
|
|
1056
|
-
transform: rotateX(0deg);
|
|
1057
|
-
z-index: 5;
|
|
1058
|
-
}
|
|
1059
|
-
}
|
|
1060
|
-
|
|
1061
|
-
.unika-calendar-title {
|
|
1062
|
-
font-size: 25px;
|
|
1063
|
-
padding-bottom: 4px;
|
|
1064
|
-
}
|
|
1065
|
-
.unika-calendar-header {
|
|
1066
|
-
display: -webkit-box;
|
|
1067
|
-
display: -ms-flexbox;
|
|
1068
|
-
display: flex;
|
|
1069
|
-
-webkit-box-pack: justify;
|
|
1070
|
-
-ms-flex-pack: justify;
|
|
1071
|
-
justify-content: space-between;
|
|
1072
|
-
-webkit-box-align: end;
|
|
1073
|
-
-ms-flex-align: end;
|
|
1074
|
-
align-items: flex-end;
|
|
1075
|
-
line-height: 1;
|
|
1076
|
-
padding: 0 47px 20px;
|
|
1077
|
-
}
|
|
1078
|
-
.unika-calendar-header .disabled {
|
|
1079
|
-
pointer-events: none;
|
|
1080
|
-
color: #f0f0f0;
|
|
1081
|
-
}
|
|
1082
|
-
.unika-calendar-th {
|
|
1083
|
-
display: -webkit-box;
|
|
1084
|
-
display: -ms-flexbox;
|
|
1085
|
-
display: flex;
|
|
1086
|
-
-webkit-box-pack: start;
|
|
1087
|
-
-ms-flex-pack: start;
|
|
1088
|
-
justify-content: flex-start;
|
|
1089
|
-
height: 25px;
|
|
1090
|
-
line-height: 25px;
|
|
1091
|
-
padding: 0 10px;
|
|
1092
|
-
border-radius: 13px
|
|
1093
|
-
}
|
|
1094
|
-
.unika-calendar-th > * {
|
|
1095
|
-
width: 14.2%;
|
|
1096
|
-
text-align: center;
|
|
1097
|
-
color: #fff;
|
|
1098
|
-
font-size: 15px;
|
|
1099
|
-
}
|
|
1100
|
-
.unika-calendar-th > *:not(:first-child) {
|
|
1101
|
-
margin-left: 10px;
|
|
1102
|
-
}
|
|
1103
|
-
.unika-calendar-body {
|
|
1104
|
-
padding: 0;
|
|
1105
|
-
margin: 0;
|
|
1106
|
-
font-size: 0;
|
|
1107
|
-
padding: 5px 10px 0;
|
|
1108
|
-
text-align: left;
|
|
1109
|
-
}
|
|
1110
|
-
.unika-calendar-editor {
|
|
1111
|
-
font-size: 25px;
|
|
1112
|
-
}
|
|
1113
|
-
.unika-calendar-editor span {
|
|
1114
|
-
position: relative;
|
|
1115
|
-
top: 2px;
|
|
1116
|
-
font-size: 57px;
|
|
928
|
+
top: 2px;
|
|
929
|
+
font-size: 57px;
|
|
1117
930
|
}
|
|
1118
931
|
.unika-calendar-day {
|
|
1119
932
|
display: inline-block;
|
|
@@ -1309,3 +1122,190 @@ button.swiper-pagination-bullet {
|
|
|
1309
1122
|
padding: 0 0px;
|
|
1310
1123
|
border-bottom: 1px solid
|
|
1311
1124
|
}
|
|
1125
|
+
|
|
1126
|
+
|
|
1127
|
+
.no-animation__card {
|
|
1128
|
+
font-weight: 500;
|
|
1129
|
+
font-size: var(--countdown-size, 2rem);
|
|
1130
|
+
line-height: 1.5;
|
|
1131
|
+
display: block;
|
|
1132
|
+
color: var(--main-color, #EC685C);
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
.flip-clock {
|
|
1136
|
+
text-align: center;
|
|
1137
|
+
perspective: 600px;
|
|
1138
|
+
margin: 0 auto;
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
.flip-clock *,
|
|
1142
|
+
.flip-clock *:before,
|
|
1143
|
+
.flip-clock *:after {
|
|
1144
|
+
box-sizing: border-box;
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
.flip-clock__piece {
|
|
1148
|
+
display: inline-block;
|
|
1149
|
+
margin: 0 0.2vw;
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
@media (min-width: 1000px) {
|
|
1153
|
+
.flip-clock__piece {
|
|
1154
|
+
margin: 0 5px;
|
|
1155
|
+
}
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
.flip-clock__slot {
|
|
1159
|
+
font-size: var(--label-size, 1rem);
|
|
1160
|
+
line-height: 1.5;
|
|
1161
|
+
display: block;
|
|
1162
|
+
color: var(--label-color, #222222);
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
.flip-card {
|
|
1166
|
+
display: block;
|
|
1167
|
+
position: relative;
|
|
1168
|
+
padding-bottom: 0.72em; /* halfHeight */
|
|
1169
|
+
font-size: var(--countdown-size, 2.25rem);
|
|
1170
|
+
line-height: 0.95;
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
@media (min-width: 1000px) {
|
|
1174
|
+
.flip-clock__slot {
|
|
1175
|
+
font-size: 1.2rem;
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
.flip-card {
|
|
1179
|
+
font-size: 3rem;
|
|
1180
|
+
}
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
.flip-card__top,
|
|
1184
|
+
.flip-card__bottom,
|
|
1185
|
+
.flip-card__back-bottom,
|
|
1186
|
+
.flip-card__back::before,
|
|
1187
|
+
.flip-card__back::after{
|
|
1188
|
+
display: block;
|
|
1189
|
+
height: 0.72em; /* halfHeight */
|
|
1190
|
+
color: var(--main-color, #EC685C);
|
|
1191
|
+
background: var(--main-flip-background-color, #222222);
|
|
1192
|
+
padding: 0.23em 0.15em 0.4em;
|
|
1193
|
+
border-radius: 0.15em 0.15em 0 0; /* borderRadius */
|
|
1194
|
+
backface-visibility: hidden;
|
|
1195
|
+
-webkit-backface-visibility: hidden;
|
|
1196
|
+
transform-style: preserve-3d;
|
|
1197
|
+
width: 2.1em;
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1200
|
+
.flip-card__top-4digits,
|
|
1201
|
+
.flip-card__bottom-4digits,
|
|
1202
|
+
.flip-card__back-bottom-4digits,
|
|
1203
|
+
.flip-card__back-4digits::before,
|
|
1204
|
+
.flip-card__back-4digits::after {
|
|
1205
|
+
display: block;
|
|
1206
|
+
height: 0.72em; /* halfHeight */
|
|
1207
|
+
color: var(--main-color, #EC685C);
|
|
1208
|
+
background: var(--main-flip-background-color, #222222);
|
|
1209
|
+
padding: 0.23em 0.15em 0.4em;
|
|
1210
|
+
border-radius: 0.15em 0.15em 0 0; /* borderRadius */
|
|
1211
|
+
backface-visibility: hidden;
|
|
1212
|
+
-webkit-backface-visibility: hidden;
|
|
1213
|
+
transform-style: preserve-3d;
|
|
1214
|
+
width: 2.65em;
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
.flip-card__bottom,
|
|
1218
|
+
.flip-card__back-bottom,
|
|
1219
|
+
.flip-card__bottom-4digits,
|
|
1220
|
+
.flip-card__back-bottom-4digits {
|
|
1221
|
+
color: var(--second-flip-color, #EC685C);
|
|
1222
|
+
position: absolute;
|
|
1223
|
+
top: 50%;
|
|
1224
|
+
left: 0;
|
|
1225
|
+
border-top: solid 1px var(--second-flip-background-color, #000);
|
|
1226
|
+
background: var(--second-flip-background-color, #393939);
|
|
1227
|
+
border-radius: 0 0 0.15em 0.15em; /* borderRadius */
|
|
1228
|
+
pointer-events: none;
|
|
1229
|
+
overflow: hidden;
|
|
1230
|
+
z-index: 2;
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1233
|
+
.flip-card__back-bottom,
|
|
1234
|
+
.flip-card__back-bottom-4digits {
|
|
1235
|
+
z-index: 1;
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
.flip-card__bottom::after,
|
|
1239
|
+
.flip-card__back-bottom::after,
|
|
1240
|
+
.flip-card__bottom-4digits::after,
|
|
1241
|
+
.flip-card__back-bottom-4digits::after {
|
|
1242
|
+
display: block;
|
|
1243
|
+
margin-top: -0.72em; /* Negative halfHeight */
|
|
1244
|
+
}
|
|
1245
|
+
.flip-card__back::before,
|
|
1246
|
+
.flip-card__bottom::after,
|
|
1247
|
+
.flip-card__back-bottom::after,
|
|
1248
|
+
.flip-card__back-4digits::before,
|
|
1249
|
+
.flip-card__bottom-4digits::after,
|
|
1250
|
+
.flip-card__back-bottom-4digits::after {
|
|
1251
|
+
content: attr(data-value);
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1254
|
+
.flip-card__back,
|
|
1255
|
+
.flip-card__back-4digits {
|
|
1256
|
+
position: absolute;
|
|
1257
|
+
top: 0;
|
|
1258
|
+
height: 100%;
|
|
1259
|
+
left: 0%;
|
|
1260
|
+
pointer-events: none;
|
|
1261
|
+
}
|
|
1262
|
+
.flip-card__back::before,
|
|
1263
|
+
.flip-card__back-4digits::before {
|
|
1264
|
+
position: relative;
|
|
1265
|
+
overflow: hidden;
|
|
1266
|
+
z-index: -1;
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
.flip .flip-card__back::before,
|
|
1270
|
+
.flip .flip-card__back-4digits::before {
|
|
1271
|
+
z-index: 1;
|
|
1272
|
+
animation: flipTop 0.3s cubic-bezier(0.37, 0.01, 0.94, 0.35);
|
|
1273
|
+
animation-fill-mode: both;
|
|
1274
|
+
transform-origin: center bottom;
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
.flip .flip-card__bottom,
|
|
1278
|
+
.flip .flip-card__bottom-4digits {
|
|
1279
|
+
transform-origin: center top;
|
|
1280
|
+
animation-fill-mode: both;
|
|
1281
|
+
animation: flipBottom 0.6s cubic-bezier(0.15, 0.45, 0.28, 1);
|
|
1282
|
+
}
|
|
1283
|
+
@keyframes flipTop {
|
|
1284
|
+
0% {
|
|
1285
|
+
transform: rotateX(0deg);
|
|
1286
|
+
z-index: 2;
|
|
1287
|
+
}
|
|
1288
|
+
0%, 99% {
|
|
1289
|
+
opacity: 1;
|
|
1290
|
+
}
|
|
1291
|
+
100% {
|
|
1292
|
+
transform: rotateX(-90deg);
|
|
1293
|
+
opacity: 0;
|
|
1294
|
+
}
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
@keyframes flipBottom {
|
|
1298
|
+
0%, 50% {
|
|
1299
|
+
z-index: -1;
|
|
1300
|
+
transform: rotateX(90deg);
|
|
1301
|
+
opacity: 0;
|
|
1302
|
+
}
|
|
1303
|
+
51% {
|
|
1304
|
+
opacity: 1;
|
|
1305
|
+
}
|
|
1306
|
+
100% {
|
|
1307
|
+
opacity: 1;
|
|
1308
|
+
transform: rotateX(0deg);
|
|
1309
|
+
z-index: 5;
|
|
1310
|
+
}
|
|
1311
|
+
}
|
|
@@ -5096,7 +5096,7 @@ const callDefaultProps = {
|
|
|
5096
5096
|
top: '347px',
|
|
5097
5097
|
width: '120px',
|
|
5098
5098
|
height: '40px',
|
|
5099
|
-
|
|
5099
|
+
calTransform: 'rotate(0deg)',
|
|
5100
5100
|
borderRadius: '10px',
|
|
5101
5101
|
borderStyle: 'solid',
|
|
5102
5102
|
borderWidth: '2px',
|
|
@@ -5104,7 +5104,10 @@ const callDefaultProps = {
|
|
|
5104
5104
|
fontColor: '#fff',
|
|
5105
5105
|
backgroundColor: 'rgb(33, 147, 255)',
|
|
5106
5106
|
phoneNumber: '01234567890',
|
|
5107
|
-
|
|
5107
|
+
callText: '一键拨号',
|
|
5108
|
+
fontSize: '16px',
|
|
5109
|
+
opacity: 1,
|
|
5110
|
+
isEditing: false
|
|
5108
5111
|
};
|
|
5109
5112
|
const buttonDefaultProps = {
|
|
5110
5113
|
left: '127px',
|
|
@@ -5154,7 +5157,7 @@ const lottiesDefaultProps = {
|
|
|
5154
5157
|
top: '7px',
|
|
5155
5158
|
width: '360px',
|
|
5156
5159
|
height: '360px',
|
|
5157
|
-
|
|
5160
|
+
transform: 'rotate(23deg)',
|
|
5158
5161
|
loop: true,
|
|
5159
5162
|
delay: 0,
|
|
5160
5163
|
pauseAnimation: false
|
|
@@ -16129,7 +16132,7 @@ var script$a = defineComponent({
|
|
|
16129
16132
|
type: String,
|
|
16130
16133
|
default: '204.5px'
|
|
16131
16134
|
},
|
|
16132
|
-
|
|
16135
|
+
calTransform: {
|
|
16133
16136
|
type: String,
|
|
16134
16137
|
default: 'scale(0.855)'
|
|
16135
16138
|
},
|
|
@@ -16221,7 +16224,7 @@ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16221
16224
|
|
|
16222
16225
|
return (openBlock(), createElementBlock("div", {
|
|
16223
16226
|
class: "uni-calendar-component",
|
|
16224
|
-
style: normalizeStyle$1({left: _ctx.left,top: _ctx.top,width: '325px',height: '325px',transform: _ctx.
|
|
16227
|
+
style: normalizeStyle$1({left: _ctx.left,top: _ctx.top,width: '325px',height: '325px',transform: _ctx.calTransform, opacity: _ctx.opacity,position: 'absolute'})
|
|
16225
16228
|
}, [
|
|
16226
16229
|
createVNode(_component_Calendar, {
|
|
16227
16230
|
ref: "calendarRef",
|
|
@@ -26213,9 +26216,21 @@ var script$6 = defineComponent({
|
|
|
26213
26216
|
type: String,
|
|
26214
26217
|
default: 'blue'
|
|
26215
26218
|
},
|
|
26216
|
-
|
|
26219
|
+
callText: {
|
|
26217
26220
|
type: String,
|
|
26218
26221
|
default: '一键拨号'
|
|
26222
|
+
},
|
|
26223
|
+
opacity: {
|
|
26224
|
+
type: Number,
|
|
26225
|
+
default: 1
|
|
26226
|
+
},
|
|
26227
|
+
fontSize: {
|
|
26228
|
+
type: String,
|
|
26229
|
+
default: '16px'
|
|
26230
|
+
},
|
|
26231
|
+
isEditing: {
|
|
26232
|
+
type: Boolean,
|
|
26233
|
+
default: false
|
|
26219
26234
|
}
|
|
26220
26235
|
},
|
|
26221
26236
|
components: {
|
|
@@ -26229,7 +26244,9 @@ var script$6 = defineComponent({
|
|
|
26229
26244
|
const callNumber = () => {
|
|
26230
26245
|
// 替换为要拨打的电话号码
|
|
26231
26246
|
// 使用电话链接打电话
|
|
26232
|
-
|
|
26247
|
+
if (!props.isEditing) {
|
|
26248
|
+
window.location.href = `tel:${props.phoneNumber}`;
|
|
26249
|
+
}
|
|
26233
26250
|
};
|
|
26234
26251
|
return {
|
|
26235
26252
|
styleProps,
|
|
@@ -26243,7 +26260,7 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26243
26260
|
const _component_font_awesome_icon = resolveComponent("font-awesome-icon");
|
|
26244
26261
|
|
|
26245
26262
|
return (openBlock(), createElementBlock("button", {
|
|
26246
|
-
style: normalizeStyle$1({..._ctx.styleProps, color: _ctx.fontColor,
|
|
26263
|
+
style: normalizeStyle$1({..._ctx.styleProps, color: _ctx.fontColor, opacity: _ctx.opacity,
|
|
26247
26264
|
position: 'absolute', background: _ctx.backgroundColor}),
|
|
26248
26265
|
onClick: _cache[0] || (_cache[0] = (...args) => (_ctx.callNumber && _ctx.callNumber(...args))),
|
|
26249
26266
|
class: "call-button"
|
|
@@ -26251,7 +26268,9 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26251
26268
|
createVNode(_component_font_awesome_icon, { icon: ['fas', 'square-phone'] }),
|
|
26252
26269
|
createTextVNode(" "),
|
|
26253
26270
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
26254
|
-
|
|
26271
|
+
createElementVNode("p", {
|
|
26272
|
+
style: normalizeStyle$1({'font-size': _ctx.fontSize})
|
|
26273
|
+
}, toDisplayString(_ctx.callText), 5 /* TEXT, STYLE */)
|
|
26255
26274
|
])
|
|
26256
26275
|
], 4 /* STYLE */))
|
|
26257
26276
|
}
|
|
@@ -75436,7 +75455,7 @@ var script$2 = defineComponent({
|
|
|
75436
75455
|
type: String,
|
|
75437
75456
|
default: '360px'
|
|
75438
75457
|
},
|
|
75439
|
-
|
|
75458
|
+
transform: {
|
|
75440
75459
|
type: String,
|
|
75441
75460
|
default: 'rotate(0deg)'
|
|
75442
75461
|
},
|
|
@@ -75515,7 +75534,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
75515
75534
|
'width': _ctx.width,
|
|
75516
75535
|
'height': _ctx.height,
|
|
75517
75536
|
'position': 'absolute',
|
|
75518
|
-
'transform': _ctx.
|
|
75537
|
+
'transform': _ctx.transform
|
|
75519
75538
|
}),
|
|
75520
75539
|
animationLink: _ctx.animationLinkC,
|
|
75521
75540
|
loop: _ctx.loopC,
|
|
@@ -5103,7 +5103,7 @@
|
|
|
5103
5103
|
top: '347px',
|
|
5104
5104
|
width: '120px',
|
|
5105
5105
|
height: '40px',
|
|
5106
|
-
|
|
5106
|
+
calTransform: 'rotate(0deg)',
|
|
5107
5107
|
borderRadius: '10px',
|
|
5108
5108
|
borderStyle: 'solid',
|
|
5109
5109
|
borderWidth: '2px',
|
|
@@ -5111,7 +5111,10 @@
|
|
|
5111
5111
|
fontColor: '#fff',
|
|
5112
5112
|
backgroundColor: 'rgb(33, 147, 255)',
|
|
5113
5113
|
phoneNumber: '01234567890',
|
|
5114
|
-
|
|
5114
|
+
callText: '一键拨号',
|
|
5115
|
+
fontSize: '16px',
|
|
5116
|
+
opacity: 1,
|
|
5117
|
+
isEditing: false
|
|
5115
5118
|
};
|
|
5116
5119
|
const buttonDefaultProps = {
|
|
5117
5120
|
left: '127px',
|
|
@@ -5161,7 +5164,7 @@
|
|
|
5161
5164
|
top: '7px',
|
|
5162
5165
|
width: '360px',
|
|
5163
5166
|
height: '360px',
|
|
5164
|
-
|
|
5167
|
+
transform: 'rotate(23deg)',
|
|
5165
5168
|
loop: true,
|
|
5166
5169
|
delay: 0,
|
|
5167
5170
|
pauseAnimation: false
|
|
@@ -16136,7 +16139,7 @@
|
|
|
16136
16139
|
type: String,
|
|
16137
16140
|
default: '204.5px'
|
|
16138
16141
|
},
|
|
16139
|
-
|
|
16142
|
+
calTransform: {
|
|
16140
16143
|
type: String,
|
|
16141
16144
|
default: 'scale(0.855)'
|
|
16142
16145
|
},
|
|
@@ -16228,7 +16231,7 @@
|
|
|
16228
16231
|
|
|
16229
16232
|
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
16230
16233
|
class: "uni-calendar-component",
|
|
16231
|
-
style: vue.normalizeStyle({left: _ctx.left,top: _ctx.top,width: '325px',height: '325px',transform: _ctx.
|
|
16234
|
+
style: vue.normalizeStyle({left: _ctx.left,top: _ctx.top,width: '325px',height: '325px',transform: _ctx.calTransform, opacity: _ctx.opacity,position: 'absolute'})
|
|
16232
16235
|
}, [
|
|
16233
16236
|
vue.createVNode(_component_Calendar, {
|
|
16234
16237
|
ref: "calendarRef",
|
|
@@ -26220,9 +26223,21 @@
|
|
|
26220
26223
|
type: String,
|
|
26221
26224
|
default: 'blue'
|
|
26222
26225
|
},
|
|
26223
|
-
|
|
26226
|
+
callText: {
|
|
26224
26227
|
type: String,
|
|
26225
26228
|
default: '一键拨号'
|
|
26229
|
+
},
|
|
26230
|
+
opacity: {
|
|
26231
|
+
type: Number,
|
|
26232
|
+
default: 1
|
|
26233
|
+
},
|
|
26234
|
+
fontSize: {
|
|
26235
|
+
type: String,
|
|
26236
|
+
default: '16px'
|
|
26237
|
+
},
|
|
26238
|
+
isEditing: {
|
|
26239
|
+
type: Boolean,
|
|
26240
|
+
default: false
|
|
26226
26241
|
}
|
|
26227
26242
|
},
|
|
26228
26243
|
components: {
|
|
@@ -26236,7 +26251,9 @@
|
|
|
26236
26251
|
const callNumber = () => {
|
|
26237
26252
|
// 替换为要拨打的电话号码
|
|
26238
26253
|
// 使用电话链接打电话
|
|
26239
|
-
|
|
26254
|
+
if (!props.isEditing) {
|
|
26255
|
+
window.location.href = `tel:${props.phoneNumber}`;
|
|
26256
|
+
}
|
|
26240
26257
|
};
|
|
26241
26258
|
return {
|
|
26242
26259
|
styleProps,
|
|
@@ -26250,7 +26267,7 @@
|
|
|
26250
26267
|
const _component_font_awesome_icon = vue.resolveComponent("font-awesome-icon");
|
|
26251
26268
|
|
|
26252
26269
|
return (vue.openBlock(), vue.createElementBlock("button", {
|
|
26253
|
-
style: vue.normalizeStyle({..._ctx.styleProps, color: _ctx.fontColor,
|
|
26270
|
+
style: vue.normalizeStyle({..._ctx.styleProps, color: _ctx.fontColor, opacity: _ctx.opacity,
|
|
26254
26271
|
position: 'absolute', background: _ctx.backgroundColor}),
|
|
26255
26272
|
onClick: _cache[0] || (_cache[0] = (...args) => (_ctx.callNumber && _ctx.callNumber(...args))),
|
|
26256
26273
|
class: "call-button"
|
|
@@ -26258,7 +26275,9 @@
|
|
|
26258
26275
|
vue.createVNode(_component_font_awesome_icon, { icon: ['fas', 'square-phone'] }),
|
|
26259
26276
|
vue.createTextVNode(" "),
|
|
26260
26277
|
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
26261
|
-
vue.
|
|
26278
|
+
vue.createElementVNode("p", {
|
|
26279
|
+
style: vue.normalizeStyle({'font-size': _ctx.fontSize})
|
|
26280
|
+
}, vue.toDisplayString(_ctx.callText), 5 /* TEXT, STYLE */)
|
|
26262
26281
|
])
|
|
26263
26282
|
], 4 /* STYLE */))
|
|
26264
26283
|
}
|
|
@@ -75443,7 +75462,7 @@ summary tabindex target title type usemap value width wmode wrap`;
|
|
|
75443
75462
|
type: String,
|
|
75444
75463
|
default: '360px'
|
|
75445
75464
|
},
|
|
75446
|
-
|
|
75465
|
+
transform: {
|
|
75447
75466
|
type: String,
|
|
75448
75467
|
default: 'rotate(0deg)'
|
|
75449
75468
|
},
|
|
@@ -75522,7 +75541,7 @@ summary tabindex target title type usemap value width wmode wrap`;
|
|
|
75522
75541
|
'width': _ctx.width,
|
|
75523
75542
|
'height': _ctx.height,
|
|
75524
75543
|
'position': 'absolute',
|
|
75525
|
-
'transform': _ctx.
|
|
75544
|
+
'transform': _ctx.transform
|
|
75526
75545
|
}),
|
|
75527
75546
|
animationLink: _ctx.animationLinkC,
|
|
75528
75547
|
loop: _ctx.loopC,
|