@gmcb/uv-ui 0.3.1 → 0.3.3
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.
- package/CHANGELOG.md +308 -291
- package/components/uv-button/props.js +5 -0
- package/components/uv-button/uv-button.vue +12 -3
- package/components/uv-popup/props.js +88 -0
- package/components/uv-popup/uv-popup.vue +13 -84
- package/docs/components/button.md +2 -0
- package/docs/components/popup.md +3 -0
- package/index.js +2 -2
- package/libs/function/http.js +5 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [0.3.
|
|
6
|
+
## [0.3.3](http://10.10.10.16/caoben/front-end/compare/@gmcb/uv-ui@0.3.2...@gmcb/uv-ui@0.3.3) (2026-06-23)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @gmcb/uv-ui
|
|
9
9
|
|
|
@@ -11,7 +11,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
## [0.2
|
|
14
|
+
## [0.3.2](http://10.10.10.16/caoben/front-end/compare/@gmcb/uv-ui@0.3.1...@gmcb/uv-ui@0.3.2) (2026-06-15)
|
|
15
15
|
|
|
16
16
|
**Note:** Version bump only for package @gmcb/uv-ui
|
|
17
17
|
|
|
@@ -19,293 +19,310 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
## [0.2.
|
|
40
|
-
|
|
41
|
-
**Note:** Version bump only for package @gmcb/uv-ui
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
## [0.2.
|
|
57
|
-
|
|
58
|
-
**Note:** Version bump only for package @gmcb/uv-ui
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
## [0.2.
|
|
177
|
-
|
|
178
|
-
**Note:** Version bump only for package @gmcb/uv-ui
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
## [0.2.
|
|
185
|
-
|
|
186
|
-
**Note:** Version bump only for package @gmcb/uv-ui
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
## [0.2.
|
|
194
|
-
|
|
195
|
-
**Note:** Version bump only for package @gmcb/uv-ui
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
## [0.2.
|
|
202
|
-
|
|
203
|
-
**Note:** Version bump only for package @gmcb/uv-ui
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
22
|
+
|
|
23
|
+
## [0.3.1](http://10.10.10.16/caoben/front-end/compare/@gmcb/uv-ui@0.2.27...@gmcb/uv-ui@0.3.1) (2026-05-31)
|
|
24
|
+
|
|
25
|
+
**Note:** Version bump only for package @gmcb/uv-ui
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
## [0.2.27](http://10.10.10.16/caoben/front-end/compare/@gmcb/uv-ui@0.2.26...@gmcb/uv-ui@0.2.27) (2026-01-03)
|
|
32
|
+
|
|
33
|
+
**Note:** Version bump only for package @gmcb/uv-ui
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
## [0.2.26](https://git.keeprisk.cn/gmcb/front-end/compare/@gmcb/uv-ui@0.2.25...@gmcb/uv-ui@0.2.26) (2025-07-25)
|
|
40
|
+
|
|
41
|
+
**Note:** Version bump only for package @gmcb/uv-ui
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
## [0.2.25](https://git.keeprisk.cn/gmcb/front-end/compare/@gmcb/uv-ui@0.2.24...@gmcb/uv-ui@0.2.25) (2025-07-22)
|
|
48
|
+
|
|
49
|
+
**Note:** Version bump only for package @gmcb/uv-ui
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
## [0.2.24](https://git.keeprisk.cn/gmcb/front-end/compare/@gmcb/uv-ui@0.2.23...@gmcb/uv-ui@0.2.24) (2025-07-06)
|
|
57
|
+
|
|
58
|
+
**Note:** Version bump only for package @gmcb/uv-ui
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
## [0.2.23](https://git.keeprisk.cn/gmcb/front-end/compare/@gmcb/uv-ui@0.2.22...@gmcb/uv-ui@0.2.23) (2025-07-02)
|
|
66
|
+
|
|
67
|
+
**Note:** Version bump only for package @gmcb/uv-ui
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
## [0.2.22](https://git.keeprisk.cn/gmcb/front-end/compare/@gmcb/uv-ui@0.2.21...@gmcb/uv-ui@0.2.22) (2025-07-02)
|
|
74
|
+
|
|
75
|
+
**Note:** Version bump only for package @gmcb/uv-ui
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
## [0.2.21](https://git.keeprisk.cn/gmcb/front-end/compare/@gmcb/uv-ui@0.2.20...@gmcb/uv-ui@0.2.21) (2025-07-02)
|
|
82
|
+
|
|
83
|
+
**Note:** Version bump only for package @gmcb/uv-ui
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
## [0.2.20](https://git.keeprisk.cn/gmcb/front-end/compare/@gmcb/uv-ui@0.2.19...@gmcb/uv-ui@0.2.20) (2025-07-02)
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
### Bug Fixes
|
|
93
|
+
|
|
94
|
+
* 图片设置百分比不显示问题 ([940f070](https://git.keeprisk.cn/gmcb/front-end/commits/940f0708930e5d5db3a8f0f351d484ee816d26bf))
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
## [0.2.19](https://git.keeprisk.cn/gmcb/front-end/compare/@gmcb/uv-ui@0.2.18...@gmcb/uv-ui@0.2.19) (2025-07-02)
|
|
101
|
+
|
|
102
|
+
**Note:** Version bump only for package @gmcb/uv-ui
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
## [0.2.18](https://git.keeprisk.cn/gmcb/front-end/compare/@gmcb/uv-ui@0.2.17...@gmcb/uv-ui@0.2.18) (2025-06-19)
|
|
109
|
+
|
|
110
|
+
**Note:** Version bump only for package @gmcb/uv-ui
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
## [0.2.17](https://git.keeprisk.cn/gmcb/front-end/compare/@gmcb/uv-ui@0.2.16...@gmcb/uv-ui@0.2.17) (2025-06-18)
|
|
117
|
+
|
|
118
|
+
**Note:** Version bump only for package @gmcb/uv-ui
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
## [0.2.16](https://git.keeprisk.cn/gmcb/front-end/compare/@gmcb/uv-ui@0.2.15...@gmcb/uv-ui@0.2.16) (2025-06-18)
|
|
125
|
+
|
|
126
|
+
**Note:** Version bump only for package @gmcb/uv-ui
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
## [0.2.15](https://git.keeprisk.cn/gmcb/front-end/compare/@gmcb/uv-ui@0.2.14...@gmcb/uv-ui@0.2.15) (2025-06-17)
|
|
133
|
+
|
|
134
|
+
**Note:** Version bump only for package @gmcb/uv-ui
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
## [0.2.14](https://git.keeprisk.cn/gmcb/front-end/compare/@gmcb/uv-ui@0.2.13...@gmcb/uv-ui@0.2.14) (2025-06-16)
|
|
141
|
+
|
|
142
|
+
**Note:** Version bump only for package @gmcb/uv-ui
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
## [0.2.13](https://git.keeprisk.cn/gmcb/front-end/compare/@gmcb/uv-ui@0.2.12...@gmcb/uv-ui@0.2.13) (2025-05-17)
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
### Bug Fixes
|
|
152
|
+
|
|
153
|
+
* uv-input清除后获取内容错误 ([b9bd7cb](https://git.keeprisk.cn/gmcb/front-end/commits/b9bd7cb1b22f0d75a46993987bc46c0aa7f77be8))
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
## [0.2.12](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/uv-ui@0.2.11...@gmcb/uv-ui@0.2.12) (2025-03-31)
|
|
161
|
+
|
|
162
|
+
**Note:** Version bump only for package @gmcb/uv-ui
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
## [0.2.11](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/uv-ui@0.2.10...@gmcb/uv-ui@0.2.11) (2025-03-27)
|
|
169
|
+
|
|
170
|
+
**Note:** Version bump only for package @gmcb/uv-ui
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
## [0.2.10](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/uv-ui@0.2.9...@gmcb/uv-ui@0.2.10) (2025-03-24)
|
|
177
|
+
|
|
178
|
+
**Note:** Version bump only for package @gmcb/uv-ui
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
## [0.2.9](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/uv-ui@0.2.8...@gmcb/uv-ui@0.2.9) (2025-03-23)
|
|
185
|
+
|
|
186
|
+
**Note:** Version bump only for package @gmcb/uv-ui
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
## [0.2.8](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/uv-ui@0.2.7...@gmcb/uv-ui@0.2.8) (2025-03-18)
|
|
194
|
+
|
|
195
|
+
**Note:** Version bump only for package @gmcb/uv-ui
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
## [0.2.7](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/uv-ui@0.2.6...@gmcb/uv-ui@0.2.7) (2025-03-15)
|
|
202
|
+
|
|
203
|
+
**Note:** Version bump only for package @gmcb/uv-ui
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
## [0.2.6](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/uv-ui@0.2.5...@gmcb/uv-ui@0.2.6) (2025-03-14)
|
|
211
|
+
|
|
212
|
+
**Note:** Version bump only for package @gmcb/uv-ui
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
## [0.2.5](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/uv-ui@0.2.4...@gmcb/uv-ui@0.2.5) (2025-03-12)
|
|
219
|
+
|
|
220
|
+
**Note:** Version bump only for package @gmcb/uv-ui
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
## [0.2.4](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/uv-ui@0.2.3...@gmcb/uv-ui@0.2.4) (2025-03-12)
|
|
227
|
+
|
|
228
|
+
**Note:** Version bump only for package @gmcb/uv-ui
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
## [0.2.3](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/uv-ui@0.2.2...@gmcb/uv-ui@0.2.3) (2025-03-12)
|
|
235
|
+
|
|
236
|
+
**Note:** Version bump only for package @gmcb/uv-ui
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
## [0.2.2](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/uv-ui@0.2.1...@gmcb/uv-ui@0.2.2) (2025-03-11)
|
|
243
|
+
|
|
244
|
+
**Note:** Version bump only for package @gmcb/uv-ui
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
## [0.2.1](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/uv-ui@0.2.0...@gmcb/uv-ui@0.2.1) (2025-02-28)
|
|
251
|
+
|
|
252
|
+
**Note:** Version bump only for package @gmcb/uv-ui
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
# [0.2.0](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/uv-ui@0.1.6...@gmcb/uv-ui@0.2.0) (2025-02-27)
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
### Features
|
|
262
|
+
|
|
263
|
+
* gridSwiper组件移除height属性,替换为rowHeight ([0a51738](http://10.10.200.92:8090/gmcb/front-end/commits/0a517384724ce417a2b58770ea6e79bfb943b952))
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
## [0.1.6](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/uv-ui@0.1.5...@gmcb/uv-ui@0.1.6) (2025-01-06)
|
|
270
|
+
|
|
271
|
+
**Note:** Version bump only for package @gmcb/uv-ui
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
## [0.1.5](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/uv-ui@0.1.4...@gmcb/uv-ui@0.1.5) (2025-01-06)
|
|
278
|
+
|
|
279
|
+
**Note:** Version bump only for package @gmcb/uv-ui
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
## [0.1.4](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/uv-ui@0.1.3...@gmcb/uv-ui@0.1.4) (2025-01-06)
|
|
286
|
+
|
|
287
|
+
**Note:** Version bump only for package @gmcb/uv-ui
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
## [0.1.3](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/uv-ui@0.1.2...@gmcb/uv-ui@0.1.3) (2025-01-06)
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
### Bug Fixes
|
|
297
|
+
|
|
298
|
+
* 图片单位设置为rpx导致显示失真 ([7f362ec](http://10.10.200.92:8090/gmcb/front-end/commits/7f362ecef78b63939c1123f03a3698c8d51cd3eb))
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
## [0.1.2](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/uv-ui@0.1.1...@gmcb/uv-ui@0.1.2) (2025-01-06)
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
### Bug Fixes
|
|
308
|
+
|
|
309
|
+
* 百分比导致图片显示异常 ([bd39d34](http://10.10.200.92:8090/gmcb/front-end/commits/bd39d348c46b7bf83b51b2bd544663216b2c6189))
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
## [0.1.1](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/uv-ui@0.1.0...@gmcb/uv-ui@0.1.1) (2025-01-06)
|
|
316
|
+
|
|
317
|
+
**Note:** Version bump only for package @gmcb/uv-ui
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
# 0.1.0 (2025-01-06)
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
### Features
|
|
327
|
+
|
|
311
328
|
* 版本发布 ([4ddc32e](http://10.10.200.92:8090/gmcb/front-end/commits/4ddc32ed091aa69f85d725207adea743181ec9b4))
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
@im="onIm"
|
|
37
37
|
:hover-class="!disabled && !loading && !plain ? 'uv-button--active' : ''"
|
|
38
38
|
class="uv-button uv-reset-button"
|
|
39
|
-
:style="[baseColor, $uv.addStyle(customStyle)]"
|
|
39
|
+
:style="[baseColor, radiusStyle, $uv.addStyle(customStyle)]"
|
|
40
40
|
@tap="clickHandler"
|
|
41
41
|
:class="bemClass"
|
|
42
42
|
>
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
:show-message-card="showMessageCard"
|
|
59
59
|
:hover-class="!disabled && !loading && !plain ? 'uv-button--active' : ''"
|
|
60
60
|
class="uv-button uv-reset-button"
|
|
61
|
-
:style="[baseColor, $uv.addStyle(customStyle)]"
|
|
61
|
+
:style="[baseColor, radiusStyle, $uv.addStyle(customStyle)]"
|
|
62
62
|
@tap="clickHandler"
|
|
63
63
|
:class="bemClass"
|
|
64
64
|
>
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
:hover-class="!disabled && !loading && !plain ? 'uv-button--active' : ''"
|
|
107
107
|
@tap="clickHandler"
|
|
108
108
|
:class="bemClass"
|
|
109
|
-
:style="[baseColor, $uv.addStyle(customStyle)]"
|
|
109
|
+
:style="[baseColor, radiusStyle, $uv.addStyle(customStyle)]"
|
|
110
110
|
>
|
|
111
111
|
<template v-if="loading">
|
|
112
112
|
<uv-loading-icon
|
|
@@ -160,6 +160,7 @@ import props from "./props.js";
|
|
|
160
160
|
* @property {String} type 按钮的预置样式,info,primary,error,warning,success (默认 'info' )
|
|
161
161
|
* @property {String} size 按钮尺寸,large,normal,mini (默认 normal)
|
|
162
162
|
* @property {String} shape 按钮形状,circle(两边为半圆),square(带圆角) (默认 'square' )
|
|
163
|
+
* @property {String | Number} radius 按钮圆角大小,仅在shape为square时有效,单位px (默认 null )
|
|
163
164
|
* @property {Boolean} plain 按钮是否镂空,背景色透明 (默认 false)
|
|
164
165
|
* @property {Boolean} disabled 是否禁用 (默认 false)
|
|
165
166
|
* @property {Boolean} loading 按钮名称前是否带 loading 图标(App-nvue 平台,在 ios 上为雪花,Android上为圆圈) (默认 false)
|
|
@@ -269,6 +270,14 @@ export default {
|
|
|
269
270
|
}
|
|
270
271
|
return style;
|
|
271
272
|
},
|
|
273
|
+
// 按钮圆角样式,仅在square形状且设置了radius时生效
|
|
274
|
+
radiusStyle() {
|
|
275
|
+
const style = {};
|
|
276
|
+
if (this.shape === 'square' && this.radius !== null && this.radius !== '') {
|
|
277
|
+
style.borderRadius = this.$uv.addUnit(this.radius);
|
|
278
|
+
}
|
|
279
|
+
return style;
|
|
280
|
+
},
|
|
272
281
|
// nvue版本按钮的字体不会继承父组件的颜色,需要对每一个text组件进行单独的设置
|
|
273
282
|
nvueTextStyle() {
|
|
274
283
|
let style = {};
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
props: {
|
|
3
|
+
// 弹出层类型,可选值,top: 顶部弹出层;bottom:底部弹出层;center:全屏弹出层
|
|
4
|
+
// message: 消息提示 ; dialog : 对话框
|
|
5
|
+
mode: {
|
|
6
|
+
type: String,
|
|
7
|
+
default: 'center'
|
|
8
|
+
},
|
|
9
|
+
// 动画时长,单位ms
|
|
10
|
+
duration: {
|
|
11
|
+
type: [String, Number],
|
|
12
|
+
default: 300
|
|
13
|
+
},
|
|
14
|
+
// 层级
|
|
15
|
+
zIndex: {
|
|
16
|
+
type: [String, Number],
|
|
17
|
+
default: 10075
|
|
18
|
+
},
|
|
19
|
+
bgColor: {
|
|
20
|
+
type: String,
|
|
21
|
+
default: '#ffffff'
|
|
22
|
+
},
|
|
23
|
+
safeArea: {
|
|
24
|
+
type: Boolean,
|
|
25
|
+
default: true
|
|
26
|
+
},
|
|
27
|
+
// 是否显示遮罩
|
|
28
|
+
overlay: {
|
|
29
|
+
type: Boolean,
|
|
30
|
+
default: true
|
|
31
|
+
},
|
|
32
|
+
// 点击遮罩是否关闭弹窗
|
|
33
|
+
closeOnClickOverlay: {
|
|
34
|
+
type: Boolean,
|
|
35
|
+
default: true
|
|
36
|
+
},
|
|
37
|
+
// 遮罩的透明度,0-1之间
|
|
38
|
+
overlayOpacity: {
|
|
39
|
+
type: [Number, String],
|
|
40
|
+
default: 0.4
|
|
41
|
+
},
|
|
42
|
+
// 自定义遮罩的样式
|
|
43
|
+
overlayStyle: {
|
|
44
|
+
type: [Object, String],
|
|
45
|
+
default: ''
|
|
46
|
+
},
|
|
47
|
+
// 是否为iPhoneX留出底部安全距离
|
|
48
|
+
safeAreaInsetBottom: {
|
|
49
|
+
type: Boolean,
|
|
50
|
+
default: true
|
|
51
|
+
},
|
|
52
|
+
// 是否留出顶部安全距离(状态栏高度)
|
|
53
|
+
safeAreaInsetTop: {
|
|
54
|
+
type: Boolean,
|
|
55
|
+
default: false
|
|
56
|
+
},
|
|
57
|
+
// 是否显示关闭图标
|
|
58
|
+
closeable: {
|
|
59
|
+
type: Boolean,
|
|
60
|
+
default: false
|
|
61
|
+
},
|
|
62
|
+
// 自定义关闭图标位置,top-left为左上角,top-right为右上角,bottom-left为左下角,bottom-right为右下角
|
|
63
|
+
closeIconPos: {
|
|
64
|
+
type: String,
|
|
65
|
+
default: 'top-right'
|
|
66
|
+
},
|
|
67
|
+
// 关闭图标颜色
|
|
68
|
+
closeIconColor: {
|
|
69
|
+
type: String,
|
|
70
|
+
default: '#909399'
|
|
71
|
+
},
|
|
72
|
+
// 关闭图标大小
|
|
73
|
+
closeIconSize: {
|
|
74
|
+
type: [String, Number],
|
|
75
|
+
default: 18
|
|
76
|
+
},
|
|
77
|
+
// mode=center,也即中部弹出时,是否使用缩放模式
|
|
78
|
+
zoom: {
|
|
79
|
+
type: Boolean,
|
|
80
|
+
default: true
|
|
81
|
+
},
|
|
82
|
+
round: {
|
|
83
|
+
type: [Number, String],
|
|
84
|
+
default: 8
|
|
85
|
+
},
|
|
86
|
+
...uni.$uv?.props?.popup
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -44,12 +44,14 @@
|
|
|
44
44
|
hover-class="uv-popup__content__close--hover"
|
|
45
45
|
hover-stay-time="150"
|
|
46
46
|
>
|
|
47
|
-
<
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
47
|
+
<slot name="close">
|
|
48
|
+
<uv-icon
|
|
49
|
+
name="close"
|
|
50
|
+
:color="closeIconColor"
|
|
51
|
+
:size="closeIconSize"
|
|
52
|
+
bold
|
|
53
|
+
></uv-icon>
|
|
54
|
+
</slot>
|
|
53
55
|
</view>
|
|
54
56
|
</view>
|
|
55
57
|
</uv-transition>
|
|
@@ -66,6 +68,7 @@
|
|
|
66
68
|
// #endif
|
|
67
69
|
import mpMixin from '../../libs/mixin/mpMixin.js'
|
|
68
70
|
import mixin from '../../libs/mixin/mixin.js'
|
|
71
|
+
import props from './props.js'
|
|
69
72
|
/**
|
|
70
73
|
* PopUp 弹出层
|
|
71
74
|
* @description 弹出层组件,为了解决遮罩弹层的问题
|
|
@@ -78,7 +81,7 @@
|
|
|
78
81
|
* @value right 右侧弹出
|
|
79
82
|
* @property {Number} duration 动画时长,默认300
|
|
80
83
|
* @property {Boolean} overlay 是否显示遮罩,默认true
|
|
81
|
-
* @property {Boolean} overlayOpacity 遮罩透明度,默认0.
|
|
84
|
+
* @property {Boolean} overlayOpacity 遮罩透明度,默认0.4
|
|
82
85
|
* @property {Object} overlayStyle 遮罩自定义样式
|
|
83
86
|
* @property {Boolean} closeOnClickOverlay = [true|false] 蒙版点击是否关闭弹窗,默认true
|
|
84
87
|
* @property {Number | String} zIndex 弹出层的层级
|
|
@@ -86,6 +89,8 @@
|
|
|
86
89
|
* @property {Boolean} safeAreaInsetBottom 是否为留出底部安全区适配,默认true
|
|
87
90
|
* @property {Boolean} closeable 是否显示关闭图标,默认false
|
|
88
91
|
* @property {Boolean} closeIconPos 自定义关闭图标位置,`top-left`-左上角,`top-right`-右上角,`bottom-left`-左下角,`bottom-right`-右下角,默认top-right
|
|
92
|
+
* @property {String} closeIconColor 关闭图标颜色,默认#909399
|
|
93
|
+
* @property {String | Number} closeIconSize 关闭图标大小,默认18
|
|
89
94
|
* @property {String} bgColor 主窗口背景色
|
|
90
95
|
* @property {String} maskBackgroundColor 蒙版颜色
|
|
91
96
|
* @property {Boolean} customStyle 自定义样式
|
|
@@ -99,84 +104,8 @@
|
|
|
99
104
|
keypress
|
|
100
105
|
// #endif
|
|
101
106
|
},
|
|
102
|
-
mixins: [mpMixin, mixin],
|
|
107
|
+
mixins: [mpMixin, mixin, props],
|
|
103
108
|
emits: ['change', 'maskClick', 'close'],
|
|
104
|
-
props: {
|
|
105
|
-
// 弹出层类型,可选值,top: 顶部弹出层;bottom:底部弹出层;center:全屏弹出层
|
|
106
|
-
// message: 消息提示 ; dialog : 对话框
|
|
107
|
-
mode: {
|
|
108
|
-
type: String,
|
|
109
|
-
default: 'center'
|
|
110
|
-
},
|
|
111
|
-
// 动画时长,单位ms
|
|
112
|
-
duration: {
|
|
113
|
-
type: [String, Number],
|
|
114
|
-
default: 300
|
|
115
|
-
},
|
|
116
|
-
// 层级
|
|
117
|
-
zIndex: {
|
|
118
|
-
type: [String, Number],
|
|
119
|
-
default: 10075
|
|
120
|
-
},
|
|
121
|
-
bgColor: {
|
|
122
|
-
type: String,
|
|
123
|
-
default: '#ffffff'
|
|
124
|
-
},
|
|
125
|
-
safeArea: {
|
|
126
|
-
type: Boolean,
|
|
127
|
-
default: true
|
|
128
|
-
},
|
|
129
|
-
// 是否显示遮罩
|
|
130
|
-
overlay: {
|
|
131
|
-
type: Boolean,
|
|
132
|
-
default: true
|
|
133
|
-
},
|
|
134
|
-
// 点击遮罩是否关闭弹窗
|
|
135
|
-
closeOnClickOverlay: {
|
|
136
|
-
type: Boolean,
|
|
137
|
-
default: true
|
|
138
|
-
},
|
|
139
|
-
// 遮罩的透明度,0-1之间
|
|
140
|
-
overlayOpacity: {
|
|
141
|
-
type: [Number, String],
|
|
142
|
-
default: 0.4
|
|
143
|
-
},
|
|
144
|
-
// 自定义遮罩的样式
|
|
145
|
-
overlayStyle: {
|
|
146
|
-
type: [Object, String],
|
|
147
|
-
default: ''
|
|
148
|
-
},
|
|
149
|
-
// 是否为iPhoneX留出底部安全距离
|
|
150
|
-
safeAreaInsetBottom: {
|
|
151
|
-
type: Boolean,
|
|
152
|
-
default: true
|
|
153
|
-
},
|
|
154
|
-
// 是否留出顶部安全距离(状态栏高度)
|
|
155
|
-
safeAreaInsetTop: {
|
|
156
|
-
type: Boolean,
|
|
157
|
-
default: false
|
|
158
|
-
},
|
|
159
|
-
// 是否显示关闭图标
|
|
160
|
-
closeable: {
|
|
161
|
-
type: Boolean,
|
|
162
|
-
default: false
|
|
163
|
-
},
|
|
164
|
-
// 自定义关闭图标位置,top-left为左上角,top-right为右上角,bottom-left为左下角,bottom-right为右下角
|
|
165
|
-
closeIconPos: {
|
|
166
|
-
type: String,
|
|
167
|
-
default: 'top-right'
|
|
168
|
-
},
|
|
169
|
-
// mode=center,也即中部弹出时,是否使用缩放模式
|
|
170
|
-
zoom: {
|
|
171
|
-
type: Boolean,
|
|
172
|
-
default: true
|
|
173
|
-
},
|
|
174
|
-
round: {
|
|
175
|
-
type: [Number, String],
|
|
176
|
-
default: 0
|
|
177
|
-
},
|
|
178
|
-
...uni.$uv?.props?.popup
|
|
179
|
-
},
|
|
180
109
|
watch: {
|
|
181
110
|
/**
|
|
182
111
|
* 监听type类型
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
- 通过`loading`值设置是否开启加载图标,`loadingText`设置加载中文字
|
|
45
45
|
- 通过`icon`值设置是否显示图标
|
|
46
46
|
- 通过`shape`值设置按钮形状,circle为圆角
|
|
47
|
+
- 通过`radius`值设置按钮圆角大小,仅在shape为square时有效,不设置时默认3px
|
|
47
48
|
- 通过`color`值设置按钮渐变颜色
|
|
48
49
|
- 通过`size`值设置按钮的大小
|
|
49
50
|
|
|
@@ -128,6 +129,7 @@ const customStyle = computed(() => {
|
|
|
128
129
|
|type |按钮的样式类型 |String |info |info | primary | error | warning | success |
|
|
129
130
|
|size |按钮的大小 |String |normal |normal | large | mini |
|
|
130
131
|
|shape |按钮外观形状,见[上方说明](/components/button.html#设置按钮的多种形态) |String |square |square | circle |
|
|
132
|
+
|radius |按钮圆角大小,仅在shape为square时有效,单位px |String | Number |- |- |
|
|
131
133
|
|plain |按钮是否镂空,背景色透明 |Boolean |false |true | false |
|
|
132
134
|
|disabled |是否禁用 |Boolean |false |true | false |
|
|
133
135
|
|loading |按钮名称前是否带 loading 图标 |Boolean |false |true | false |App-nvue 平台,在 ios 上为雪花,Android上为圆圈|
|
package/docs/components/popup.md
CHANGED
|
@@ -188,6 +188,8 @@ function open() {
|
|
|
188
188
|
| safeAreaInsetBottom | 是否为留出<a href="/guide/safeAreaInset.html" target="_blank">底部安全区适配</a> | Boolean | true | true | false |
|
|
189
189
|
| closeable | 是否显示关闭图标 | Boolean | false | true | false |
|
|
190
190
|
| closeIconPos | 自定义关闭图标位置,`top-left`-左上角,`top-right`-右上角,`bottom-left`-左下角,`bottom-right`-右下角 | String | top-right | top-right | top-left | bottom-left | bottom-right |
|
|
191
|
+
| closeIconColor | 关闭图标颜色 | String | #909399 | - |
|
|
192
|
+
| closeIconSize | 关闭图标大小 | String | Number | 18 | - |
|
|
191
193
|
| zoom | 当`mode=center`时 是否开启缩放 | Boolean | true | true | false |
|
|
192
194
|
| bgColor | 背景色,设置为""或none可去除默认的白色背景 | String | none | - |
|
|
193
195
|
| round | 设置圆角值,仅对`mode = top | bottom | center`有效 | Number | String | 0 | - |
|
|
@@ -213,6 +215,7 @@ function open() {
|
|
|
213
215
|
|名称| 说明|
|
|
214
216
|
|:- |:- |
|
|
215
217
|
|default| 弹窗内容 |
|
|
218
|
+
|close| 自定义关闭图标内容 |
|
|
216
219
|
|
|
217
220
|
<style scoped>
|
|
218
221
|
h3[id=popup-slots] + table thead tr th:nth-child(2){
|
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// 全局挂载引入http相关请求拦截插件
|
|
2
|
-
import
|
|
2
|
+
import http from './libs/function/http'
|
|
3
3
|
|
|
4
4
|
// 引入全局mixin
|
|
5
5
|
import mixin from './libs/mixin/mixin.js'
|
|
@@ -41,7 +41,7 @@ const $uv = {
|
|
|
41
41
|
hexToRgb: colorGradient.hexToRgb,
|
|
42
42
|
rgbToHex: colorGradient.rgbToHex,
|
|
43
43
|
colorToRgba: colorGradient.colorToRgba,
|
|
44
|
-
http
|
|
44
|
+
http,
|
|
45
45
|
debounce,
|
|
46
46
|
throttle,
|
|
47
47
|
platform,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gmcb/uv-ui",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "uv-ui 破釜沉舟之兼容vue3+2、nvue、app、h5、小程序等多端基于uni-app和uView2.x的生态框架,支持单独导入,开箱即用,利剑出击。",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"homepage": "https://git.keeprisk.cn/gmcb/front-end/tree/master/packages/uv-ui",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"index.scss",
|
|
30
30
|
"theme.scss"
|
|
31
31
|
],
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "00822ef738ac2c4e53d3304dbad4d427728dd82b"
|
|
33
33
|
}
|