unika-components 1.0.301 → 1.0.302
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,4 +1,38 @@
|
|
|
1
1
|
|
|
2
|
+
h2.uni-text-component, p.uni-text-component {
|
|
3
|
+
margin-top: 0;
|
|
4
|
+
margin-bottom: 0;
|
|
5
|
+
}
|
|
6
|
+
button.uni-text-component {
|
|
7
|
+
padding: 5px 10px;
|
|
8
|
+
cursor: pointer;
|
|
9
|
+
}
|
|
10
|
+
.uni-text-component {
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
white-space: pre-wrap;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.uni-video-component {
|
|
16
|
+
position: relative;
|
|
17
|
+
text-align: center;
|
|
18
|
+
}
|
|
19
|
+
.play-pause-button {
|
|
20
|
+
position: absolute;
|
|
21
|
+
top: 50%;
|
|
22
|
+
left: 50%;
|
|
23
|
+
transform: translate(-50%, -50%);
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
font-size: 2rem;
|
|
26
|
+
color: #fff;
|
|
27
|
+
background: rgba(0, 0, 0, 0.6);
|
|
28
|
+
border-radius: 50%;
|
|
29
|
+
padding: 10px;
|
|
30
|
+
transition: background 0.3s;
|
|
31
|
+
}
|
|
32
|
+
.play-pause-button:hover {
|
|
33
|
+
background: rgba(0, 0, 0, 0.8);
|
|
34
|
+
}
|
|
35
|
+
|
|
2
36
|
.slide-guide {
|
|
3
37
|
position: absolute;
|
|
4
38
|
bottom: 90px;
|
|
@@ -89,40 +123,6 @@ body, html {
|
|
|
89
123
|
.uni-image-mask-wrapper {
|
|
90
124
|
display: inline-block;
|
|
91
125
|
}
|
|
92
|
-
|
|
93
|
-
h2.uni-text-component, p.uni-text-component {
|
|
94
|
-
margin-top: 0;
|
|
95
|
-
margin-bottom: 0;
|
|
96
|
-
}
|
|
97
|
-
button.uni-text-component {
|
|
98
|
-
padding: 5px 10px;
|
|
99
|
-
cursor: pointer;
|
|
100
|
-
}
|
|
101
|
-
.uni-text-component {
|
|
102
|
-
box-sizing: border-box;
|
|
103
|
-
white-space: pre-wrap;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.uni-video-component {
|
|
107
|
-
position: relative;
|
|
108
|
-
text-align: center;
|
|
109
|
-
}
|
|
110
|
-
.play-pause-button {
|
|
111
|
-
position: absolute;
|
|
112
|
-
top: 50%;
|
|
113
|
-
left: 50%;
|
|
114
|
-
transform: translate(-50%, -50%);
|
|
115
|
-
cursor: pointer;
|
|
116
|
-
font-size: 2rem;
|
|
117
|
-
color: #fff;
|
|
118
|
-
background: rgba(0, 0, 0, 0.6);
|
|
119
|
-
border-radius: 50%;
|
|
120
|
-
padding: 10px;
|
|
121
|
-
transition: background 0.3s;
|
|
122
|
-
}
|
|
123
|
-
.play-pause-button:hover {
|
|
124
|
-
background: rgba(0, 0, 0, 0.8);
|
|
125
|
-
}
|
|
126
126
|
|
|
127
127
|
|
|
128
128
|
.uni-calendar-component {
|
|
@@ -136,18 +136,39 @@ button.uni-text-component {
|
|
|
136
136
|
color: #666
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
.
|
|
139
|
+
.ant-input-number {
|
|
140
|
+
box-sizing: border-box;
|
|
141
|
+
margin: 0;
|
|
142
|
+
padding: 0;
|
|
143
|
+
color: rgba(0, 0, 0, 0.88);
|
|
144
|
+
font-size: 14px;
|
|
145
|
+
line-height: 1.5714285714285714;
|
|
146
|
+
list-style: none;
|
|
147
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
|
148
|
+
position: relative;
|
|
149
|
+
display: inline-block;
|
|
140
150
|
width: 100%;
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
151
|
+
min-width: 0;
|
|
152
|
+
background-color: #ffffff;
|
|
153
|
+
background-image: none;
|
|
154
|
+
border-width: 1px;
|
|
155
|
+
border-style: solid;
|
|
156
|
+
border-color: #d9d9d9;
|
|
157
|
+
border-radius: 6px;
|
|
158
|
+
transition: all 0.2s;
|
|
159
|
+
border: 1px solid #d9d9d9;
|
|
146
160
|
}
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
161
|
+
.ant-form-item {
|
|
162
|
+
box-sizing: border-box;
|
|
163
|
+
margin: 0;
|
|
164
|
+
padding: 0;
|
|
165
|
+
color: rgba(0, 0, 0, 0.88);
|
|
166
|
+
font-size: 14px;
|
|
167
|
+
line-height: 1.5714285714285714;
|
|
168
|
+
list-style: none;
|
|
169
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
|
170
|
+
margin-bottom: 0px;
|
|
171
|
+
vertical-align: top;
|
|
151
172
|
}
|
|
152
173
|
|
|
153
174
|
.like-button {
|
|
@@ -172,49 +193,28 @@ button.uni-text-component {
|
|
|
172
193
|
color: #333;
|
|
173
194
|
}
|
|
174
195
|
|
|
175
|
-
.
|
|
196
|
+
.uni-lotties-component {
|
|
176
197
|
width: 100%;
|
|
177
198
|
height: 100%;
|
|
178
199
|
}
|
|
179
200
|
|
|
180
|
-
.
|
|
201
|
+
.swiper-warp {
|
|
181
202
|
width: 100%;
|
|
182
203
|
height: 100%;
|
|
183
204
|
}
|
|
184
205
|
|
|
185
|
-
.
|
|
186
|
-
|
|
187
|
-
margin: 0;
|
|
188
|
-
padding: 0;
|
|
189
|
-
color: rgba(0, 0, 0, 0.88);
|
|
190
|
-
font-size: 14px;
|
|
191
|
-
line-height: 1.5714285714285714;
|
|
192
|
-
list-style: none;
|
|
193
|
-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
|
194
|
-
position: relative;
|
|
195
|
-
display: inline-block;
|
|
196
|
-
width: 100%;
|
|
197
|
-
min-width: 0;
|
|
198
|
-
background-color: #ffffff;
|
|
199
|
-
background-image: none;
|
|
200
|
-
border-width: 1px;
|
|
201
|
-
border-style: solid;
|
|
202
|
-
border-color: #d9d9d9;
|
|
203
|
-
border-radius: 6px;
|
|
204
|
-
transition: all 0.2s;
|
|
205
|
-
border: 1px solid #d9d9d9;
|
|
206
|
+
.swiper-slide-component {
|
|
207
|
+
text-align: center;
|
|
206
208
|
}
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
margin-bottom: 0px;
|
|
217
|
-
vertical-align: top;
|
|
209
|
+
|
|
210
|
+
.swiper-slide img {
|
|
211
|
+
max-width: 100%;
|
|
212
|
+
max-height: 100%;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.effect {
|
|
216
|
+
width: 100%;
|
|
217
|
+
height: 100%;
|
|
218
218
|
}
|
|
219
219
|
|
|
220
220
|
.uni-build-up-component {
|
|
@@ -13405,7 +13405,7 @@ var script$h = defineComponent({
|
|
|
13405
13405
|
};
|
|
13406
13406
|
// 切换页码函数
|
|
13407
13407
|
const switchPage = (index) => {
|
|
13408
|
-
controlledSwiper.value
|
|
13408
|
+
controlledSwiper.value && controlledSwiper.value.slideTo(index, 500);
|
|
13409
13409
|
};
|
|
13410
13410
|
const currentPage = ref(1);
|
|
13411
13411
|
const totalPages = ref(props.work?.pages.length || 1); // 假设总页数为10
|
|
@@ -13412,7 +13412,7 @@
|
|
|
13412
13412
|
};
|
|
13413
13413
|
// 切换页码函数
|
|
13414
13414
|
const switchPage = (index) => {
|
|
13415
|
-
controlledSwiper.value
|
|
13415
|
+
controlledSwiper.value && controlledSwiper.value.slideTo(index, 500);
|
|
13416
13416
|
};
|
|
13417
13417
|
const currentPage = vue.ref(1);
|
|
13418
13418
|
const totalPages = vue.ref(props.work?.pages.length || 1); // 假设总页数为10
|