@pubinfo-pr/module-rbac 0.221.3 → 0.222.2

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.
Files changed (63) hide show
  1. package/dist/{ResourceRelation-CU-QpUhP.js → ResourceRelation-BwagNxld.js} +1 -1
  2. package/dist/{ResourceRelation-roz0a8Td.js → ResourceRelation-CKZrGW9A.js} +1 -1
  3. package/dist/ResourceRelation.css +1 -1
  4. package/dist/ResourceRelation2.css +1 -1
  5. package/dist/{UserAuthorization-2Fl4IGw7.js → UserAuthorization-sU8yGviz.js} +1 -1
  6. package/dist/UserAuthorization.css +1 -1
  7. package/dist/{blackWhiteList-DbG7JH8n.js → blackWhiteList-CaEw1uGl.js} +1 -1
  8. package/dist/blackWhiteList.css +1 -1
  9. package/dist/{breadcrumb_setting-Dx2Li6xt.js → breadcrumb_setting-CenYZfHD.js} +1 -1
  10. package/dist/{createAndEditDataPermission-8_KNLzJT.js → createAndEditDataPermission-BfIc8HNt.js} +1 -1
  11. package/dist/createAndEditDataPermission.css +1 -1
  12. package/dist/{data-permission-LpuDLDm0.js → data-permission-CeSzz7-6.js} +2 -2
  13. package/dist/data-permission.css +1 -1
  14. package/dist/{group-CaOhkh72.js → group-DmvSRTkz.js} +1 -1
  15. package/dist/group.css +1 -1
  16. package/dist/index.css +1 -1
  17. package/dist/index.js +43 -43
  18. package/dist/{layout_setting-79srmFgJ.js → layout_setting-DcFrUQtI.js} +1 -1
  19. package/dist/layout_setting.css +1 -1
  20. package/dist/{login_history-BiwaLpxA.js → login_history-uB4F5Ddd.js} +1 -1
  21. package/dist/login_history.css +1 -1
  22. package/dist/{menu_setting-ChueWHs4.js → menu_setting-ogTQzu1D.js} +1 -1
  23. package/dist/{operate_history-sPd9IHMV.js → operate_history-eTC0gtt3.js} +30 -28
  24. package/dist/{organization-Dv3FbKke.js → organization-CEDkYrjK.js} +2 -6
  25. package/dist/organization.css +1 -1
  26. package/dist/{other_setting-BEV_UK0g.js → other_setting-BRA_NCwo.js} +1 -1
  27. package/dist/page_animation_setting-D4glFlEk.js +109 -0
  28. package/dist/{page_w_setting-Q--ct16C.js → page_w_setting-Bp9cayqE.js} +2 -6
  29. package/dist/page_w_setting.css +1 -1
  30. package/dist/{role-4UgEw3nH.js → role-WO4NM7Er.js} +1 -1
  31. package/dist/{setItem-Vkcwkj-O.js → setItem-Bjl8zTpQ.js} +1 -1
  32. package/dist/setItem.css +1 -1
  33. package/dist/{tabbar_setting-kbuTvrLB.js → tabbar_setting-BbhYRbEq.js} +1 -1
  34. package/dist/{theme_setting-CEb7UYQO.js → theme_setting-Duv0kBY3.js} +1 -1
  35. package/dist/theme_setting.css +1 -1
  36. package/dist/{toolbar_setting-BG-k2UFc.js → toolbar_setting-V4EHgnFb.js} +1 -1
  37. package/dist/{user-BkUpcQC8.js → user-DeVw-Ynu.js} +2 -2
  38. package/dist/user.css +1 -1
  39. package/dist/{watermark_setting-Cl2EtPAa.js → watermark_setting-jYKVi0Yf.js} +1 -1
  40. package/dist/watermark_setting.css +1 -1
  41. package/package.json +3 -3
  42. package/src/components/GroupSelector/index.vue +67 -24
  43. package/src/components/OrgTree/index.vue +1 -1
  44. package/src/components/ResourceSelector/index.vue +45 -15
  45. package/src/views/blackWhiteList/index.vue +9 -3
  46. package/src/views/components/setItem.vue +10 -2
  47. package/src/views/data-permission/index.vue +2 -1
  48. package/src/views/group/index.vue +7 -4
  49. package/src/views/layout_setting/index.vue +99 -20
  50. package/src/views/log_center/login_history.vue +7 -2
  51. package/src/views/log_center/operate_history.vue +4 -11
  52. package/src/views/organization/index.vue +23 -21
  53. package/src/views/page_animation_setting/index.vue +14 -23
  54. package/src/views/page_w_setting/index.vue +19 -6
  55. package/src/views/role/components/ResourceRelation.vue +2 -1
  56. package/src/views/role_group/components/ResourceRelation.vue +2 -1
  57. package/src/views/safe_setting/index.vue +1 -1
  58. package/src/views/theme_setting/index.vue +70 -17
  59. package/src/views/user/components/UserAuthorization.vue +2 -2
  60. package/src/views/watermark_setting/index.vue +4 -1
  61. package/dist/operate_history.css +0 -1
  62. package/dist/page_animation_setting-Cp5OnFpd.js +0 -108
  63. package/dist/page_animation_setting.css +0 -1
