unika-components 1.0.230 → 1.0.231
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.
|
@@ -125,7 +125,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
125
125
|
};
|
|
126
126
|
};
|
|
127
127
|
}>;
|
|
128
|
-
particlesKey: import("vue").Ref<number>;
|
|
129
128
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
130
129
|
[x: string]: any;
|
|
131
130
|
}>>, {
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
.uni-calendar-component {
|
|
4
|
+
|
|
5
|
+
}
|
|
6
|
+
.slot-number {
|
|
7
|
+
position: absolute;
|
|
8
|
+
bottom: 2px;
|
|
9
|
+
left: 7px;
|
|
10
|
+
font-size: 12px;
|
|
11
|
+
color: #666
|
|
12
|
+
}
|
|
1
13
|
|
|
2
14
|
.slide-guide {
|
|
3
15
|
position: absolute;
|
|
@@ -88,18 +100,6 @@ button.uni-text-component {
|
|
|
88
100
|
max-width: 100%;
|
|
89
101
|
}
|
|
90
102
|
|
|
91
|
-
|
|
92
|
-
.uni-calendar-component {
|
|
93
|
-
|
|
94
|
-
}
|
|
95
|
-
.slot-number {
|
|
96
|
-
position: absolute;
|
|
97
|
-
bottom: 2px;
|
|
98
|
-
left: 7px;
|
|
99
|
-
font-size: 12px;
|
|
100
|
-
color: #666
|
|
101
|
-
}
|
|
102
|
-
|
|
103
103
|
.like-button {
|
|
104
104
|
display: flex;
|
|
105
105
|
flex-direction: column;
|
|
@@ -122,9 +122,6 @@ button.uni-text-component {
|
|
|
122
122
|
color: #333;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
.uni-build-up-component {
|
|
126
|
-
}
|
|
127
|
-
|
|
128
125
|
.swiper-warp {
|
|
129
126
|
width: 100%;
|
|
130
127
|
height: 100%;
|
|
@@ -139,11 +136,6 @@ button.uni-text-component {
|
|
|
139
136
|
max-height: 100%;
|
|
140
137
|
}
|
|
141
138
|
|
|
142
|
-
.effect {
|
|
143
|
-
width: 100%;
|
|
144
|
-
height: 100%;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
139
|
.uni-video-component {
|
|
148
140
|
position: relative;
|
|
149
141
|
text-align: center;
|
|
@@ -164,6 +156,15 @@ button.uni-text-component {
|
|
|
164
156
|
.play-pause-button:hover {
|
|
165
157
|
background: rgba(0, 0, 0, 0.8);
|
|
166
158
|
}
|
|
159
|
+
|
|
160
|
+
.uni-svg-component {
|
|
161
|
+
display: inline-block;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.effect {
|
|
165
|
+
width: 100%;
|
|
166
|
+
height: 100%;
|
|
167
|
+
}
|
|
167
168
|
|
|
168
169
|
.ant-input-number {
|
|
169
170
|
box-sizing: border-box;
|
|
@@ -199,10 +200,9 @@ button.uni-text-component {
|
|
|
199
200
|
margin-bottom: 0px;
|
|
200
201
|
vertical-align: top;
|
|
201
202
|
}
|
|
202
|
-
|
|
203
|
-
.uni-
|
|
204
|
-
|
|
205
|
-
}
|
|
203
|
+
|
|
204
|
+
.uni-build-up-component {
|
|
205
|
+
}
|
|
206
206
|
/**
|
|
207
207
|
* Swiper 6.8.4
|
|
208
208
|
* Most modern mobile touch slider and framework with hardware accelerated transitions
|
|
@@ -26563,17 +26563,15 @@ var script$7 = defineComponent({
|
|
|
26563
26563
|
};
|
|
26564
26564
|
};
|
|
26565
26565
|
const options = ref(getOptions(props.spead, props.number, props.opacity, props.shape));
|
|
26566
|
-
const particlesKey = ref(0);
|
|
26567
26566
|
// 监听 props.language 的变化
|
|
26568
26567
|
watch([() => props.spead, () => props.number, () => props.opacity, () => props.shape], ([newSpeed, newNumber, newOpacity, newShape]) => {
|
|
26569
26568
|
options.value = getOptions(newSpeed, newNumber, newOpacity, newShape);
|
|
26570
|
-
particlesKey.value += 1;
|
|
26571
26569
|
});
|
|
26572
26570
|
return {
|
|
26573
26571
|
styleProps,
|
|
26574
26572
|
handleClick,
|
|
26575
26573
|
options,
|
|
26576
|
-
particlesKey
|
|
26574
|
+
// particlesKey
|
|
26577
26575
|
};
|
|
26578
26576
|
}
|
|
26579
26577
|
});
|
|
@@ -26586,13 +26584,12 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26586
26584
|
style: normalizeStyle$1(_ctx.styleProps),
|
|
26587
26585
|
class: "uni-effect-component inner-component"
|
|
26588
26586
|
}, [
|
|
26589
|
-
(
|
|
26590
|
-
key: _ctx.particlesKey,
|
|
26587
|
+
createVNode(_component_Particles, {
|
|
26591
26588
|
particlesLoaded: _ctx.particlesLoaded,
|
|
26592
26589
|
id: "tsparticles",
|
|
26593
26590
|
options: _ctx.options,
|
|
26594
26591
|
class: "effect"
|
|
26595
|
-
}, null, 8 /* PROPS */, ["particlesLoaded", "options"])
|
|
26592
|
+
}, null, 8 /* PROPS */, ["particlesLoaded", "options"])
|
|
26596
26593
|
], 4 /* STYLE */))
|
|
26597
26594
|
}
|
|
26598
26595
|
|
|
@@ -26570,17 +26570,15 @@
|
|
|
26570
26570
|
};
|
|
26571
26571
|
};
|
|
26572
26572
|
const options = vue.ref(getOptions(props.spead, props.number, props.opacity, props.shape));
|
|
26573
|
-
const particlesKey = vue.ref(0);
|
|
26574
26573
|
// 监听 props.language 的变化
|
|
26575
26574
|
vue.watch([() => props.spead, () => props.number, () => props.opacity, () => props.shape], ([newSpeed, newNumber, newOpacity, newShape]) => {
|
|
26576
26575
|
options.value = getOptions(newSpeed, newNumber, newOpacity, newShape);
|
|
26577
|
-
particlesKey.value += 1;
|
|
26578
26576
|
});
|
|
26579
26577
|
return {
|
|
26580
26578
|
styleProps,
|
|
26581
26579
|
handleClick,
|
|
26582
26580
|
options,
|
|
26583
|
-
particlesKey
|
|
26581
|
+
// particlesKey
|
|
26584
26582
|
};
|
|
26585
26583
|
}
|
|
26586
26584
|
});
|
|
@@ -26593,13 +26591,12 @@
|
|
|
26593
26591
|
style: vue.normalizeStyle(_ctx.styleProps),
|
|
26594
26592
|
class: "uni-effect-component inner-component"
|
|
26595
26593
|
}, [
|
|
26596
|
-
|
|
26597
|
-
key: _ctx.particlesKey,
|
|
26594
|
+
vue.createVNode(_component_Particles, {
|
|
26598
26595
|
particlesLoaded: _ctx.particlesLoaded,
|
|
26599
26596
|
id: "tsparticles",
|
|
26600
26597
|
options: _ctx.options,
|
|
26601
26598
|
class: "effect"
|
|
26602
|
-
}, null, 8 /* PROPS */, ["particlesLoaded", "options"])
|
|
26599
|
+
}, null, 8 /* PROPS */, ["particlesLoaded", "options"])
|
|
26603
26600
|
], 4 /* STYLE */))
|
|
26604
26601
|
}
|
|
26605
26602
|
|