unika-components 1.0.219 → 1.0.221
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.
|
@@ -6,7 +6,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6
6
|
handleClick: () => void;
|
|
7
7
|
labelSize: import("vue").ComputedRef<"0.8rem" | "1rem" | ".6rem">;
|
|
8
8
|
countdownSize: import("vue").ComputedRef<"1rem" | "1.5rem" | "2.25rem">;
|
|
9
|
-
|
|
9
|
+
labels: import("vue").Ref<{
|
|
10
10
|
days: string;
|
|
11
11
|
hours: string;
|
|
12
12
|
minutes: string;
|
|
@@ -14,6 +14,27 @@ button.uni-text-component {
|
|
|
14
14
|
box-sizing: border-box;
|
|
15
15
|
white-space: pre-wrap;
|
|
16
16
|
}
|
|
17
|
+
|
|
18
|
+
.uni-video-component {
|
|
19
|
+
position: relative;
|
|
20
|
+
text-align: center;
|
|
21
|
+
}
|
|
22
|
+
.play-pause-button {
|
|
23
|
+
position: absolute;
|
|
24
|
+
top: 50%;
|
|
25
|
+
left: 50%;
|
|
26
|
+
transform: translate(-50%, -50%);
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
font-size: 2rem;
|
|
29
|
+
color: #fff;
|
|
30
|
+
background: rgba(0, 0, 0, 0.6);
|
|
31
|
+
border-radius: 50%;
|
|
32
|
+
padding: 10px;
|
|
33
|
+
transition: background 0.3s;
|
|
34
|
+
}
|
|
35
|
+
.play-pause-button:hover {
|
|
36
|
+
background: rgba(0, 0, 0, 0.8);
|
|
37
|
+
}
|
|
17
38
|
|
|
18
39
|
.slide-guide {
|
|
19
40
|
position: absolute;
|
|
@@ -88,27 +109,6 @@ body, html {
|
|
|
88
109
|
}
|
|
89
110
|
}
|
|
90
111
|
|
|
91
|
-
.uni-video-component {
|
|
92
|
-
position: relative;
|
|
93
|
-
text-align: center;
|
|
94
|
-
}
|
|
95
|
-
.play-pause-button {
|
|
96
|
-
position: absolute;
|
|
97
|
-
top: 50%;
|
|
98
|
-
left: 50%;
|
|
99
|
-
transform: translate(-50%, -50%);
|
|
100
|
-
cursor: pointer;
|
|
101
|
-
font-size: 2rem;
|
|
102
|
-
color: #fff;
|
|
103
|
-
background: rgba(0, 0, 0, 0.6);
|
|
104
|
-
border-radius: 50%;
|
|
105
|
-
padding: 10px;
|
|
106
|
-
transition: background 0.3s;
|
|
107
|
-
}
|
|
108
|
-
.play-pause-button:hover {
|
|
109
|
-
background: rgba(0, 0, 0, 0.8);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
112
|
|
|
113
113
|
.uni-calendar-component {
|
|
114
114
|
|
|
@@ -143,11 +143,6 @@ body, html {
|
|
|
143
143
|
color: #333;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
-
.effect {
|
|
147
|
-
width: 100%;
|
|
148
|
-
height: 100%;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
146
|
.ant-input-number {
|
|
152
147
|
box-sizing: border-box;
|
|
153
148
|
margin: 0;
|
|
@@ -183,6 +178,18 @@ body, html {
|
|
|
183
178
|
vertical-align: top;
|
|
184
179
|
}
|
|
185
180
|
|
|
181
|
+
.effect {
|
|
182
|
+
width: 100%;
|
|
183
|
+
height: 100%;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.uni-svg-component {
|
|
187
|
+
display: inline-block;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.uni-build-up-component {
|
|
191
|
+
}
|
|
192
|
+
|
|
186
193
|
.swiper-warp {
|
|
187
194
|
width: 100%;
|
|
188
195
|
height: 100%;
|
|
@@ -196,13 +203,6 @@ body, html {
|
|
|
196
203
|
max-width: 100%;
|
|
197
204
|
max-height: 100%;
|
|
198
205
|
}
|
|
199
|
-
|
|
200
|
-
.uni-build-up-component {
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
.uni-svg-component {
|
|
204
|
-
display: inline-block;
|
|
205
|
-
}
|
|
206
206
|
/**
|
|
207
207
|
* Swiper 6.8.4
|
|
208
208
|
* Most modern mobile touch slider and framework with hardware accelerated transitions
|
|
@@ -751,6 +751,193 @@ button.swiper-pagination-bullet {
|
|
|
751
751
|
backface-visibility: hidden;
|
|
752
752
|
}
|
|
753
753
|
|
|
754
|
+
|
|
755
|
+
.no-animation__card {
|
|
756
|
+
font-weight: 500;
|
|
757
|
+
font-size: var(--countdown-size, 2rem);
|
|
758
|
+
line-height: 1.5;
|
|
759
|
+
display: block;
|
|
760
|
+
color: var(--main-color, #EC685C);
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
.flip-clock {
|
|
764
|
+
text-align: center;
|
|
765
|
+
perspective: 600px;
|
|
766
|
+
margin: 0 auto;
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
.flip-clock *,
|
|
770
|
+
.flip-clock *:before,
|
|
771
|
+
.flip-clock *:after {
|
|
772
|
+
box-sizing: border-box;
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
.flip-clock__piece {
|
|
776
|
+
display: inline-block;
|
|
777
|
+
margin: 0 0.2vw;
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
@media (min-width: 1000px) {
|
|
781
|
+
.flip-clock__piece {
|
|
782
|
+
margin: 0 5px;
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
.flip-clock__slot {
|
|
787
|
+
font-size: var(--label-size, 1rem);
|
|
788
|
+
line-height: 1.5;
|
|
789
|
+
display: block;
|
|
790
|
+
color: var(--label-color, #222222);
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
.flip-card {
|
|
794
|
+
display: block;
|
|
795
|
+
position: relative;
|
|
796
|
+
padding-bottom: 0.72em; /* halfHeight */
|
|
797
|
+
font-size: var(--countdown-size, 2.25rem);
|
|
798
|
+
line-height: 0.95;
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
@media (min-width: 1000px) {
|
|
802
|
+
.flip-clock__slot {
|
|
803
|
+
font-size: 1.2rem;
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
.flip-card {
|
|
807
|
+
font-size: 3rem;
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
.flip-card__top,
|
|
812
|
+
.flip-card__bottom,
|
|
813
|
+
.flip-card__back-bottom,
|
|
814
|
+
.flip-card__back::before,
|
|
815
|
+
.flip-card__back::after{
|
|
816
|
+
display: block;
|
|
817
|
+
height: 0.72em; /* halfHeight */
|
|
818
|
+
color: var(--main-color, #EC685C);
|
|
819
|
+
background: var(--main-flip-background-color, #222222);
|
|
820
|
+
padding: 0.23em 0.15em 0.4em;
|
|
821
|
+
border-radius: 0.15em 0.15em 0 0; /* borderRadius */
|
|
822
|
+
backface-visibility: hidden;
|
|
823
|
+
-webkit-backface-visibility: hidden;
|
|
824
|
+
transform-style: preserve-3d;
|
|
825
|
+
width: 2.1em;
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
.flip-card__top-4digits,
|
|
829
|
+
.flip-card__bottom-4digits,
|
|
830
|
+
.flip-card__back-bottom-4digits,
|
|
831
|
+
.flip-card__back-4digits::before,
|
|
832
|
+
.flip-card__back-4digits::after {
|
|
833
|
+
display: block;
|
|
834
|
+
height: 0.72em; /* halfHeight */
|
|
835
|
+
color: var(--main-color, #EC685C);
|
|
836
|
+
background: var(--main-flip-background-color, #222222);
|
|
837
|
+
padding: 0.23em 0.15em 0.4em;
|
|
838
|
+
border-radius: 0.15em 0.15em 0 0; /* borderRadius */
|
|
839
|
+
backface-visibility: hidden;
|
|
840
|
+
-webkit-backface-visibility: hidden;
|
|
841
|
+
transform-style: preserve-3d;
|
|
842
|
+
width: 2.65em;
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
.flip-card__bottom,
|
|
846
|
+
.flip-card__back-bottom,
|
|
847
|
+
.flip-card__bottom-4digits,
|
|
848
|
+
.flip-card__back-bottom-4digits {
|
|
849
|
+
color: var(--second-flip-color, #EC685C);
|
|
850
|
+
position: absolute;
|
|
851
|
+
top: 50%;
|
|
852
|
+
left: 0;
|
|
853
|
+
border-top: solid 1px var(--second-flip-background-color, #000);
|
|
854
|
+
background: var(--second-flip-background-color, #393939);
|
|
855
|
+
border-radius: 0 0 0.15em 0.15em; /* borderRadius */
|
|
856
|
+
pointer-events: none;
|
|
857
|
+
overflow: hidden;
|
|
858
|
+
z-index: 2;
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
.flip-card__back-bottom,
|
|
862
|
+
.flip-card__back-bottom-4digits {
|
|
863
|
+
z-index: 1;
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
.flip-card__bottom::after,
|
|
867
|
+
.flip-card__back-bottom::after,
|
|
868
|
+
.flip-card__bottom-4digits::after,
|
|
869
|
+
.flip-card__back-bottom-4digits::after {
|
|
870
|
+
display: block;
|
|
871
|
+
margin-top: -0.72em; /* Negative halfHeight */
|
|
872
|
+
}
|
|
873
|
+
.flip-card__back::before,
|
|
874
|
+
.flip-card__bottom::after,
|
|
875
|
+
.flip-card__back-bottom::after,
|
|
876
|
+
.flip-card__back-4digits::before,
|
|
877
|
+
.flip-card__bottom-4digits::after,
|
|
878
|
+
.flip-card__back-bottom-4digits::after {
|
|
879
|
+
content: attr(data-value);
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
.flip-card__back,
|
|
883
|
+
.flip-card__back-4digits {
|
|
884
|
+
position: absolute;
|
|
885
|
+
top: 0;
|
|
886
|
+
height: 100%;
|
|
887
|
+
left: 0%;
|
|
888
|
+
pointer-events: none;
|
|
889
|
+
}
|
|
890
|
+
.flip-card__back::before,
|
|
891
|
+
.flip-card__back-4digits::before {
|
|
892
|
+
position: relative;
|
|
893
|
+
overflow: hidden;
|
|
894
|
+
z-index: -1;
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
.flip .flip-card__back::before,
|
|
898
|
+
.flip .flip-card__back-4digits::before {
|
|
899
|
+
z-index: 1;
|
|
900
|
+
animation: flipTop 0.3s cubic-bezier(0.37, 0.01, 0.94, 0.35);
|
|
901
|
+
animation-fill-mode: both;
|
|
902
|
+
transform-origin: center bottom;
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
.flip .flip-card__bottom,
|
|
906
|
+
.flip .flip-card__bottom-4digits {
|
|
907
|
+
transform-origin: center top;
|
|
908
|
+
animation-fill-mode: both;
|
|
909
|
+
animation: flipBottom 0.6s cubic-bezier(0.15, 0.45, 0.28, 1);
|
|
910
|
+
}
|
|
911
|
+
@keyframes flipTop {
|
|
912
|
+
0% {
|
|
913
|
+
transform: rotateX(0deg);
|
|
914
|
+
z-index: 2;
|
|
915
|
+
}
|
|
916
|
+
0%, 99% {
|
|
917
|
+
opacity: 1;
|
|
918
|
+
}
|
|
919
|
+
100% {
|
|
920
|
+
transform: rotateX(-90deg);
|
|
921
|
+
opacity: 0;
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
@keyframes flipBottom {
|
|
926
|
+
0%, 50% {
|
|
927
|
+
z-index: -1;
|
|
928
|
+
transform: rotateX(90deg);
|
|
929
|
+
opacity: 0;
|
|
930
|
+
}
|
|
931
|
+
51% {
|
|
932
|
+
opacity: 1;
|
|
933
|
+
}
|
|
934
|
+
100% {
|
|
935
|
+
opacity: 1;
|
|
936
|
+
transform: rotateX(0deg);
|
|
937
|
+
z-index: 5;
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
|
|
754
941
|
.unika-calendar-box {
|
|
755
942
|
position: relative;
|
|
756
943
|
width: 325px !important;
|
|
@@ -860,6 +1047,8 @@ button.swiper-pagination-bullet {
|
|
|
860
1047
|
position: relative;
|
|
861
1048
|
width: 20px;
|
|
862
1049
|
height: 20px;
|
|
1050
|
+
left: 1px;
|
|
1051
|
+
top: 1px;
|
|
863
1052
|
margin: 0px 0px;
|
|
864
1053
|
border: 2px solid var(--after-haert-color);
|
|
865
1054
|
border-radius: 50%;
|
|
@@ -1008,190 +1197,3 @@ button.swiper-pagination-bullet {
|
|
|
1008
1197
|
padding: 0 0px;
|
|
1009
1198
|
border-bottom: 1px solid
|
|
1010
1199
|
}
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
.no-animation__card {
|
|
1014
|
-
font-weight: 500;
|
|
1015
|
-
font-size: var(--countdown-size, 2rem);
|
|
1016
|
-
line-height: 1.5;
|
|
1017
|
-
display: block;
|
|
1018
|
-
color: var(--main-color, #EC685C);
|
|
1019
|
-
}
|
|
1020
|
-
|
|
1021
|
-
.flip-clock {
|
|
1022
|
-
text-align: center;
|
|
1023
|
-
perspective: 600px;
|
|
1024
|
-
margin: 0 auto;
|
|
1025
|
-
}
|
|
1026
|
-
|
|
1027
|
-
.flip-clock *,
|
|
1028
|
-
.flip-clock *:before,
|
|
1029
|
-
.flip-clock *:after {
|
|
1030
|
-
box-sizing: border-box;
|
|
1031
|
-
}
|
|
1032
|
-
|
|
1033
|
-
.flip-clock__piece {
|
|
1034
|
-
display: inline-block;
|
|
1035
|
-
margin: 0 0.2vw;
|
|
1036
|
-
}
|
|
1037
|
-
|
|
1038
|
-
@media (min-width: 1000px) {
|
|
1039
|
-
.flip-clock__piece {
|
|
1040
|
-
margin: 0 5px;
|
|
1041
|
-
}
|
|
1042
|
-
}
|
|
1043
|
-
|
|
1044
|
-
.flip-clock__slot {
|
|
1045
|
-
font-size: var(--label-size, 1rem);
|
|
1046
|
-
line-height: 1.5;
|
|
1047
|
-
display: block;
|
|
1048
|
-
color: var(--label-color, #222222);
|
|
1049
|
-
}
|
|
1050
|
-
|
|
1051
|
-
.flip-card {
|
|
1052
|
-
display: block;
|
|
1053
|
-
position: relative;
|
|
1054
|
-
padding-bottom: 0.72em; /* halfHeight */
|
|
1055
|
-
font-size: var(--countdown-size, 2.25rem);
|
|
1056
|
-
line-height: 0.95;
|
|
1057
|
-
}
|
|
1058
|
-
|
|
1059
|
-
@media (min-width: 1000px) {
|
|
1060
|
-
.flip-clock__slot {
|
|
1061
|
-
font-size: 1.2rem;
|
|
1062
|
-
}
|
|
1063
|
-
|
|
1064
|
-
.flip-card {
|
|
1065
|
-
font-size: 3rem;
|
|
1066
|
-
}
|
|
1067
|
-
}
|
|
1068
|
-
|
|
1069
|
-
.flip-card__top,
|
|
1070
|
-
.flip-card__bottom,
|
|
1071
|
-
.flip-card__back-bottom,
|
|
1072
|
-
.flip-card__back::before,
|
|
1073
|
-
.flip-card__back::after{
|
|
1074
|
-
display: block;
|
|
1075
|
-
height: 0.72em; /* halfHeight */
|
|
1076
|
-
color: var(--main-color, #EC685C);
|
|
1077
|
-
background: var(--main-flip-background-color, #222222);
|
|
1078
|
-
padding: 0.23em 0.15em 0.4em;
|
|
1079
|
-
border-radius: 0.15em 0.15em 0 0; /* borderRadius */
|
|
1080
|
-
backface-visibility: hidden;
|
|
1081
|
-
-webkit-backface-visibility: hidden;
|
|
1082
|
-
transform-style: preserve-3d;
|
|
1083
|
-
width: 2.1em;
|
|
1084
|
-
}
|
|
1085
|
-
|
|
1086
|
-
.flip-card__top-4digits,
|
|
1087
|
-
.flip-card__bottom-4digits,
|
|
1088
|
-
.flip-card__back-bottom-4digits,
|
|
1089
|
-
.flip-card__back-4digits::before,
|
|
1090
|
-
.flip-card__back-4digits::after {
|
|
1091
|
-
display: block;
|
|
1092
|
-
height: 0.72em; /* halfHeight */
|
|
1093
|
-
color: var(--main-color, #EC685C);
|
|
1094
|
-
background: var(--main-flip-background-color, #222222);
|
|
1095
|
-
padding: 0.23em 0.15em 0.4em;
|
|
1096
|
-
border-radius: 0.15em 0.15em 0 0; /* borderRadius */
|
|
1097
|
-
backface-visibility: hidden;
|
|
1098
|
-
-webkit-backface-visibility: hidden;
|
|
1099
|
-
transform-style: preserve-3d;
|
|
1100
|
-
width: 2.65em;
|
|
1101
|
-
}
|
|
1102
|
-
|
|
1103
|
-
.flip-card__bottom,
|
|
1104
|
-
.flip-card__back-bottom,
|
|
1105
|
-
.flip-card__bottom-4digits,
|
|
1106
|
-
.flip-card__back-bottom-4digits {
|
|
1107
|
-
color: var(--second-flip-color, #EC685C);
|
|
1108
|
-
position: absolute;
|
|
1109
|
-
top: 50%;
|
|
1110
|
-
left: 0;
|
|
1111
|
-
border-top: solid 1px var(--second-flip-background-color, #000);
|
|
1112
|
-
background: var(--second-flip-background-color, #393939);
|
|
1113
|
-
border-radius: 0 0 0.15em 0.15em; /* borderRadius */
|
|
1114
|
-
pointer-events: none;
|
|
1115
|
-
overflow: hidden;
|
|
1116
|
-
z-index: 2;
|
|
1117
|
-
}
|
|
1118
|
-
|
|
1119
|
-
.flip-card__back-bottom,
|
|
1120
|
-
.flip-card__back-bottom-4digits {
|
|
1121
|
-
z-index: 1;
|
|
1122
|
-
}
|
|
1123
|
-
|
|
1124
|
-
.flip-card__bottom::after,
|
|
1125
|
-
.flip-card__back-bottom::after,
|
|
1126
|
-
.flip-card__bottom-4digits::after,
|
|
1127
|
-
.flip-card__back-bottom-4digits::after {
|
|
1128
|
-
display: block;
|
|
1129
|
-
margin-top: -0.72em; /* Negative halfHeight */
|
|
1130
|
-
}
|
|
1131
|
-
.flip-card__back::before,
|
|
1132
|
-
.flip-card__bottom::after,
|
|
1133
|
-
.flip-card__back-bottom::after,
|
|
1134
|
-
.flip-card__back-4digits::before,
|
|
1135
|
-
.flip-card__bottom-4digits::after,
|
|
1136
|
-
.flip-card__back-bottom-4digits::after {
|
|
1137
|
-
content: attr(data-value);
|
|
1138
|
-
}
|
|
1139
|
-
|
|
1140
|
-
.flip-card__back,
|
|
1141
|
-
.flip-card__back-4digits {
|
|
1142
|
-
position: absolute;
|
|
1143
|
-
top: 0;
|
|
1144
|
-
height: 100%;
|
|
1145
|
-
left: 0%;
|
|
1146
|
-
pointer-events: none;
|
|
1147
|
-
}
|
|
1148
|
-
.flip-card__back::before,
|
|
1149
|
-
.flip-card__back-4digits::before {
|
|
1150
|
-
position: relative;
|
|
1151
|
-
overflow: hidden;
|
|
1152
|
-
z-index: -1;
|
|
1153
|
-
}
|
|
1154
|
-
|
|
1155
|
-
.flip .flip-card__back::before,
|
|
1156
|
-
.flip .flip-card__back-4digits::before {
|
|
1157
|
-
z-index: 1;
|
|
1158
|
-
animation: flipTop 0.3s cubic-bezier(0.37, 0.01, 0.94, 0.35);
|
|
1159
|
-
animation-fill-mode: both;
|
|
1160
|
-
transform-origin: center bottom;
|
|
1161
|
-
}
|
|
1162
|
-
|
|
1163
|
-
.flip .flip-card__bottom,
|
|
1164
|
-
.flip .flip-card__bottom-4digits {
|
|
1165
|
-
transform-origin: center top;
|
|
1166
|
-
animation-fill-mode: both;
|
|
1167
|
-
animation: flipBottom 0.6s cubic-bezier(0.15, 0.45, 0.28, 1);
|
|
1168
|
-
}
|
|
1169
|
-
@keyframes flipTop {
|
|
1170
|
-
0% {
|
|
1171
|
-
transform: rotateX(0deg);
|
|
1172
|
-
z-index: 2;
|
|
1173
|
-
}
|
|
1174
|
-
0%, 99% {
|
|
1175
|
-
opacity: 1;
|
|
1176
|
-
}
|
|
1177
|
-
100% {
|
|
1178
|
-
transform: rotateX(-90deg);
|
|
1179
|
-
opacity: 0;
|
|
1180
|
-
}
|
|
1181
|
-
}
|
|
1182
|
-
|
|
1183
|
-
@keyframes flipBottom {
|
|
1184
|
-
0%, 50% {
|
|
1185
|
-
z-index: -1;
|
|
1186
|
-
transform: rotateX(90deg);
|
|
1187
|
-
opacity: 0;
|
|
1188
|
-
}
|
|
1189
|
-
51% {
|
|
1190
|
-
opacity: 1;
|
|
1191
|
-
}
|
|
1192
|
-
100% {
|
|
1193
|
-
opacity: 1;
|
|
1194
|
-
transform: rotateX(0deg);
|
|
1195
|
-
z-index: 5;
|
|
1196
|
-
}
|
|
1197
|
-
}
|
|
@@ -22057,36 +22057,37 @@ var script$c = {
|
|
|
22057
22057
|
const interval = ref(null);
|
|
22058
22058
|
const diff = ref(0);
|
|
22059
22059
|
const show = ref(false);
|
|
22060
|
-
const timeData = ref([
|
|
22061
|
-
|
|
22062
|
-
|
|
22063
|
-
|
|
22064
|
-
|
|
22065
|
-
|
|
22066
|
-
|
|
22067
|
-
|
|
22068
|
-
|
|
22069
|
-
|
|
22070
|
-
|
|
22071
|
-
|
|
22072
|
-
|
|
22073
|
-
|
|
22074
|
-
|
|
22075
|
-
|
|
22076
|
-
|
|
22077
|
-
|
|
22078
|
-
|
|
22079
|
-
|
|
22080
|
-
|
|
22081
|
-
|
|
22082
|
-
|
|
22083
|
-
|
|
22084
|
-
|
|
22085
|
-
|
|
22086
|
-
|
|
22087
|
-
|
|
22088
|
-
|
|
22089
|
-
|
|
22060
|
+
const timeData = ref([]);
|
|
22061
|
+
const updateLabels = () => {
|
|
22062
|
+
timeData.value = [{
|
|
22063
|
+
current: 0,
|
|
22064
|
+
previous: 0,
|
|
22065
|
+
label: labels.value.days,
|
|
22066
|
+
elementId: 'flip-card-days-' + uuid,
|
|
22067
|
+
show: showDays.value
|
|
22068
|
+
},
|
|
22069
|
+
{
|
|
22070
|
+
current: 0,
|
|
22071
|
+
previous: 0,
|
|
22072
|
+
label: labels.value.hours,
|
|
22073
|
+
elementId: 'flip-card-hours-' + uuid,
|
|
22074
|
+
show: showHours.value
|
|
22075
|
+
},
|
|
22076
|
+
{
|
|
22077
|
+
current: 0,
|
|
22078
|
+
previous: 0,
|
|
22079
|
+
label: labels.value.minutes,
|
|
22080
|
+
elementId: 'flip-card-minutes-' + uuid,
|
|
22081
|
+
show: showMinutes.value
|
|
22082
|
+
},
|
|
22083
|
+
{
|
|
22084
|
+
current: 0,
|
|
22085
|
+
previous: 0,
|
|
22086
|
+
label: labels.value.seconds,
|
|
22087
|
+
elementId: 'flip-card-seconds-' + uuid,
|
|
22088
|
+
show: showSeconds.value
|
|
22089
|
+
}
|
|
22090
|
+
];};
|
|
22090
22091
|
const seconds = computed(() => {
|
|
22091
22092
|
return Math.trunc(diff.value) % 60
|
|
22092
22093
|
});
|
|
@@ -22184,6 +22185,10 @@ var script$c = {
|
|
|
22184
22185
|
updateAllCards();
|
|
22185
22186
|
}
|
|
22186
22187
|
});
|
|
22188
|
+
updateLabels();
|
|
22189
|
+
watch(() => labels, () => {
|
|
22190
|
+
updateLabels();
|
|
22191
|
+
}, { deep: true });
|
|
22187
22192
|
|
|
22188
22193
|
watch(diff, (newVal) => {
|
|
22189
22194
|
if (newVal === 0) {
|
|
@@ -22377,15 +22382,13 @@ var script$b = defineComponent({
|
|
|
22377
22382
|
// 监听 props.language 的变化
|
|
22378
22383
|
watch(() => props.language, (newLanguage) => {
|
|
22379
22384
|
labels.value = getLabels(newLanguage);
|
|
22380
|
-
console.log('----------------');
|
|
22381
|
-
console.log(labels.value);
|
|
22382
22385
|
});
|
|
22383
22386
|
return {
|
|
22384
22387
|
styleProps,
|
|
22385
22388
|
handleClick,
|
|
22386
22389
|
labelSize,
|
|
22387
22390
|
countdownSize,
|
|
22388
|
-
|
|
22391
|
+
labels
|
|
22389
22392
|
};
|
|
22390
22393
|
}
|
|
22391
22394
|
});
|
|
@@ -22406,7 +22409,7 @@ function render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
22406
22409
|
secondFlipBackgroundColor: _ctx.mainFlipBackgroundColor,
|
|
22407
22410
|
labelColor: _ctx.labelColor,
|
|
22408
22411
|
showLabels: _ctx.showLabels,
|
|
22409
|
-
labels: _ctx.
|
|
22412
|
+
labels: _ctx.labels,
|
|
22410
22413
|
language: _ctx.language,
|
|
22411
22414
|
countdownSize: _ctx.countdownSize,
|
|
22412
22415
|
flipAnimation: _ctx.flipAnimation,
|
|
@@ -22064,36 +22064,37 @@
|
|
|
22064
22064
|
const interval = vue.ref(null);
|
|
22065
22065
|
const diff = vue.ref(0);
|
|
22066
22066
|
const show = vue.ref(false);
|
|
22067
|
-
const timeData = vue.ref([
|
|
22068
|
-
|
|
22069
|
-
|
|
22070
|
-
|
|
22071
|
-
|
|
22072
|
-
|
|
22073
|
-
|
|
22074
|
-
|
|
22075
|
-
|
|
22076
|
-
|
|
22077
|
-
|
|
22078
|
-
|
|
22079
|
-
|
|
22080
|
-
|
|
22081
|
-
|
|
22082
|
-
|
|
22083
|
-
|
|
22084
|
-
|
|
22085
|
-
|
|
22086
|
-
|
|
22087
|
-
|
|
22088
|
-
|
|
22089
|
-
|
|
22090
|
-
|
|
22091
|
-
|
|
22092
|
-
|
|
22093
|
-
|
|
22094
|
-
|
|
22095
|
-
|
|
22096
|
-
|
|
22067
|
+
const timeData = vue.ref([]);
|
|
22068
|
+
const updateLabels = () => {
|
|
22069
|
+
timeData.value = [{
|
|
22070
|
+
current: 0,
|
|
22071
|
+
previous: 0,
|
|
22072
|
+
label: labels.value.days,
|
|
22073
|
+
elementId: 'flip-card-days-' + uuid,
|
|
22074
|
+
show: showDays.value
|
|
22075
|
+
},
|
|
22076
|
+
{
|
|
22077
|
+
current: 0,
|
|
22078
|
+
previous: 0,
|
|
22079
|
+
label: labels.value.hours,
|
|
22080
|
+
elementId: 'flip-card-hours-' + uuid,
|
|
22081
|
+
show: showHours.value
|
|
22082
|
+
},
|
|
22083
|
+
{
|
|
22084
|
+
current: 0,
|
|
22085
|
+
previous: 0,
|
|
22086
|
+
label: labels.value.minutes,
|
|
22087
|
+
elementId: 'flip-card-minutes-' + uuid,
|
|
22088
|
+
show: showMinutes.value
|
|
22089
|
+
},
|
|
22090
|
+
{
|
|
22091
|
+
current: 0,
|
|
22092
|
+
previous: 0,
|
|
22093
|
+
label: labels.value.seconds,
|
|
22094
|
+
elementId: 'flip-card-seconds-' + uuid,
|
|
22095
|
+
show: showSeconds.value
|
|
22096
|
+
}
|
|
22097
|
+
];};
|
|
22097
22098
|
const seconds = vue.computed(() => {
|
|
22098
22099
|
return Math.trunc(diff.value) % 60
|
|
22099
22100
|
});
|
|
@@ -22191,6 +22192,10 @@
|
|
|
22191
22192
|
updateAllCards();
|
|
22192
22193
|
}
|
|
22193
22194
|
});
|
|
22195
|
+
updateLabels();
|
|
22196
|
+
vue.watch(() => labels, () => {
|
|
22197
|
+
updateLabels();
|
|
22198
|
+
}, { deep: true });
|
|
22194
22199
|
|
|
22195
22200
|
vue.watch(diff, (newVal) => {
|
|
22196
22201
|
if (newVal === 0) {
|
|
@@ -22384,15 +22389,13 @@
|
|
|
22384
22389
|
// 监听 props.language 的变化
|
|
22385
22390
|
vue.watch(() => props.language, (newLanguage) => {
|
|
22386
22391
|
labels.value = getLabels(newLanguage);
|
|
22387
|
-
console.log('----------------');
|
|
22388
|
-
console.log(labels.value);
|
|
22389
22392
|
});
|
|
22390
22393
|
return {
|
|
22391
22394
|
styleProps,
|
|
22392
22395
|
handleClick,
|
|
22393
22396
|
labelSize,
|
|
22394
22397
|
countdownSize,
|
|
22395
|
-
|
|
22398
|
+
labels
|
|
22396
22399
|
};
|
|
22397
22400
|
}
|
|
22398
22401
|
});
|
|
@@ -22413,7 +22416,7 @@
|
|
|
22413
22416
|
secondFlipBackgroundColor: _ctx.mainFlipBackgroundColor,
|
|
22414
22417
|
labelColor: _ctx.labelColor,
|
|
22415
22418
|
showLabels: _ctx.showLabels,
|
|
22416
|
-
labels: _ctx.
|
|
22419
|
+
labels: _ctx.labels,
|
|
22417
22420
|
language: _ctx.language,
|
|
22418
22421
|
countdownSize: _ctx.countdownSize,
|
|
22419
22422
|
flipAnimation: _ctx.flipAnimation,
|