unika-components 1.0.255 → 1.0.257
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/unika-components.css +246 -246
- package/dist/unika-components.esm.js +14 -27
- package/dist/unika-components.umd.js +14 -27
- package/package.json +1 -1
|
@@ -17,49 +17,6 @@ button.uni-text-component {
|
|
|
17
17
|
.uni-image-mask-wrapper {
|
|
18
18
|
display: inline-block;
|
|
19
19
|
}
|
|
20
|
-
|
|
21
|
-
.uni-video-component {
|
|
22
|
-
position: relative;
|
|
23
|
-
text-align: center;
|
|
24
|
-
}
|
|
25
|
-
.play-pause-button {
|
|
26
|
-
position: absolute;
|
|
27
|
-
top: 50%;
|
|
28
|
-
left: 50%;
|
|
29
|
-
transform: translate(-50%, -50%);
|
|
30
|
-
cursor: pointer;
|
|
31
|
-
font-size: 2rem;
|
|
32
|
-
color: #fff;
|
|
33
|
-
background: rgba(0, 0, 0, 0.6);
|
|
34
|
-
border-radius: 50%;
|
|
35
|
-
padding: 10px;
|
|
36
|
-
transition: background 0.3s;
|
|
37
|
-
}
|
|
38
|
-
.play-pause-button:hover {
|
|
39
|
-
background: rgba(0, 0, 0, 0.8);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.like-button {
|
|
43
|
-
display: flex;
|
|
44
|
-
flex-direction: column;
|
|
45
|
-
align-items: center;
|
|
46
|
-
cursor: pointer;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.icon-heart {
|
|
50
|
-
font-size: 24px;
|
|
51
|
-
color: #e74c3c;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.liked {
|
|
55
|
-
color: #f00; /* 更改颜色以示已赞 */
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.like-count {
|
|
59
|
-
margin-top: 4px;
|
|
60
|
-
font-size: 16px;
|
|
61
|
-
color: #333;
|
|
62
|
-
}
|
|
63
20
|
|
|
64
21
|
.slide-guide {
|
|
65
22
|
position: absolute;
|
|
@@ -146,12 +103,47 @@ body, html {
|
|
|
146
103
|
color: #666
|
|
147
104
|
}
|
|
148
105
|
|
|
149
|
-
.
|
|
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
|
+
}
|
|
126
|
+
|
|
127
|
+
.uni-lotties-component {
|
|
150
128
|
width: 100%;
|
|
151
129
|
height: 100%;
|
|
152
130
|
}
|
|
153
131
|
|
|
154
|
-
.
|
|
132
|
+
.swiper-warp {
|
|
133
|
+
width: 100%;
|
|
134
|
+
height: 100%;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.swiper-slide-component {
|
|
138
|
+
text-align: center;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.swiper-slide img {
|
|
142
|
+
max-width: 100%;
|
|
143
|
+
max-height: 100%;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.effect {
|
|
155
147
|
width: 100%;
|
|
156
148
|
height: 100%;
|
|
157
149
|
}
|
|
@@ -191,26 +183,34 @@ body, html {
|
|
|
191
183
|
vertical-align: top;
|
|
192
184
|
}
|
|
193
185
|
|
|
194
|
-
.swiper-warp {
|
|
195
|
-
width: 100%;
|
|
196
|
-
height: 100%;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
.swiper-slide-component {
|
|
200
|
-
text-align: center;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
.swiper-slide img {
|
|
204
|
-
max-width: 100%;
|
|
205
|
-
max-height: 100%;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
186
|
.uni-build-up-component {
|
|
209
187
|
}
|
|
210
188
|
|
|
211
189
|
.uni-svg-component {
|
|
212
190
|
display: inline-block;
|
|
213
191
|
}
|
|
192
|
+
|
|
193
|
+
.like-button {
|
|
194
|
+
display: flex;
|
|
195
|
+
flex-direction: column;
|
|
196
|
+
align-items: center;
|
|
197
|
+
cursor: pointer;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.icon-heart {
|
|
201
|
+
font-size: 24px;
|
|
202
|
+
color: #e74c3c;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.liked {
|
|
206
|
+
color: #f00; /* 更改颜色以示已赞 */
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.like-count {
|
|
210
|
+
margin-top: 4px;
|
|
211
|
+
font-size: 16px;
|
|
212
|
+
color: #333;
|
|
213
|
+
}
|
|
214
214
|
/**
|
|
215
215
|
* Swiper 6.8.4
|
|
216
216
|
* Most modern mobile touch slider and framework with hardware accelerated transitions
|
|
@@ -759,6 +759,193 @@ button.swiper-pagination-bullet {
|
|
|
759
759
|
backface-visibility: hidden;
|
|
760
760
|
}
|
|
761
761
|
|
|
762
|
+
|
|
763
|
+
.no-animation__card {
|
|
764
|
+
font-weight: 500;
|
|
765
|
+
font-size: var(--countdown-size, 2rem);
|
|
766
|
+
line-height: 1.5;
|
|
767
|
+
display: block;
|
|
768
|
+
color: var(--main-color, #EC685C);
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
.flip-clock {
|
|
772
|
+
text-align: center;
|
|
773
|
+
perspective: 600px;
|
|
774
|
+
margin: 0 auto;
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
.flip-clock *,
|
|
778
|
+
.flip-clock *:before,
|
|
779
|
+
.flip-clock *:after {
|
|
780
|
+
box-sizing: border-box;
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
.flip-clock__piece {
|
|
784
|
+
display: inline-block;
|
|
785
|
+
margin: 0 0.2vw;
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
@media (min-width: 1000px) {
|
|
789
|
+
.flip-clock__piece {
|
|
790
|
+
margin: 0 5px;
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
.flip-clock__slot {
|
|
795
|
+
font-size: var(--label-size, 1rem);
|
|
796
|
+
line-height: 1.5;
|
|
797
|
+
display: block;
|
|
798
|
+
color: var(--label-color, #222222);
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
.flip-card {
|
|
802
|
+
display: block;
|
|
803
|
+
position: relative;
|
|
804
|
+
padding-bottom: 0.72em; /* halfHeight */
|
|
805
|
+
font-size: var(--countdown-size, 2.25rem);
|
|
806
|
+
line-height: 0.95;
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
@media (min-width: 1000px) {
|
|
810
|
+
.flip-clock__slot {
|
|
811
|
+
font-size: 1.2rem;
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
.flip-card {
|
|
815
|
+
font-size: 3rem;
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
.flip-card__top,
|
|
820
|
+
.flip-card__bottom,
|
|
821
|
+
.flip-card__back-bottom,
|
|
822
|
+
.flip-card__back::before,
|
|
823
|
+
.flip-card__back::after{
|
|
824
|
+
display: block;
|
|
825
|
+
height: 0.72em; /* halfHeight */
|
|
826
|
+
color: var(--main-color, #EC685C);
|
|
827
|
+
background: var(--main-flip-background-color, #222222);
|
|
828
|
+
padding: 0.23em 0.15em 0.4em;
|
|
829
|
+
border-radius: 0.15em 0.15em 0 0; /* borderRadius */
|
|
830
|
+
backface-visibility: hidden;
|
|
831
|
+
-webkit-backface-visibility: hidden;
|
|
832
|
+
transform-style: preserve-3d;
|
|
833
|
+
width: 2.1em;
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
.flip-card__top-4digits,
|
|
837
|
+
.flip-card__bottom-4digits,
|
|
838
|
+
.flip-card__back-bottom-4digits,
|
|
839
|
+
.flip-card__back-4digits::before,
|
|
840
|
+
.flip-card__back-4digits::after {
|
|
841
|
+
display: block;
|
|
842
|
+
height: 0.72em; /* halfHeight */
|
|
843
|
+
color: var(--main-color, #EC685C);
|
|
844
|
+
background: var(--main-flip-background-color, #222222);
|
|
845
|
+
padding: 0.23em 0.15em 0.4em;
|
|
846
|
+
border-radius: 0.15em 0.15em 0 0; /* borderRadius */
|
|
847
|
+
backface-visibility: hidden;
|
|
848
|
+
-webkit-backface-visibility: hidden;
|
|
849
|
+
transform-style: preserve-3d;
|
|
850
|
+
width: 2.65em;
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
.flip-card__bottom,
|
|
854
|
+
.flip-card__back-bottom,
|
|
855
|
+
.flip-card__bottom-4digits,
|
|
856
|
+
.flip-card__back-bottom-4digits {
|
|
857
|
+
color: var(--second-flip-color, #EC685C);
|
|
858
|
+
position: absolute;
|
|
859
|
+
top: 50%;
|
|
860
|
+
left: 0;
|
|
861
|
+
border-top: solid 1px var(--second-flip-background-color, #000);
|
|
862
|
+
background: var(--second-flip-background-color, #393939);
|
|
863
|
+
border-radius: 0 0 0.15em 0.15em; /* borderRadius */
|
|
864
|
+
pointer-events: none;
|
|
865
|
+
overflow: hidden;
|
|
866
|
+
z-index: 2;
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
.flip-card__back-bottom,
|
|
870
|
+
.flip-card__back-bottom-4digits {
|
|
871
|
+
z-index: 1;
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
.flip-card__bottom::after,
|
|
875
|
+
.flip-card__back-bottom::after,
|
|
876
|
+
.flip-card__bottom-4digits::after,
|
|
877
|
+
.flip-card__back-bottom-4digits::after {
|
|
878
|
+
display: block;
|
|
879
|
+
margin-top: -0.72em; /* Negative halfHeight */
|
|
880
|
+
}
|
|
881
|
+
.flip-card__back::before,
|
|
882
|
+
.flip-card__bottom::after,
|
|
883
|
+
.flip-card__back-bottom::after,
|
|
884
|
+
.flip-card__back-4digits::before,
|
|
885
|
+
.flip-card__bottom-4digits::after,
|
|
886
|
+
.flip-card__back-bottom-4digits::after {
|
|
887
|
+
content: attr(data-value);
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
.flip-card__back,
|
|
891
|
+
.flip-card__back-4digits {
|
|
892
|
+
position: absolute;
|
|
893
|
+
top: 0;
|
|
894
|
+
height: 100%;
|
|
895
|
+
left: 0%;
|
|
896
|
+
pointer-events: none;
|
|
897
|
+
}
|
|
898
|
+
.flip-card__back::before,
|
|
899
|
+
.flip-card__back-4digits::before {
|
|
900
|
+
position: relative;
|
|
901
|
+
overflow: hidden;
|
|
902
|
+
z-index: -1;
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
.flip .flip-card__back::before,
|
|
906
|
+
.flip .flip-card__back-4digits::before {
|
|
907
|
+
z-index: 1;
|
|
908
|
+
animation: flipTop 0.3s cubic-bezier(0.37, 0.01, 0.94, 0.35);
|
|
909
|
+
animation-fill-mode: both;
|
|
910
|
+
transform-origin: center bottom;
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
.flip .flip-card__bottom,
|
|
914
|
+
.flip .flip-card__bottom-4digits {
|
|
915
|
+
transform-origin: center top;
|
|
916
|
+
animation-fill-mode: both;
|
|
917
|
+
animation: flipBottom 0.6s cubic-bezier(0.15, 0.45, 0.28, 1);
|
|
918
|
+
}
|
|
919
|
+
@keyframes flipTop {
|
|
920
|
+
0% {
|
|
921
|
+
transform: rotateX(0deg);
|
|
922
|
+
z-index: 2;
|
|
923
|
+
}
|
|
924
|
+
0%, 99% {
|
|
925
|
+
opacity: 1;
|
|
926
|
+
}
|
|
927
|
+
100% {
|
|
928
|
+
transform: rotateX(-90deg);
|
|
929
|
+
opacity: 0;
|
|
930
|
+
}
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
@keyframes flipBottom {
|
|
934
|
+
0%, 50% {
|
|
935
|
+
z-index: -1;
|
|
936
|
+
transform: rotateX(90deg);
|
|
937
|
+
opacity: 0;
|
|
938
|
+
}
|
|
939
|
+
51% {
|
|
940
|
+
opacity: 1;
|
|
941
|
+
}
|
|
942
|
+
100% {
|
|
943
|
+
opacity: 1;
|
|
944
|
+
transform: rotateX(0deg);
|
|
945
|
+
z-index: 5;
|
|
946
|
+
}
|
|
947
|
+
}
|
|
948
|
+
|
|
762
949
|
.unika-calendar-box {
|
|
763
950
|
position: relative;
|
|
764
951
|
width: 325px !important;
|
|
@@ -1018,190 +1205,3 @@ button.swiper-pagination-bullet {
|
|
|
1018
1205
|
padding: 0 0px;
|
|
1019
1206
|
border-bottom: 1px solid
|
|
1020
1207
|
}
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
.no-animation__card {
|
|
1024
|
-
font-weight: 500;
|
|
1025
|
-
font-size: var(--countdown-size, 2rem);
|
|
1026
|
-
line-height: 1.5;
|
|
1027
|
-
display: block;
|
|
1028
|
-
color: var(--main-color, #EC685C);
|
|
1029
|
-
}
|
|
1030
|
-
|
|
1031
|
-
.flip-clock {
|
|
1032
|
-
text-align: center;
|
|
1033
|
-
perspective: 600px;
|
|
1034
|
-
margin: 0 auto;
|
|
1035
|
-
}
|
|
1036
|
-
|
|
1037
|
-
.flip-clock *,
|
|
1038
|
-
.flip-clock *:before,
|
|
1039
|
-
.flip-clock *:after {
|
|
1040
|
-
box-sizing: border-box;
|
|
1041
|
-
}
|
|
1042
|
-
|
|
1043
|
-
.flip-clock__piece {
|
|
1044
|
-
display: inline-block;
|
|
1045
|
-
margin: 0 0.2vw;
|
|
1046
|
-
}
|
|
1047
|
-
|
|
1048
|
-
@media (min-width: 1000px) {
|
|
1049
|
-
.flip-clock__piece {
|
|
1050
|
-
margin: 0 5px;
|
|
1051
|
-
}
|
|
1052
|
-
}
|
|
1053
|
-
|
|
1054
|
-
.flip-clock__slot {
|
|
1055
|
-
font-size: var(--label-size, 1rem);
|
|
1056
|
-
line-height: 1.5;
|
|
1057
|
-
display: block;
|
|
1058
|
-
color: var(--label-color, #222222);
|
|
1059
|
-
}
|
|
1060
|
-
|
|
1061
|
-
.flip-card {
|
|
1062
|
-
display: block;
|
|
1063
|
-
position: relative;
|
|
1064
|
-
padding-bottom: 0.72em; /* halfHeight */
|
|
1065
|
-
font-size: var(--countdown-size, 2.25rem);
|
|
1066
|
-
line-height: 0.95;
|
|
1067
|
-
}
|
|
1068
|
-
|
|
1069
|
-
@media (min-width: 1000px) {
|
|
1070
|
-
.flip-clock__slot {
|
|
1071
|
-
font-size: 1.2rem;
|
|
1072
|
-
}
|
|
1073
|
-
|
|
1074
|
-
.flip-card {
|
|
1075
|
-
font-size: 3rem;
|
|
1076
|
-
}
|
|
1077
|
-
}
|
|
1078
|
-
|
|
1079
|
-
.flip-card__top,
|
|
1080
|
-
.flip-card__bottom,
|
|
1081
|
-
.flip-card__back-bottom,
|
|
1082
|
-
.flip-card__back::before,
|
|
1083
|
-
.flip-card__back::after{
|
|
1084
|
-
display: block;
|
|
1085
|
-
height: 0.72em; /* halfHeight */
|
|
1086
|
-
color: var(--main-color, #EC685C);
|
|
1087
|
-
background: var(--main-flip-background-color, #222222);
|
|
1088
|
-
padding: 0.23em 0.15em 0.4em;
|
|
1089
|
-
border-radius: 0.15em 0.15em 0 0; /* borderRadius */
|
|
1090
|
-
backface-visibility: hidden;
|
|
1091
|
-
-webkit-backface-visibility: hidden;
|
|
1092
|
-
transform-style: preserve-3d;
|
|
1093
|
-
width: 2.1em;
|
|
1094
|
-
}
|
|
1095
|
-
|
|
1096
|
-
.flip-card__top-4digits,
|
|
1097
|
-
.flip-card__bottom-4digits,
|
|
1098
|
-
.flip-card__back-bottom-4digits,
|
|
1099
|
-
.flip-card__back-4digits::before,
|
|
1100
|
-
.flip-card__back-4digits::after {
|
|
1101
|
-
display: block;
|
|
1102
|
-
height: 0.72em; /* halfHeight */
|
|
1103
|
-
color: var(--main-color, #EC685C);
|
|
1104
|
-
background: var(--main-flip-background-color, #222222);
|
|
1105
|
-
padding: 0.23em 0.15em 0.4em;
|
|
1106
|
-
border-radius: 0.15em 0.15em 0 0; /* borderRadius */
|
|
1107
|
-
backface-visibility: hidden;
|
|
1108
|
-
-webkit-backface-visibility: hidden;
|
|
1109
|
-
transform-style: preserve-3d;
|
|
1110
|
-
width: 2.65em;
|
|
1111
|
-
}
|
|
1112
|
-
|
|
1113
|
-
.flip-card__bottom,
|
|
1114
|
-
.flip-card__back-bottom,
|
|
1115
|
-
.flip-card__bottom-4digits,
|
|
1116
|
-
.flip-card__back-bottom-4digits {
|
|
1117
|
-
color: var(--second-flip-color, #EC685C);
|
|
1118
|
-
position: absolute;
|
|
1119
|
-
top: 50%;
|
|
1120
|
-
left: 0;
|
|
1121
|
-
border-top: solid 1px var(--second-flip-background-color, #000);
|
|
1122
|
-
background: var(--second-flip-background-color, #393939);
|
|
1123
|
-
border-radius: 0 0 0.15em 0.15em; /* borderRadius */
|
|
1124
|
-
pointer-events: none;
|
|
1125
|
-
overflow: hidden;
|
|
1126
|
-
z-index: 2;
|
|
1127
|
-
}
|
|
1128
|
-
|
|
1129
|
-
.flip-card__back-bottom,
|
|
1130
|
-
.flip-card__back-bottom-4digits {
|
|
1131
|
-
z-index: 1;
|
|
1132
|
-
}
|
|
1133
|
-
|
|
1134
|
-
.flip-card__bottom::after,
|
|
1135
|
-
.flip-card__back-bottom::after,
|
|
1136
|
-
.flip-card__bottom-4digits::after,
|
|
1137
|
-
.flip-card__back-bottom-4digits::after {
|
|
1138
|
-
display: block;
|
|
1139
|
-
margin-top: -0.72em; /* Negative halfHeight */
|
|
1140
|
-
}
|
|
1141
|
-
.flip-card__back::before,
|
|
1142
|
-
.flip-card__bottom::after,
|
|
1143
|
-
.flip-card__back-bottom::after,
|
|
1144
|
-
.flip-card__back-4digits::before,
|
|
1145
|
-
.flip-card__bottom-4digits::after,
|
|
1146
|
-
.flip-card__back-bottom-4digits::after {
|
|
1147
|
-
content: attr(data-value);
|
|
1148
|
-
}
|
|
1149
|
-
|
|
1150
|
-
.flip-card__back,
|
|
1151
|
-
.flip-card__back-4digits {
|
|
1152
|
-
position: absolute;
|
|
1153
|
-
top: 0;
|
|
1154
|
-
height: 100%;
|
|
1155
|
-
left: 0%;
|
|
1156
|
-
pointer-events: none;
|
|
1157
|
-
}
|
|
1158
|
-
.flip-card__back::before,
|
|
1159
|
-
.flip-card__back-4digits::before {
|
|
1160
|
-
position: relative;
|
|
1161
|
-
overflow: hidden;
|
|
1162
|
-
z-index: -1;
|
|
1163
|
-
}
|
|
1164
|
-
|
|
1165
|
-
.flip .flip-card__back::before,
|
|
1166
|
-
.flip .flip-card__back-4digits::before {
|
|
1167
|
-
z-index: 1;
|
|
1168
|
-
animation: flipTop 0.3s cubic-bezier(0.37, 0.01, 0.94, 0.35);
|
|
1169
|
-
animation-fill-mode: both;
|
|
1170
|
-
transform-origin: center bottom;
|
|
1171
|
-
}
|
|
1172
|
-
|
|
1173
|
-
.flip .flip-card__bottom,
|
|
1174
|
-
.flip .flip-card__bottom-4digits {
|
|
1175
|
-
transform-origin: center top;
|
|
1176
|
-
animation-fill-mode: both;
|
|
1177
|
-
animation: flipBottom 0.6s cubic-bezier(0.15, 0.45, 0.28, 1);
|
|
1178
|
-
}
|
|
1179
|
-
@keyframes flipTop {
|
|
1180
|
-
0% {
|
|
1181
|
-
transform: rotateX(0deg);
|
|
1182
|
-
z-index: 2;
|
|
1183
|
-
}
|
|
1184
|
-
0%, 99% {
|
|
1185
|
-
opacity: 1;
|
|
1186
|
-
}
|
|
1187
|
-
100% {
|
|
1188
|
-
transform: rotateX(-90deg);
|
|
1189
|
-
opacity: 0;
|
|
1190
|
-
}
|
|
1191
|
-
}
|
|
1192
|
-
|
|
1193
|
-
@keyframes flipBottom {
|
|
1194
|
-
0%, 50% {
|
|
1195
|
-
z-index: -1;
|
|
1196
|
-
transform: rotateX(90deg);
|
|
1197
|
-
opacity: 0;
|
|
1198
|
-
}
|
|
1199
|
-
51% {
|
|
1200
|
-
opacity: 1;
|
|
1201
|
-
}
|
|
1202
|
-
100% {
|
|
1203
|
-
opacity: 1;
|
|
1204
|
-
transform: rotateX(0deg);
|
|
1205
|
-
z-index: 5;
|
|
1206
|
-
}
|
|
1207
|
-
}
|
|
@@ -13127,25 +13127,20 @@ var script$h = defineComponent({
|
|
|
13127
13127
|
}
|
|
13128
13128
|
});
|
|
13129
13129
|
};
|
|
13130
|
-
const
|
|
13131
|
-
|
|
13132
|
-
|
|
13133
|
-
|
|
13134
|
-
|
|
13135
|
-
|
|
13136
|
-
|
|
13137
|
-
console.log(
|
|
13138
|
-
|
|
13139
|
-
|
|
13140
|
-
|
|
13141
|
-
const newKey = parseInt(keyAttr) + 1;
|
|
13142
|
-
innerComponent.setAttribute('key', newKey.toString());
|
|
13143
|
-
}
|
|
13144
|
-
else {
|
|
13145
|
-
innerComponent.setAttribute('key', '1');
|
|
13130
|
+
const restartLottieAnimations = () => {
|
|
13131
|
+
componentRefs.value.forEach((el) => {
|
|
13132
|
+
const lottieComponent = el.querySelector('.uni-lotties-component');
|
|
13133
|
+
console.log(lottieComponent);
|
|
13134
|
+
if (lottieComponent && lottieComponent.__vue__) {
|
|
13135
|
+
const vueInstance = lottieComponent.__vue__;
|
|
13136
|
+
console.log('aaaaaa');
|
|
13137
|
+
console.log(vueInstance);
|
|
13138
|
+
if (vueInstance.play) {
|
|
13139
|
+
console.log('bbbbbb');
|
|
13140
|
+
vueInstance.play();
|
|
13146
13141
|
}
|
|
13147
13142
|
}
|
|
13148
|
-
}
|
|
13143
|
+
});
|
|
13149
13144
|
};
|
|
13150
13145
|
const onSlideChange = (swiper) => {
|
|
13151
13146
|
const currentIndex = swiper.activeIndex;
|
|
@@ -13161,7 +13156,7 @@ var script$h = defineComponent({
|
|
|
13161
13156
|
const currentPage = props.work && props.work.pages[currentIndex];
|
|
13162
13157
|
currentPage && currentPage.components.forEach((component) => {
|
|
13163
13158
|
if (component.name === 'uni-lotties') {
|
|
13164
|
-
|
|
13159
|
+
restartLottieAnimations();
|
|
13165
13160
|
}
|
|
13166
13161
|
});
|
|
13167
13162
|
};
|
|
@@ -13176,7 +13171,7 @@ var script$h = defineComponent({
|
|
|
13176
13171
|
const currentPage = props.work && props.work.pages[currentIndex];
|
|
13177
13172
|
currentPage && currentPage.components.forEach((component) => {
|
|
13178
13173
|
if (component.name === 'uni-lotties') {
|
|
13179
|
-
|
|
13174
|
+
restartLottieAnimations();
|
|
13180
13175
|
}
|
|
13181
13176
|
});
|
|
13182
13177
|
};
|
|
@@ -75707,14 +75702,6 @@ var script$5 = defineComponent({
|
|
|
75707
75702
|
lottieAnimation.value.play();
|
|
75708
75703
|
}
|
|
75709
75704
|
};
|
|
75710
|
-
watch(lottieKey, () => {
|
|
75711
|
-
console.log('ssssss');
|
|
75712
|
-
if (lottieAnimation.value) {
|
|
75713
|
-
console.log('kkkkkk');
|
|
75714
|
-
lottieAnimation.value.stop();
|
|
75715
|
-
lottieAnimation.value.play();
|
|
75716
|
-
}
|
|
75717
|
-
});
|
|
75718
75705
|
return {
|
|
75719
75706
|
styleProps,
|
|
75720
75707
|
handleClick,
|
|
@@ -13134,25 +13134,20 @@
|
|
|
13134
13134
|
}
|
|
13135
13135
|
});
|
|
13136
13136
|
};
|
|
13137
|
-
const
|
|
13138
|
-
|
|
13139
|
-
|
|
13140
|
-
|
|
13141
|
-
|
|
13142
|
-
|
|
13143
|
-
|
|
13144
|
-
console.log(
|
|
13145
|
-
|
|
13146
|
-
|
|
13147
|
-
|
|
13148
|
-
const newKey = parseInt(keyAttr) + 1;
|
|
13149
|
-
innerComponent.setAttribute('key', newKey.toString());
|
|
13150
|
-
}
|
|
13151
|
-
else {
|
|
13152
|
-
innerComponent.setAttribute('key', '1');
|
|
13137
|
+
const restartLottieAnimations = () => {
|
|
13138
|
+
componentRefs.value.forEach((el) => {
|
|
13139
|
+
const lottieComponent = el.querySelector('.uni-lotties-component');
|
|
13140
|
+
console.log(lottieComponent);
|
|
13141
|
+
if (lottieComponent && lottieComponent.__vue__) {
|
|
13142
|
+
const vueInstance = lottieComponent.__vue__;
|
|
13143
|
+
console.log('aaaaaa');
|
|
13144
|
+
console.log(vueInstance);
|
|
13145
|
+
if (vueInstance.play) {
|
|
13146
|
+
console.log('bbbbbb');
|
|
13147
|
+
vueInstance.play();
|
|
13153
13148
|
}
|
|
13154
13149
|
}
|
|
13155
|
-
}
|
|
13150
|
+
});
|
|
13156
13151
|
};
|
|
13157
13152
|
const onSlideChange = (swiper) => {
|
|
13158
13153
|
const currentIndex = swiper.activeIndex;
|
|
@@ -13168,7 +13163,7 @@
|
|
|
13168
13163
|
const currentPage = props.work && props.work.pages[currentIndex];
|
|
13169
13164
|
currentPage && currentPage.components.forEach((component) => {
|
|
13170
13165
|
if (component.name === 'uni-lotties') {
|
|
13171
|
-
|
|
13166
|
+
restartLottieAnimations();
|
|
13172
13167
|
}
|
|
13173
13168
|
});
|
|
13174
13169
|
};
|
|
@@ -13183,7 +13178,7 @@
|
|
|
13183
13178
|
const currentPage = props.work && props.work.pages[currentIndex];
|
|
13184
13179
|
currentPage && currentPage.components.forEach((component) => {
|
|
13185
13180
|
if (component.name === 'uni-lotties') {
|
|
13186
|
-
|
|
13181
|
+
restartLottieAnimations();
|
|
13187
13182
|
}
|
|
13188
13183
|
});
|
|
13189
13184
|
};
|
|
@@ -75714,14 +75709,6 @@ summary tabindex target title type usemap value width wmode wrap`;
|
|
|
75714
75709
|
lottieAnimation.value.play();
|
|
75715
75710
|
}
|
|
75716
75711
|
};
|
|
75717
|
-
vue.watch(lottieKey, () => {
|
|
75718
|
-
console.log('ssssss');
|
|
75719
|
-
if (lottieAnimation.value) {
|
|
75720
|
-
console.log('kkkkkk');
|
|
75721
|
-
lottieAnimation.value.stop();
|
|
75722
|
-
lottieAnimation.value.play();
|
|
75723
|
-
}
|
|
75724
|
-
});
|
|
75725
75712
|
return {
|
|
75726
75713
|
styleProps,
|
|
75727
75714
|
handleClick,
|