unika-components 1.0.247 → 1.0.248
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.
|
@@ -5,27 +5,6 @@
|
|
|
5
5
|
.uni-image-mask-wrapper {
|
|
6
6
|
display: inline-block;
|
|
7
7
|
}
|
|
8
|
-
|
|
9
|
-
.uni-video-component {
|
|
10
|
-
position: relative;
|
|
11
|
-
text-align: center;
|
|
12
|
-
}
|
|
13
|
-
.play-pause-button {
|
|
14
|
-
position: absolute;
|
|
15
|
-
top: 50%;
|
|
16
|
-
left: 50%;
|
|
17
|
-
transform: translate(-50%, -50%);
|
|
18
|
-
cursor: pointer;
|
|
19
|
-
font-size: 2rem;
|
|
20
|
-
color: #fff;
|
|
21
|
-
background: rgba(0, 0, 0, 0.6);
|
|
22
|
-
border-radius: 50%;
|
|
23
|
-
padding: 10px;
|
|
24
|
-
transition: background 0.3s;
|
|
25
|
-
}
|
|
26
|
-
.play-pause-button:hover {
|
|
27
|
-
background: rgba(0, 0, 0, 0.8);
|
|
28
|
-
}
|
|
29
8
|
|
|
30
9
|
h2.uni-text-component, p.uni-text-component {
|
|
31
10
|
margin-bottom: 0;
|
|
@@ -112,27 +91,26 @@ body, html {
|
|
|
112
91
|
}
|
|
113
92
|
}
|
|
114
93
|
|
|
115
|
-
.
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
.
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
}
|
|
94
|
+
.uni-video-component {
|
|
95
|
+
position: relative;
|
|
96
|
+
text-align: center;
|
|
97
|
+
}
|
|
98
|
+
.play-pause-button {
|
|
99
|
+
position: absolute;
|
|
100
|
+
top: 50%;
|
|
101
|
+
left: 50%;
|
|
102
|
+
transform: translate(-50%, -50%);
|
|
103
|
+
cursor: pointer;
|
|
104
|
+
font-size: 2rem;
|
|
105
|
+
color: #fff;
|
|
106
|
+
background: rgba(0, 0, 0, 0.6);
|
|
107
|
+
border-radius: 50%;
|
|
108
|
+
padding: 10px;
|
|
109
|
+
transition: background 0.3s;
|
|
110
|
+
}
|
|
111
|
+
.play-pause-button:hover {
|
|
112
|
+
background: rgba(0, 0, 0, 0.8);
|
|
113
|
+
}
|
|
136
114
|
|
|
137
115
|
|
|
138
116
|
.uni-calendar-component {
|
|
@@ -146,20 +124,11 @@ body, html {
|
|
|
146
124
|
color: #666
|
|
147
125
|
}
|
|
148
126
|
|
|
149
|
-
.
|
|
127
|
+
.effect {
|
|
150
128
|
width: 100%;
|
|
151
129
|
height: 100%;
|
|
152
130
|
}
|
|
153
131
|
|
|
154
|
-
.swiper-slide-component {
|
|
155
|
-
text-align: center;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.swiper-slide img {
|
|
159
|
-
max-width: 100%;
|
|
160
|
-
max-height: 100%;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
132
|
.ant-input-number {
|
|
164
133
|
box-sizing: border-box;
|
|
165
134
|
margin: 0;
|
|
@@ -195,13 +164,44 @@ body, html {
|
|
|
195
164
|
vertical-align: top;
|
|
196
165
|
}
|
|
197
166
|
|
|
167
|
+
.like-button {
|
|
168
|
+
display: flex;
|
|
169
|
+
flex-direction: column;
|
|
170
|
+
align-items: center;
|
|
171
|
+
cursor: pointer;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.icon-heart {
|
|
175
|
+
font-size: 24px;
|
|
176
|
+
color: #e74c3c;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.liked {
|
|
180
|
+
color: #f00; /* 更改颜色以示已赞 */
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.like-count {
|
|
184
|
+
margin-top: 4px;
|
|
185
|
+
font-size: 16px;
|
|
186
|
+
color: #333;
|
|
187
|
+
}
|
|
188
|
+
|
|
198
189
|
.uni-build-up-component {
|
|
199
190
|
}
|
|
200
191
|
|
|
201
|
-
.
|
|
192
|
+
.swiper-warp {
|
|
202
193
|
width: 100%;
|
|
203
194
|
height: 100%;
|
|
204
195
|
}
|
|
196
|
+
|
|
197
|
+
.swiper-slide-component {
|
|
198
|
+
text-align: center;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.swiper-slide img {
|
|
202
|
+
max-width: 100%;
|
|
203
|
+
max-height: 100%;
|
|
204
|
+
}
|
|
205
205
|
|
|
206
206
|
.uni-svg-component {
|
|
207
207
|
display: inline-block;
|
|
@@ -5443,15 +5443,19 @@ const _hoisted_1$b = ["src"];
|
|
|
5443
5443
|
|
|
5444
5444
|
function render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5445
5445
|
return (openBlock(), createElementBlock("div", {
|
|
5446
|
-
style: normalizeStyle$1(
|
|
5446
|
+
style: normalizeStyle$1(_ctx.styleProps),
|
|
5447
5447
|
class: "uni-image-mask-wrapper uni-image-component inner-component",
|
|
5448
5448
|
draggable: false,
|
|
5449
5449
|
onClick: _cache[0] || (_cache[0] = withModifiers((...args) => (_ctx.handleClick && _ctx.handleClick(...args)), ["prevent"]))
|
|
5450
5450
|
}, [
|
|
5451
|
-
createElementVNode("
|
|
5452
|
-
|
|
5453
|
-
|
|
5454
|
-
|
|
5451
|
+
createElementVNode("div", {
|
|
5452
|
+
style: normalizeStyle$1({ ..._ctx.maskStyle, width: '100%', height: '100%' })
|
|
5453
|
+
}, [
|
|
5454
|
+
createElementVNode("img", {
|
|
5455
|
+
src: _ctx.imageSrc,
|
|
5456
|
+
style: {"width":"100%","height":"100%"}
|
|
5457
|
+
}, null, 8 /* PROPS */, _hoisted_1$b)
|
|
5458
|
+
], 4 /* STYLE */)
|
|
5455
5459
|
], 4 /* STYLE */))
|
|
5456
5460
|
}
|
|
5457
5461
|
|
|
@@ -5450,15 +5450,19 @@
|
|
|
5450
5450
|
|
|
5451
5451
|
function render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5452
5452
|
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
5453
|
-
style: vue.normalizeStyle(
|
|
5453
|
+
style: vue.normalizeStyle(_ctx.styleProps),
|
|
5454
5454
|
class: "uni-image-mask-wrapper uni-image-component inner-component",
|
|
5455
5455
|
draggable: false,
|
|
5456
5456
|
onClick: _cache[0] || (_cache[0] = vue.withModifiers((...args) => (_ctx.handleClick && _ctx.handleClick(...args)), ["prevent"]))
|
|
5457
5457
|
}, [
|
|
5458
|
-
vue.createElementVNode("
|
|
5459
|
-
|
|
5460
|
-
|
|
5461
|
-
|
|
5458
|
+
vue.createElementVNode("div", {
|
|
5459
|
+
style: vue.normalizeStyle({ ..._ctx.maskStyle, width: '100%', height: '100%' })
|
|
5460
|
+
}, [
|
|
5461
|
+
vue.createElementVNode("img", {
|
|
5462
|
+
src: _ctx.imageSrc,
|
|
5463
|
+
style: {"width":"100%","height":"100%"}
|
|
5464
|
+
}, null, 8 /* PROPS */, _hoisted_1$b)
|
|
5465
|
+
], 4 /* STYLE */)
|
|
5462
5466
|
], 4 /* STYLE */))
|
|
5463
5467
|
}
|
|
5464
5468
|
|