unika-components 1.0.313 → 1.0.314
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.
|
@@ -21,7 +21,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
21
21
|
Controller: import("swiper/types").SwiperComponent;
|
|
22
22
|
direction: string;
|
|
23
23
|
upArrow: import("vue").Ref<boolean>;
|
|
24
|
-
slideChangeTransitionEnd: (e: any) => void;
|
|
25
24
|
slideClasses: (index: number) => string[];
|
|
26
25
|
filterProps: (props: Record<string, any>, keysToFilter: string[], isFilter: true) => Record<string, any>;
|
|
27
26
|
switchPage: (index: number) => void;
|
|
@@ -1,32 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
.uni-image-component {
|
|
3
|
-
max-width: 100%;
|
|
4
|
-
}
|
|
5
|
-
.uni-image-mask-wrapper {
|
|
6
|
-
display: inline-block;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.uni-video-component {
|
|
10
|
-
position: relative;
|
|
11
|
-
text-align: center;
|
|
12
|
-
}
|
|
13
|
-
.play-pause-button {
|
|
14
|
-
position: absolute;
|
|
15
|
-
top: 50%;
|
|
16
|
-
left: 50%;
|
|
17
|
-
transform: translate(-50%, -50%);
|
|
18
|
-
cursor: pointer;
|
|
19
|
-
font-size: 2rem;
|
|
20
|
-
color: #fff;
|
|
21
|
-
background: rgba(0, 0, 0, 0.6);
|
|
22
|
-
border-radius: 50%;
|
|
23
|
-
padding: 10px;
|
|
24
|
-
transition: background 0.3s;
|
|
25
|
-
}
|
|
26
|
-
.play-pause-button:hover {
|
|
27
|
-
background: rgba(0, 0, 0, 0.8);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
2
|
h2.uni-text-component, p.uni-text-component {
|
|
31
3
|
margin-top: 0;
|
|
32
4
|
margin-bottom: 0;
|
|
@@ -39,18 +11,6 @@ button.uni-text-component {
|
|
|
39
11
|
box-sizing: border-box;
|
|
40
12
|
white-space: pre-wrap;
|
|
41
13
|
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
.uni-calendar-component {
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
.slot-number {
|
|
48
|
-
position: absolute;
|
|
49
|
-
bottom: 2px;
|
|
50
|
-
left: 7px;
|
|
51
|
-
font-size: 12px;
|
|
52
|
-
color: #666
|
|
53
|
-
}
|
|
54
14
|
|
|
55
15
|
.slide-guide {
|
|
56
16
|
position: absolute;
|
|
@@ -135,32 +95,46 @@ body, html {
|
|
|
135
95
|
.edit-wrapper .uni-lotties-component, .edit-wrapper .uni-like-component, .edit-wrapper .uni-background-component, .edit-wrapper .uni-svg-component, .edit-wrapper .uni-register-form-component{
|
|
136
96
|
position: static !important;
|
|
137
97
|
}
|
|
98
|
+
|
|
99
|
+
.uni-image-component {
|
|
100
|
+
max-width: 100%;
|
|
101
|
+
}
|
|
102
|
+
.uni-image-mask-wrapper {
|
|
103
|
+
display: inline-block;
|
|
104
|
+
}
|
|
138
105
|
|
|
139
|
-
.
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
106
|
+
.uni-video-component {
|
|
107
|
+
position: relative;
|
|
108
|
+
text-align: center;
|
|
109
|
+
}
|
|
110
|
+
.play-pause-button {
|
|
111
|
+
position: absolute;
|
|
112
|
+
top: 50%;
|
|
113
|
+
left: 50%;
|
|
114
|
+
transform: translate(-50%, -50%);
|
|
115
|
+
cursor: pointer;
|
|
116
|
+
font-size: 2rem;
|
|
117
|
+
color: #fff;
|
|
118
|
+
background: rgba(0, 0, 0, 0.6);
|
|
119
|
+
border-radius: 50%;
|
|
120
|
+
padding: 10px;
|
|
121
|
+
transition: background 0.3s;
|
|
122
|
+
}
|
|
123
|
+
.play-pause-button:hover {
|
|
124
|
+
background: rgba(0, 0, 0, 0.8);
|
|
125
|
+
}
|
|
145
126
|
|
|
146
|
-
.icon-heart {
|
|
147
|
-
font-size: 24px;
|
|
148
|
-
color: #e74c3c;
|
|
149
|
-
}
|
|
150
127
|
|
|
151
|
-
.
|
|
152
|
-
color: #f00; /* 更改颜色以示已赞 */
|
|
153
|
-
}
|
|
128
|
+
.uni-calendar-component {
|
|
154
129
|
|
|
155
|
-
.like-count {
|
|
156
|
-
margin-top: 4px;
|
|
157
|
-
font-size: 16px;
|
|
158
|
-
color: #333;
|
|
159
130
|
}
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
131
|
+
.slot-number {
|
|
132
|
+
position: absolute;
|
|
133
|
+
bottom: 2px;
|
|
134
|
+
left: 7px;
|
|
135
|
+
font-size: 12px;
|
|
136
|
+
color: #666
|
|
137
|
+
}
|
|
164
138
|
|
|
165
139
|
.ant-input-number {
|
|
166
140
|
box-sizing: border-box;
|
|
@@ -202,6 +176,11 @@ body, html {
|
|
|
202
176
|
height: 100%;
|
|
203
177
|
}
|
|
204
178
|
|
|
179
|
+
.uni-lotties-component {
|
|
180
|
+
width: 100%;
|
|
181
|
+
height: 100%;
|
|
182
|
+
}
|
|
183
|
+
|
|
205
184
|
.swiper-warp {
|
|
206
185
|
width: 100%;
|
|
207
186
|
height: 100%;
|
|
@@ -216,13 +195,34 @@ body, html {
|
|
|
216
195
|
max-height: 100%;
|
|
217
196
|
}
|
|
218
197
|
|
|
219
|
-
|
|
220
|
-
|
|
198
|
+
.like-button {
|
|
199
|
+
display: flex;
|
|
200
|
+
flex-direction: column;
|
|
201
|
+
align-items: center;
|
|
202
|
+
cursor: pointer;
|
|
203
|
+
}
|
|
221
204
|
|
|
222
|
-
.
|
|
223
|
-
|
|
224
|
-
|
|
205
|
+
.icon-heart {
|
|
206
|
+
font-size: 24px;
|
|
207
|
+
color: #e74c3c;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.liked {
|
|
211
|
+
color: #f00; /* 更改颜色以示已赞 */
|
|
225
212
|
}
|
|
213
|
+
|
|
214
|
+
.like-count {
|
|
215
|
+
margin-top: 4px;
|
|
216
|
+
font-size: 16px;
|
|
217
|
+
color: #333;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.uni-build-up-component {
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.uni-svg-component {
|
|
224
|
+
display: inline-block;
|
|
225
|
+
}
|
|
226
226
|
/**
|
|
227
227
|
* Swiper 6.8.4
|
|
228
228
|
* Most modern mobile touch slider and framework with hardware accelerated transitions
|
|
@@ -771,6 +771,193 @@ button.swiper-pagination-bullet {
|
|
|
771
771
|
backface-visibility: hidden;
|
|
772
772
|
}
|
|
773
773
|
|
|
774
|
+
|
|
775
|
+
.no-animation__card {
|
|
776
|
+
font-weight: 500;
|
|
777
|
+
font-size: var(--countdown-size, 2rem);
|
|
778
|
+
line-height: 1.5;
|
|
779
|
+
display: block;
|
|
780
|
+
color: var(--main-color, #EC685C);
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
.flip-clock {
|
|
784
|
+
text-align: center;
|
|
785
|
+
perspective: 600px;
|
|
786
|
+
margin: 0 auto;
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
.flip-clock *,
|
|
790
|
+
.flip-clock *:before,
|
|
791
|
+
.flip-clock *:after {
|
|
792
|
+
box-sizing: border-box;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
.flip-clock__piece {
|
|
796
|
+
display: inline-block;
|
|
797
|
+
margin: 0 0.2vw;
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
@media (min-width: 1000px) {
|
|
801
|
+
.flip-clock__piece {
|
|
802
|
+
margin: 0 5px;
|
|
803
|
+
}
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
.flip-clock__slot {
|
|
807
|
+
font-size: var(--label-size, 1rem);
|
|
808
|
+
line-height: 1.5;
|
|
809
|
+
display: block;
|
|
810
|
+
color: var(--label-color, #222222);
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
.flip-card {
|
|
814
|
+
display: block;
|
|
815
|
+
position: relative;
|
|
816
|
+
padding-bottom: 0.72em; /* halfHeight */
|
|
817
|
+
font-size: var(--countdown-size, 2.25rem);
|
|
818
|
+
line-height: 0.95;
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
@media (min-width: 1000px) {
|
|
822
|
+
.flip-clock__slot {
|
|
823
|
+
font-size: 1.2rem;
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
.flip-card {
|
|
827
|
+
font-size: 3rem;
|
|
828
|
+
}
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
.flip-card__top,
|
|
832
|
+
.flip-card__bottom,
|
|
833
|
+
.flip-card__back-bottom,
|
|
834
|
+
.flip-card__back::before,
|
|
835
|
+
.flip-card__back::after{
|
|
836
|
+
display: block;
|
|
837
|
+
height: 0.72em; /* halfHeight */
|
|
838
|
+
color: var(--main-color, #EC685C);
|
|
839
|
+
background: var(--main-flip-background-color, #222222);
|
|
840
|
+
padding: 0.23em 0.15em 0.4em;
|
|
841
|
+
border-radius: 0.15em 0.15em 0 0; /* borderRadius */
|
|
842
|
+
backface-visibility: hidden;
|
|
843
|
+
-webkit-backface-visibility: hidden;
|
|
844
|
+
transform-style: preserve-3d;
|
|
845
|
+
width: 2.1em;
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
.flip-card__top-4digits,
|
|
849
|
+
.flip-card__bottom-4digits,
|
|
850
|
+
.flip-card__back-bottom-4digits,
|
|
851
|
+
.flip-card__back-4digits::before,
|
|
852
|
+
.flip-card__back-4digits::after {
|
|
853
|
+
display: block;
|
|
854
|
+
height: 0.72em; /* halfHeight */
|
|
855
|
+
color: var(--main-color, #EC685C);
|
|
856
|
+
background: var(--main-flip-background-color, #222222);
|
|
857
|
+
padding: 0.23em 0.15em 0.4em;
|
|
858
|
+
border-radius: 0.15em 0.15em 0 0; /* borderRadius */
|
|
859
|
+
backface-visibility: hidden;
|
|
860
|
+
-webkit-backface-visibility: hidden;
|
|
861
|
+
transform-style: preserve-3d;
|
|
862
|
+
width: 2.65em;
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
.flip-card__bottom,
|
|
866
|
+
.flip-card__back-bottom,
|
|
867
|
+
.flip-card__bottom-4digits,
|
|
868
|
+
.flip-card__back-bottom-4digits {
|
|
869
|
+
color: var(--second-flip-color, #EC685C);
|
|
870
|
+
position: absolute;
|
|
871
|
+
top: 50%;
|
|
872
|
+
left: 0;
|
|
873
|
+
border-top: solid 1px var(--second-flip-background-color, #000);
|
|
874
|
+
background: var(--second-flip-background-color, #393939);
|
|
875
|
+
border-radius: 0 0 0.15em 0.15em; /* borderRadius */
|
|
876
|
+
pointer-events: none;
|
|
877
|
+
overflow: hidden;
|
|
878
|
+
z-index: 2;
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
.flip-card__back-bottom,
|
|
882
|
+
.flip-card__back-bottom-4digits {
|
|
883
|
+
z-index: 1;
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
.flip-card__bottom::after,
|
|
887
|
+
.flip-card__back-bottom::after,
|
|
888
|
+
.flip-card__bottom-4digits::after,
|
|
889
|
+
.flip-card__back-bottom-4digits::after {
|
|
890
|
+
display: block;
|
|
891
|
+
margin-top: -0.72em; /* Negative halfHeight */
|
|
892
|
+
}
|
|
893
|
+
.flip-card__back::before,
|
|
894
|
+
.flip-card__bottom::after,
|
|
895
|
+
.flip-card__back-bottom::after,
|
|
896
|
+
.flip-card__back-4digits::before,
|
|
897
|
+
.flip-card__bottom-4digits::after,
|
|
898
|
+
.flip-card__back-bottom-4digits::after {
|
|
899
|
+
content: attr(data-value);
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
.flip-card__back,
|
|
903
|
+
.flip-card__back-4digits {
|
|
904
|
+
position: absolute;
|
|
905
|
+
top: 0;
|
|
906
|
+
height: 100%;
|
|
907
|
+
left: 0%;
|
|
908
|
+
pointer-events: none;
|
|
909
|
+
}
|
|
910
|
+
.flip-card__back::before,
|
|
911
|
+
.flip-card__back-4digits::before {
|
|
912
|
+
position: relative;
|
|
913
|
+
overflow: hidden;
|
|
914
|
+
z-index: -1;
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
.flip .flip-card__back::before,
|
|
918
|
+
.flip .flip-card__back-4digits::before {
|
|
919
|
+
z-index: 1;
|
|
920
|
+
animation: flipTop 0.3s cubic-bezier(0.37, 0.01, 0.94, 0.35);
|
|
921
|
+
animation-fill-mode: both;
|
|
922
|
+
transform-origin: center bottom;
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
.flip .flip-card__bottom,
|
|
926
|
+
.flip .flip-card__bottom-4digits {
|
|
927
|
+
transform-origin: center top;
|
|
928
|
+
animation-fill-mode: both;
|
|
929
|
+
animation: flipBottom 0.6s cubic-bezier(0.15, 0.45, 0.28, 1);
|
|
930
|
+
}
|
|
931
|
+
@keyframes flipTop {
|
|
932
|
+
0% {
|
|
933
|
+
transform: rotateX(0deg);
|
|
934
|
+
z-index: 2;
|
|
935
|
+
}
|
|
936
|
+
0%, 99% {
|
|
937
|
+
opacity: 1;
|
|
938
|
+
}
|
|
939
|
+
100% {
|
|
940
|
+
transform: rotateX(-90deg);
|
|
941
|
+
opacity: 0;
|
|
942
|
+
}
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
@keyframes flipBottom {
|
|
946
|
+
0%, 50% {
|
|
947
|
+
z-index: -1;
|
|
948
|
+
transform: rotateX(90deg);
|
|
949
|
+
opacity: 0;
|
|
950
|
+
}
|
|
951
|
+
51% {
|
|
952
|
+
opacity: 1;
|
|
953
|
+
}
|
|
954
|
+
100% {
|
|
955
|
+
opacity: 1;
|
|
956
|
+
transform: rotateX(0deg);
|
|
957
|
+
z-index: 5;
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
|
|
774
961
|
.unika-calendar-box {
|
|
775
962
|
position: relative;
|
|
776
963
|
width: 325px !important;
|
|
@@ -1031,190 +1218,3 @@ button.swiper-pagination-bullet {
|
|
|
1031
1218
|
padding: 0 0px;
|
|
1032
1219
|
border-bottom: 1px solid
|
|
1033
1220
|
}
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
.no-animation__card {
|
|
1037
|
-
font-weight: 500;
|
|
1038
|
-
font-size: var(--countdown-size, 2rem);
|
|
1039
|
-
line-height: 1.5;
|
|
1040
|
-
display: block;
|
|
1041
|
-
color: var(--main-color, #EC685C);
|
|
1042
|
-
}
|
|
1043
|
-
|
|
1044
|
-
.flip-clock {
|
|
1045
|
-
text-align: center;
|
|
1046
|
-
perspective: 600px;
|
|
1047
|
-
margin: 0 auto;
|
|
1048
|
-
}
|
|
1049
|
-
|
|
1050
|
-
.flip-clock *,
|
|
1051
|
-
.flip-clock *:before,
|
|
1052
|
-
.flip-clock *:after {
|
|
1053
|
-
box-sizing: border-box;
|
|
1054
|
-
}
|
|
1055
|
-
|
|
1056
|
-
.flip-clock__piece {
|
|
1057
|
-
display: inline-block;
|
|
1058
|
-
margin: 0 0.2vw;
|
|
1059
|
-
}
|
|
1060
|
-
|
|
1061
|
-
@media (min-width: 1000px) {
|
|
1062
|
-
.flip-clock__piece {
|
|
1063
|
-
margin: 0 5px;
|
|
1064
|
-
}
|
|
1065
|
-
}
|
|
1066
|
-
|
|
1067
|
-
.flip-clock__slot {
|
|
1068
|
-
font-size: var(--label-size, 1rem);
|
|
1069
|
-
line-height: 1.5;
|
|
1070
|
-
display: block;
|
|
1071
|
-
color: var(--label-color, #222222);
|
|
1072
|
-
}
|
|
1073
|
-
|
|
1074
|
-
.flip-card {
|
|
1075
|
-
display: block;
|
|
1076
|
-
position: relative;
|
|
1077
|
-
padding-bottom: 0.72em; /* halfHeight */
|
|
1078
|
-
font-size: var(--countdown-size, 2.25rem);
|
|
1079
|
-
line-height: 0.95;
|
|
1080
|
-
}
|
|
1081
|
-
|
|
1082
|
-
@media (min-width: 1000px) {
|
|
1083
|
-
.flip-clock__slot {
|
|
1084
|
-
font-size: 1.2rem;
|
|
1085
|
-
}
|
|
1086
|
-
|
|
1087
|
-
.flip-card {
|
|
1088
|
-
font-size: 3rem;
|
|
1089
|
-
}
|
|
1090
|
-
}
|
|
1091
|
-
|
|
1092
|
-
.flip-card__top,
|
|
1093
|
-
.flip-card__bottom,
|
|
1094
|
-
.flip-card__back-bottom,
|
|
1095
|
-
.flip-card__back::before,
|
|
1096
|
-
.flip-card__back::after{
|
|
1097
|
-
display: block;
|
|
1098
|
-
height: 0.72em; /* halfHeight */
|
|
1099
|
-
color: var(--main-color, #EC685C);
|
|
1100
|
-
background: var(--main-flip-background-color, #222222);
|
|
1101
|
-
padding: 0.23em 0.15em 0.4em;
|
|
1102
|
-
border-radius: 0.15em 0.15em 0 0; /* borderRadius */
|
|
1103
|
-
backface-visibility: hidden;
|
|
1104
|
-
-webkit-backface-visibility: hidden;
|
|
1105
|
-
transform-style: preserve-3d;
|
|
1106
|
-
width: 2.1em;
|
|
1107
|
-
}
|
|
1108
|
-
|
|
1109
|
-
.flip-card__top-4digits,
|
|
1110
|
-
.flip-card__bottom-4digits,
|
|
1111
|
-
.flip-card__back-bottom-4digits,
|
|
1112
|
-
.flip-card__back-4digits::before,
|
|
1113
|
-
.flip-card__back-4digits::after {
|
|
1114
|
-
display: block;
|
|
1115
|
-
height: 0.72em; /* halfHeight */
|
|
1116
|
-
color: var(--main-color, #EC685C);
|
|
1117
|
-
background: var(--main-flip-background-color, #222222);
|
|
1118
|
-
padding: 0.23em 0.15em 0.4em;
|
|
1119
|
-
border-radius: 0.15em 0.15em 0 0; /* borderRadius */
|
|
1120
|
-
backface-visibility: hidden;
|
|
1121
|
-
-webkit-backface-visibility: hidden;
|
|
1122
|
-
transform-style: preserve-3d;
|
|
1123
|
-
width: 2.65em;
|
|
1124
|
-
}
|
|
1125
|
-
|
|
1126
|
-
.flip-card__bottom,
|
|
1127
|
-
.flip-card__back-bottom,
|
|
1128
|
-
.flip-card__bottom-4digits,
|
|
1129
|
-
.flip-card__back-bottom-4digits {
|
|
1130
|
-
color: var(--second-flip-color, #EC685C);
|
|
1131
|
-
position: absolute;
|
|
1132
|
-
top: 50%;
|
|
1133
|
-
left: 0;
|
|
1134
|
-
border-top: solid 1px var(--second-flip-background-color, #000);
|
|
1135
|
-
background: var(--second-flip-background-color, #393939);
|
|
1136
|
-
border-radius: 0 0 0.15em 0.15em; /* borderRadius */
|
|
1137
|
-
pointer-events: none;
|
|
1138
|
-
overflow: hidden;
|
|
1139
|
-
z-index: 2;
|
|
1140
|
-
}
|
|
1141
|
-
|
|
1142
|
-
.flip-card__back-bottom,
|
|
1143
|
-
.flip-card__back-bottom-4digits {
|
|
1144
|
-
z-index: 1;
|
|
1145
|
-
}
|
|
1146
|
-
|
|
1147
|
-
.flip-card__bottom::after,
|
|
1148
|
-
.flip-card__back-bottom::after,
|
|
1149
|
-
.flip-card__bottom-4digits::after,
|
|
1150
|
-
.flip-card__back-bottom-4digits::after {
|
|
1151
|
-
display: block;
|
|
1152
|
-
margin-top: -0.72em; /* Negative halfHeight */
|
|
1153
|
-
}
|
|
1154
|
-
.flip-card__back::before,
|
|
1155
|
-
.flip-card__bottom::after,
|
|
1156
|
-
.flip-card__back-bottom::after,
|
|
1157
|
-
.flip-card__back-4digits::before,
|
|
1158
|
-
.flip-card__bottom-4digits::after,
|
|
1159
|
-
.flip-card__back-bottom-4digits::after {
|
|
1160
|
-
content: attr(data-value);
|
|
1161
|
-
}
|
|
1162
|
-
|
|
1163
|
-
.flip-card__back,
|
|
1164
|
-
.flip-card__back-4digits {
|
|
1165
|
-
position: absolute;
|
|
1166
|
-
top: 0;
|
|
1167
|
-
height: 100%;
|
|
1168
|
-
left: 0%;
|
|
1169
|
-
pointer-events: none;
|
|
1170
|
-
}
|
|
1171
|
-
.flip-card__back::before,
|
|
1172
|
-
.flip-card__back-4digits::before {
|
|
1173
|
-
position: relative;
|
|
1174
|
-
overflow: hidden;
|
|
1175
|
-
z-index: -1;
|
|
1176
|
-
}
|
|
1177
|
-
|
|
1178
|
-
.flip .flip-card__back::before,
|
|
1179
|
-
.flip .flip-card__back-4digits::before {
|
|
1180
|
-
z-index: 1;
|
|
1181
|
-
animation: flipTop 0.3s cubic-bezier(0.37, 0.01, 0.94, 0.35);
|
|
1182
|
-
animation-fill-mode: both;
|
|
1183
|
-
transform-origin: center bottom;
|
|
1184
|
-
}
|
|
1185
|
-
|
|
1186
|
-
.flip .flip-card__bottom,
|
|
1187
|
-
.flip .flip-card__bottom-4digits {
|
|
1188
|
-
transform-origin: center top;
|
|
1189
|
-
animation-fill-mode: both;
|
|
1190
|
-
animation: flipBottom 0.6s cubic-bezier(0.15, 0.45, 0.28, 1);
|
|
1191
|
-
}
|
|
1192
|
-
@keyframes flipTop {
|
|
1193
|
-
0% {
|
|
1194
|
-
transform: rotateX(0deg);
|
|
1195
|
-
z-index: 2;
|
|
1196
|
-
}
|
|
1197
|
-
0%, 99% {
|
|
1198
|
-
opacity: 1;
|
|
1199
|
-
}
|
|
1200
|
-
100% {
|
|
1201
|
-
transform: rotateX(-90deg);
|
|
1202
|
-
opacity: 0;
|
|
1203
|
-
}
|
|
1204
|
-
}
|
|
1205
|
-
|
|
1206
|
-
@keyframes flipBottom {
|
|
1207
|
-
0%, 50% {
|
|
1208
|
-
z-index: -1;
|
|
1209
|
-
transform: rotateX(90deg);
|
|
1210
|
-
opacity: 0;
|
|
1211
|
-
}
|
|
1212
|
-
51% {
|
|
1213
|
-
opacity: 1;
|
|
1214
|
-
}
|
|
1215
|
-
100% {
|
|
1216
|
-
opacity: 1;
|
|
1217
|
-
transform: rotateX(0deg);
|
|
1218
|
-
z-index: 5;
|
|
1219
|
-
}
|
|
1220
|
-
}
|
|
@@ -13211,15 +13211,6 @@ var SwiperSlide = {
|
|
|
13211
13211
|
};
|
|
13212
13212
|
|
|
13213
13213
|
//隐藏元素
|
|
13214
|
-
const swiperAnimateCache = () => {
|
|
13215
|
-
const allBoxes = window.document.documentElement.querySelectorAll(".animation");
|
|
13216
|
-
for (let i = 0; i < allBoxes.length; i++) {
|
|
13217
|
-
allBoxes[i].attributes["style"]
|
|
13218
|
-
? allBoxes[i].setAttribute("swiper-animate-style-cache", allBoxes[i].attributes["style"].value)
|
|
13219
|
-
: allBoxes[i].setAttribute("swiper-animate-style-cache", " ");
|
|
13220
|
-
allBoxes[i].style.visibility = "hidden";
|
|
13221
|
-
}
|
|
13222
|
-
};
|
|
13223
13214
|
// 开始动画
|
|
13224
13215
|
const swiperAnimate = (a) => {
|
|
13225
13216
|
//每次添加的时候先把样式清除一遍
|
|
@@ -13256,7 +13247,7 @@ const clearSwiperAnimate = () => {
|
|
|
13256
13247
|
}
|
|
13257
13248
|
};
|
|
13258
13249
|
|
|
13259
|
-
SwiperCore.use([Pagination$1, EffectFade]);
|
|
13250
|
+
SwiperCore.use([Pagination$1, EffectFade, Controller$1]);
|
|
13260
13251
|
function getComputedCSSText(style) {
|
|
13261
13252
|
let cssText = '';
|
|
13262
13253
|
for (const attr in style) {
|
|
@@ -13377,8 +13368,22 @@ var script$h = defineComponent({
|
|
|
13377
13368
|
};
|
|
13378
13369
|
const onSlideChange = (swiper) => {
|
|
13379
13370
|
const currentIndex = swiper.activeIndex;
|
|
13380
|
-
|
|
13381
|
-
|
|
13371
|
+
currentPage.value = (currentIndex - 1);
|
|
13372
|
+
if (currentPage.value == totalPages.value) {
|
|
13373
|
+
currentPage.value = 0;
|
|
13374
|
+
}
|
|
13375
|
+
console.log('aaaaaaaa');
|
|
13376
|
+
console.log(totalPages.value);
|
|
13377
|
+
console.log(currentIndex);
|
|
13378
|
+
console.log(currentPage.value);
|
|
13379
|
+
sendPageInfo();
|
|
13380
|
+
try {
|
|
13381
|
+
runAnimations(currentIndex);
|
|
13382
|
+
callUniLottiesPlay(currentIndex);
|
|
13383
|
+
}
|
|
13384
|
+
catch (error) {
|
|
13385
|
+
console.error("Error in onSlideChange:", error);
|
|
13386
|
+
}
|
|
13382
13387
|
if (currentIndex === swiper.slides.length - 1) {
|
|
13383
13388
|
upArrow.value = false;
|
|
13384
13389
|
}
|
|
@@ -13386,23 +13391,23 @@ var script$h = defineComponent({
|
|
|
13386
13391
|
upArrow.value = true;
|
|
13387
13392
|
}
|
|
13388
13393
|
swiperAnimate(swiper);
|
|
13389
|
-
currentPage.value = (currentIndex - 1);
|
|
13390
|
-
console.log('aaaaaaaa');
|
|
13391
|
-
console.log(currentIndex);
|
|
13392
|
-
console.log(currentPage.value);
|
|
13393
|
-
sendPageInfo();
|
|
13394
|
-
};
|
|
13395
|
-
const slideChangeTransitionEnd = (e) => {
|
|
13396
|
-
swiperAnimate(e);
|
|
13397
13394
|
};
|
|
13395
|
+
// const slideChangeTransitionEnd = (e: any) => {
|
|
13396
|
+
// swiperAnimate(e);
|
|
13397
|
+
// }
|
|
13398
13398
|
const controlledSwiper = ref();
|
|
13399
13399
|
const onSwiper = (swiper) => {
|
|
13400
13400
|
controlledSwiper.value = swiper;
|
|
13401
|
-
swiperAnimateCache();
|
|
13402
|
-
swiperAnimate(swiper);
|
|
13401
|
+
// swiperAnimateCache();
|
|
13402
|
+
// swiperAnimate(swiper);
|
|
13403
13403
|
const currentIndex = swiper.activeIndex;
|
|
13404
|
-
|
|
13405
|
-
|
|
13404
|
+
try {
|
|
13405
|
+
runAnimations(currentIndex);
|
|
13406
|
+
callUniLottiesPlay(currentIndex);
|
|
13407
|
+
}
|
|
13408
|
+
catch (error) {
|
|
13409
|
+
console.error("Error in onSlideChange:", error);
|
|
13410
|
+
}
|
|
13406
13411
|
};
|
|
13407
13412
|
const direction = 'vertical';
|
|
13408
13413
|
const slideClasses = (index) => {
|
|
@@ -13479,7 +13484,7 @@ var script$h = defineComponent({
|
|
|
13479
13484
|
Controller: Controller$1,
|
|
13480
13485
|
direction,
|
|
13481
13486
|
upArrow,
|
|
13482
|
-
slideChangeTransitionEnd,
|
|
13487
|
+
// slideChangeTransitionEnd,
|
|
13483
13488
|
slideClasses,
|
|
13484
13489
|
filterProps,
|
|
13485
13490
|
switchPage
|
|
@@ -13218,15 +13218,6 @@
|
|
|
13218
13218
|
};
|
|
13219
13219
|
|
|
13220
13220
|
//隐藏元素
|
|
13221
|
-
const swiperAnimateCache = () => {
|
|
13222
|
-
const allBoxes = window.document.documentElement.querySelectorAll(".animation");
|
|
13223
|
-
for (let i = 0; i < allBoxes.length; i++) {
|
|
13224
|
-
allBoxes[i].attributes["style"]
|
|
13225
|
-
? allBoxes[i].setAttribute("swiper-animate-style-cache", allBoxes[i].attributes["style"].value)
|
|
13226
|
-
: allBoxes[i].setAttribute("swiper-animate-style-cache", " ");
|
|
13227
|
-
allBoxes[i].style.visibility = "hidden";
|
|
13228
|
-
}
|
|
13229
|
-
};
|
|
13230
13221
|
// 开始动画
|
|
13231
13222
|
const swiperAnimate = (a) => {
|
|
13232
13223
|
//每次添加的时候先把样式清除一遍
|
|
@@ -13263,7 +13254,7 @@
|
|
|
13263
13254
|
}
|
|
13264
13255
|
};
|
|
13265
13256
|
|
|
13266
|
-
SwiperCore.use([Pagination$1, EffectFade]);
|
|
13257
|
+
SwiperCore.use([Pagination$1, EffectFade, Controller$1]);
|
|
13267
13258
|
function getComputedCSSText(style) {
|
|
13268
13259
|
let cssText = '';
|
|
13269
13260
|
for (const attr in style) {
|
|
@@ -13384,8 +13375,22 @@
|
|
|
13384
13375
|
};
|
|
13385
13376
|
const onSlideChange = (swiper) => {
|
|
13386
13377
|
const currentIndex = swiper.activeIndex;
|
|
13387
|
-
|
|
13388
|
-
|
|
13378
|
+
currentPage.value = (currentIndex - 1);
|
|
13379
|
+
if (currentPage.value == totalPages.value) {
|
|
13380
|
+
currentPage.value = 0;
|
|
13381
|
+
}
|
|
13382
|
+
console.log('aaaaaaaa');
|
|
13383
|
+
console.log(totalPages.value);
|
|
13384
|
+
console.log(currentIndex);
|
|
13385
|
+
console.log(currentPage.value);
|
|
13386
|
+
sendPageInfo();
|
|
13387
|
+
try {
|
|
13388
|
+
runAnimations(currentIndex);
|
|
13389
|
+
callUniLottiesPlay(currentIndex);
|
|
13390
|
+
}
|
|
13391
|
+
catch (error) {
|
|
13392
|
+
console.error("Error in onSlideChange:", error);
|
|
13393
|
+
}
|
|
13389
13394
|
if (currentIndex === swiper.slides.length - 1) {
|
|
13390
13395
|
upArrow.value = false;
|
|
13391
13396
|
}
|
|
@@ -13393,23 +13398,23 @@
|
|
|
13393
13398
|
upArrow.value = true;
|
|
13394
13399
|
}
|
|
13395
13400
|
swiperAnimate(swiper);
|
|
13396
|
-
currentPage.value = (currentIndex - 1);
|
|
13397
|
-
console.log('aaaaaaaa');
|
|
13398
|
-
console.log(currentIndex);
|
|
13399
|
-
console.log(currentPage.value);
|
|
13400
|
-
sendPageInfo();
|
|
13401
|
-
};
|
|
13402
|
-
const slideChangeTransitionEnd = (e) => {
|
|
13403
|
-
swiperAnimate(e);
|
|
13404
13401
|
};
|
|
13402
|
+
// const slideChangeTransitionEnd = (e: any) => {
|
|
13403
|
+
// swiperAnimate(e);
|
|
13404
|
+
// }
|
|
13405
13405
|
const controlledSwiper = vue.ref();
|
|
13406
13406
|
const onSwiper = (swiper) => {
|
|
13407
13407
|
controlledSwiper.value = swiper;
|
|
13408
|
-
swiperAnimateCache();
|
|
13409
|
-
swiperAnimate(swiper);
|
|
13408
|
+
// swiperAnimateCache();
|
|
13409
|
+
// swiperAnimate(swiper);
|
|
13410
13410
|
const currentIndex = swiper.activeIndex;
|
|
13411
|
-
|
|
13412
|
-
|
|
13411
|
+
try {
|
|
13412
|
+
runAnimations(currentIndex);
|
|
13413
|
+
callUniLottiesPlay(currentIndex);
|
|
13414
|
+
}
|
|
13415
|
+
catch (error) {
|
|
13416
|
+
console.error("Error in onSlideChange:", error);
|
|
13417
|
+
}
|
|
13413
13418
|
};
|
|
13414
13419
|
const direction = 'vertical';
|
|
13415
13420
|
const slideClasses = (index) => {
|
|
@@ -13486,7 +13491,7 @@
|
|
|
13486
13491
|
Controller: Controller$1,
|
|
13487
13492
|
direction,
|
|
13488
13493
|
upArrow,
|
|
13489
|
-
slideChangeTransitionEnd,
|
|
13494
|
+
// slideChangeTransitionEnd,
|
|
13490
13495
|
slideClasses,
|
|
13491
13496
|
filterProps,
|
|
13492
13497
|
switchPage
|