@@ -351,64 +351,94 @@ defineExpose({
351
351
 
352
352
  <style scoped>
353
353
  .border_color {
354
- --at-apply: border-[#e5e6eb];
354
+ border-color: #e5e6eb;
355
355
  }
356
356
 
357
357
  [data-theme="dark"] .border_color {
358
- --at-apply: border-[#fdfdfd1f];
358
+ border-color: rgb(253 253 253 / 0.12);
359
359
  }
360
360
 
361
361
  .border_c {
362
- --at-apply: border rounded-[10px] border-dashed border-[#ccc];
362
+ border-width: 1px;
363
+ border-radius: 10px;
364
+ border-style: dashed;
365
+ border-color: #ccc;
363
366
  }
364
367
 
365
368
  :deep(.ant-dropdown-link) {
366
- --at-apply: text-xs px-1.5 py-1 rounded-sm scale-[0.7];
369
+ font-size: 0.75rem; /* 12px */
370
+ line-height: 1rem; /* 16px */
371
+ padding-left: 0.375rem; /* 6px */
372
+ padding-right: 0.375rem; /* 6px */
373
+ padding-top: 0.25rem; /* 4px */
374
+ padding-bottom: 0.25rem; /* 4px */
375
+ border-radius: 0.125rem; /* 2px */
376
+ transform: scaleX(0.7) scaleY(0.7);
367
377
  }
368
378
  </style>
369
379
 
370
380
  <style lang='css' scoped>
371
381
  .custom_modal :deep(.ant-modal-content) {
372
- --at-apply: p-0 rounded-none;
382
+ padding: 0;
383
+ border-radius: 0;
373
384
  }
374
385
 
375
386
  .custom_modal :deep(.ant-modal-header) {
376
- --at-apply: mb-0 px-4 py-3 border-b-[#e5e6eb] border-b border-solid;
387
+ margin-bottom: 0;
388
+ padding-left: 1rem; /* 16px */
389
+ padding-right: 1rem; /* 16px */
390
+ padding-top: 0.75rem; /* 12px */
391
+ padding-bottom: 0.75rem; /* 12px */
392
+ border-bottom-color: #e5e6eb;
393
+ border-bottom-width: 1px;
394
+ border-style: solid;
377
395
  }
378
396
 
379
397
  .custom_modal :deep(.ant-modal-title) {
380
- --at-apply: text-base font-medium text-[#1d2129];
398
+ font-size: 1rem; /* 16px */
399
+ line-height: 1.5rem; /* 24px */
400
+ font-weight: 500;
401
+ color: #1d2129;
381
402
  }
382
403
 
383
404
  .custom_modal :deep(.ant-modal-body) {
384
- --at-apply: p-4;
405
+ padding: 1rem;
385
406
  }
386
407
 
387
408
  .custom_modal :deep(.ant-modal-footer) {
388
- --at-apply: p-4 border-t-[#e5e6eb] border-t border-solid;
409
+ padding: 1rem; /* 16px */
410
+ border-top-color: #e5e6eb;
411
+ border-top-width: 1px;
412
+ border-style: solid;
389
413
  }
390
414
 
391
415
  .custom_modal :deep(.ant-modal-footer) .ant-btn {
392
- --at-apply: rounded-sm;
416
+ border-radius: 0.125rem;
393
417
  }
394
418
 
395
419
  :deep(.ant-tree-checkbox) {
396
- --at-apply: mt-0 mr-2px;
420
+ margin-top: 0;
421
+ margin-right: 2px;
397
422
  }
398
423
 
399
424
  :deep(.ant-tree-checkbox + span .ant-tree-iconEle) {
400
- --at-apply: mr-1;
425
+ margin-right: 0.25rem;
401
426
  }
402
427
 
403
428
  .custom_tag {
404
- --at-apply: px-2 py-[3px] rounded-sm border-0;
429
+ padding-left: 0.5rem; /* 8px */
430
+ padding-right: 0.5rem; /* 8px */
431
+ padding-top: 3px;
432
+ padding-bottom: 3px;
433
+ border-radius: 0.125rem; /* 2px */
434
+ border-width: 0px;
405
435
  }
406
436
 
407
437
  .custom_tag :deep(.ant-tag-close-icon) {
408
- --at-apply: text-[#165dff] text-op-60;
438
+ color: rgb(22 93 255 / 0.6) /* #165dff */;
409
439
  }
410
440
 
411
441
  .custom_tag :deep(.ant-tag-close-icon):hover {
412
- --at-apply: text-[#165dff] text-op-100;
442
+ color: #165dff;
413
443
  }
414
444
  </style>
@@ -285,14 +285,20 @@ function onAction(key: string, record?: API.PubBlackWhiteList): void {
285
285
 
286
286
  <style scoped>
287
287
  .page-black-white-list :deep(.ant-card.pro-table) {
288
- --at-apply: rounded-t-none;
288
+ border-top-left-radius: 0;
289
+ border-top-right-radius: 0;
289
290
  }
290
291
 
291
292
  .page-black-white-list .status-mark {
292
- --at-apply: inline-block w-2 h-2 bg-[#aeaeae] mr-1 rounded-[50%];
293
+ display: inline-block;
294
+ width: 0.5rem; /* 8px */
295
+ height: 0.5rem; /* 8px */
296
+ background-color: #aeaeae;
297
+ margin-right: 0.25rem; /* 4px */
298
+ border-radius: 50%;
293
299
  }
294
300
 
295
301
  .page-black-white-list .status-mark.active {
296
- --at-apply: [background:#01d689];
302
+ background: #01d689;
297
303
  }
298
304
  </style>
@@ -105,7 +105,14 @@ watch(() => setActiveStyle.value, () => {
105
105
 
106
106
  <style scoped>
107
107
  .item_ani {
108
- --at-apply: flex flex-col bg-[color:var(--g-bg)] border border-[color:var(--g-tabbar-tab-hover-bg)] pt-[26px] rounded-lg border-solid;
108
+ display: flex;
109
+ flex-direction: column;
110
+ background-color: var(--g-bg);
111
+ border-width: 1px;
112
+ border-color: var(--g-tabbar-tab-hover-bg);
113
+ padding-top: 26px;
114
+ border-radius: 0.5rem; /* 8px */
115
+ border-style: solid;
109
116
  place-items: center center;
110
117
  }
111
118
 
@@ -114,6 +121,7 @@ watch(() => setActiveStyle.value, () => {
114
121
  }
115
122
 
116
123
  .custom_style :deep(.text-sm) {
117
- --at-apply: text-xs;
124
+ font-size: 0.75rem; /* 12px */
125
+ line-height: 1rem; /* 16px */
118
126
  }
119
127
  </style>
@@ -178,7 +178,8 @@ function onAction(key: string, record?: API.shujuquanxianshituduixiang): void {
178
178
 
179
179
  <style scoped>
180
180
  .page-data-permission :deep(.ant-card.pro-table) {
181
- --at-apply: rounded-t-none;
181
+ border-top-left-radius: 0;
182
+ border-top-right-radius: 0;
182
183
  }
183
184
 
184
185
  .page-data-permission :deep(.ant-form-item-label) {
@@ -188,15 +188,18 @@ function onAction(key: string, type: string, record?: API.PubGroup): void {
188
188
 
189
189
  <style scoped>
190
190
  .box_sh {
191
- --at-apply: shadow-[0_1px_2px_0_rgb(0_0_0_/_3%),0_1px_6px_-1px_rgb(0_0_0_/_2%),0_2px_4px_0_rgb(0_0_0_/_2%)];
191
+ --un-shadow: 0 1px 2px 0 rgb(0 0 0 / 3%), 0 1px 6px -1px rgb(0 0 0 / 2%),
192
+ 0 2px 4px 0 rgb(0 0 0 / 2%);
193
+ box-shadow: var(--un-ring-offset-shadow), var(--un-ring-shadow),
194
+ var(--un-shadow);
192
195
  }
193
196
  .tabs_custom {
194
- --at-apply: h-[46px];
197
+ height: 46px;
195
198
  }
196
199
  .tabs_custom :deep(.ant-tabs-nav) {
197
- --at-apply: m-0;
200
+ margin: 0;
198
201
  }
199
202
  .tabs_custom :deep(.ant-tabs-nav .ant-tabs-nav-list) {
200
- --at-apply: pl-4;
203
+ padding-left: 1rem; /* 16px */
201
204
  }
202
205
  </style>
@@ -104,83 +104,162 @@ function clickHandle(item: Settings.menu['menuMode']) {
104
104
 
105
105
  <style scoped>
106
106
  .item {
107
- --at-apply: flex flex-col cursor-pointer border border-[color:var(--g-tabbar-tab-hover-bg)] pt-[26px] rounded-lg border-solid;
107
+ display: flex;
108
+ flex-direction: column;
109
+ cursor: pointer;
110
+ border-width: 1px;
111
+ border-color: var(--g-tabbar-tab-hover-bg);
112
+ padding-top: 26px;
113
+ border-radius: 0.5rem; /* 8px */
114
+ border-style: solid;
108
115
  place-items: center center;
109
116
  background: linear-gradient(180deg, var(--g-bg) 0%, var(--g-bg) 100%);
110
117
  }
111
118
 
112
119
  .item .mode {
113
- --at-apply: relative w-16 h-12 transition;
120
+ position: relative;
121
+ width: 4rem; /* 64px */
122
+ height: 3rem; /* 48px */
123
+ transition-property: color, background-color, border-color,
124
+ text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter,
125
+ backdrop-filter;
126
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
127
+ transition-duration: 150ms;
114
128
  }
115
129
 
116
130
  .item .mode::before,
117
131
  .item .mode::after,
118
132
  .item .mode .mode-container {
119
- --at-apply: absolute pointer-events-none border-[0.15rem];
133
+ position: absolute;
134
+ pointer-events: none;
135
+ border-width: 0.15rem; /* 2.4px */
120
136
  }
121
137
 
122
138
  .item .mode::before {
123
- --at-apply: content-empty bg-ui-primary;
139
+ content: "";
140
+ background-color: rgb(var(--ui-primary)) /* rgb(var(--ui-primary)) */;
124
141
  }
125
142
 
126
143
  .item .mode::after {
127
- --at-apply: content-empty bg-ui-primary/60;
144
+ content: "";
145
+ background-color: rgb(var(--ui-primary) / 0.6) /* rgb(var(--ui-primary)) */;
128
146
  }
129
147
 
130
148
  .item .mode .mode-container {
131
- --at-apply: bg-ui-primary/20 border-dashed border-ui-primary;
149
+ background-color: rgb(var(--ui-primary) / 0.2) /* rgb(var(--ui-primary)) */;
150
+ border-style: dashed;
151
+ border-color: rgb(var(--ui-primary));
132
152
  }
133
153
 
134
154
  .item .mode .mode-container::before {
135
- --at-apply: content-empty absolute w-full h-full;
155
+ content: "";
156
+ position: absolute;
157
+ width: 100%;
158
+ height: 100%;
136
159
  }
137
160
 
138
161
  .item .mode-side::before {
139
- --at-apply: top-2 bottom-2 left-2 w-2 rounded-tl-1 rounded-bl-1;
162
+ top: 0.5rem; /* 8px */
163
+ bottom: 0.5rem; /* 8px */
164
+ left: 0.5rem; /* 8px */
165
+ width: 0.5rem; /* 8px */
166
+ border-top-left-radius: 0.25rem; /* 4px */
167
+ border-bottom-left-radius: 0.25rem; /* 4px */
140
168
  }
141
169
 
142
170
  .item .mode-side::after {
143
- --at-apply: top-2 bottom-2 left-4.5 w-3;
171
+ top: 0.5rem; /* 8px */
172
+ bottom: 0.5rem; /* 8px */
173
+ left: 1.125rem; /* 18px */
174
+ width: 0.75rem; /* 12px */
144
175
  }
145
176
 
146
177
  .item .mode-side .mode-container {
147
- --at-apply: inset-t-2 inset-r-2 inset-b-2 inset-l-8 rounded-tr-1 rounded-br-1;
178
+ top: 0.5rem; /* 8px */
179
+ right: 0.5rem; /* 8px */
180
+ bottom: 0.5rem; /* 8px */
181
+ left: 2rem; /* 32px */
182
+ border-top-right-radius: 0.25rem; /* 4px */
183
+ border-bottom-right-radius: 0.25rem; /* 4px */
148
184
  }
149
185
 
150
186
  .item .mode-head::before {
151
- --at-apply: top-2 left-2 right-2 h-2 rounded-tl-1 rounded-tr-1;
187
+ top: 0.5rem; /* 8px */
188
+ left: 0.5rem; /* 8px */
189
+ right: 0.5rem; /* 8px */
190
+ height: 0.5rem; /* 8px */
191
+ border-top-left-radius: 0.25rem; /* 4px */
192
+ border-top-right-radius: 0.25rem; /* 4px */
152
193
  }
153
194
 
154
195
  .item .mode-head::after {
155
- --at-apply: top-4.5 left-2 bottom-2 w-3 rounded-bl-1;
196
+ top: 1.125rem; /* 18px */
197
+ left: 0.5rem; /* 8px */
198
+ bottom: 0.5rem; /* 8px */
199
+ width: 0.75rem; /* 12px */
200
+ border-bottom-left-radius: 0.25rem; /* 4px */
156
201
  }
157
202
 
158
203
  .item .mode-head .mode-container {
159
- --at-apply: inset-t-4.5 inset-r-2 inset-b-2 inset-l-5.5 rounded-br-1;
204
+ top: 1.125rem; /* 18px */
205
+ right: 0.5rem; /* 8px */
206
+ bottom: 0.5rem; /* 8px */
207
+ left: 1.375rem; /* 22px */
208
+ border-bottom-right-radius: 0.25rem; /* 4px */
160
209
  }
161
210
 
162
211
  .item .mode-single::after {
163
- --at-apply: top-2 left-2 bottom-2 w-3 rounded-tl-1 rounded-bl-1;
212
+ top: 0.5rem; /* 8px */
213
+ left: 0.5rem; /* 8px */
214
+ bottom: 0.5rem; /* 8px */
215
+ width: 0.75rem; /* 12px */
216
+ border-top-left-radius: 0.25rem; /* 4px */
217
+ border-bottom-left-radius: 0.25rem; /* 4px */
164
218
  }
165
219
 
166
220
  .item .mode-single .mode-container {
167
- --at-apply: inset-t-2 inset-r-2 inset-b-2 inset-l-5.5 rounded-tr-1 rounded-br-1;
221
+ top: 0.5rem; /* 8px */
222
+ right: 0.5rem; /* 8px */
223
+ bottom: 0.5rem; /* 8px */
224
+ left: 1.375rem; /* 22px */
225
+ border-top-right-radius: 0.25rem; /* 4px */
226
+ border-bottom-right-radius: 0.25rem; /* 4px */
168
227
  }
169
228
 
170
229
  .item .mode-only-side::before {
171
- --at-apply: top-2 bottom-2 left-2 w-2 rounded-tl-1 rounded-bl-1;
230
+ top: 0.5rem; /* 8px */
231
+ bottom: 0.5rem; /* 8px */
232
+ left: 0.5rem; /* 8px */
233
+ width: 0.5rem; /* 8px */
234
+ border-top-left-radius: 0.25rem; /* 4px */
235
+ border-bottom-left-radius: 0.25rem; /* 4px */
172
236
  }
173
237
 
174
238
  .item .mode-only-side .mode-container {
175
- --at-apply: inset-t-2 inset-r-2 inset-b-2 inset-l-4.5 rounded-tr-1 rounded-br-1;
239
+ top: 0.5rem; /* 8px */
240
+ right: 0.5rem; /* 8px */
241
+ bottom: 0.5rem; /* 8px */
242
+ left: 1.125rem; /* 18px */
243
+ border-top-right-radius: 0.25rem; /* 4px */
244
+ border-bottom-right-radius: 0.25rem; /* 4px */
176
245
  }
177
246
 
178
247
  .item .mode-only-head::before {
179
- --at-apply: top-2 left-2 right-2 h-2 rounded-tl-1 rounded-tr-1;
248
+ top: 0.5rem; /* 8px */
249
+ left: 0.5rem; /* 8px */
250
+ right: 0.5rem; /* 8px */
251
+ height: 0.5rem; /* 8px */
252
+ border-top-left-radius: 0.25rem; /* 4px */
253
+ border-top-right-radius: 0.25rem; /* 4px */
180
254
  }
181
255
 
182
256
  .item .mode-only-head .mode-container {
183
- --at-apply: inset-t-4.5 inset-r-2 inset-b-2 inset-l-2 rounded-bl-1 rounded-br-1;
257
+ top: 1.125rem; /* 18px */
258
+ right: 0.5rem; /* 8px */
259
+ bottom: 0.5rem; /* 8px */
260
+ left: 0.5rem; /* 8px */
261
+ border-bottom-left-radius: 0.25rem; /* 4px */
262
+ border-bottom-right-radius: 0.25rem; /* 4px */
184
263
  }
185
264
 
186
265
  .item .jb {
@@ -188,7 +267,7 @@ function clickHandle(item: Settings.menu['menuMode']) {
188
267
  }
189
268
 
190
269
  .item .jb .layout-demo {
191
- --at-apply: w-70%;
270
+ width: 70%;
192
271
  }
193
272
 
194
273
  .item-side .layout-demo {
@@ -225,10 +225,15 @@ function showDetailDrawer(record: API.PubLoginLogDto) {
225
225
 
226
226
  <style scoped>
227
227
  .status-mark {
228
- --at-apply: inline-block w-2 h-2 bg-[#aeaeae] mr-1 rounded-[50%];
228
+ display: inline-block;
229
+ width: 0.5rem; /* 8px */
230
+ height: 0.5rem; /* 8px */
231
+ background-color: #aeaeae;
232
+ margin-right: 0.25rem; /* 4px */
233
+ border-radius: 50%;
229
234
  }
230
235
 
231
236
  .status-mark.active {
232
- --at-apply: [background:#01d689];
237
+ background: #01d689;
233
238
  }
234
239
  </style>
@@ -192,7 +192,10 @@ function showDetailDrawer(record: API.PubOperateLogDto) {
192
192
  <template #bodyCell="{ column, record }">
193
193
  <template v-if="column.dataIndex === 'success'">
194
194
  <div class="flex items-center">
195
- <i class="status-mark" :class="[{ active: record.success }]" />
195
+ <i
196
+ :data-active="record.success"
197
+ class="inline-block w-2 h-2 bg-[#aeaeae] mr-1 rounded-[50%] data-[active]:[background:#01d689]"
198
+ />
196
199
  <span class="ml-4px">{{ record.success ? '正常' : '异常' }}</span>
197
200
  </div>
198
201
  </template>
@@ -216,13 +219,3 @@ function showDetailDrawer(record: API.PubOperateLogDto) {
216
219
  />
217
220
  </div>
218
221
  </template>
219
-
220
- <style scoped>
221
- .status-mark {
222
- --at-apply: inline-block w-2 h-2 bg-[#aeaeae] mr-1 rounded-[50%];
223
- }
224
-
225
- .status-mark.active {
226
- background: #01d689;
227
- }
228
- </style>
@@ -326,10 +326,15 @@ function onAction(key: string, record?: ChilData): void {
326
326
  </script>
327
327
 
328
328
  <template>
329
- <div w-full h-full p-10px>
330
- <div class="org_page bg-[#fff] dark:bg-[#141414]">
331
- <div class="search_panel">
332
- <div class="left">
329
+ <div class="w-full h-full p-10px">
330
+ <div
331
+ class="org_page [list-style:none] relative box-border w-full h-full text-sm
332
+ leading-[1.5714] text-[rgb(0_0_0_/_88%)]
333
+ shadow-[0_1px_2px_0_rgba(0,0,0,0.03),0_1px_6px_-1px_rgba(0,0,0,0.02),0_2px_4px_0_rgba(0,0,0,0.02)]
334
+ m-0 p-0 rounded-lg bg-[#fff] dark:bg-[#141414]"
335
+ >
336
+ <div class="flex items-center justify-between pl-6 pr-4 py-4">
337
+ <div class="flex items-center">
333
338
  <label class="dark:text-[#f7f7f7]">组织名称:</label>
334
339
  <a-select
335
340
  v-model:value="searchId"
@@ -356,7 +361,7 @@ function onAction(key: string, record?: ChilData): void {
356
361
  </template>
357
362
  </a-select>
358
363
  </div>
359
- <div class="right">
364
+ <div class="items-center">
360
365
  <a-button @click="reset">
361
366
  重置
362
367
  </a-button>
@@ -448,32 +453,24 @@ function onAction(key: string, record?: ChilData): void {
448
453
 
449
454
  <style scoped>
450
455
  .org_page {
451
- --at-apply: [list-style:none] relative box-border w-full h-full text-sm leading-[1.5714] text-[rgb(0_0_0_/_88%)] shadow-[0_1px_2px_0_rgba(0,0,0,0.03),0_1px_6px_-1px_rgba(0,0,0,0.02),0_2px_4px_0_rgba(0,0,0,0.02)] m-0 p-0 rounded-lg;
452
456
  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";
453
457
  }
454
458
 
455
- .search_panel {
456
- --at-apply: flex items-center justify-between pl-6 pr-4 py-4;
457
- }
458
-
459
- .search_panel .left {
460
- --at-apply: flex items-center;
461
- }
462
- .search_panel .right {
463
- --at-apply: flex items-center;
464
- }
465
459
  :deep(.ant-divider-horizontal) {
466
- --at-apply: m-0;
460
+ margin: 0;
467
461
  }
468
462
  </style>
469
463
 
470
464
  <style scoped>
471
465
  :deep(.vxe-table--body-wrapper) {
472
- --at-apply: overflow-x-hidden;
466
+ overflow-x: hidden;
473
467
  }
474
468
 
475
469
  :deep(.vxe-tree--btn-wrapper) {
476
- --at-apply: w-[15px] h-[15px] border rounded-md border-solid border-[#f0f0f0];
470
+ border-width: 1px;
471
+ border-radius: 0.375rem; /* 6px */
472
+ border-style: solid;
473
+ border-color: #f0f0f0;
477
474
  width: 15px !important;
478
475
  height: 15px !important;
479
476
  }
@@ -487,11 +484,16 @@ function onAction(key: string, record?: ChilData): void {
487
484
  }
488
485
 
489
486
  :deep(.vxe-header--column .vxe-resizable) {
490
- --at-apply: w-px h-[1.6em] right-0 bottom-3.5;
487
+ width: 1px;
488
+ height: 1.6em;
489
+ right: 0;
490
+ bottom: 0.875rem; /* 14px */
491
491
  background-color: var(--vxe-table-border-color);
492
492
  }
493
493
 
494
494
  :deep([class*="vxe-icon-"]) {
495
- --at-apply: text-xs scale-[0.8];
495
+ font-size: 0.75rem; /* 12px */
496
+ line-height: 1rem; /* 16px */
497
+ transform: scaleX(0.8) scaleY(0.8);
496
498
  }
497
499
  </style>
@@ -119,11 +119,7 @@ function setStyle(jsonStr: string) {
119
119
  </script>
120
120
 
121
121
  <template>
122
- <div
123
- w-full
124
- h-full
125
- p-10px
126
- >
122
+ <div class="w-full h-full p-10px">
127
123
  <div class="w-full h-full bg-white overflow-y-auto p-10px flex flex-col box-border dark:bg-[#141414]">
128
124
  <div class="bg-[#F0F4FF] h-[38px] pl-[16px] flex flex-row items-center dark:bg-[#32353B]">
129
125
  <PubinfoIcon name="icon_menu" class="text-base mr-[6px]" :size="22" />
@@ -150,8 +146,15 @@ function setStyle(jsonStr: string) {
150
146
  <div
151
147
  v-for="(mode, index) in transitionModeList"
152
148
  :key="mode.active"
153
- class="item dark:bg-[#3a3e43]! "
154
- :class="[transitionMode === mode.active ? 'active' : '', `item-${mode.active}`]"
149
+ class="flex flex-col cursor-pointer bg-[color:var(--g-bg)]
150
+ border border-[color:var(--g-tabbar-tab-hover-bg)] [place-items:center_center]
151
+ pt-[26px] rounded-lg border-solid dark:bg-[#3a3e43]!
152
+ data-[status=active]:border-[rgb(var(--ui-primary))]
153
+ data-[status=active]:shadow-[0_2.6px_13px_0_#59626940]
154
+ data-[status=active]:rounded-lg
155
+ data-[status=active]:border-[2.6px]
156
+ data-[status=active]:border-solid"
157
+ :data-status="[transitionMode === mode.active ? 'active' : '', `item-${mode.active}`]"
155
158
  aspect="[9/6]"
156
159
  @click="clickHandle(mode.active)"
157
160
  @mouseenter="play(index)"
@@ -160,7 +163,10 @@ function setStyle(jsonStr: string) {
160
163
  <div class="text-[#4E5969] text-[14px] dark:text-[#C9CDD4]">
161
164
  {{ mode.descripe }}
162
165
  </div>
163
- <div class="flex-1 mt-[20px] w-[75%] rounded-[8px] jb py-[10px] flex justify-center">
166
+ <div
167
+ class="flex-1 mt-[20px] w-[75%] rounded-[8px] py-[10px] flex justify-center"
168
+ style="background: linear-gradient(180deg, var(--g-container-bg) 0%, #fff0 100%);"
169
+ >
164
170
  <AnimationItem
165
171
  :key="index"
166
172
  :ref="(el: any) => (itemRefs[index] = el as InstanceType<typeof AnimationItem>)"
@@ -175,18 +181,3 @@ function setStyle(jsonStr: string) {
175
181
  </div>
176
182
  </div>
177
183
  </template>
178
-
179
- <style scoped>
180
- .item {
181
- --at-apply: flex flex-col cursor-pointer bg-[color:var(--g-bg)] border border-[color:var(--g-tabbar-tab-hover-bg)] pt-[26px] rounded-lg border-solid;
182
- place-items: center center;
183
- }
184
-
185
- .item .jb {
186
- background: linear-gradient(180deg, var(--g-container-bg) 0%, #fff0 100%);
187
- }
188
-
189
- .item.active {
190
- --at-apply: border-[rgb(var(--ui-primary))] shadow-[0_2.6px_13px_0_#59626940] rounded-lg border-[2.6px] border-solid;
191
- }
192
- </style>
@@ -60,9 +60,7 @@ function clickHandle(item: Settings.layout['widthMode']) {
60
60
 
61
61
  <template>
62
62
  <div
63
- w-full
64
- h-full
65
- p-10px
63
+ class="w-full h-full p-10px"
66
64
  >
67
65
  <div class="w-full h-full bg-white overflow-y-auto p-10px flex flex-col box-border dark:bg-[#141414]">
68
66
  <div class="bg-[#F0F4FF] h-[38px] pl-[16px] flex flex-row items-center dark:bg-[#32353B]">
@@ -98,7 +96,16 @@ function clickHandle(item: Settings.layout['widthMode']) {
98
96
 
99
97
  <style scoped>
100
98
  .item {
101
- --at-apply: flex flex-col justify-center items-center cursor-pointer border border-[color:var(--g-tabbar-tab-hover-bg)] pt-[26px] rounded-lg border-solid;
99
+ display: flex;
100
+ flex-direction: column;
101
+ justify-content: center;
102
+ align-items: center;
103
+ cursor: pointer;
104
+ border-width: 1px;
105
+ border-color: var(--g-tabbar-tab-hover-bg);
106
+ padding-top: 26px;
107
+ border-radius: 0.5rem; /* 8px */
108
+ border-style: solid;
102
109
  background: linear-gradient(180deg, var(--g-bg) 0%, var(--g-bg) 100%);
103
110
  }
104
111
 
@@ -107,7 +114,7 @@ function clickHandle(item: Settings.layout['widthMode']) {
107
114
  }
108
115
 
109
116
  .item .jb .layout-demo {
110
- --at-apply: w-7/10;
117
+ width: 70%;
111
118
  }
112
119
 
113
120
  .item-adaption .mode {
@@ -151,7 +158,13 @@ function clickHandle(item: Settings.layout['widthMode']) {
151
158
  }
152
159
 
153
160
  .item.active {
154
- --at-apply: border-[rgb(var(--ui-primary))] shadow-[0_2.6px_13px_0_rgba(89,98,105,0.25)] rounded-lg border-[2.6px] border-solid;
161
+ border-color: rgb(var(--ui-primary));
162
+ --un-shadow: 0 2.6px 13px 0 var(--un-shadow-color, rgba(89, 98, 105, 0.25));
163
+ box-shadow: var(--un-ring-offset-shadow), var(--un-ring-shadow),
164
+ var(--un-shadow);
165
+ border-radius: 0.5rem; /* 8px */
166
+ border-width: 2.6px;
167
+ border-style: solid;
155
168
  }
156
169
 
157
170
  [data-theme="dark"] .item,
@@ -107,6 +107,7 @@ defineExpose({
107
107
 
108
108
  <style scoped>
109
109
  :deep(.ant-drawer-body) {
110
- --at-apply: px-0;
110
+ padding-left: 0;
111
+ padding-right: 0;
111
112
  }
112
113
  </style>
@@ -85,6 +85,7 @@ defineExpose({
85
85
 
86
86
  <style scoped>
87
87
  :deep(.ant-drawer-body) {
88
- --at-apply: px-0;
88
+ padding-left: 0;
89
+ padding-right: 0;
89
90
  }
90
91
  </style>
@@ -230,6 +230,6 @@ async function onSubmit() {
230
230
  <style>
231
231
  .safe-rule-form .ant-input,
232
232
  .safe-rule-form .ant-select {
233
- --at-apply: w-9/10;
233
+ width: 90%;
234
234
  }
235
235
  </style>