unika-components 1.0.192 → 1.0.193
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.
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
|
|
2
|
+
.uni-video-component {
|
|
3
|
+
position: relative;
|
|
4
|
+
text-align: center;
|
|
5
|
+
}
|
|
6
|
+
.play-pause-button {
|
|
7
|
+
position: absolute;
|
|
8
|
+
top: 50%;
|
|
9
|
+
left: 50%;
|
|
10
|
+
transform: translate(-50%, -50%);
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
font-size: 2rem;
|
|
13
|
+
color: #fff;
|
|
14
|
+
background: rgba(0, 0, 0, 0.6);
|
|
15
|
+
border-radius: 50%;
|
|
16
|
+
padding: 10px;
|
|
17
|
+
transition: background 0.3s;
|
|
18
|
+
}
|
|
19
|
+
.play-pause-button:hover {
|
|
20
|
+
background: rgba(0, 0, 0, 0.8);
|
|
21
|
+
}
|
|
1
22
|
|
|
2
23
|
h2.uni-text-component, p.uni-text-component {
|
|
3
24
|
margin-bottom: 0;
|
|
@@ -11,6 +32,37 @@ button.uni-text-component {
|
|
|
11
32
|
white-space: pre-wrap;
|
|
12
33
|
}
|
|
13
34
|
|
|
35
|
+
.uni-image-component {
|
|
36
|
+
max-width: 100%;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.like-button {
|
|
40
|
+
display: flex;
|
|
41
|
+
flex-direction: column;
|
|
42
|
+
align-items: center;
|
|
43
|
+
cursor: pointer;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.icon-heart {
|
|
47
|
+
font-size: 24px;
|
|
48
|
+
color: #e74c3c;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.liked {
|
|
52
|
+
color: #f00; /* 更改颜色以示已赞 */
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.like-count {
|
|
56
|
+
margin-top: 4px;
|
|
57
|
+
font-size: 16px;
|
|
58
|
+
color: #333;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.effect {
|
|
62
|
+
width: 100%;
|
|
63
|
+
height: 100%;
|
|
64
|
+
}
|
|
65
|
+
|
|
14
66
|
.slide-guide {
|
|
15
67
|
position: absolute;
|
|
16
68
|
bottom: 90px;
|
|
@@ -83,10 +135,23 @@ body, html {
|
|
|
83
135
|
transform: translate3d(-50%, -50%, 0);
|
|
84
136
|
}
|
|
85
137
|
}
|
|
86
|
-
|
|
87
|
-
.uni-
|
|
88
|
-
|
|
89
|
-
|
|
138
|
+
|
|
139
|
+
.uni-build-up-component {
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.swiper-warp {
|
|
143
|
+
width: 100%;
|
|
144
|
+
height: 100%;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.swiper-slide-component {
|
|
148
|
+
text-align: center;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.swiper-slide img {
|
|
152
|
+
max-width: 100%;
|
|
153
|
+
max-height: 100%;
|
|
154
|
+
}
|
|
90
155
|
|
|
91
156
|
|
|
92
157
|
.uni-calendar-component {
|
|
@@ -100,33 +165,6 @@ body, html {
|
|
|
100
165
|
color: #666
|
|
101
166
|
}
|
|
102
167
|
|
|
103
|
-
.like-button {
|
|
104
|
-
display: flex;
|
|
105
|
-
flex-direction: column;
|
|
106
|
-
align-items: center;
|
|
107
|
-
cursor: pointer;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.icon-heart {
|
|
111
|
-
font-size: 24px;
|
|
112
|
-
color: #e74c3c;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.liked {
|
|
116
|
-
color: #f00; /* 更改颜色以示已赞 */
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.like-count {
|
|
120
|
-
margin-top: 4px;
|
|
121
|
-
font-size: 16px;
|
|
122
|
-
color: #333;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.effect {
|
|
126
|
-
width: 100%;
|
|
127
|
-
height: 100%;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
168
|
.ant-input-number {
|
|
131
169
|
box-sizing: border-box;
|
|
132
170
|
margin: 0;
|
|
@@ -161,44 +199,6 @@ body, html {
|
|
|
161
199
|
margin-bottom: 0px;
|
|
162
200
|
vertical-align: top;
|
|
163
201
|
}
|
|
164
|
-
|
|
165
|
-
.swiper-warp {
|
|
166
|
-
width: 100%;
|
|
167
|
-
height: 100%;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.swiper-slide-component {
|
|
171
|
-
text-align: center;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.swiper-slide img {
|
|
175
|
-
max-width: 100%;
|
|
176
|
-
max-height: 100%;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
.uni-build-up-component {
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.uni-video-component {
|
|
183
|
-
position: relative;
|
|
184
|
-
text-align: center;
|
|
185
|
-
}
|
|
186
|
-
.play-pause-button {
|
|
187
|
-
position: absolute;
|
|
188
|
-
top: 50%;
|
|
189
|
-
left: 50%;
|
|
190
|
-
transform: translate(-50%, -50%);
|
|
191
|
-
cursor: pointer;
|
|
192
|
-
font-size: 2rem;
|
|
193
|
-
color: #fff;
|
|
194
|
-
background: rgba(0, 0, 0, 0.6);
|
|
195
|
-
border-radius: 50%;
|
|
196
|
-
padding: 10px;
|
|
197
|
-
transition: background 0.3s;
|
|
198
|
-
}
|
|
199
|
-
.play-pause-button:hover {
|
|
200
|
-
background: rgba(0, 0, 0, 0.8);
|
|
201
|
-
}
|
|
202
202
|
/**
|
|
203
203
|
* Swiper 6.8.4
|
|
204
204
|
* Most modern mobile touch slider and framework with hardware accelerated transitions
|
|
@@ -13048,7 +13048,7 @@ var script$g = defineComponent({
|
|
|
13048
13048
|
if (len === 0)
|
|
13049
13049
|
return;
|
|
13050
13050
|
let animIdx = 0;
|
|
13051
|
-
component.props || {};
|
|
13051
|
+
const oldStyle = component.props || {};
|
|
13052
13052
|
const runAnimation = () => {
|
|
13053
13053
|
if (animIdx < len) {
|
|
13054
13054
|
const animation = animationQueue[animIdx];
|
|
@@ -13061,15 +13061,16 @@ var script$g = defineComponent({
|
|
|
13061
13061
|
};
|
|
13062
13062
|
const element = componentRefs.value.get('component-' + component.id);
|
|
13063
13063
|
if (element) {
|
|
13064
|
-
|
|
13065
|
-
element.style.cssText = getComputedCSSText({ ...animationStyle, width: '100%', height: '100%' });
|
|
13064
|
+
element.style.cssText = getComputedCSSText(animationStyle) + getComputedCSSText(oldStyle);
|
|
13065
|
+
// element.style.cssText = getComputedCSSText({ ...animationStyle, width: '100%', height: '100%' });
|
|
13066
13066
|
animIdx++;
|
|
13067
13067
|
}
|
|
13068
13068
|
}
|
|
13069
13069
|
else {
|
|
13070
13070
|
const element = componentRefs.value.get('component-' + component.id);
|
|
13071
13071
|
if (element) {
|
|
13072
|
-
element.style.cssText = getComputedCSSText({ width: '100%', height: '100%' });
|
|
13072
|
+
// element.style.cssText = getComputedCSSText({ width: '100%', height: '100%' });
|
|
13073
|
+
element.style.cssText = getComputedCSSText(oldStyle);
|
|
13073
13074
|
}
|
|
13074
13075
|
}
|
|
13075
13076
|
};
|
|
@@ -13055,7 +13055,7 @@
|
|
|
13055
13055
|
if (len === 0)
|
|
13056
13056
|
return;
|
|
13057
13057
|
let animIdx = 0;
|
|
13058
|
-
component.props || {};
|
|
13058
|
+
const oldStyle = component.props || {};
|
|
13059
13059
|
const runAnimation = () => {
|
|
13060
13060
|
if (animIdx < len) {
|
|
13061
13061
|
const animation = animationQueue[animIdx];
|
|
@@ -13068,15 +13068,16 @@
|
|
|
13068
13068
|
};
|
|
13069
13069
|
const element = componentRefs.value.get('component-' + component.id);
|
|
13070
13070
|
if (element) {
|
|
13071
|
-
|
|
13072
|
-
element.style.cssText = getComputedCSSText({ ...animationStyle, width: '100%', height: '100%' });
|
|
13071
|
+
element.style.cssText = getComputedCSSText(animationStyle) + getComputedCSSText(oldStyle);
|
|
13072
|
+
// element.style.cssText = getComputedCSSText({ ...animationStyle, width: '100%', height: '100%' });
|
|
13073
13073
|
animIdx++;
|
|
13074
13074
|
}
|
|
13075
13075
|
}
|
|
13076
13076
|
else {
|
|
13077
13077
|
const element = componentRefs.value.get('component-' + component.id);
|
|
13078
13078
|
if (element) {
|
|
13079
|
-
element.style.cssText = getComputedCSSText({ width: '100%', height: '100%' });
|
|
13079
|
+
// element.style.cssText = getComputedCSSText({ width: '100%', height: '100%' });
|
|
13080
|
+
element.style.cssText = getComputedCSSText(oldStyle);
|
|
13080
13081
|
}
|
|
13081
13082
|
}
|
|
13082
13083
|
};
|