unika-components 1.0.60 → 1.0.61
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.
|
@@ -10,6 +10,83 @@ button.uni-text-component {
|
|
|
10
10
|
box-sizing: border-box;
|
|
11
11
|
white-space: pre-wrap;
|
|
12
12
|
}
|
|
13
|
+
|
|
14
|
+
.uni-image-component {
|
|
15
|
+
max-width: 100%;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.slide-guide {
|
|
19
|
+
position: absolute;
|
|
20
|
+
bottom: 90px;
|
|
21
|
+
left: 50%;
|
|
22
|
+
transform: translateX(-50%);
|
|
23
|
+
}
|
|
24
|
+
.slide-guide img {
|
|
25
|
+
animation: flowing 2s ease-in-out infinite;
|
|
26
|
+
width: 33px;
|
|
27
|
+
vertical-align: middle;
|
|
28
|
+
border-style: none;
|
|
29
|
+
}
|
|
30
|
+
body, html {
|
|
31
|
+
position: relative;
|
|
32
|
+
width: 100%;
|
|
33
|
+
height: 100%;
|
|
34
|
+
margin: 0px;
|
|
35
|
+
}
|
|
36
|
+
.swiper-container {
|
|
37
|
+
width: 100%;
|
|
38
|
+
height: 100%;
|
|
39
|
+
}
|
|
40
|
+
.swiper-slide {
|
|
41
|
+
width: 100%;
|
|
42
|
+
height: 100%;
|
|
43
|
+
overflow: hidden;
|
|
44
|
+
background-size: cover;
|
|
45
|
+
background-position: center;
|
|
46
|
+
background-repeat: no-repeat;
|
|
47
|
+
}
|
|
48
|
+
.up-arrow {
|
|
49
|
+
width: 2rem;
|
|
50
|
+
height: 2rem;
|
|
51
|
+
position: fixed;
|
|
52
|
+
bottom: 2rem;
|
|
53
|
+
left: 50%;
|
|
54
|
+
transform: translate3d(-50%, 0, 0);
|
|
55
|
+
z-index: 999;
|
|
56
|
+
background: none;
|
|
57
|
+
border: none;
|
|
58
|
+
padding: 0;
|
|
59
|
+
animation: upArrowAni 2s infinite linear;
|
|
60
|
+
}
|
|
61
|
+
.up-arrow img {
|
|
62
|
+
width: 2rem;
|
|
63
|
+
height: 2rem;
|
|
64
|
+
text-align: center;
|
|
65
|
+
line-height: 2rem;
|
|
66
|
+
color: #fff;
|
|
67
|
+
font-size: 1.5rem;
|
|
68
|
+
}
|
|
69
|
+
@keyframes upArrowAni {
|
|
70
|
+
0% {
|
|
71
|
+
opacity: 0;
|
|
72
|
+
transform: translate3d(-50%, 30%, 0);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
30% {
|
|
76
|
+
opacity: 1;
|
|
77
|
+
transform: translate3d(-50%, -20%, 0);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
60% {
|
|
81
|
+
opacity: 0;
|
|
82
|
+
transform: translate3d(-50%, -35%, 0);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
100% {
|
|
86
|
+
opacity: 0;
|
|
87
|
+
transform: translate3d(-50%, -50%, 0);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
13
90
|
|
|
14
91
|
.uni-background-component {
|
|
15
92
|
width: 100%;
|
|
@@ -46,10 +123,14 @@ button.uni-text-component {
|
|
|
46
123
|
background-position: center;
|
|
47
124
|
opacity: 0.1;
|
|
48
125
|
}
|
|
49
|
-
|
|
50
|
-
.
|
|
51
|
-
|
|
52
|
-
|
|
126
|
+
|
|
127
|
+
.slot-number {
|
|
128
|
+
position: absolute;
|
|
129
|
+
bottom: 2px;
|
|
130
|
+
left: 7px;
|
|
131
|
+
font-size: 12px;
|
|
132
|
+
color: #666
|
|
133
|
+
}
|
|
53
134
|
|
|
54
135
|
.uni-video-component {
|
|
55
136
|
position: relative;
|
|
@@ -166,79 +247,20 @@ button.uni-text-component {
|
|
|
166
247
|
-webkit-transform: rotate(360deg);
|
|
167
248
|
}
|
|
168
249
|
}
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
position: relative;
|
|
184
|
-
width: 100%;
|
|
185
|
-
height: 100%;
|
|
186
|
-
margin: 0px;
|
|
187
|
-
}
|
|
188
|
-
.swiper-container {
|
|
189
|
-
width: 100%;
|
|
190
|
-
height: 100%;
|
|
191
|
-
}
|
|
192
|
-
.swiper-slide {
|
|
193
|
-
width: 100%;
|
|
194
|
-
height: 100%;
|
|
195
|
-
overflow: hidden;
|
|
196
|
-
background-size: cover;
|
|
197
|
-
background-position: center;
|
|
198
|
-
background-repeat: no-repeat;
|
|
199
|
-
}
|
|
200
|
-
.up-arrow {
|
|
201
|
-
width: 2rem;
|
|
202
|
-
height: 2rem;
|
|
203
|
-
position: fixed;
|
|
204
|
-
bottom: 2rem;
|
|
205
|
-
left: 50%;
|
|
206
|
-
transform: translate3d(-50%, 0, 0);
|
|
207
|
-
z-index: 999;
|
|
208
|
-
background: none;
|
|
209
|
-
border: none;
|
|
210
|
-
padding: 0;
|
|
211
|
-
animation: upArrowAni 2s infinite linear;
|
|
212
|
-
}
|
|
213
|
-
.up-arrow img {
|
|
214
|
-
width: 2rem;
|
|
215
|
-
height: 2rem;
|
|
216
|
-
text-align: center;
|
|
217
|
-
line-height: 2rem;
|
|
218
|
-
color: #fff;
|
|
219
|
-
font-size: 1.5rem;
|
|
220
|
-
}
|
|
221
|
-
@keyframes upArrowAni {
|
|
222
|
-
0% {
|
|
223
|
-
opacity: 0;
|
|
224
|
-
transform: translate3d(-50%, 30%, 0);
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
30% {
|
|
228
|
-
opacity: 1;
|
|
229
|
-
transform: translate3d(-50%, -20%, 0);
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
60% {
|
|
233
|
-
opacity: 0;
|
|
234
|
-
transform: translate3d(-50%, -35%, 0);
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
100% {
|
|
238
|
-
opacity: 0;
|
|
239
|
-
transform: translate3d(-50%, -50%, 0);
|
|
240
|
-
}
|
|
241
|
-
}
|
|
250
|
+
|
|
251
|
+
/*.swiper-container {
|
|
252
|
+
width: 100%;
|
|
253
|
+
height: 300px;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.swiper-slide {
|
|
257
|
+
text-align: center;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.swiper-slide img {
|
|
261
|
+
max-width: 100%;
|
|
262
|
+
max-height: 100%;
|
|
263
|
+
}*/
|
|
242
264
|
|
|
243
265
|
#app1 {
|
|
244
266
|
position: relative;
|
|
@@ -284,14 +306,6 @@ body, html {
|
|
|
284
306
|
color: #333;
|
|
285
307
|
}
|
|
286
308
|
|
|
287
|
-
.slot-number {
|
|
288
|
-
position: absolute;
|
|
289
|
-
bottom: 2px;
|
|
290
|
-
left: 7px;
|
|
291
|
-
font-size: 12px;
|
|
292
|
-
color: #666
|
|
293
|
-
}
|
|
294
|
-
|
|
295
309
|
.video-player {
|
|
296
310
|
position: relative;
|
|
297
311
|
text-align: center;
|
|
@@ -312,20 +326,6 @@ body, html {
|
|
|
312
326
|
.play-pause-button:hover {
|
|
313
327
|
background: rgba(0, 0, 0, 0.8);
|
|
314
328
|
}
|
|
315
|
-
|
|
316
|
-
/*.swiper-container {
|
|
317
|
-
width: 100%;
|
|
318
|
-
height: 300px;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
.swiper-slide {
|
|
322
|
-
text-align: center;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
.swiper-slide img {
|
|
326
|
-
max-width: 100%;
|
|
327
|
-
max-height: 100%;
|
|
328
|
-
}*/
|
|
329
329
|
/**
|
|
330
330
|
* Swiper 6.8.4
|
|
331
331
|
* Most modern mobile touch slider and framework with hardware accelerated transitions
|
|
@@ -46745,23 +46745,27 @@ var script$1 = defineComponent({
|
|
|
46745
46745
|
const handleClick = useComponentClick(props);
|
|
46746
46746
|
const lottieAnimation = ref(null);
|
|
46747
46747
|
const { loop, delay, animationLink } = toRefs(props);
|
|
46748
|
-
const loopC = ref(
|
|
46749
|
-
const delayC = ref(
|
|
46750
|
-
const animationLinkC = ref(
|
|
46748
|
+
const loopC = ref(false);
|
|
46749
|
+
const delayC = ref(0);
|
|
46750
|
+
const animationLinkC = ref('');
|
|
46751
46751
|
watch(loop, (newVal) => {
|
|
46752
|
+
animationLinkC.value = '';
|
|
46752
46753
|
loopC.value = newVal;
|
|
46754
|
+
animationLinkC.value = props.animationLink;
|
|
46753
46755
|
play();
|
|
46754
|
-
console.log(loopC);
|
|
46756
|
+
console.log(loopC.value);
|
|
46755
46757
|
});
|
|
46756
46758
|
watch(delay, (newVal) => {
|
|
46759
|
+
animationLinkC.value = '';
|
|
46757
46760
|
delayC.value = newVal;
|
|
46761
|
+
animationLinkC.value = props.animationLink;
|
|
46758
46762
|
play();
|
|
46759
|
-
console.log(delayC);
|
|
46763
|
+
console.log(delayC.value);
|
|
46760
46764
|
});
|
|
46761
46765
|
watch(animationLink, (newVal) => {
|
|
46762
46766
|
animationLinkC.value = newVal;
|
|
46763
46767
|
play();
|
|
46764
|
-
console.log(animationLinkC);
|
|
46768
|
+
console.log(animationLinkC.value);
|
|
46765
46769
|
});
|
|
46766
46770
|
const play = () => {
|
|
46767
46771
|
if (lottieAnimation.value) {
|
|
@@ -46752,23 +46752,27 @@
|
|
|
46752
46752
|
const handleClick = useComponentClick(props);
|
|
46753
46753
|
const lottieAnimation = vue.ref(null);
|
|
46754
46754
|
const { loop, delay, animationLink } = vue.toRefs(props);
|
|
46755
|
-
const loopC = vue.ref(
|
|
46756
|
-
const delayC = vue.ref(
|
|
46757
|
-
const animationLinkC = vue.ref(
|
|
46755
|
+
const loopC = vue.ref(false);
|
|
46756
|
+
const delayC = vue.ref(0);
|
|
46757
|
+
const animationLinkC = vue.ref('');
|
|
46758
46758
|
vue.watch(loop, (newVal) => {
|
|
46759
|
+
animationLinkC.value = '';
|
|
46759
46760
|
loopC.value = newVal;
|
|
46761
|
+
animationLinkC.value = props.animationLink;
|
|
46760
46762
|
play();
|
|
46761
|
-
console.log(loopC);
|
|
46763
|
+
console.log(loopC.value);
|
|
46762
46764
|
});
|
|
46763
46765
|
vue.watch(delay, (newVal) => {
|
|
46766
|
+
animationLinkC.value = '';
|
|
46764
46767
|
delayC.value = newVal;
|
|
46768
|
+
animationLinkC.value = props.animationLink;
|
|
46765
46769
|
play();
|
|
46766
|
-
console.log(delayC);
|
|
46770
|
+
console.log(delayC.value);
|
|
46767
46771
|
});
|
|
46768
46772
|
vue.watch(animationLink, (newVal) => {
|
|
46769
46773
|
animationLinkC.value = newVal;
|
|
46770
46774
|
play();
|
|
46771
|
-
console.log(animationLinkC);
|
|
46775
|
+
console.log(animationLinkC.value);
|
|
46772
46776
|
});
|
|
46773
46777
|
const play = () => {
|
|
46774
46778
|
if (lottieAnimation.value) {
|