unika-components 1.0.56 → 1.0.57
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,9 +357,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
357
357
|
rendererSettings: any;
|
|
358
358
|
assetsPath: string;
|
|
359
359
|
}> | null>;
|
|
360
|
-
loopC: import("vue").
|
|
361
|
-
delayC: import("vue").
|
|
362
|
-
animationLinkC: import("vue").
|
|
360
|
+
loopC: import("vue").Ref<boolean>;
|
|
361
|
+
delayC: import("vue").Ref<number>;
|
|
362
|
+
animationLinkC: import("vue").Ref<string>;
|
|
363
363
|
play: () => void;
|
|
364
364
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
365
365
|
left: {
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
|
|
2
|
+
.uni-image-component {
|
|
3
|
+
max-width: 100%;
|
|
4
|
+
}
|
|
5
|
+
|
|
2
6
|
h2.uni-text-component, p.uni-text-component {
|
|
3
7
|
margin-bottom: 0;
|
|
4
8
|
}
|
|
@@ -11,26 +15,41 @@ button.uni-text-component {
|
|
|
11
15
|
white-space: pre-wrap;
|
|
12
16
|
}
|
|
13
17
|
|
|
14
|
-
.uni-
|
|
15
|
-
|
|
16
|
-
text-align: center;
|
|
18
|
+
.uni-background-component {
|
|
19
|
+
width: 100%;
|
|
17
20
|
}
|
|
18
|
-
.
|
|
21
|
+
.bg-img {
|
|
22
|
+
width: 100%;
|
|
23
|
+
height: 100%;
|
|
24
|
+
object-fit: cover;
|
|
25
|
+
z-index:1;
|
|
26
|
+
}
|
|
27
|
+
.watermark {
|
|
28
|
+
height: 100%;
|
|
19
29
|
position: absolute;
|
|
20
|
-
top:
|
|
21
|
-
left:
|
|
22
|
-
|
|
23
|
-
|
|
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
|
+
top: 0;
|
|
31
|
+
left: 0;
|
|
32
|
+
right: 0;
|
|
33
|
+
bottom: 0;
|
|
30
34
|
}
|
|
31
|
-
.
|
|
32
|
-
|
|
35
|
+
.watermark-div {
|
|
36
|
+
height: 100%;
|
|
37
|
+
width:100%;
|
|
38
|
+
position:absolute;
|
|
39
|
+
z-index:99999999;
|
|
33
40
|
}
|
|
41
|
+
body:before{
|
|
42
|
+
content: '';
|
|
43
|
+
position: fixed;
|
|
44
|
+
top: 0;
|
|
45
|
+
bottom: 0;
|
|
46
|
+
left: 0;
|
|
47
|
+
right: 0;
|
|
48
|
+
z-index: -1;
|
|
49
|
+
/* background: url(https://unika-static-dev.unika.cc/logo.png) 0 0 repeat; */
|
|
50
|
+
background-position: center;
|
|
51
|
+
opacity: 0.1;
|
|
52
|
+
}
|
|
34
53
|
|
|
35
54
|
.slide-guide {
|
|
36
55
|
position: absolute;
|
|
@@ -105,133 +124,6 @@ body, html {
|
|
|
105
124
|
}
|
|
106
125
|
}
|
|
107
126
|
|
|
108
|
-
#app1 {
|
|
109
|
-
position: relative;
|
|
110
|
-
}
|
|
111
|
-
.snowflake {
|
|
112
|
-
position: absolute;
|
|
113
|
-
top: 0;
|
|
114
|
-
left: 0;
|
|
115
|
-
width: 10px;
|
|
116
|
-
height: 10px;
|
|
117
|
-
background: red;
|
|
118
|
-
border-radius: 50%;
|
|
119
|
-
animation: falling 10s linear infinite;
|
|
120
|
-
}
|
|
121
|
-
@keyframes falling {
|
|
122
|
-
from {
|
|
123
|
-
transform: translateY(0) rotate(0deg);
|
|
124
|
-
}
|
|
125
|
-
to {
|
|
126
|
-
transform: translateY(100vh) rotate(360deg);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.uni-background-component {
|
|
131
|
-
width: 100%;
|
|
132
|
-
}
|
|
133
|
-
.bg-img {
|
|
134
|
-
width: 100%;
|
|
135
|
-
height: 100%;
|
|
136
|
-
object-fit: cover;
|
|
137
|
-
z-index:1;
|
|
138
|
-
}
|
|
139
|
-
.watermark {
|
|
140
|
-
height: 100%;
|
|
141
|
-
position: absolute;
|
|
142
|
-
top: 0;
|
|
143
|
-
left: 0;
|
|
144
|
-
right: 0;
|
|
145
|
-
bottom: 0;
|
|
146
|
-
}
|
|
147
|
-
.watermark-div {
|
|
148
|
-
height: 100%;
|
|
149
|
-
width:100%;
|
|
150
|
-
position:absolute;
|
|
151
|
-
z-index:99999999;
|
|
152
|
-
}
|
|
153
|
-
body:before{
|
|
154
|
-
content: '';
|
|
155
|
-
position: fixed;
|
|
156
|
-
top: 0;
|
|
157
|
-
bottom: 0;
|
|
158
|
-
left: 0;
|
|
159
|
-
right: 0;
|
|
160
|
-
z-index: -1;
|
|
161
|
-
/* background: url(https://unika-static-dev.unika.cc/logo.png) 0 0 repeat; */
|
|
162
|
-
background-position: center;
|
|
163
|
-
opacity: 0.1;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.like-button {
|
|
167
|
-
display: flex;
|
|
168
|
-
flex-direction: column;
|
|
169
|
-
align-items: center;
|
|
170
|
-
cursor: pointer;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.icon-heart {
|
|
174
|
-
font-size: 24px;
|
|
175
|
-
color: #e74c3c;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.liked {
|
|
179
|
-
color: #f00; /* 更改颜色以示已赞 */
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.like-count {
|
|
183
|
-
margin-top: 4px;
|
|
184
|
-
font-size: 16px;
|
|
185
|
-
color: #333;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
.uni-image-component {
|
|
189
|
-
max-width: 100%;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
.slot-number {
|
|
193
|
-
position: absolute;
|
|
194
|
-
bottom: 2px;
|
|
195
|
-
left: 7px;
|
|
196
|
-
font-size: 12px;
|
|
197
|
-
color: #666
|
|
198
|
-
}
|
|
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
|
-
|
|
214
|
-
.video-player {
|
|
215
|
-
position: relative;
|
|
216
|
-
text-align: center;
|
|
217
|
-
}
|
|
218
|
-
.play-pause-button {
|
|
219
|
-
position: absolute;
|
|
220
|
-
top: 50%;
|
|
221
|
-
left: 50%;
|
|
222
|
-
transform: translate(-50%, -50%);
|
|
223
|
-
cursor: pointer;
|
|
224
|
-
font-size: 2rem;
|
|
225
|
-
color: #fff;
|
|
226
|
-
background: rgba(0, 0, 0, 0.6);
|
|
227
|
-
border-radius: 50%;
|
|
228
|
-
padding: 10px;
|
|
229
|
-
transition: background 0.3s;
|
|
230
|
-
}
|
|
231
|
-
.play-pause-button:hover {
|
|
232
|
-
background: rgba(0, 0, 0, 0.8);
|
|
233
|
-
}
|
|
234
|
-
|
|
235
127
|
#audio {
|
|
236
128
|
position: absolute;
|
|
237
129
|
right: 10px;
|
|
@@ -326,6 +218,114 @@ body, html {
|
|
|
326
218
|
-webkit-transform: rotate(360deg);
|
|
327
219
|
}
|
|
328
220
|
}
|
|
221
|
+
|
|
222
|
+
.slot-number {
|
|
223
|
+
position: absolute;
|
|
224
|
+
bottom: 2px;
|
|
225
|
+
left: 7px;
|
|
226
|
+
font-size: 12px;
|
|
227
|
+
color: #666
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.like-button {
|
|
231
|
+
display: flex;
|
|
232
|
+
flex-direction: column;
|
|
233
|
+
align-items: center;
|
|
234
|
+
cursor: pointer;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.icon-heart {
|
|
238
|
+
font-size: 24px;
|
|
239
|
+
color: #e74c3c;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.liked {
|
|
243
|
+
color: #f00; /* 更改颜色以示已赞 */
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.like-count {
|
|
247
|
+
margin-top: 4px;
|
|
248
|
+
font-size: 16px;
|
|
249
|
+
color: #333;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.uni-video-component {
|
|
253
|
+
position: relative;
|
|
254
|
+
text-align: center;
|
|
255
|
+
}
|
|
256
|
+
.play-pause-button {
|
|
257
|
+
position: absolute;
|
|
258
|
+
top: 50%;
|
|
259
|
+
left: 50%;
|
|
260
|
+
transform: translate(-50%, -50%);
|
|
261
|
+
cursor: pointer;
|
|
262
|
+
font-size: 2rem;
|
|
263
|
+
color: #fff;
|
|
264
|
+
background: rgba(0, 0, 0, 0.6);
|
|
265
|
+
border-radius: 50%;
|
|
266
|
+
padding: 10px;
|
|
267
|
+
transition: background 0.3s;
|
|
268
|
+
}
|
|
269
|
+
.play-pause-button:hover {
|
|
270
|
+
background: rgba(0, 0, 0, 0.8);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
#app1 {
|
|
274
|
+
position: relative;
|
|
275
|
+
}
|
|
276
|
+
.snowflake {
|
|
277
|
+
position: absolute;
|
|
278
|
+
top: 0;
|
|
279
|
+
left: 0;
|
|
280
|
+
width: 10px;
|
|
281
|
+
height: 10px;
|
|
282
|
+
background: red;
|
|
283
|
+
border-radius: 50%;
|
|
284
|
+
animation: falling 10s linear infinite;
|
|
285
|
+
}
|
|
286
|
+
@keyframes falling {
|
|
287
|
+
from {
|
|
288
|
+
transform: translateY(0) rotate(0deg);
|
|
289
|
+
}
|
|
290
|
+
to {
|
|
291
|
+
transform: translateY(100vh) rotate(360deg);
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.video-player {
|
|
296
|
+
position: relative;
|
|
297
|
+
text-align: center;
|
|
298
|
+
}
|
|
299
|
+
.play-pause-button {
|
|
300
|
+
position: absolute;
|
|
301
|
+
top: 50%;
|
|
302
|
+
left: 50%;
|
|
303
|
+
transform: translate(-50%, -50%);
|
|
304
|
+
cursor: pointer;
|
|
305
|
+
font-size: 2rem;
|
|
306
|
+
color: #fff;
|
|
307
|
+
background: rgba(0, 0, 0, 0.6);
|
|
308
|
+
border-radius: 50%;
|
|
309
|
+
padding: 10px;
|
|
310
|
+
transition: background 0.3s;
|
|
311
|
+
}
|
|
312
|
+
.play-pause-button:hover {
|
|
313
|
+
background: rgba(0, 0, 0, 0.8);
|
|
314
|
+
}
|
|
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
|
|
@@ -46744,9 +46744,19 @@ var script$1 = defineComponent({
|
|
|
46744
46744
|
const styleProps = useStylePick(props);
|
|
46745
46745
|
const handleClick = useComponentClick(props);
|
|
46746
46746
|
const lottieAnimation = ref(null);
|
|
46747
|
-
const
|
|
46748
|
-
const
|
|
46749
|
-
const
|
|
46747
|
+
const { loop, delay, animationLink } = toRefs(props);
|
|
46748
|
+
const loopC = ref(props.loop);
|
|
46749
|
+
const delayC = ref(props.delay);
|
|
46750
|
+
const animationLinkC = ref(props.animationLink);
|
|
46751
|
+
watch(loop, (newVal) => {
|
|
46752
|
+
loopC.value = newVal;
|
|
46753
|
+
});
|
|
46754
|
+
watch(delay, (newVal) => {
|
|
46755
|
+
delayC.value = newVal;
|
|
46756
|
+
});
|
|
46757
|
+
watch(animationLink, (newVal) => {
|
|
46758
|
+
animationLinkC.value = newVal;
|
|
46759
|
+
});
|
|
46750
46760
|
const play = () => {
|
|
46751
46761
|
if (lottieAnimation.value) {
|
|
46752
46762
|
lottieAnimation.value.stop();
|
|
@@ -46751,9 +46751,19 @@
|
|
|
46751
46751
|
const styleProps = useStylePick(props);
|
|
46752
46752
|
const handleClick = useComponentClick(props);
|
|
46753
46753
|
const lottieAnimation = vue.ref(null);
|
|
46754
|
-
const
|
|
46755
|
-
const
|
|
46756
|
-
const
|
|
46754
|
+
const { loop, delay, animationLink } = vue.toRefs(props);
|
|
46755
|
+
const loopC = vue.ref(props.loop);
|
|
46756
|
+
const delayC = vue.ref(props.delay);
|
|
46757
|
+
const animationLinkC = vue.ref(props.animationLink);
|
|
46758
|
+
vue.watch(loop, (newVal) => {
|
|
46759
|
+
loopC.value = newVal;
|
|
46760
|
+
});
|
|
46761
|
+
vue.watch(delay, (newVal) => {
|
|
46762
|
+
delayC.value = newVal;
|
|
46763
|
+
});
|
|
46764
|
+
vue.watch(animationLink, (newVal) => {
|
|
46765
|
+
animationLinkC.value = newVal;
|
|
46766
|
+
});
|
|
46757
46767
|
const play = () => {
|
|
46758
46768
|
if (lottieAnimation.value) {
|
|
46759
46769
|
lottieAnimation.value.stop();
|