unika-components 1.0.54 → 1.0.56
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.
|
@@ -357,6 +357,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
357
357
|
rendererSettings: any;
|
|
358
358
|
assetsPath: string;
|
|
359
359
|
}> | null>;
|
|
360
|
+
loopC: import("vue").ComputedRef<boolean>;
|
|
361
|
+
delayC: import("vue").ComputedRef<number>;
|
|
362
|
+
animationLinkC: import("vue").ComputedRef<string>;
|
|
360
363
|
play: () => void;
|
|
361
364
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
362
365
|
left: {
|
|
@@ -10,10 +10,27 @@ button.uni-text-component {
|
|
|
10
10
|
box-sizing: border-box;
|
|
11
11
|
white-space: pre-wrap;
|
|
12
12
|
}
|
|
13
|
-
|
|
14
|
-
.uni-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
|
|
14
|
+
.uni-video-component {
|
|
15
|
+
position: relative;
|
|
16
|
+
text-align: center;
|
|
17
|
+
}
|
|
18
|
+
.play-pause-button {
|
|
19
|
+
position: absolute;
|
|
20
|
+
top: 50%;
|
|
21
|
+
left: 50%;
|
|
22
|
+
transform: translate(-50%, -50%);
|
|
23
|
+
cursor: pointer;
|
|
24
|
+
font-size: 2rem;
|
|
25
|
+
color: #fff;
|
|
26
|
+
background: rgba(0, 0, 0, 0.6);
|
|
27
|
+
border-radius: 50%;
|
|
28
|
+
padding: 10px;
|
|
29
|
+
transition: background 0.3s;
|
|
30
|
+
}
|
|
31
|
+
.play-pause-button:hover {
|
|
32
|
+
background: rgba(0, 0, 0, 0.8);
|
|
33
|
+
}
|
|
17
34
|
|
|
18
35
|
.slide-guide {
|
|
19
36
|
position: absolute;
|
|
@@ -88,122 +105,28 @@ body, html {
|
|
|
88
105
|
}
|
|
89
106
|
}
|
|
90
107
|
|
|
91
|
-
#
|
|
92
|
-
position:
|
|
93
|
-
right: 10px;
|
|
94
|
-
top: 10px;
|
|
95
|
-
z-index: 103;
|
|
96
|
-
width: 30px;
|
|
97
|
-
height: 30px;
|
|
98
|
-
display: -webkit-box;
|
|
99
|
-
display: -ms-flexbox;
|
|
100
|
-
display: flex;
|
|
101
|
-
-webkit-box-align: center;
|
|
102
|
-
-ms-flex-align: center;
|
|
103
|
-
align-items: center;
|
|
104
|
-
}
|
|
105
|
-
#audio .audio {
|
|
106
|
-
width: 100%;
|
|
107
|
-
height: 100%;
|
|
108
|
-
display: -webkit-box;
|
|
109
|
-
display: -ms-flexbox;
|
|
110
|
-
display: flex;
|
|
111
|
-
-webkit-box-align: center;
|
|
112
|
-
-ms-flex-align: center;
|
|
113
|
-
align-items: center;
|
|
114
|
-
-webkit-box-pack: center;
|
|
115
|
-
-ms-flex-pack: center;
|
|
116
|
-
justify-content: center;
|
|
117
|
-
color: #fff;
|
|
118
|
-
background: #666;
|
|
119
|
-
border-radius: 50%;
|
|
120
|
-
overflow: hidden;
|
|
121
|
-
will-change: transform;
|
|
122
|
-
}
|
|
123
|
-
#audio .audio .music-icon {
|
|
124
|
-
display: block;
|
|
125
|
-
width: 100%;
|
|
126
|
-
height: 100%;
|
|
108
|
+
#app1 {
|
|
109
|
+
position: relative;
|
|
127
110
|
}
|
|
128
|
-
|
|
111
|
+
.snowflake {
|
|
129
112
|
position: absolute;
|
|
130
|
-
|
|
131
|
-
|
|
113
|
+
top: 0;
|
|
114
|
+
left: 0;
|
|
115
|
+
width: 10px;
|
|
116
|
+
height: 10px;
|
|
117
|
+
background: red;
|
|
132
118
|
border-radius: 50%;
|
|
133
|
-
|
|
134
|
-
padding: 14px 0;
|
|
135
|
-
}
|
|
136
|
-
#audio .icon-cancel .icon-h {
|
|
137
|
-
-webkit-transform: rotate(45deg);
|
|
138
|
-
transform: rotate(45deg);
|
|
139
|
-
width: 100%;
|
|
140
|
-
height: 2px;
|
|
141
|
-
background: #fff;
|
|
142
|
-
}
|
|
143
|
-
#audio .mrotate {
|
|
144
|
-
-webkit-animation: mrotate 5s linear infinite;
|
|
145
|
-
animation: mrotate 5s linear infinite;
|
|
146
|
-
}
|
|
147
|
-
.video-play-audio {
|
|
148
|
-
position: absolute;
|
|
149
|
-
left: -9999px;
|
|
150
|
-
top: -9999px;
|
|
151
|
-
width: 0;
|
|
152
|
-
height: 0;
|
|
153
|
-
z-index: -1;
|
|
154
|
-
opacity: 1;
|
|
155
|
-
overflow: hidden;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.music-img {
|
|
159
|
-
position: relative;
|
|
160
|
-
display: inline-block;
|
|
161
|
-
width: 100%;
|
|
162
|
-
height: 100%;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.uni-music-component {
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
/* 无限旋转 */
|
|
169
|
-
@keyframes mrotate {
|
|
170
|
-
from {
|
|
171
|
-
transform: rotate(0deg);
|
|
172
|
-
}
|
|
173
|
-
to {
|
|
174
|
-
transform: rotate(360deg);
|
|
175
|
-
}
|
|
119
|
+
animation: falling 10s linear infinite;
|
|
176
120
|
}
|
|
177
|
-
|
|
121
|
+
@keyframes falling {
|
|
178
122
|
from {
|
|
179
|
-
|
|
123
|
+
transform: translateY(0) rotate(0deg);
|
|
180
124
|
}
|
|
181
125
|
to {
|
|
182
|
-
|
|
126
|
+
transform: translateY(100vh) rotate(360deg);
|
|
183
127
|
}
|
|
184
128
|
}
|
|
185
129
|
|
|
186
|
-
.uni-video-component {
|
|
187
|
-
position: relative;
|
|
188
|
-
text-align: center;
|
|
189
|
-
}
|
|
190
|
-
.play-pause-button {
|
|
191
|
-
position: absolute;
|
|
192
|
-
top: 50%;
|
|
193
|
-
left: 50%;
|
|
194
|
-
transform: translate(-50%, -50%);
|
|
195
|
-
cursor: pointer;
|
|
196
|
-
font-size: 2rem;
|
|
197
|
-
color: #fff;
|
|
198
|
-
background: rgba(0, 0, 0, 0.6);
|
|
199
|
-
border-radius: 50%;
|
|
200
|
-
padding: 10px;
|
|
201
|
-
transition: background 0.3s;
|
|
202
|
-
}
|
|
203
|
-
.play-pause-button:hover {
|
|
204
|
-
background: rgba(0, 0, 0, 0.8);
|
|
205
|
-
}
|
|
206
|
-
|
|
207
130
|
.uni-background-component {
|
|
208
131
|
width: 100%;
|
|
209
132
|
}
|
|
@@ -261,6 +184,10 @@ body, html {
|
|
|
261
184
|
font-size: 16px;
|
|
262
185
|
color: #333;
|
|
263
186
|
}
|
|
187
|
+
|
|
188
|
+
.uni-image-component {
|
|
189
|
+
max-width: 100%;
|
|
190
|
+
}
|
|
264
191
|
|
|
265
192
|
.slot-number {
|
|
266
193
|
position: absolute;
|
|
@@ -270,6 +197,20 @@ body, html {
|
|
|
270
197
|
color: #666
|
|
271
198
|
}
|
|
272
199
|
|
|
200
|
+
/*.swiper-container {
|
|
201
|
+
width: 100%;
|
|
202
|
+
height: 300px;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.swiper-slide {
|
|
206
|
+
text-align: center;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.swiper-slide img {
|
|
210
|
+
max-width: 100%;
|
|
211
|
+
max-height: 100%;
|
|
212
|
+
}*/
|
|
213
|
+
|
|
273
214
|
.video-player {
|
|
274
215
|
position: relative;
|
|
275
216
|
text-align: center;
|
|
@@ -291,41 +232,100 @@ body, html {
|
|
|
291
232
|
background: rgba(0, 0, 0, 0.8);
|
|
292
233
|
}
|
|
293
234
|
|
|
294
|
-
#
|
|
295
|
-
position:
|
|
235
|
+
#audio {
|
|
236
|
+
position: absolute;
|
|
237
|
+
right: 10px;
|
|
238
|
+
top: 10px;
|
|
239
|
+
z-index: 103;
|
|
240
|
+
width: 30px;
|
|
241
|
+
height: 30px;
|
|
242
|
+
display: -webkit-box;
|
|
243
|
+
display: -ms-flexbox;
|
|
244
|
+
display: flex;
|
|
245
|
+
-webkit-box-align: center;
|
|
246
|
+
-ms-flex-align: center;
|
|
247
|
+
align-items: center;
|
|
296
248
|
}
|
|
297
|
-
.
|
|
249
|
+
#audio .audio {
|
|
250
|
+
width: 100%;
|
|
251
|
+
height: 100%;
|
|
252
|
+
display: -webkit-box;
|
|
253
|
+
display: -ms-flexbox;
|
|
254
|
+
display: flex;
|
|
255
|
+
-webkit-box-align: center;
|
|
256
|
+
-ms-flex-align: center;
|
|
257
|
+
align-items: center;
|
|
258
|
+
-webkit-box-pack: center;
|
|
259
|
+
-ms-flex-pack: center;
|
|
260
|
+
justify-content: center;
|
|
261
|
+
color: #fff;
|
|
262
|
+
background: #666;
|
|
263
|
+
border-radius: 50%;
|
|
264
|
+
overflow: hidden;
|
|
265
|
+
will-change: transform;
|
|
266
|
+
}
|
|
267
|
+
#audio .audio .music-icon {
|
|
268
|
+
display: block;
|
|
269
|
+
width: 100%;
|
|
270
|
+
height: 100%;
|
|
271
|
+
}
|
|
272
|
+
#audio .icon-cancel {
|
|
298
273
|
position: absolute;
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
width: 10px;
|
|
302
|
-
height: 10px;
|
|
303
|
-
background: red;
|
|
274
|
+
width: 100%;
|
|
275
|
+
height: 100%;
|
|
304
276
|
border-radius: 50%;
|
|
305
|
-
|
|
277
|
+
overflow: hidden;
|
|
278
|
+
padding: 14px 0;
|
|
306
279
|
}
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
280
|
+
#audio .icon-cancel .icon-h {
|
|
281
|
+
-webkit-transform: rotate(45deg);
|
|
282
|
+
transform: rotate(45deg);
|
|
283
|
+
width: 100%;
|
|
284
|
+
height: 2px;
|
|
285
|
+
background: #fff;
|
|
286
|
+
}
|
|
287
|
+
#audio .mrotate {
|
|
288
|
+
-webkit-animation: mrotate 5s linear infinite;
|
|
289
|
+
animation: mrotate 5s linear infinite;
|
|
290
|
+
}
|
|
291
|
+
.video-play-audio {
|
|
292
|
+
position: absolute;
|
|
293
|
+
left: -9999px;
|
|
294
|
+
top: -9999px;
|
|
295
|
+
width: 0;
|
|
296
|
+
height: 0;
|
|
297
|
+
z-index: -1;
|
|
298
|
+
opacity: 1;
|
|
299
|
+
overflow: hidden;
|
|
314
300
|
}
|
|
315
301
|
|
|
316
|
-
|
|
302
|
+
.music-img {
|
|
303
|
+
position: relative;
|
|
304
|
+
display: inline-block;
|
|
317
305
|
width: 100%;
|
|
318
|
-
height:
|
|
306
|
+
height: 100%;
|
|
319
307
|
}
|
|
320
308
|
|
|
321
|
-
.
|
|
322
|
-
text-align: center;
|
|
309
|
+
.uni-music-component {
|
|
323
310
|
}
|
|
324
311
|
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
312
|
+
/* 无限旋转 */
|
|
313
|
+
@keyframes mrotate {
|
|
314
|
+
from {
|
|
315
|
+
transform: rotate(0deg);
|
|
316
|
+
}
|
|
317
|
+
to {
|
|
318
|
+
transform: rotate(360deg);
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
@-webkit-keyframes mrotate {
|
|
322
|
+
from {
|
|
323
|
+
-webkit-transform: rotate(0deg);
|
|
324
|
+
}
|
|
325
|
+
to {
|
|
326
|
+
-webkit-transform: rotate(360deg);
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
329
|
/**
|
|
330
330
|
* Swiper 6.8.4
|
|
331
331
|
* Most modern mobile touch slider and framework with hardware accelerated transitions
|
|
@@ -46744,8 +46744,12 @@ var script$1 = defineComponent({
|
|
|
46744
46744
|
const styleProps = useStylePick(props);
|
|
46745
46745
|
const handleClick = useComponentClick(props);
|
|
46746
46746
|
const lottieAnimation = ref(null);
|
|
46747
|
+
const loopC = computed(() => { return props.loop; });
|
|
46748
|
+
const delayC = computed(() => { return props.delay; });
|
|
46749
|
+
const animationLinkC = computed(() => { return props.animationLink; });
|
|
46747
46750
|
const play = () => {
|
|
46748
46751
|
if (lottieAnimation.value) {
|
|
46752
|
+
lottieAnimation.value.stop();
|
|
46749
46753
|
lottieAnimation.value.play();
|
|
46750
46754
|
}
|
|
46751
46755
|
};
|
|
@@ -46754,6 +46758,9 @@ var script$1 = defineComponent({
|
|
|
46754
46758
|
// AstronautJSON,
|
|
46755
46759
|
handleClick,
|
|
46756
46760
|
lottieAnimation,
|
|
46761
|
+
loopC,
|
|
46762
|
+
delayC,
|
|
46763
|
+
animationLinkC,
|
|
46757
46764
|
play
|
|
46758
46765
|
};
|
|
46759
46766
|
}
|
|
@@ -46771,9 +46778,9 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
46771
46778
|
'position': 'absolute',
|
|
46772
46779
|
'transform': _ctx.lottiesTransform
|
|
46773
46780
|
}),
|
|
46774
|
-
animationLink: _ctx.
|
|
46775
|
-
loop: _ctx.
|
|
46776
|
-
delay: _ctx.
|
|
46781
|
+
animationLink: _ctx.animationLinkC,
|
|
46782
|
+
loop: _ctx.loopC,
|
|
46783
|
+
delay: _ctx.delayC,
|
|
46777
46784
|
ref: "lottieAnimation",
|
|
46778
46785
|
class: "uni-lotties-component"
|
|
46779
46786
|
}, null, 8 /* PROPS */, ["style", "animationLink", "loop", "delay"]))
|
|
@@ -46751,8 +46751,12 @@
|
|
|
46751
46751
|
const styleProps = useStylePick(props);
|
|
46752
46752
|
const handleClick = useComponentClick(props);
|
|
46753
46753
|
const lottieAnimation = vue.ref(null);
|
|
46754
|
+
const loopC = vue.computed(() => { return props.loop; });
|
|
46755
|
+
const delayC = vue.computed(() => { return props.delay; });
|
|
46756
|
+
const animationLinkC = vue.computed(() => { return props.animationLink; });
|
|
46754
46757
|
const play = () => {
|
|
46755
46758
|
if (lottieAnimation.value) {
|
|
46759
|
+
lottieAnimation.value.stop();
|
|
46756
46760
|
lottieAnimation.value.play();
|
|
46757
46761
|
}
|
|
46758
46762
|
};
|
|
@@ -46761,6 +46765,9 @@
|
|
|
46761
46765
|
// AstronautJSON,
|
|
46762
46766
|
handleClick,
|
|
46763
46767
|
lottieAnimation,
|
|
46768
|
+
loopC,
|
|
46769
|
+
delayC,
|
|
46770
|
+
animationLinkC,
|
|
46764
46771
|
play
|
|
46765
46772
|
};
|
|
46766
46773
|
}
|
|
@@ -46778,9 +46785,9 @@
|
|
|
46778
46785
|
'position': 'absolute',
|
|
46779
46786
|
'transform': _ctx.lottiesTransform
|
|
46780
46787
|
}),
|
|
46781
|
-
animationLink: _ctx.
|
|
46782
|
-
loop: _ctx.
|
|
46783
|
-
delay: _ctx.
|
|
46788
|
+
animationLink: _ctx.animationLinkC,
|
|
46789
|
+
loop: _ctx.loopC,
|
|
46790
|
+
delay: _ctx.delayC,
|
|
46784
46791
|
ref: "lottieAnimation",
|
|
46785
46792
|
class: "uni-lotties-component"
|
|
46786
46793
|
}, null, 8 /* PROPS */, ["style", "animationLink", "loop", "delay"]))
|