unika-components 1.0.270 → 1.0.271

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,11 @@
1
1
 
2
+ .uni-image-component {
3
+ max-width: 100%;
4
+ }
5
+ .uni-image-mask-wrapper {
6
+ display: inline-block;
7
+ }
8
+
2
9
  h2.uni-text-component, p.uni-text-component {
3
10
  margin-bottom: 0;
4
11
  }
@@ -11,25 +18,6 @@ button.uni-text-component {
11
18
  white-space: pre-wrap;
12
19
  }
13
20
 
14
- .uni-image-component {
15
- max-width: 100%;
16
- }
17
- .uni-image-mask-wrapper {
18
- display: inline-block;
19
- }
20
-
21
-
22
- .uni-calendar-component {
23
-
24
- }
25
- .slot-number {
26
- position: absolute;
27
- bottom: 2px;
28
- left: 7px;
29
- font-size: 12px;
30
- color: #666
31
- }
32
-
33
21
  .slide-guide {
34
22
  position: absolute;
35
23
  bottom: 90px;
@@ -114,26 +102,21 @@ body, html {
114
102
  position: static !important;
115
103
  }
116
104
 
117
- .like-button {
118
- display: flex;
119
- flex-direction: column;
120
- align-items: center;
121
- cursor: pointer;
122
- }
123
105
 
124
- .icon-heart {
125
- font-size: 24px;
126
- color: #e74c3c;
127
- }
106
+ .uni-calendar-component {
128
107
 
129
- .liked {
130
- color: #f00; /* 更改颜色以示已赞 */
108
+ }
109
+ .slot-number {
110
+ position: absolute;
111
+ bottom: 2px;
112
+ left: 7px;
113
+ font-size: 12px;
114
+ color: #666
131
115
  }
132
116
 
133
- .like-count {
134
- margin-top: 4px;
135
- font-size: 16px;
136
- color: #333;
117
+ .effect {
118
+ width: 100%;
119
+ height: 100%;
137
120
  }
138
121
 
139
122
  .uni-video-component {
@@ -192,16 +175,6 @@ body, html {
192
175
  vertical-align: top;
193
176
  }
194
177
 
195
- .uni-lotties-component {
196
- width: 100%;
197
- height: 100%;
198
- }
199
-
200
- .effect {
201
- width: 100%;
202
- height: 100%;
203
- }
204
-
205
178
  .swiper-warp {
206
179
  width: 100%;
207
180
  height: 100%;
@@ -216,6 +189,33 @@ body, html {
216
189
  max-height: 100%;
217
190
  }
218
191
 
192
+ .like-button {
193
+ display: flex;
194
+ flex-direction: column;
195
+ align-items: center;
196
+ cursor: pointer;
197
+ }
198
+
199
+ .icon-heart {
200
+ font-size: 24px;
201
+ color: #e74c3c;
202
+ }
203
+
204
+ .liked {
205
+ color: #f00; /* 更改颜色以示已赞 */
206
+ }
207
+
208
+ .like-count {
209
+ margin-top: 4px;
210
+ font-size: 16px;
211
+ color: #333;
212
+ }
213
+
214
+ .uni-lotties-component {
215
+ width: 100%;
216
+ height: 100%;
217
+ }
218
+
219
219
  .uni-build-up-component {
220
220
  }
221
221
 
@@ -13117,9 +13117,6 @@ var script$h = defineComponent({
13117
13117
  position: 'absolute', // 确保动画期间元素使用绝对布局
13118
13118
  };
13119
13119
  const element = componentRefs.value.get('component-' + component.id);
13120
- if (animIdx) {
13121
- element.classList.remove('static-transform');
13122
- }
13123
13120
  if (element) {
13124
13121
  // const innerElement = element.querySelector('.inner-component');
13125
13122
  // if (innerElement) {
@@ -13131,11 +13128,11 @@ var script$h = defineComponent({
13131
13128
  }
13132
13129
  else {
13133
13130
  const element = componentRefs.value.get('component-' + component.id);
13134
- element.classList.add('static-transform');
13131
+ // element.classList.add('static-transform');
13135
13132
  if (element) {
13136
13133
  // const innerElement = element.querySelector('.inner-component');
13137
13134
  // if (innerElement) {
13138
- element.style.cssText = getComputedCSSText(filterProps(oldStyle, ['position', 'top', 'left', 'width', 'height', 'transform'], true));
13135
+ element.style.cssText = getComputedCSSText(filterProps(oldStyle, ['position', 'top', 'left', 'width', 'height'], true));
13139
13136
  }
13140
13137
  // }
13141
13138
  }
@@ -13124,9 +13124,6 @@
13124
13124
  position: 'absolute', // 确保动画期间元素使用绝对布局
13125
13125
  };
13126
13126
  const element = componentRefs.value.get('component-' + component.id);
13127
- if (animIdx) {
13128
- element.classList.remove('static-transform');
13129
- }
13130
13127
  if (element) {
13131
13128
  // const innerElement = element.querySelector('.inner-component');
13132
13129
  // if (innerElement) {
@@ -13138,11 +13135,11 @@
13138
13135
  }
13139
13136
  else {
13140
13137
  const element = componentRefs.value.get('component-' + component.id);
13141
- element.classList.add('static-transform');
13138
+ // element.classList.add('static-transform');
13142
13139
  if (element) {
13143
13140
  // const innerElement = element.querySelector('.inner-component');
13144
13141
  // if (innerElement) {
13145
- element.style.cssText = getComputedCSSText(filterProps(oldStyle, ['position', 'top', 'left', 'width', 'height', 'transform'], true));
13142
+ element.style.cssText = getComputedCSSText(filterProps(oldStyle, ['position', 'top', 'left', 'width', 'height'], true));
13146
13143
  }
13147
13144
  // }
13148
13145
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unika-components",
3
- "version": "1.0.270",
3
+ "version": "1.0.271",
4
4
  "private": false,
5
5
  "main": "dist/unika-components.umd.js",
6
6
  "module": "dist/unika-components.esm.js",