unika-components 1.0.214 → 1.0.216
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.
|
@@ -2,6 +2,27 @@
|
|
|
2
2
|
.uni-image-component {
|
|
3
3
|
max-width: 100%;
|
|
4
4
|
}
|
|
5
|
+
|
|
6
|
+
.uni-video-component {
|
|
7
|
+
position: relative;
|
|
8
|
+
text-align: center;
|
|
9
|
+
}
|
|
10
|
+
.play-pause-button {
|
|
11
|
+
position: absolute;
|
|
12
|
+
top: 50%;
|
|
13
|
+
left: 50%;
|
|
14
|
+
transform: translate(-50%, -50%);
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
font-size: 2rem;
|
|
17
|
+
color: #fff;
|
|
18
|
+
background: rgba(0, 0, 0, 0.6);
|
|
19
|
+
border-radius: 50%;
|
|
20
|
+
padding: 10px;
|
|
21
|
+
transition: background 0.3s;
|
|
22
|
+
}
|
|
23
|
+
.play-pause-button:hover {
|
|
24
|
+
background: rgba(0, 0, 0, 0.8);
|
|
25
|
+
}
|
|
5
26
|
|
|
6
27
|
h2.uni-text-component, p.uni-text-component {
|
|
7
28
|
margin-bottom: 0;
|
|
@@ -100,6 +121,25 @@ body, html {
|
|
|
100
121
|
color: #666
|
|
101
122
|
}
|
|
102
123
|
|
|
124
|
+
.effect {
|
|
125
|
+
width: 100%;
|
|
126
|
+
height: 100%;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.swiper-warp {
|
|
130
|
+
width: 100%;
|
|
131
|
+
height: 100%;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.swiper-slide-component {
|
|
135
|
+
text-align: center;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.swiper-slide img {
|
|
139
|
+
max-width: 100%;
|
|
140
|
+
max-height: 100%;
|
|
141
|
+
}
|
|
142
|
+
|
|
103
143
|
.like-button {
|
|
104
144
|
display: flex;
|
|
105
145
|
flex-direction: column;
|
|
@@ -122,32 +162,6 @@ body, html {
|
|
|
122
162
|
color: #333;
|
|
123
163
|
}
|
|
124
164
|
|
|
125
|
-
.uni-video-component {
|
|
126
|
-
position: relative;
|
|
127
|
-
text-align: center;
|
|
128
|
-
}
|
|
129
|
-
.play-pause-button {
|
|
130
|
-
position: absolute;
|
|
131
|
-
top: 50%;
|
|
132
|
-
left: 50%;
|
|
133
|
-
transform: translate(-50%, -50%);
|
|
134
|
-
cursor: pointer;
|
|
135
|
-
font-size: 2rem;
|
|
136
|
-
color: #fff;
|
|
137
|
-
background: rgba(0, 0, 0, 0.6);
|
|
138
|
-
border-radius: 50%;
|
|
139
|
-
padding: 10px;
|
|
140
|
-
transition: background 0.3s;
|
|
141
|
-
}
|
|
142
|
-
.play-pause-button:hover {
|
|
143
|
-
background: rgba(0, 0, 0, 0.8);
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.effect {
|
|
147
|
-
width: 100%;
|
|
148
|
-
height: 100%;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
165
|
.ant-input-number {
|
|
152
166
|
box-sizing: border-box;
|
|
153
167
|
margin: 0;
|
|
@@ -185,20 +199,6 @@ body, html {
|
|
|
185
199
|
|
|
186
200
|
.uni-build-up-component {
|
|
187
201
|
}
|
|
188
|
-
|
|
189
|
-
.swiper-warp {
|
|
190
|
-
width: 100%;
|
|
191
|
-
height: 100%;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
.swiper-slide-component {
|
|
195
|
-
text-align: center;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.swiper-slide img {
|
|
199
|
-
max-width: 100%;
|
|
200
|
-
max-height: 100%;
|
|
201
|
-
}
|
|
202
202
|
|
|
203
203
|
.uni-svg-component {
|
|
204
204
|
display: inline-block;
|
|
@@ -13066,7 +13066,7 @@ var script$h = defineComponent({
|
|
|
13066
13066
|
const innerElement = element.querySelector('.inner-component');
|
|
13067
13067
|
if (innerElement) {
|
|
13068
13068
|
// element.style.cssText = getComputedCSSText(animationStyle) + getComputedCSSText(oldStyle);
|
|
13069
|
-
innerElement.style.cssText = getComputedCSSText(animationStyle);
|
|
13069
|
+
innerElement.style.cssText = getComputedCSSText(animationStyle) + getComputedCSSText(oldStyle);
|
|
13070
13070
|
animIdx++;
|
|
13071
13071
|
}
|
|
13072
13072
|
}
|
|
@@ -13076,7 +13076,7 @@ var script$h = defineComponent({
|
|
|
13076
13076
|
if (element) {
|
|
13077
13077
|
const innerElement = element.querySelector('.inner-component');
|
|
13078
13078
|
if (innerElement) {
|
|
13079
|
-
|
|
13079
|
+
innerElement.style.cssText = getComputedCSSText(oldStyle);
|
|
13080
13080
|
}
|
|
13081
13081
|
}
|
|
13082
13082
|
}
|
|
@@ -13073,7 +13073,7 @@
|
|
|
13073
13073
|
const innerElement = element.querySelector('.inner-component');
|
|
13074
13074
|
if (innerElement) {
|
|
13075
13075
|
// element.style.cssText = getComputedCSSText(animationStyle) + getComputedCSSText(oldStyle);
|
|
13076
|
-
innerElement.style.cssText = getComputedCSSText(animationStyle);
|
|
13076
|
+
innerElement.style.cssText = getComputedCSSText(animationStyle) + getComputedCSSText(oldStyle);
|
|
13077
13077
|
animIdx++;
|
|
13078
13078
|
}
|
|
13079
13079
|
}
|
|
@@ -13083,7 +13083,7 @@
|
|
|
13083
13083
|
if (element) {
|
|
13084
13084
|
const innerElement = element.querySelector('.inner-component');
|
|
13085
13085
|
if (innerElement) {
|
|
13086
|
-
|
|
13086
|
+
innerElement.style.cssText = getComputedCSSText(oldStyle);
|
|
13087
13087
|
}
|
|
13088
13088
|
}
|
|
13089
13089
|
}
|