unika-components 1.0.311 → 1.0.312

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,23 @@
1
+
2
+ .uni-image-component {
3
+ max-width: 100%;
4
+ }
5
+ .uni-image-mask-wrapper {
6
+ display: inline-block;
7
+ }
8
+
9
+ h2.uni-text-component, p.uni-text-component {
10
+ margin-top: 0;
11
+ margin-bottom: 0;
12
+ }
13
+ button.uni-text-component {
14
+ padding: 5px 10px;
15
+ cursor: pointer;
16
+ }
17
+ .uni-text-component {
18
+ box-sizing: border-box;
19
+ white-space: pre-wrap;
20
+ }
1
21
 
2
22
  .uni-video-component {
3
23
  position: relative;
@@ -32,19 +52,6 @@
32
52
  color: #666
33
53
  }
34
54
 
35
- h2.uni-text-component, p.uni-text-component {
36
- margin-top: 0;
37
- margin-bottom: 0;
38
- }
39
- button.uni-text-component {
40
- padding: 5px 10px;
41
- cursor: pointer;
42
- }
43
- .uni-text-component {
44
- box-sizing: border-box;
45
- white-space: pre-wrap;
46
- }
47
-
48
55
  .slide-guide {
49
56
  position: absolute;
50
57
  bottom: 90px;
@@ -128,21 +135,28 @@ body, html {
128
135
  .edit-wrapper .uni-lotties-component, .edit-wrapper .uni-like-component, .edit-wrapper .uni-background-component, .edit-wrapper .uni-svg-component, .edit-wrapper .uni-register-form-component{
129
136
  position: static !important;
130
137
  }
131
-
132
- .uni-image-component {
133
- max-width: 100%;
134
- }
135
- .uni-image-mask-wrapper {
136
- display: inline-block;
137
- }
138
138
 
139
- .effect {
140
- width: 100%;
141
- height: 100%;
139
+ .like-button {
140
+ display: flex;
141
+ flex-direction: column;
142
+ align-items: center;
143
+ cursor: pointer;
142
144
  }
143
145
 
144
- .uni-build-up-component {
145
- }
146
+ .icon-heart {
147
+ font-size: 24px;
148
+ color: #e74c3c;
149
+ }
150
+
151
+ .liked {
152
+ color: #f00; /* 更改颜色以示已赞 */
153
+ }
154
+
155
+ .like-count {
156
+ margin-top: 4px;
157
+ font-size: 16px;
158
+ color: #333;
159
+ }
146
160
 
147
161
  .ant-input-number {
148
162
  box-sizing: border-box;
@@ -179,31 +193,10 @@ body, html {
179
193
  vertical-align: top;
180
194
  }
181
195
 
182
- .like-button {
183
- display: flex;
184
- flex-direction: column;
185
- align-items: center;
186
- cursor: pointer;
187
- }
188
-
189
- .icon-heart {
190
- font-size: 24px;
191
- color: #e74c3c;
192
- }
193
-
194
- .liked {
195
- color: #f00; /* 更改颜色以示已赞 */
196
- }
197
-
198
- .like-count {
199
- margin-top: 4px;
200
- font-size: 16px;
201
- color: #333;
196
+ .effect {
197
+ width: 100%;
198
+ height: 100%;
202
199
  }
203
-
204
- .uni-svg-component {
205
- display: inline-block;
206
- }
207
200
 
208
201
  .uni-lotties-component {
209
202
  width: 100%;
@@ -223,6 +216,13 @@ body, html {
223
216
  max-width: 100%;
224
217
  max-height: 100%;
225
218
  }
219
+
220
+ .uni-build-up-component {
221
+ }
222
+
223
+ .uni-svg-component {
224
+ display: inline-block;
225
+ }
226
226
  /**
227
227
  * Swiper 6.8.4
228
228
  * Most modern mobile touch slider and framework with hardware accelerated transitions
@@ -13388,7 +13388,7 @@ var script$h = defineComponent({
13388
13388
  upArrow.value = true;
13389
13389
  }
13390
13390
  swiperAnimate(swiper);
13391
- currentPage.value = currentIndex;
13391
+ currentPage.value = currentIndex - 1;
13392
13392
  sendPageInfo();
13393
13393
  };
13394
13394
  const slideChangeTransitionEnd = (e) => {
@@ -13395,7 +13395,7 @@
13395
13395
  upArrow.value = true;
13396
13396
  }
13397
13397
  swiperAnimate(swiper);
13398
- currentPage.value = currentIndex;
13398
+ currentPage.value = currentIndex - 1;
13399
13399
  sendPageInfo();
13400
13400
  };
13401
13401
  const slideChangeTransitionEnd = (e) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unika-components",
3
- "version": "1.0.311",
3
+ "version": "1.0.312",
4
4
  "private": false,
5
5
  "main": "dist/unika-components.umd.js",
6
6
  "module": "dist/unika-components.esm.js",