unika-components 1.0.71 → 1.0.72
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.
|
@@ -15,6 +15,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15
15
|
type: StringConstructor;
|
|
16
16
|
default: string;
|
|
17
17
|
};
|
|
18
|
+
isEditing: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
18
22
|
}, {
|
|
19
23
|
styleProps: import("vue").ComputedRef<Pick<any, string>>;
|
|
20
24
|
handleClick: () => void;
|
|
@@ -36,10 +40,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
36
40
|
type: StringConstructor;
|
|
37
41
|
default: string;
|
|
38
42
|
};
|
|
43
|
+
isEditing: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
39
47
|
}>>, {
|
|
40
48
|
phoneNumber: string;
|
|
41
49
|
fontColor: string;
|
|
42
50
|
backgroundColor: string;
|
|
43
51
|
text: string;
|
|
52
|
+
isEditing: boolean;
|
|
44
53
|
}, {}>;
|
|
45
54
|
export default _default;
|
|
@@ -273,6 +273,7 @@ export declare const callDefaultProps: {
|
|
|
273
273
|
backgroundColor: string;
|
|
274
274
|
phoneNumber: string;
|
|
275
275
|
text: string;
|
|
276
|
+
isEditing: boolean;
|
|
276
277
|
};
|
|
277
278
|
export declare const buttonDefaultProps: {
|
|
278
279
|
left: string;
|
|
@@ -544,6 +545,7 @@ export declare const componentsDefaultProps: {
|
|
|
544
545
|
backgroundColor: string;
|
|
545
546
|
phoneNumber: string;
|
|
546
547
|
text: string;
|
|
548
|
+
isEditing: boolean;
|
|
547
549
|
};
|
|
548
550
|
};
|
|
549
551
|
'uni-like': {
|
|
@@ -3,6 +3,62 @@
|
|
|
3
3
|
max-width: 100%;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
+
h2.uni-text-component, p.uni-text-component {
|
|
7
|
+
margin-bottom: 0;
|
|
8
|
+
}
|
|
9
|
+
button.uni-text-component {
|
|
10
|
+
padding: 5px 10px;
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
}
|
|
13
|
+
.uni-text-component {
|
|
14
|
+
box-sizing: border-box;
|
|
15
|
+
white-space: pre-wrap;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.uni-background-component {
|
|
19
|
+
width: 100%;
|
|
20
|
+
}
|
|
21
|
+
.bg-img {
|
|
22
|
+
width: 100%;
|
|
23
|
+
height: 100%;
|
|
24
|
+
object-fit: cover;
|
|
25
|
+
z-index:1;
|
|
26
|
+
}
|
|
27
|
+
.watermark {
|
|
28
|
+
height: 100%;
|
|
29
|
+
position: absolute;
|
|
30
|
+
top: 0;
|
|
31
|
+
left: 0;
|
|
32
|
+
right: 0;
|
|
33
|
+
bottom: 0;
|
|
34
|
+
}
|
|
35
|
+
.watermark-div {
|
|
36
|
+
height: 100%;
|
|
37
|
+
width:100%;
|
|
38
|
+
position:absolute;
|
|
39
|
+
z-index:99999999;
|
|
40
|
+
}
|
|
41
|
+
body:before{
|
|
42
|
+
content: '';
|
|
43
|
+
position: fixed;
|
|
44
|
+
top: 0;
|
|
45
|
+
bottom: 0;
|
|
46
|
+
left: 0;
|
|
47
|
+
right: 0;
|
|
48
|
+
z-index: -1;
|
|
49
|
+
/* background: url(https://unika-static-dev.unika.cc/logo.png) 0 0 repeat; */
|
|
50
|
+
background-position: center;
|
|
51
|
+
opacity: 0.1;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.slot-number {
|
|
55
|
+
position: absolute;
|
|
56
|
+
bottom: 2px;
|
|
57
|
+
left: 7px;
|
|
58
|
+
font-size: 12px;
|
|
59
|
+
color: #666
|
|
60
|
+
}
|
|
61
|
+
|
|
6
62
|
.slide-guide {
|
|
7
63
|
position: absolute;
|
|
8
64
|
bottom: 90px;
|
|
@@ -76,83 +132,6 @@ body, html {
|
|
|
76
132
|
}
|
|
77
133
|
}
|
|
78
134
|
|
|
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
|
-
|
|
123
|
-
h2.uni-text-component, p.uni-text-component {
|
|
124
|
-
margin-bottom: 0;
|
|
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;
|
|
133
|
-
}
|
|
134
|
-
|
|
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
135
|
#audio {
|
|
157
136
|
position: absolute;
|
|
158
137
|
right: 10px;
|
|
@@ -248,27 +227,26 @@ button.uni-text-component {
|
|
|
248
227
|
}
|
|
249
228
|
}
|
|
250
229
|
|
|
251
|
-
.
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
.
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
}
|
|
230
|
+
.uni-video-component {
|
|
231
|
+
position: relative;
|
|
232
|
+
text-align: center;
|
|
233
|
+
}
|
|
234
|
+
.play-pause-button {
|
|
235
|
+
position: absolute;
|
|
236
|
+
top: 50%;
|
|
237
|
+
left: 50%;
|
|
238
|
+
transform: translate(-50%, -50%);
|
|
239
|
+
cursor: pointer;
|
|
240
|
+
font-size: 2rem;
|
|
241
|
+
color: #fff;
|
|
242
|
+
background: rgba(0, 0, 0, 0.6);
|
|
243
|
+
border-radius: 50%;
|
|
244
|
+
padding: 10px;
|
|
245
|
+
transition: background 0.3s;
|
|
246
|
+
}
|
|
247
|
+
.play-pause-button:hover {
|
|
248
|
+
background: rgba(0, 0, 0, 0.8);
|
|
249
|
+
}
|
|
272
250
|
|
|
273
251
|
.effect {
|
|
274
252
|
width: 100%;
|
|
@@ -323,6 +301,28 @@ button.uni-text-component {
|
|
|
323
301
|
max-width: 100%;
|
|
324
302
|
max-height: 100%;
|
|
325
303
|
}
|
|
304
|
+
|
|
305
|
+
.like-button {
|
|
306
|
+
display: flex;
|
|
307
|
+
flex-direction: column;
|
|
308
|
+
align-items: center;
|
|
309
|
+
cursor: pointer;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.icon-heart {
|
|
313
|
+
font-size: 24px;
|
|
314
|
+
color: #e74c3c;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.liked {
|
|
318
|
+
color: #f00; /* 更改颜色以示已赞 */
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.like-count {
|
|
322
|
+
margin-top: 4px;
|
|
323
|
+
font-size: 16px;
|
|
324
|
+
color: #333;
|
|
325
|
+
}
|
|
326
326
|
/**
|
|
327
327
|
* Swiper 6.8.4
|
|
328
328
|
* Most modern mobile touch slider and framework with hardware accelerated transitions
|
|
@@ -871,231 +871,44 @@ 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
|
-
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
.flip-clock__slot {
|
|
907
|
-
font-size: var(--label-size, 1rem);
|
|
908
|
-
line-height: 1.5;
|
|
909
|
-
display: block;
|
|
910
|
-
color: var(--label-color, #222222);
|
|
911
|
-
}
|
|
912
|
-
|
|
913
|
-
.flip-card {
|
|
914
|
-
display: block;
|
|
915
|
-
position: relative;
|
|
916
|
-
padding-bottom: 0.72em; /* halfHeight */
|
|
917
|
-
font-size: var(--countdown-size, 2.25rem);
|
|
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;
|
|
907
|
+
.unika-calendar-th > * {
|
|
908
|
+
width: 14.2%;
|
|
909
|
+
text-align: center;
|
|
910
|
+
color: #fff;
|
|
911
|
+
font-size: 15px;
|
|
1099
912
|
}
|
|
1100
913
|
.unika-calendar-th > *:not(:first-child) {
|
|
1101
914
|
margin-left: 10px;
|
|
@@ -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
|
+
}
|
|
@@ -5104,7 +5104,8 @@ const callDefaultProps = {
|
|
|
5104
5104
|
fontColor: '#fff',
|
|
5105
5105
|
backgroundColor: 'rgb(33, 147, 255)',
|
|
5106
5106
|
phoneNumber: '01234567890',
|
|
5107
|
-
text: '一键拨号'
|
|
5107
|
+
text: '一键拨号',
|
|
5108
|
+
isEditing: false
|
|
5108
5109
|
};
|
|
5109
5110
|
const buttonDefaultProps = {
|
|
5110
5111
|
left: '127px',
|
|
@@ -26216,6 +26217,10 @@ var script$6 = defineComponent({
|
|
|
26216
26217
|
text: {
|
|
26217
26218
|
type: String,
|
|
26218
26219
|
default: '一键拨号'
|
|
26220
|
+
},
|
|
26221
|
+
isEditing: {
|
|
26222
|
+
type: Boolean,
|
|
26223
|
+
default: false
|
|
26219
26224
|
}
|
|
26220
26225
|
},
|
|
26221
26226
|
components: {
|
|
@@ -26229,7 +26234,9 @@ var script$6 = defineComponent({
|
|
|
26229
26234
|
const callNumber = () => {
|
|
26230
26235
|
// 替换为要拨打的电话号码
|
|
26231
26236
|
// 使用电话链接打电话
|
|
26232
|
-
|
|
26237
|
+
if (!props.isEditing) {
|
|
26238
|
+
window.location.href = `tel:${props.phoneNumber}`;
|
|
26239
|
+
}
|
|
26233
26240
|
};
|
|
26234
26241
|
return {
|
|
26235
26242
|
styleProps,
|
|
@@ -5111,7 +5111,8 @@
|
|
|
5111
5111
|
fontColor: '#fff',
|
|
5112
5112
|
backgroundColor: 'rgb(33, 147, 255)',
|
|
5113
5113
|
phoneNumber: '01234567890',
|
|
5114
|
-
text: '一键拨号'
|
|
5114
|
+
text: '一键拨号',
|
|
5115
|
+
isEditing: false
|
|
5115
5116
|
};
|
|
5116
5117
|
const buttonDefaultProps = {
|
|
5117
5118
|
left: '127px',
|
|
@@ -26223,6 +26224,10 @@
|
|
|
26223
26224
|
text: {
|
|
26224
26225
|
type: String,
|
|
26225
26226
|
default: '一键拨号'
|
|
26227
|
+
},
|
|
26228
|
+
isEditing: {
|
|
26229
|
+
type: Boolean,
|
|
26230
|
+
default: false
|
|
26226
26231
|
}
|
|
26227
26232
|
},
|
|
26228
26233
|
components: {
|
|
@@ -26236,7 +26241,9 @@
|
|
|
26236
26241
|
const callNumber = () => {
|
|
26237
26242
|
// 替换为要拨打的电话号码
|
|
26238
26243
|
// 使用电话链接打电话
|
|
26239
|
-
|
|
26244
|
+
if (!props.isEditing) {
|
|
26245
|
+
window.location.href = `tel:${props.phoneNumber}`;
|
|
26246
|
+
}
|
|
26240
26247
|
};
|
|
26241
26248
|
return {
|
|
26242
26249
|
styleProps,
|