unika-components 1.0.146 → 1.0.148
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.
|
@@ -4,7 +4,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4
4
|
}, {
|
|
5
5
|
styleProps: import("vue").ComputedRef<Pick<any, string>>;
|
|
6
6
|
handleClick: () => void;
|
|
7
|
-
callNumber: () => void;
|
|
8
7
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
8
|
[x: string]: any;
|
|
10
9
|
}>>, {
|
|
@@ -298,10 +298,11 @@ export declare const callDefaultProps: {
|
|
|
298
298
|
fontColor: string;
|
|
299
299
|
backgroundColor: string;
|
|
300
300
|
color: string;
|
|
301
|
-
|
|
301
|
+
url: string;
|
|
302
302
|
callText: string;
|
|
303
303
|
fontSize: string;
|
|
304
304
|
opacity: number;
|
|
305
|
+
actionType: string;
|
|
305
306
|
};
|
|
306
307
|
export declare const buttonDefaultProps: {
|
|
307
308
|
position: string;
|
|
@@ -617,10 +618,11 @@ export declare const componentsDefaultProps: {
|
|
|
617
618
|
fontColor: string;
|
|
618
619
|
backgroundColor: string;
|
|
619
620
|
color: string;
|
|
620
|
-
|
|
621
|
+
url: string;
|
|
621
622
|
callText: string;
|
|
622
623
|
fontSize: string;
|
|
623
624
|
opacity: number;
|
|
625
|
+
actionType: string;
|
|
624
626
|
};
|
|
625
627
|
};
|
|
626
628
|
'uni-like': {
|
|
@@ -1,7 +1,97 @@
|
|
|
1
1
|
|
|
2
|
+
.slide-guide {
|
|
3
|
+
position: absolute;
|
|
4
|
+
bottom: 90px;
|
|
5
|
+
left: 50%;
|
|
6
|
+
transform: translateX(-50%);
|
|
7
|
+
}
|
|
8
|
+
.slide-guide img {
|
|
9
|
+
animation: flowing 2s ease-in-out infinite;
|
|
10
|
+
width: 33px;
|
|
11
|
+
vertical-align: middle;
|
|
12
|
+
border-style: none;
|
|
13
|
+
}
|
|
14
|
+
body, html {
|
|
15
|
+
position: relative;
|
|
16
|
+
width: 100%;
|
|
17
|
+
height: 100%;
|
|
18
|
+
margin: 0px;
|
|
19
|
+
}
|
|
20
|
+
.swiper-container {
|
|
21
|
+
width: 100%;
|
|
22
|
+
height: 100%;
|
|
23
|
+
}
|
|
24
|
+
.swiper-slide {
|
|
25
|
+
width: 100%;
|
|
26
|
+
height: 100%;
|
|
27
|
+
overflow: hidden;
|
|
28
|
+
background-size: cover;
|
|
29
|
+
background-position: center;
|
|
30
|
+
background-repeat: no-repeat;
|
|
31
|
+
}
|
|
32
|
+
.up-arrow {
|
|
33
|
+
width: 2rem;
|
|
34
|
+
height: 2rem;
|
|
35
|
+
position: fixed;
|
|
36
|
+
bottom: 2rem;
|
|
37
|
+
left: 50%;
|
|
38
|
+
transform: translate3d(-50%, 0, 0);
|
|
39
|
+
z-index: 999;
|
|
40
|
+
background: none;
|
|
41
|
+
border: none;
|
|
42
|
+
padding: 0;
|
|
43
|
+
animation: upArrowAni 2s infinite linear;
|
|
44
|
+
}
|
|
45
|
+
.up-arrow img {
|
|
46
|
+
width: 2rem;
|
|
47
|
+
height: 2rem;
|
|
48
|
+
text-align: center;
|
|
49
|
+
line-height: 2rem;
|
|
50
|
+
color: #fff;
|
|
51
|
+
font-size: 1.5rem;
|
|
52
|
+
}
|
|
53
|
+
@keyframes upArrowAni {
|
|
54
|
+
0% {
|
|
55
|
+
opacity: 0;
|
|
56
|
+
transform: translate3d(-50%, 30%, 0);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
30% {
|
|
60
|
+
opacity: 1;
|
|
61
|
+
transform: translate3d(-50%, -20%, 0);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
60% {
|
|
65
|
+
opacity: 0;
|
|
66
|
+
transform: translate3d(-50%, -35%, 0);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
100% {
|
|
70
|
+
opacity: 0;
|
|
71
|
+
transform: translate3d(-50%, -50%, 0);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
2
75
|
.uni-image-component {
|
|
3
76
|
max-width: 100%;
|
|
4
77
|
}
|
|
78
|
+
|
|
79
|
+
h2.uni-text-component, p.uni-text-component {
|
|
80
|
+
margin-bottom: 0;
|
|
81
|
+
}
|
|
82
|
+
button.uni-text-component {
|
|
83
|
+
padding: 5px 10px;
|
|
84
|
+
cursor: pointer;
|
|
85
|
+
}
|
|
86
|
+
.uni-text-component {
|
|
87
|
+
box-sizing: border-box;
|
|
88
|
+
white-space: pre-wrap;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.effect {
|
|
92
|
+
width: 100%;
|
|
93
|
+
height: 100%;
|
|
94
|
+
}
|
|
5
95
|
|
|
6
96
|
.uni-video-component {
|
|
7
97
|
position: relative;
|
|
@@ -23,45 +113,6 @@
|
|
|
23
113
|
.play-pause-button:hover {
|
|
24
114
|
background: rgba(0, 0, 0, 0.8);
|
|
25
115
|
}
|
|
26
|
-
|
|
27
|
-
h2.uni-text-component, p.uni-text-component {
|
|
28
|
-
margin-bottom: 0;
|
|
29
|
-
}
|
|
30
|
-
button.uni-text-component {
|
|
31
|
-
padding: 5px 10px;
|
|
32
|
-
cursor: pointer;
|
|
33
|
-
}
|
|
34
|
-
.uni-text-component {
|
|
35
|
-
box-sizing: border-box;
|
|
36
|
-
white-space: pre-wrap;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.effect {
|
|
40
|
-
width: 100%;
|
|
41
|
-
height: 100%;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.like-button {
|
|
45
|
-
display: flex;
|
|
46
|
-
flex-direction: column;
|
|
47
|
-
align-items: center;
|
|
48
|
-
cursor: pointer;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.icon-heart {
|
|
52
|
-
font-size: 24px;
|
|
53
|
-
color: #e74c3c;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.liked {
|
|
57
|
-
color: #f00; /* 更改颜色以示已赞 */
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.like-count {
|
|
61
|
-
margin-top: 4px;
|
|
62
|
-
font-size: 16px;
|
|
63
|
-
color: #333;
|
|
64
|
-
}
|
|
65
116
|
|
|
66
117
|
.swiper-warp {
|
|
67
118
|
width: 100%;
|
|
@@ -123,79 +174,28 @@ button.uni-text-component {
|
|
|
123
174
|
font-size: 12px;
|
|
124
175
|
color: #666
|
|
125
176
|
}
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
}
|
|
149
|
-
.swiper-slide {
|
|
150
|
-
width: 100%;
|
|
151
|
-
height: 100%;
|
|
152
|
-
overflow: hidden;
|
|
153
|
-
background-size: cover;
|
|
154
|
-
background-position: center;
|
|
155
|
-
background-repeat: no-repeat;
|
|
156
|
-
}
|
|
157
|
-
.up-arrow {
|
|
158
|
-
width: 2rem;
|
|
159
|
-
height: 2rem;
|
|
160
|
-
position: fixed;
|
|
161
|
-
bottom: 2rem;
|
|
162
|
-
left: 50%;
|
|
163
|
-
transform: translate3d(-50%, 0, 0);
|
|
164
|
-
z-index: 999;
|
|
165
|
-
background: none;
|
|
166
|
-
border: none;
|
|
167
|
-
padding: 0;
|
|
168
|
-
animation: upArrowAni 2s infinite linear;
|
|
169
|
-
}
|
|
170
|
-
.up-arrow img {
|
|
171
|
-
width: 2rem;
|
|
172
|
-
height: 2rem;
|
|
173
|
-
text-align: center;
|
|
174
|
-
line-height: 2rem;
|
|
175
|
-
color: #fff;
|
|
176
|
-
font-size: 1.5rem;
|
|
177
|
-
}
|
|
178
|
-
@keyframes upArrowAni {
|
|
179
|
-
0% {
|
|
180
|
-
opacity: 0;
|
|
181
|
-
transform: translate3d(-50%, 30%, 0);
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
30% {
|
|
185
|
-
opacity: 1;
|
|
186
|
-
transform: translate3d(-50%, -20%, 0);
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
60% {
|
|
190
|
-
opacity: 0;
|
|
191
|
-
transform: translate3d(-50%, -35%, 0);
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
100% {
|
|
195
|
-
opacity: 0;
|
|
196
|
-
transform: translate3d(-50%, -50%, 0);
|
|
197
|
-
}
|
|
198
|
-
}
|
|
177
|
+
|
|
178
|
+
.like-button {
|
|
179
|
+
display: flex;
|
|
180
|
+
flex-direction: column;
|
|
181
|
+
align-items: center;
|
|
182
|
+
cursor: pointer;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.icon-heart {
|
|
186
|
+
font-size: 24px;
|
|
187
|
+
color: #e74c3c;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.liked {
|
|
191
|
+
color: #f00; /* 更改颜色以示已赞 */
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.like-count {
|
|
195
|
+
margin-top: 4px;
|
|
196
|
+
font-size: 16px;
|
|
197
|
+
color: #333;
|
|
198
|
+
}
|
|
199
199
|
/**
|
|
200
200
|
* Swiper 6.8.4
|
|
201
201
|
* Most modern mobile touch slider and framework with hardware accelerated transitions
|
|
@@ -744,28 +744,215 @@ button.swiper-pagination-bullet {
|
|
|
744
744
|
backface-visibility: hidden;
|
|
745
745
|
}
|
|
746
746
|
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
height:
|
|
747
|
+
|
|
748
|
+
.no-animation__card {
|
|
749
|
+
font-weight: 500;
|
|
750
|
+
font-size: var(--countdown-size, 2rem);
|
|
751
|
+
line-height: 1.5;
|
|
752
|
+
display: block;
|
|
753
|
+
color: var(--main-color, #EC685C);
|
|
752
754
|
}
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
755
|
+
|
|
756
|
+
.flip-clock {
|
|
757
|
+
text-align: center;
|
|
758
|
+
perspective: 600px;
|
|
759
|
+
margin: 0 auto;
|
|
756
760
|
}
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
761
|
+
|
|
762
|
+
.flip-clock *,
|
|
763
|
+
.flip-clock *:before,
|
|
764
|
+
.flip-clock *:after {
|
|
765
|
+
box-sizing: border-box;
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
.flip-clock__piece {
|
|
769
|
+
display: inline-block;
|
|
770
|
+
margin: 0 0.2vw;
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
@media (min-width: 1000px) {
|
|
774
|
+
.flip-clock__piece {
|
|
775
|
+
margin: 0 5px;
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
.flip-clock__slot {
|
|
780
|
+
font-size: var(--label-size, 1rem);
|
|
781
|
+
line-height: 1.5;
|
|
782
|
+
display: block;
|
|
783
|
+
color: var(--label-color, #222222);
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
.flip-card {
|
|
787
|
+
display: block;
|
|
788
|
+
position: relative;
|
|
789
|
+
padding-bottom: 0.72em; /* halfHeight */
|
|
790
|
+
font-size: var(--countdown-size, 2.25rem);
|
|
791
|
+
line-height: 0.95;
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
@media (min-width: 1000px) {
|
|
795
|
+
.flip-clock__slot {
|
|
796
|
+
font-size: 1.2rem;
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
.flip-card {
|
|
800
|
+
font-size: 3rem;
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
.flip-card__top,
|
|
805
|
+
.flip-card__bottom,
|
|
806
|
+
.flip-card__back-bottom,
|
|
807
|
+
.flip-card__back::before,
|
|
808
|
+
.flip-card__back::after{
|
|
809
|
+
display: block;
|
|
810
|
+
height: 0.72em; /* halfHeight */
|
|
811
|
+
color: var(--main-color, #EC685C);
|
|
812
|
+
background: var(--main-flip-background-color, #222222);
|
|
813
|
+
padding: 0.23em 0.15em 0.4em;
|
|
814
|
+
border-radius: 0.15em 0.15em 0 0; /* borderRadius */
|
|
815
|
+
backface-visibility: hidden;
|
|
816
|
+
-webkit-backface-visibility: hidden;
|
|
817
|
+
transform-style: preserve-3d;
|
|
818
|
+
width: 2.1em;
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
.flip-card__top-4digits,
|
|
822
|
+
.flip-card__bottom-4digits,
|
|
823
|
+
.flip-card__back-bottom-4digits,
|
|
824
|
+
.flip-card__back-4digits::before,
|
|
825
|
+
.flip-card__back-4digits::after {
|
|
826
|
+
display: block;
|
|
827
|
+
height: 0.72em; /* halfHeight */
|
|
828
|
+
color: var(--main-color, #EC685C);
|
|
829
|
+
background: var(--main-flip-background-color, #222222);
|
|
830
|
+
padding: 0.23em 0.15em 0.4em;
|
|
831
|
+
border-radius: 0.15em 0.15em 0 0; /* borderRadius */
|
|
832
|
+
backface-visibility: hidden;
|
|
833
|
+
-webkit-backface-visibility: hidden;
|
|
834
|
+
transform-style: preserve-3d;
|
|
835
|
+
width: 2.65em;
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
.flip-card__bottom,
|
|
839
|
+
.flip-card__back-bottom,
|
|
840
|
+
.flip-card__bottom-4digits,
|
|
841
|
+
.flip-card__back-bottom-4digits {
|
|
842
|
+
color: var(--second-flip-color, #EC685C);
|
|
843
|
+
position: absolute;
|
|
844
|
+
top: 50%;
|
|
845
|
+
left: 0;
|
|
846
|
+
border-top: solid 1px var(--second-flip-background-color, #000);
|
|
847
|
+
background: var(--second-flip-background-color, #393939);
|
|
848
|
+
border-radius: 0 0 0.15em 0.15em; /* borderRadius */
|
|
849
|
+
pointer-events: none;
|
|
850
|
+
overflow: hidden;
|
|
851
|
+
z-index: 2;
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
.flip-card__back-bottom,
|
|
855
|
+
.flip-card__back-bottom-4digits {
|
|
856
|
+
z-index: 1;
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
.flip-card__bottom::after,
|
|
860
|
+
.flip-card__back-bottom::after,
|
|
861
|
+
.flip-card__bottom-4digits::after,
|
|
862
|
+
.flip-card__back-bottom-4digits::after {
|
|
863
|
+
display: block;
|
|
864
|
+
margin-top: -0.72em; /* Negative halfHeight */
|
|
865
|
+
}
|
|
866
|
+
.flip-card__back::before,
|
|
867
|
+
.flip-card__bottom::after,
|
|
868
|
+
.flip-card__back-bottom::after,
|
|
869
|
+
.flip-card__back-4digits::before,
|
|
870
|
+
.flip-card__bottom-4digits::after,
|
|
871
|
+
.flip-card__back-bottom-4digits::after {
|
|
872
|
+
content: attr(data-value);
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
.flip-card__back,
|
|
876
|
+
.flip-card__back-4digits {
|
|
877
|
+
position: absolute;
|
|
878
|
+
top: 0;
|
|
879
|
+
height: 100%;
|
|
880
|
+
left: 0%;
|
|
881
|
+
pointer-events: none;
|
|
882
|
+
}
|
|
883
|
+
.flip-card__back::before,
|
|
884
|
+
.flip-card__back-4digits::before {
|
|
885
|
+
position: relative;
|
|
886
|
+
overflow: hidden;
|
|
887
|
+
z-index: -1;
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
.flip .flip-card__back::before,
|
|
891
|
+
.flip .flip-card__back-4digits::before {
|
|
892
|
+
z-index: 1;
|
|
893
|
+
animation: flipTop 0.3s cubic-bezier(0.37, 0.01, 0.94, 0.35);
|
|
894
|
+
animation-fill-mode: both;
|
|
895
|
+
transform-origin: center bottom;
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
.flip .flip-card__bottom,
|
|
899
|
+
.flip .flip-card__bottom-4digits {
|
|
900
|
+
transform-origin: center top;
|
|
901
|
+
animation-fill-mode: both;
|
|
902
|
+
animation: flipBottom 0.6s cubic-bezier(0.15, 0.45, 0.28, 1);
|
|
903
|
+
}
|
|
904
|
+
@keyframes flipTop {
|
|
905
|
+
0% {
|
|
906
|
+
transform: rotateX(0deg);
|
|
907
|
+
z-index: 2;
|
|
908
|
+
}
|
|
909
|
+
0%, 99% {
|
|
910
|
+
opacity: 1;
|
|
911
|
+
}
|
|
912
|
+
100% {
|
|
913
|
+
transform: rotateX(-90deg);
|
|
914
|
+
opacity: 0;
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
@keyframes flipBottom {
|
|
919
|
+
0%, 50% {
|
|
920
|
+
z-index: -1;
|
|
921
|
+
transform: rotateX(90deg);
|
|
922
|
+
opacity: 0;
|
|
923
|
+
}
|
|
924
|
+
51% {
|
|
925
|
+
opacity: 1;
|
|
926
|
+
}
|
|
927
|
+
100% {
|
|
928
|
+
opacity: 1;
|
|
929
|
+
transform: rotateX(0deg);
|
|
930
|
+
z-index: 5;
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
.unika-calendar-box {
|
|
935
|
+
position: relative;
|
|
936
|
+
width: 325px !important;
|
|
937
|
+
min-height: 325px !important;
|
|
938
|
+
height: auto !important;
|
|
939
|
+
}
|
|
940
|
+
.unika-calendar-title {
|
|
941
|
+
font-size: 25px;
|
|
942
|
+
padding-bottom: 4px;
|
|
943
|
+
}
|
|
944
|
+
.unika-calendar-header {
|
|
945
|
+
display: -webkit-box;
|
|
946
|
+
display: -ms-flexbox;
|
|
947
|
+
display: flex;
|
|
948
|
+
-webkit-box-pack: justify;
|
|
949
|
+
-ms-flex-pack: justify;
|
|
950
|
+
justify-content: space-between;
|
|
951
|
+
-webkit-box-align: end;
|
|
952
|
+
-ms-flex-align: end;
|
|
953
|
+
align-items: flex-end;
|
|
954
|
+
line-height: 1;
|
|
955
|
+
padding: 0 47px 20px;
|
|
769
956
|
}
|
|
770
957
|
.unika-calendar-header .disabled {
|
|
771
958
|
pointer-events: none;
|
|
@@ -1001,190 +1188,3 @@ button.swiper-pagination-bullet {
|
|
|
1001
1188
|
padding: 0 0px;
|
|
1002
1189
|
border-bottom: 1px solid
|
|
1003
1190
|
}
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
.no-animation__card {
|
|
1007
|
-
font-weight: 500;
|
|
1008
|
-
font-size: var(--countdown-size, 2rem);
|
|
1009
|
-
line-height: 1.5;
|
|
1010
|
-
display: block;
|
|
1011
|
-
color: var(--main-color, #EC685C);
|
|
1012
|
-
}
|
|
1013
|
-
|
|
1014
|
-
.flip-clock {
|
|
1015
|
-
text-align: center;
|
|
1016
|
-
perspective: 600px;
|
|
1017
|
-
margin: 0 auto;
|
|
1018
|
-
}
|
|
1019
|
-
|
|
1020
|
-
.flip-clock *,
|
|
1021
|
-
.flip-clock *:before,
|
|
1022
|
-
.flip-clock *:after {
|
|
1023
|
-
box-sizing: border-box;
|
|
1024
|
-
}
|
|
1025
|
-
|
|
1026
|
-
.flip-clock__piece {
|
|
1027
|
-
display: inline-block;
|
|
1028
|
-
margin: 0 0.2vw;
|
|
1029
|
-
}
|
|
1030
|
-
|
|
1031
|
-
@media (min-width: 1000px) {
|
|
1032
|
-
.flip-clock__piece {
|
|
1033
|
-
margin: 0 5px;
|
|
1034
|
-
}
|
|
1035
|
-
}
|
|
1036
|
-
|
|
1037
|
-
.flip-clock__slot {
|
|
1038
|
-
font-size: var(--label-size, 1rem);
|
|
1039
|
-
line-height: 1.5;
|
|
1040
|
-
display: block;
|
|
1041
|
-
color: var(--label-color, #222222);
|
|
1042
|
-
}
|
|
1043
|
-
|
|
1044
|
-
.flip-card {
|
|
1045
|
-
display: block;
|
|
1046
|
-
position: relative;
|
|
1047
|
-
padding-bottom: 0.72em; /* halfHeight */
|
|
1048
|
-
font-size: var(--countdown-size, 2.25rem);
|
|
1049
|
-
line-height: 0.95;
|
|
1050
|
-
}
|
|
1051
|
-
|
|
1052
|
-
@media (min-width: 1000px) {
|
|
1053
|
-
.flip-clock__slot {
|
|
1054
|
-
font-size: 1.2rem;
|
|
1055
|
-
}
|
|
1056
|
-
|
|
1057
|
-
.flip-card {
|
|
1058
|
-
font-size: 3rem;
|
|
1059
|
-
}
|
|
1060
|
-
}
|
|
1061
|
-
|
|
1062
|
-
.flip-card__top,
|
|
1063
|
-
.flip-card__bottom,
|
|
1064
|
-
.flip-card__back-bottom,
|
|
1065
|
-
.flip-card__back::before,
|
|
1066
|
-
.flip-card__back::after{
|
|
1067
|
-
display: block;
|
|
1068
|
-
height: 0.72em; /* halfHeight */
|
|
1069
|
-
color: var(--main-color, #EC685C);
|
|
1070
|
-
background: var(--main-flip-background-color, #222222);
|
|
1071
|
-
padding: 0.23em 0.15em 0.4em;
|
|
1072
|
-
border-radius: 0.15em 0.15em 0 0; /* borderRadius */
|
|
1073
|
-
backface-visibility: hidden;
|
|
1074
|
-
-webkit-backface-visibility: hidden;
|
|
1075
|
-
transform-style: preserve-3d;
|
|
1076
|
-
width: 2.1em;
|
|
1077
|
-
}
|
|
1078
|
-
|
|
1079
|
-
.flip-card__top-4digits,
|
|
1080
|
-
.flip-card__bottom-4digits,
|
|
1081
|
-
.flip-card__back-bottom-4digits,
|
|
1082
|
-
.flip-card__back-4digits::before,
|
|
1083
|
-
.flip-card__back-4digits::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.65em;
|
|
1094
|
-
}
|
|
1095
|
-
|
|
1096
|
-
.flip-card__bottom,
|
|
1097
|
-
.flip-card__back-bottom,
|
|
1098
|
-
.flip-card__bottom-4digits,
|
|
1099
|
-
.flip-card__back-bottom-4digits {
|
|
1100
|
-
color: var(--second-flip-color, #EC685C);
|
|
1101
|
-
position: absolute;
|
|
1102
|
-
top: 50%;
|
|
1103
|
-
left: 0;
|
|
1104
|
-
border-top: solid 1px var(--second-flip-background-color, #000);
|
|
1105
|
-
background: var(--second-flip-background-color, #393939);
|
|
1106
|
-
border-radius: 0 0 0.15em 0.15em; /* borderRadius */
|
|
1107
|
-
pointer-events: none;
|
|
1108
|
-
overflow: hidden;
|
|
1109
|
-
z-index: 2;
|
|
1110
|
-
}
|
|
1111
|
-
|
|
1112
|
-
.flip-card__back-bottom,
|
|
1113
|
-
.flip-card__back-bottom-4digits {
|
|
1114
|
-
z-index: 1;
|
|
1115
|
-
}
|
|
1116
|
-
|
|
1117
|
-
.flip-card__bottom::after,
|
|
1118
|
-
.flip-card__back-bottom::after,
|
|
1119
|
-
.flip-card__bottom-4digits::after,
|
|
1120
|
-
.flip-card__back-bottom-4digits::after {
|
|
1121
|
-
display: block;
|
|
1122
|
-
margin-top: -0.72em; /* Negative halfHeight */
|
|
1123
|
-
}
|
|
1124
|
-
.flip-card__back::before,
|
|
1125
|
-
.flip-card__bottom::after,
|
|
1126
|
-
.flip-card__back-bottom::after,
|
|
1127
|
-
.flip-card__back-4digits::before,
|
|
1128
|
-
.flip-card__bottom-4digits::after,
|
|
1129
|
-
.flip-card__back-bottom-4digits::after {
|
|
1130
|
-
content: attr(data-value);
|
|
1131
|
-
}
|
|
1132
|
-
|
|
1133
|
-
.flip-card__back,
|
|
1134
|
-
.flip-card__back-4digits {
|
|
1135
|
-
position: absolute;
|
|
1136
|
-
top: 0;
|
|
1137
|
-
height: 100%;
|
|
1138
|
-
left: 0%;
|
|
1139
|
-
pointer-events: none;
|
|
1140
|
-
}
|
|
1141
|
-
.flip-card__back::before,
|
|
1142
|
-
.flip-card__back-4digits::before {
|
|
1143
|
-
position: relative;
|
|
1144
|
-
overflow: hidden;
|
|
1145
|
-
z-index: -1;
|
|
1146
|
-
}
|
|
1147
|
-
|
|
1148
|
-
.flip .flip-card__back::before,
|
|
1149
|
-
.flip .flip-card__back-4digits::before {
|
|
1150
|
-
z-index: 1;
|
|
1151
|
-
animation: flipTop 0.3s cubic-bezier(0.37, 0.01, 0.94, 0.35);
|
|
1152
|
-
animation-fill-mode: both;
|
|
1153
|
-
transform-origin: center bottom;
|
|
1154
|
-
}
|
|
1155
|
-
|
|
1156
|
-
.flip .flip-card__bottom,
|
|
1157
|
-
.flip .flip-card__bottom-4digits {
|
|
1158
|
-
transform-origin: center top;
|
|
1159
|
-
animation-fill-mode: both;
|
|
1160
|
-
animation: flipBottom 0.6s cubic-bezier(0.15, 0.45, 0.28, 1);
|
|
1161
|
-
}
|
|
1162
|
-
@keyframes flipTop {
|
|
1163
|
-
0% {
|
|
1164
|
-
transform: rotateX(0deg);
|
|
1165
|
-
z-index: 2;
|
|
1166
|
-
}
|
|
1167
|
-
0%, 99% {
|
|
1168
|
-
opacity: 1;
|
|
1169
|
-
}
|
|
1170
|
-
100% {
|
|
1171
|
-
transform: rotateX(-90deg);
|
|
1172
|
-
opacity: 0;
|
|
1173
|
-
}
|
|
1174
|
-
}
|
|
1175
|
-
|
|
1176
|
-
@keyframes flipBottom {
|
|
1177
|
-
0%, 50% {
|
|
1178
|
-
z-index: -1;
|
|
1179
|
-
transform: rotateX(90deg);
|
|
1180
|
-
opacity: 0;
|
|
1181
|
-
}
|
|
1182
|
-
51% {
|
|
1183
|
-
opacity: 1;
|
|
1184
|
-
}
|
|
1185
|
-
100% {
|
|
1186
|
-
opacity: 1;
|
|
1187
|
-
transform: rotateX(0deg);
|
|
1188
|
-
z-index: 5;
|
|
1189
|
-
}
|
|
1190
|
-
}
|
|
@@ -5125,10 +5125,11 @@ const callDefaultProps = {
|
|
|
5125
5125
|
fontColor: '#fff',
|
|
5126
5126
|
backgroundColor: 'rgb(33, 147, 255)',
|
|
5127
5127
|
color: '#fff',
|
|
5128
|
-
|
|
5128
|
+
url: '01234567890',
|
|
5129
5129
|
callText: '一键拨号',
|
|
5130
5130
|
fontSize: '16px',
|
|
5131
|
-
opacity: 1
|
|
5131
|
+
opacity: 1,
|
|
5132
|
+
actionType: 'tel'
|
|
5132
5133
|
};
|
|
5133
5134
|
const buttonDefaultProps = {
|
|
5134
5135
|
position: 'absolute',
|
|
@@ -26073,13 +26074,13 @@ var script$7 = defineComponent({
|
|
|
26073
26074
|
setup(props) {
|
|
26074
26075
|
const styleProps = useStylePick(props, defaultStyles$3);
|
|
26075
26076
|
const handleClick = useComponentClick(props);
|
|
26076
|
-
const callNumber = () => {
|
|
26077
|
-
|
|
26078
|
-
}
|
|
26077
|
+
// const callNumber = () => {
|
|
26078
|
+
// window.location.href = `tel:${props.phoneNumber}`;
|
|
26079
|
+
// }
|
|
26079
26080
|
return {
|
|
26080
26081
|
styleProps,
|
|
26081
26082
|
handleClick,
|
|
26082
|
-
callNumber
|
|
26083
|
+
// callNumber
|
|
26083
26084
|
};
|
|
26084
26085
|
}
|
|
26085
26086
|
});
|
|
@@ -26093,8 +26094,10 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26093
26094
|
_cache[1] || (_cache[1] = (...args) => (_ctx.callNumber && _ctx.callNumber(...args)))
|
|
26094
26095
|
],
|
|
26095
26096
|
style: normalizeStyle$1(_ctx.styleProps),
|
|
26096
|
-
|
|
26097
|
+
"<!--": "",
|
|
26098
|
+
"--": ""
|
|
26097
26099
|
}, [
|
|
26100
|
+
createTextVNode(" class=\"uni-call-component\" > "),
|
|
26098
26101
|
createVNode(_component_font_awesome_icon, { icon: ['fas', 'square-phone'] }),
|
|
26099
26102
|
createTextVNode(" "),
|
|
26100
26103
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
@@ -5132,10 +5132,11 @@
|
|
|
5132
5132
|
fontColor: '#fff',
|
|
5133
5133
|
backgroundColor: 'rgb(33, 147, 255)',
|
|
5134
5134
|
color: '#fff',
|
|
5135
|
-
|
|
5135
|
+
url: '01234567890',
|
|
5136
5136
|
callText: '一键拨号',
|
|
5137
5137
|
fontSize: '16px',
|
|
5138
|
-
opacity: 1
|
|
5138
|
+
opacity: 1,
|
|
5139
|
+
actionType: 'tel'
|
|
5139
5140
|
};
|
|
5140
5141
|
const buttonDefaultProps = {
|
|
5141
5142
|
position: 'absolute',
|
|
@@ -26080,13 +26081,13 @@
|
|
|
26080
26081
|
setup(props) {
|
|
26081
26082
|
const styleProps = useStylePick(props, defaultStyles$3);
|
|
26082
26083
|
const handleClick = useComponentClick(props);
|
|
26083
|
-
const callNumber = () => {
|
|
26084
|
-
|
|
26085
|
-
}
|
|
26084
|
+
// const callNumber = () => {
|
|
26085
|
+
// window.location.href = `tel:${props.phoneNumber}`;
|
|
26086
|
+
// }
|
|
26086
26087
|
return {
|
|
26087
26088
|
styleProps,
|
|
26088
26089
|
handleClick,
|
|
26089
|
-
callNumber
|
|
26090
|
+
// callNumber
|
|
26090
26091
|
};
|
|
26091
26092
|
}
|
|
26092
26093
|
});
|
|
@@ -26100,8 +26101,10 @@
|
|
|
26100
26101
|
_cache[1] || (_cache[1] = (...args) => (_ctx.callNumber && _ctx.callNumber(...args)))
|
|
26101
26102
|
],
|
|
26102
26103
|
style: vue.normalizeStyle(_ctx.styleProps),
|
|
26103
|
-
|
|
26104
|
+
"<!--": "",
|
|
26105
|
+
"--": ""
|
|
26104
26106
|
}, [
|
|
26107
|
+
vue.createTextVNode(" class=\"uni-call-component\" > "),
|
|
26105
26108
|
vue.createVNode(_component_font_awesome_icon, { icon: ['fas', 'square-phone'] }),
|
|
26106
26109
|
vue.createTextVNode(" "),
|
|
26107
26110
|
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|