unika-components 1.0.197 → 1.0.198

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.
@@ -23,6 +23,18 @@
23
23
  .play-pause-button:hover {
24
24
  background: rgba(0, 0, 0, 0.8);
25
25
  }
26
+
27
+
28
+ .uni-calendar-component {
29
+
30
+ }
31
+ .slot-number {
32
+ position: absolute;
33
+ bottom: 2px;
34
+ left: 7px;
35
+ font-size: 12px;
36
+ color: #666
37
+ }
26
38
 
27
39
  h2.uni-text-component, p.uni-text-component {
28
40
  margin-bottom: 0;
@@ -35,6 +47,28 @@ button.uni-text-component {
35
47
  box-sizing: border-box;
36
48
  white-space: pre-wrap;
37
49
  }
50
+
51
+ .like-button {
52
+ display: flex;
53
+ flex-direction: column;
54
+ align-items: center;
55
+ cursor: pointer;
56
+ }
57
+
58
+ .icon-heart {
59
+ font-size: 24px;
60
+ color: #e74c3c;
61
+ }
62
+
63
+ .liked {
64
+ color: #f00; /* 更改颜色以示已赞 */
65
+ }
66
+
67
+ .like-count {
68
+ margin-top: 4px;
69
+ font-size: 16px;
70
+ color: #333;
71
+ }
38
72
 
39
73
  .slide-guide {
40
74
  position: absolute;
@@ -109,43 +143,6 @@ body, html {
109
143
  }
110
144
  }
111
145
 
112
-
113
- .uni-calendar-component {
114
-
115
- }
116
- .slot-number {
117
- position: absolute;
118
- bottom: 2px;
119
- left: 7px;
120
- font-size: 12px;
121
- color: #666
122
- }
123
-
124
- .uni-build-up-component {
125
- }
126
-
127
- .like-button {
128
- display: flex;
129
- flex-direction: column;
130
- align-items: center;
131
- cursor: pointer;
132
- }
133
-
134
- .icon-heart {
135
- font-size: 24px;
136
- color: #e74c3c;
137
- }
138
-
139
- .liked {
140
- color: #f00; /* 更改颜色以示已赞 */
141
- }
142
-
143
- .like-count {
144
- margin-top: 4px;
145
- font-size: 16px;
146
- color: #333;
147
- }
148
-
149
146
  .ant-input-number {
150
147
  box-sizing: border-box;
151
148
  margin: 0;
@@ -199,6 +196,9 @@ body, html {
199
196
  width: 100%;
200
197
  height: 100%;
201
198
  }
199
+
200
+ .uni-build-up-component {
201
+ }
202
202
 
203
203
  .uni-svg-component {
204
204
  display: inline-block;
@@ -13069,8 +13069,8 @@ var script$h = defineComponent({
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%' });
13073
- // element.style.cssText = getComputedCSSText(oldStyle);
13072
+ // element.style.cssText = getComputedCSSText({ width: '100%', height: '100%' });
13073
+ element.style.cssText = getComputedCSSText({ ...oldStyle, position: oldStyle.position === 'absolute' ? 'static' : oldStyle.position });
13074
13074
  }
13075
13075
  }
13076
13076
  };
@@ -13076,8 +13076,8 @@
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%' });
13080
- // element.style.cssText = getComputedCSSText(oldStyle);
13079
+ // element.style.cssText = getComputedCSSText({ width: '100%', height: '100%' });
13080
+ element.style.cssText = getComputedCSSText({ ...oldStyle, position: oldStyle.position === 'absolute' ? 'static' : oldStyle.position });
13081
13081
  }
13082
13082
  }
13083
13083
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unika-components",
3
- "version": "1.0.197",
3
+ "version": "1.0.198",
4
4
  "private": false,
5
5
  "main": "dist/unika-components.umd.js",
6
6
  "module": "dist/unika-components.esm.js",