@longhongguo/form-create-ant-design-vue 3.2.49 → 3.2.51

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.
@@ -306,3 +306,188 @@
306
306
  .fc-cus-select-disabled .fc-cus-select-selection-placeholder {
307
307
  color: rgba(0, 0, 0, 0.25);
308
308
  }
309
+
310
+ /* TableForm 组件样式 */
311
+ ._fc-table-form {
312
+ overflow: auto;
313
+ color: #666666;
314
+ }
315
+
316
+ ._fc-table-form .form-create .ant-form-item {
317
+ margin-bottom: 1px !important;
318
+ }
319
+
320
+ ._fc-table-form .ant-form-item-label,
321
+ ._fc-table-form .van-field__label {
322
+ display: none !important;
323
+ }
324
+
325
+ ._fc-tf-head-idx,
326
+ ._fc-tf-idx {
327
+ width: 40px;
328
+ min-width: 40px;
329
+ font-weight: 500;
330
+ text-align: center;
331
+ }
332
+
333
+ ._fc-tf-edit,
334
+ ._fc-tf-btn {
335
+ width: 70px;
336
+ min-width: 70px;
337
+ text-align: center;
338
+ }
339
+
340
+ ._fc-tf-btn .fc-icon {
341
+ cursor: pointer;
342
+ }
343
+
344
+ ._fc-table-form > .ant-btn {
345
+ display: flex;
346
+ align-items: center;
347
+ padding: 2px;
348
+ }
349
+
350
+ ._fc-table-form._fc-disabled ._fc-tf-btn .fc-icon,
351
+ ._fc-table-form._fc-disabled > .ant-btn {
352
+ cursor: not-allowed;
353
+ }
354
+
355
+ ._fc-tf-table {
356
+ width: 100%;
357
+ height: 100%;
358
+ overflow: hidden;
359
+ table-layout: fixed;
360
+ border: 1px solid #ebeef5;
361
+ border-bottom: 0 none;
362
+ }
363
+
364
+ ._fc-table-form ._fc-tf-table > thead > tr > th {
365
+ border: 0 none;
366
+ border-bottom: 1px solid #ebeef5;
367
+ height: 40px;
368
+ font-weight: 500;
369
+ padding: 0 5px;
370
+ box-sizing: border-box;
371
+ }
372
+
373
+ ._fc-table-form ._fc-tf-table > thead > tr > th + th {
374
+ border-left: 1px solid #ebeef5;
375
+ }
376
+
377
+ ._fc-table-form tr {
378
+ min-height: 50px;
379
+ }
380
+
381
+ ._fc-table-form ._fc-read-view {
382
+ text-align: center;
383
+ width: 100%;
384
+ }
385
+
386
+ ._fc-table-form td {
387
+ padding: 5px;
388
+ min-height: 50px;
389
+ min-width: 80px;
390
+ position: relative;
391
+ box-sizing: border-box;
392
+ overflow-wrap: break-word;
393
+ overflow: hidden;
394
+ border: 0 none;
395
+ border-bottom: 1px solid #ebeef5;
396
+ }
397
+
398
+ ._fc-table-form td + td {
399
+ border-left: 1px solid #ebeef5;
400
+ }
401
+
402
+ ._fc-tf-table .ant-input-number,
403
+ ._fc-tf-table .ant-select,
404
+ ._fc-tf-table .ant-slider,
405
+ ._fc-tf-table .ant-cascader,
406
+ ._fc-tf-table .ant-picker {
407
+ width: 100%;
408
+ }
409
+
410
+ ._fc-tf-head-required:before {
411
+ content: '*';
412
+ color: #f56c6c;
413
+ margin-right: 4px;
414
+ }
415
+
416
+ /* TableFormView 组件样式 */
417
+ ._fd-table-form {
418
+ min-height: 130px;
419
+ width: 100%;
420
+ border: 1px solid #ececec;
421
+ background: #ffffff;
422
+ }
423
+
424
+ ._fc-child-empty {
425
+ min-height: 130px;
426
+ }
427
+
428
+ ._fd-tf-wrap {
429
+ display: flex;
430
+ overflow: auto;
431
+ }
432
+
433
+ ._fd-tf-wrap > ._fd-drag-tool {
434
+ flex-shrink: 0;
435
+ display: flex;
436
+ margin: 2px;
437
+ height: auto;
438
+ overflow: auto;
439
+ }
440
+
441
+ /* TableFormColumnView 组件样式 */
442
+ ._fd-tf-col ._fd-tf-con .ant-form-item {
443
+ margin-bottom: 1px !important;
444
+ }
445
+
446
+ ._fd-tf-col {
447
+ display: flex;
448
+ flex-wrap: wrap;
449
+ flex-direction: column;
450
+ width: 180px;
451
+ flex-shrink: 0;
452
+ }
453
+
454
+ ._fd-tf-con .ant-form-item-label,
455
+ ._fd-tf-con .van-field__label {
456
+ display: none !important;
457
+ }
458
+
459
+ ._fd-tf-con {
460
+ display: flex;
461
+ flex: 1;
462
+ width: 100%;
463
+ }
464
+
465
+ ._fd-tf-title {
466
+ height: 40px;
467
+ border-bottom: 1px solid #ebeef5;
468
+ margin-bottom: 0px;
469
+ padding: 0 5px;
470
+ box-sizing: border-box;
471
+ line-height: 32px;
472
+ }
473
+
474
+ ._fd-tf-required {
475
+ color: #f56c6c;
476
+ margin-right: 4px;
477
+ }
478
+
479
+ ._fd-tf-con ._fc-l-item > * {
480
+ display: none !important;
481
+ }
482
+
483
+ ._fd-tf-con .ant-input-number,
484
+ ._fd-tf-con .ant-select,
485
+ ._fd-tf-con .ant-slider,
486
+ ._fd-tf-con .ant-cascader,
487
+ ._fd-tf-con .ant-picker {
488
+ width: 100%;
489
+ }
490
+
491
+ ._fd-tf-col:has(._fd-tf-col) {
492
+ width: auto !important;
493
+ }