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