unika-components 1.0.175 → 1.0.177

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.
@@ -2,18 +2,6 @@
2
2
  .uni-image-component {
3
3
  max-width: 100%;
4
4
  }
5
-
6
- h2.uni-text-component, p.uni-text-component {
7
- margin-bottom: 0;
8
- }
9
- button.uni-text-component {
10
- padding: 5px 10px;
11
- cursor: pointer;
12
- }
13
- .uni-text-component {
14
- box-sizing: border-box;
15
- white-space: pre-wrap;
16
- }
17
5
 
18
6
  .uni-video-component {
19
7
  position: relative;
@@ -47,68 +35,18 @@ button.uni-text-component {
47
35
  font-size: 12px;
48
36
  color: #666
49
37
  }
50
-
51
- .ant-input-number {
52
- box-sizing: border-box;
53
- margin: 0;
54
- padding: 0;
55
- color: rgba(0, 0, 0, 0.88);
56
- font-size: 14px;
57
- line-height: 1.5714285714285714;
58
- list-style: none;
59
- 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';
60
- position: relative;
61
- display: inline-block;
62
- width: 100%;
63
- min-width: 0;
64
- background-color: #ffffff;
65
- background-image: none;
66
- border-width: 1px;
67
- border-style: solid;
68
- border-color: #d9d9d9;
69
- border-radius: 6px;
70
- transition: all 0.2s;
71
- border: 1px solid #d9d9d9;
72
- }
73
- .ant-form-item {
74
- box-sizing: border-box;
75
- margin: 0;
76
- padding: 0;
77
- color: rgba(0, 0, 0, 0.88);
78
- font-size: 14px;
79
- line-height: 1.5714285714285714;
80
- list-style: none;
81
- 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';
82
- margin-bottom: 0px;
83
- vertical-align: top;
84
- }
85
-
86
- .like-button {
87
- display: flex;
88
- flex-direction: column;
89
- align-items: center;
90
- cursor: pointer;
91
- }
92
-
93
- .icon-heart {
94
- font-size: 24px;
95
- color: #e74c3c;
96
- }
97
-
98
- .liked {
99
- color: #f00; /* 更改颜色以示已赞 */
100
- }
101
-
102
- .like-count {
103
- margin-top: 4px;
104
- font-size: 16px;
105
- color: #333;
106
- }
107
-
108
- .effect {
109
- width: 100%;
110
- height: 100%;
111
- }
38
+
39
+ h2.uni-text-component, p.uni-text-component {
40
+ margin-bottom: 0;
41
+ }
42
+ button.uni-text-component {
43
+ padding: 5px 10px;
44
+ cursor: pointer;
45
+ }
46
+ .uni-text-component {
47
+ box-sizing: border-box;
48
+ white-space: pre-wrap;
49
+ }
112
50
 
113
51
  .slide-guide {
114
52
  position: absolute;
@@ -183,6 +121,11 @@ body, html {
183
121
  }
184
122
  }
185
123
 
124
+ .effect {
125
+ width: 100%;
126
+ height: 100%;
127
+ }
128
+
186
129
  .swiper-warp {
187
130
  width: 100%;
188
131
  height: 100%;
@@ -197,6 +140,63 @@ body, html {
197
140
  max-height: 100%;
198
141
  }
199
142
 
143
+ .ant-input-number {
144
+ box-sizing: border-box;
145
+ margin: 0;
146
+ padding: 0;
147
+ color: rgba(0, 0, 0, 0.88);
148
+ font-size: 14px;
149
+ line-height: 1.5714285714285714;
150
+ list-style: none;
151
+ 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';
152
+ position: relative;
153
+ display: inline-block;
154
+ width: 100%;
155
+ min-width: 0;
156
+ background-color: #ffffff;
157
+ background-image: none;
158
+ border-width: 1px;
159
+ border-style: solid;
160
+ border-color: #d9d9d9;
161
+ border-radius: 6px;
162
+ transition: all 0.2s;
163
+ border: 1px solid #d9d9d9;
164
+ }
165
+ .ant-form-item {
166
+ box-sizing: border-box;
167
+ margin: 0;
168
+ padding: 0;
169
+ color: rgba(0, 0, 0, 0.88);
170
+ font-size: 14px;
171
+ line-height: 1.5714285714285714;
172
+ list-style: none;
173
+ 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';
174
+ margin-bottom: 0px;
175
+ vertical-align: top;
176
+ }
177
+
178
+ .like-button {
179
+ display: flex;
180
+ flex-direction: column;
181
+ align-items: center;
182
+ cursor: pointer;
183
+ }
184
+
185
+ .icon-heart {
186
+ font-size: 24px;
187
+ color: #e74c3c;
188
+ }
189
+
190
+ .liked {
191
+ color: #f00; /* 更改颜色以示已赞 */
192
+ }
193
+
194
+ .like-count {
195
+ margin-top: 4px;
196
+ font-size: 16px;
197
+ color: #333;
198
+ }
199
+
200
200
  .uni-build-up-component {
201
201
  }
202
202
  /**
@@ -94367,7 +94367,14 @@ var script = defineComponent({
94367
94367
  svgContent.value = updateSvgColor(svg, props.color, props.width, props.height);
94368
94368
  }
94369
94369
  };
94370
- watch([() => props.svgSrc, () => props.color, () => props.width, () => props.height], loadSvg, { immediate: true });
94370
+ watch(() => props.svgSrc, loadSvg, { immediate: true });
94371
+ // watch(() => props.color, loadSvg)
94372
+ // watch(() => props.width, loadSvg)
94373
+ // watch(() => props.height, loadSvg)
94374
+ // watch(() => props.delay, (newValue, oldValue) => {
94375
+ // delayC.value = newValue
94376
+ // animationLinkC.value= props.animationLink
94377
+ // }, { deep: true })
94371
94378
  return {
94372
94379
  styleProps,
94373
94380
  handleClick,
@@ -94373,7 +94373,14 @@ summary tabindex target title type usemap value width wmode wrap`;
94373
94373
  svgContent.value = updateSvgColor(svg, props.color, props.width, props.height);
94374
94374
  }
94375
94375
  };
94376
- vue.watch([() => props.svgSrc, () => props.color, () => props.width, () => props.height], loadSvg, { immediate: true });
94376
+ vue.watch(() => props.svgSrc, loadSvg, { immediate: true });
94377
+ // watch(() => props.color, loadSvg)
94378
+ // watch(() => props.width, loadSvg)
94379
+ // watch(() => props.height, loadSvg)
94380
+ // watch(() => props.delay, (newValue, oldValue) => {
94381
+ // delayC.value = newValue
94382
+ // animationLinkC.value= props.animationLink
94383
+ // }, { deep: true })
94377
94384
  return {
94378
94385
  styleProps,
94379
94386
  handleClick,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unika-components",
3
- "version": "1.0.175",
3
+ "version": "1.0.177",
4
4
  "private": false,
5
5
  "main": "dist/unika-components.umd.js",
6
6
  "module": "dist/unika-components.esm.js",