@steedos-widgets/amis-object 6.10.52-beta.3 → 6.10.52-beta.30

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.
@@ -491,6 +491,11 @@ fieldset.antd-Collapse > legend{
491
491
  margin-left: 1rem !important;
492
492
  }
493
493
 
494
+ :root {
495
+ --Toast-paddingY: 0.5rem;
496
+ --Toast-paddingX: 0.5rem;
497
+ }
498
+
494
499
  .ant-dropdown{
495
500
  z-index: 1400;
496
501
  }
@@ -575,6 +580,8 @@ fieldset.antd-Collapse > legend{
575
580
  }
576
581
  }
577
582
 
583
+
584
+
578
585
  /* @tailwind base; */
579
586
  @tailwind components;
580
587
  @tailwind utilities;
@@ -1396,6 +1403,127 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
1396
1403
  .set-next-steps-users .antd-CheckboxControl .antd-Checkbox {
1397
1404
  margin: 0 !important;
1398
1405
  }
1406
+ .slds-filters__body .antd-Form-item {
1407
+ margin-bottom: 0.75rem !important;
1408
+ }
1409
+ .slds-filters__body .flow-select .antd-TreeSelect-popove {
1410
+ position: relative;
1411
+ }
1412
+ @media (max-width: 767px) {
1413
+ .approval-drawer-mobile-wizard .approval-drawer-wizard .antd-Wizard-steps,
1414
+ .approval-drawer-mobile-wizard .approval-drawer-wizard .antd--Wizard-steps {
1415
+ display: none !important;
1416
+ }
1417
+ .approval-drawer-mobile-wizard .antd-Wizard-toolbar {
1418
+ position: sticky;
1419
+ bottom: 0;
1420
+ background: #fff;
1421
+ padding: 12px;
1422
+ z-index: 10;
1423
+ border-top: 1px solid #e8e8e8;
1424
+ }
1425
+ .approval-drawer-mobile-wizard .mobile-wizard-step-indicator {
1426
+ display: block;
1427
+ text-align: center;
1428
+ font-size: 12px;
1429
+ color: #999;
1430
+ padding: 0 0 10px;
1431
+ }
1432
+ .set-next-steps-users-mobile {
1433
+ border: none !important;
1434
+ border-width: 0 !important;
1435
+ border-radius: 0 !important;
1436
+ }
1437
+ .set-next-steps-users-mobile table {
1438
+ display: block !important;
1439
+ width: 100% !important;
1440
+ border: none !important;
1441
+ }
1442
+ .set-next-steps-users-mobile colgroup {
1443
+ display: none !important;
1444
+ }
1445
+ .set-next-steps-users-mobile thead {
1446
+ display: none !important;
1447
+ }
1448
+ .set-next-steps-users-mobile tbody {
1449
+ display: flex !important;
1450
+ flex-direction: column !important;
1451
+ width: 100% !important;
1452
+ }
1453
+ .set-next-steps-users-mobile tbody tr {
1454
+ display: flex !important;
1455
+ flex-wrap: wrap !important;
1456
+ align-items: stretch !important;
1457
+ border: 1px solid #e8e8e8 !important;
1458
+ border-radius: 8px !important;
1459
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
1460
+ margin-bottom: 12px !important;
1461
+ overflow: hidden !important;
1462
+ background: #fff !important;
1463
+ }
1464
+ .set-next-steps-users-mobile tbody tr td[data-col="0"] {
1465
+ width: 44px !important;
1466
+ flex-shrink: 0 !important;
1467
+ display: flex !important;
1468
+ align-items: flex-start !important;
1469
+ justify-content: center !important;
1470
+ border-right: 1px solid #f0f0f0 !important;
1471
+ border-bottom: none !important;
1472
+ padding: 0 !important;
1473
+ min-height: 44px !important;
1474
+ }
1475
+ .set-next-steps-users-mobile tbody tr td[data-col="0"] .antd-Form-item {
1476
+ padding: 0 !important;
1477
+ }
1478
+ .set-next-steps-users-mobile tbody tr td[data-col="1"] {
1479
+ flex: 1 !important;
1480
+ min-width: 0 !important;
1481
+ display: block !important;
1482
+ padding: 12px !important;
1483
+ font-weight: 500 !important;
1484
+ border: none !important;
1485
+ word-break: break-word !important;
1486
+ }
1487
+ .set-next-steps-users-mobile tbody tr td[data-col="2"] {
1488
+ width: 100% !important;
1489
+ display: block !important;
1490
+ padding: 0 !important;
1491
+ border: none !important;
1492
+ min-height: 0 !important;
1493
+ }
1494
+ .set-next-steps-users-mobile tbody tr td[data-col="2"] .antd-Service {
1495
+ padding: 0 12px 0 !important;
1496
+ }
1497
+ .set-next-steps-users-mobile .antd-CheckboxControl {
1498
+ min-height: 44px !important;
1499
+ display: flex !important;
1500
+ align-items: center !important;
1501
+ justify-content: center !important;
1502
+ }
1503
+ .set-next-steps-users-mobile .antd-CheckboxControl .antd-Checkbox {
1504
+ margin: 0 !important;
1505
+ transform: scale(1.4) !important;
1506
+ transform-origin: center !important;
1507
+ }
1508
+ .set-next-steps-users-mobile .antd-CheckboxControl .antd-Checkbox-inner {
1509
+ border-color: #d9d9d9 !important;
1510
+ border-radius: 4px !important;
1511
+ }
1512
+ .set-next-steps-users-mobile .antd-CheckboxControl .antd-Checkbox.is-checked .antd-Checkbox-inner {
1513
+ background-color: #2196F3 !important;
1514
+ border-color: #2196F3 !important;
1515
+ }
1516
+ .set-next-steps-users-mobile .antd-Form-item {
1517
+ margin-bottom: 0 !important;
1518
+ }
1519
+ .set-next-steps-users-mobile .antd-Form-item::after {
1520
+ content: none !important;
1521
+ }
1522
+ .set-next-steps-users-mobile td.is-modified {
1523
+ color: #000 !important;
1524
+ background: #fff !important;
1525
+ }
1526
+ }
1399
1527
 
1400
1528
  .amis-object-field-lookup .lookup-left {
1401
1529
  max-width: 50% !important;
@@ -1412,6 +1540,218 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
1412
1540
  border-bottom-left-radius: 0;
1413
1541
  }
1414
1542
 
1543
+ /* ApprovalTreeMenu - 审批中心左侧树菜单样式 */
1544
+
1545
+ /* 搜索框容器 */
1546
+ .approval-tree-menu__search {
1547
+ padding: 8px 12px 4px;
1548
+ }
1549
+
1550
+ .approval-tree-menu {
1551
+ width: 100%;
1552
+ overflow: visible;
1553
+ background: #fff;
1554
+ -webkit-user-select: none;
1555
+ -moz-user-select: none;
1556
+ user-select: none;
1557
+ padding: 4px 0;
1558
+ min-height: 100%;
1559
+ }
1560
+
1561
+ .approval-tree-menu::-webkit-scrollbar {
1562
+ width: 4px;
1563
+ }
1564
+
1565
+ .approval-tree-menu::-webkit-scrollbar-track {
1566
+ background: transparent;
1567
+ }
1568
+
1569
+ .approval-tree-menu::-webkit-scrollbar-thumb {
1570
+ background: #e0e0e0;
1571
+ border-radius: 2px;
1572
+ }
1573
+
1574
+ /* antd Tree 整体覆盖 */
1575
+ .approval-tree-menu .ant-tree {
1576
+ background: transparent;
1577
+ font-size: 14px;
1578
+ color: #333;
1579
+ }
1580
+
1581
+ /* Fix 1: 整行 hover 高亮 */
1582
+ .approval-tree-menu .ant-tree .ant-tree-treenode {
1583
+ width: auto;
1584
+ margin: 3px 0 0;
1585
+ padding: 0 4px 0 12px;
1586
+ transition: background 0.15s ease;
1587
+ border-radius: 6px;
1588
+ overflow: hidden;
1589
+ }
1590
+
1591
+ .approval-tree-menu .ant-tree .ant-tree-treenode:hover {
1592
+ background: rgb(248, 250, 252);
1593
+ border-radius: 6px;
1594
+ }
1595
+
1596
+ /* Fix 1: 整行选中高亮 */
1597
+ .approval-tree-menu .ant-tree .ant-tree-treenode.ant-tree-treenode-selected {
1598
+ background: rgb(240, 249, 255);
1599
+ border-radius: 6px;
1600
+ }
1601
+
1602
+ /* 内容区域:由 treenode 提供背景,自身透明 */
1603
+ .approval-tree-menu .ant-tree .ant-tree-node-content-wrapper {
1604
+ display: flex;
1605
+ align-items: center;
1606
+ padding: 0 4px;
1607
+ border-radius: 4px;
1608
+ height: 44px;
1609
+ line-height: 44px;
1610
+ background: transparent !important;
1611
+ /* 修复宽度约束链:flex-basis 必须为 0(不是 auto),
1612
+ 否则容器宽度由内容撑开,text-overflow: ellipsis 永远不会生效 */
1613
+ flex: 1 1 0%;
1614
+ min-width: 0;
1615
+ overflow: hidden;
1616
+ }
1617
+
1618
+ .approval-tree-menu .ant-tree .ant-tree-node-content-wrapper:hover {
1619
+ background: transparent !important;
1620
+ }
1621
+
1622
+ /* 选中状态:文字颜色和图标颜色 */
1623
+ .approval-tree-menu .ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected {
1624
+ background: transparent !important;
1625
+ color: rgb(0, 166, 244) !important;
1626
+ }
1627
+
1628
+ .approval-tree-menu .ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected .approval-tree-menu__label--group,
1629
+ .approval-tree-menu .ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected .approval-tree-menu__label--item {
1630
+ color: rgb(0, 166, 244) !important;
1631
+ font-weight: 500;
1632
+ }
1633
+
1634
+ .approval-tree-menu .ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected .ant-tree-iconEle {
1635
+ color: rgb(0, 166, 244);
1636
+ }
1637
+
1638
+ /* 图标 */
1639
+ .approval-tree-menu .ant-tree .ant-tree-iconEle {
1640
+ display: flex;
1641
+ align-items: center;
1642
+ justify-content: center;
1643
+ margin-right: 6px;
1644
+ font-size: 14px;
1645
+ color: #555;
1646
+ flex-shrink: 0;
1647
+ }
1648
+
1649
+ /* Fix 5: 展开/折叠箭头(通过 switcherIcon prop 渲染,CSS 控制颜色和尺寸) */
1650
+ /* inline-flex + 显式高度确保垂直居中,避免 hover 时箭头偏上 */
1651
+ .approval-tree-menu .ant-tree .ant-tree-switcher {
1652
+ display: inline-flex !important;
1653
+ align-items: center;
1654
+ justify-content: center;
1655
+ color: #bbb;
1656
+ width: 16px;
1657
+ height: 44px;
1658
+ flex-shrink: 0;
1659
+ line-height: 1;
1660
+ margin-right: 0;
1661
+ }
1662
+
1663
+ .approval-tree-menu .ant-tree .ant-tree-switcher .fa {
1664
+ line-height: 1;
1665
+ }
1666
+
1667
+ .approval-tree-menu .ant-tree .ant-tree-switcher:hover {
1668
+ color: rgb(0, 166, 244);
1669
+ }
1670
+
1671
+ /* 去掉 antd 5.x switcher 独立 hover 背景 — 导航菜单不需要箭头单独高亮 */
1672
+ .approval-tree-menu .ant-tree .ant-tree-switcher:not(.ant-tree-switcher-noop):hover:before {
1673
+ background-color: transparent !important;
1674
+ }
1675
+
1676
+ /* 叶子节点折叠箭头占位与父节点对齐 */
1677
+ .approval-tree-menu .ant-tree .ant-tree-switcher-noop {
1678
+ width: 16px;
1679
+ min-width: 16px;
1680
+ flex-shrink: 0;
1681
+ }
1682
+
1683
+ /* 叶子节点图标颜色 */
1684
+ .approval-tree-menu .ant-tree .ant-tree-treenode-leaf .ant-tree-iconEle {
1685
+ color: #888;
1686
+ }
1687
+
1688
+ /* 标题容器(含文字+角标) */
1689
+ .approval-tree-menu__title-wrap {
1690
+ display: flex;
1691
+ align-items: center;
1692
+ width: 100%;
1693
+ overflow: hidden;
1694
+ height: 100%;
1695
+ }
1696
+
1697
+ /* 标签文字 - 基础样式 */
1698
+ .approval-tree-menu__label {
1699
+ flex: 1;
1700
+ overflow: hidden;
1701
+ text-overflow: ellipsis;
1702
+ white-space: nowrap;
1703
+ font-size: 14px;
1704
+ line-height: 1.4;
1705
+ }
1706
+
1707
+ /* Fix 3: 一级分组节点(如"待审核"、"已审核"等)使用较浅颜色作为分组标题 */
1708
+ .approval-tree-menu .ant-tree .ant-tree-node-content-wrapper .approval-tree-menu__label--group {
1709
+ color: rgb(100, 116, 139) !important;
1710
+ font-weight: normal !important;
1711
+ }
1712
+
1713
+ /* Fix 3: 叶子/可点击节点使用加粗深色突出显示,与分组标题形成明显视觉层次 */
1714
+ .approval-tree-menu .ant-tree .ant-tree-node-content-wrapper .approval-tree-menu__label--item {
1715
+ color: rgb(71 85 105) !important;
1716
+ font-weight: 600 !important;
1717
+ }
1718
+
1719
+ /* Fix 4: 角标靠右对齐 — .ant-tree-title 须为 flex 子项才能让 title-wrap 的 width:100% 生效 */
1720
+ .approval-tree-menu .ant-tree .ant-tree-title {
1721
+ flex: 1;
1722
+ min-width: 0;
1723
+ overflow: hidden;
1724
+ }
1725
+
1726
+ .approval-tree-menu .ant-badge {
1727
+ flex-shrink: 0;
1728
+ margin-left: auto;
1729
+ line-height: 1;
1730
+ }
1731
+
1732
+ .approval-tree-menu .ant-badge .ant-badge-count {
1733
+ height: 16px;
1734
+ min-width: 16px;
1735
+ line-height: 16px;
1736
+ padding: 0 4px;
1737
+ font-size: 10px;
1738
+ border-radius: 8px;
1739
+ box-shadow: none;
1740
+ }
1741
+
1742
+ /* Tooltip:限制最大宽度,避免超长名称过宽 */
1743
+ .approval-tree-menu-tooltip {
1744
+ max-width: 300px;
1745
+ }
1746
+
1747
+ /* 当 EllipsisTooltip 激活时,antd Tooltip 会在 label span 外面包一层 span。
1748
+ 这个 wrapper 必须继承 flex 子项的布局属性,否则会撑开容器挤掉 Badge */
1749
+ .approval-tree-menu__title-wrap > .ant-tooltip-open {
1750
+ flex: 1;
1751
+ min-width: 0;
1752
+ overflow: hidden;
1753
+ }
1754
+
1415
1755
  @media (min-width: 767px) {
1416
1756
  .steedos-amis-form .antd-Collapse .antd-Form--normal,
1417
1757
  .steedos-amis-form .antd-Form--normal .antd-Tabs .antd-Tabs-content .antd-Tabs-pane .form-content {
@@ -2111,8 +2451,245 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
2111
2451
  .antd-Crud .antd-Table .antd-Table-table td.steedos-table-master_detail-field .antd-Wrapper .antd-Form-item .steedos-field-lookup-wrapper .steedos-field-lookup-each > .antd-Form-item:last-child {
2112
2452
  margin-right: 0;
2113
2453
  }
2454
+ .steedos-input-rich-text-readonly .antd-RichTextControl {
2455
+ overflow-x: auto;
2456
+ }
2457
+ .steedos-input-rich-text-readonly .antd-RichTextControl table {
2458
+ border-collapse: collapse !important;
2459
+ border: 1px solid #ddd !important;
2460
+ margin-bottom: 10px;
2461
+ }
2462
+ .steedos-input-rich-text-readonly .antd-RichTextControl table td,
2463
+ .steedos-input-rich-text-readonly .antd-RichTextControl table th {
2464
+ padding: 5px 10px !important;
2465
+ border: 1px solid #ddd !important;
2466
+ min-width: 50px;
2467
+ }
2468
+ .steedos-input-rich-text-readonly .antd-RichTextControl table th {
2469
+ background-color: #f7f7f7;
2470
+ font-weight: bold;
2471
+ }
2472
+ @media (max-width: 768px) {
2473
+ .steedos-object-form fieldset.antd-Collapse {
2474
+ min-width: 0;
2475
+ width: 100%;
2476
+ max-width: 100vw;
2477
+ /* 兜底 */
2478
+ }
2479
+ .steedos-input-rich-text-readonly .antd-Form-value {
2480
+ min-width: 0 !important;
2481
+ flex-shrink: 1 !important;
2482
+ width: 100% !important;
2483
+ }
2484
+ .steedos-input-rich-text-readonly .antd-RichTextControl {
2485
+ display: block !important;
2486
+ width: 100% !important;
2487
+ max-width: 100% !important;
2488
+ overflow-x: auto !important;
2489
+ }
2490
+ }
2114
2491
 
2115
2492
 
2493
+ .steedos-amis-instance-view .instance-form-view-mobile .ant-input-affix-wrapper,
2494
+ .steedos-amis-instance-view .instance-form-view-mobile .antd-TextControl-input,
2495
+ .steedos-amis-instance-view .instance-form-view-mobile .antd-ResultBox,
2496
+ .steedos-amis-instance-view .instance-form-view-mobile .antd-Select,
2497
+ .steedos-amis-instance-view .instance-form-view-mobile .antd-DatePicker,
2498
+ .steedos-amis-instance-view .instance-form-view-mobile .antd-TextareaControl-input,
2499
+ .steedos-amis-instance-view .instance-form-view-mobile .antd-Number,
2500
+ .steedos-amis-instance-view .instance-form-view-mobile .antd-Picker-input {
2501
+ background-color: transparent !important;
2502
+ border: none !important;
2503
+ box-shadow: none !important;
2504
+ }
2505
+ .steedos-amis-instance-view .instance-form-view-mobile .antd-Form-control {
2506
+ padding-left: 0 !important;
2507
+ padding-right: 0 !important;
2508
+ }
2509
+ .steedos-amis-instance-view .instance-form-view-mobile .antd-Form-control > .antd-Form-control {
2510
+ padding-left: 0 !important;
2511
+ padding-right: 0 !important;
2512
+ }
2513
+ .steedos-amis-instance-view .instance-form-view-mobile .antd-Form-control.antd-Form-static {
2514
+ padding-left: 0 !important;
2515
+ padding-right: 0 !important;
2516
+ }
2517
+ .steedos-amis-instance-view .instance-form-view-mobile .antd-Input,
2518
+ .steedos-amis-instance-view .instance-form-view-mobile .ant-picker-input > input,
2519
+ .steedos-amis-instance-view .instance-form-view-mobile .ant-select-selector,
2520
+ .steedos-amis-instance-view .instance-form-view-mobile .antd-TextControl-input,
2521
+ .steedos-amis-instance-view .instance-form-view-mobile .antd-DatePicker,
2522
+ .steedos-amis-instance-view .instance-form-view-mobile .antd-Number-input-wrap,
2523
+ .steedos-amis-instance-view .instance-form-view-mobile .antd-TextareaControl-input {
2524
+ padding-left: 0 !important;
2525
+ padding-right: 0 !important;
2526
+ }
2527
+ .steedos-amis-instance-view .instance-form-view-mobile .antd-TextControl-input input,
2528
+ .steedos-amis-instance-view .instance-form-view-mobile .antd-DatePicker input,
2529
+ .steedos-amis-instance-view .instance-form-view-mobile .antd-DatePicker-input,
2530
+ .steedos-amis-instance-view .instance-form-view-mobile .antd-Number-input-wrap input,
2531
+ .steedos-amis-instance-view .instance-form-view-mobile .antd-Number-input,
2532
+ .steedos-amis-instance-view .instance-form-view-mobile textarea.antd-TextareaControl-input {
2533
+ padding-left: 0 !important;
2534
+ padding-right: 0 !important;
2535
+ }
2536
+ .steedos-amis-instance-view .instance-form-view-mobile .antd-Form-item {
2537
+ border-bottom: none !important;
2538
+ margin-bottom: 0 !important;
2539
+ padding-bottom: 0 !important;
2540
+ }
2541
+ .steedos-amis-instance-view .instance-form-view-mobile .antd-Form-control {
2542
+ border-bottom: none !important;
2543
+ }
2544
+ .steedos-amis-instance-view .instance-form-view-mobile .mobile-section-divider {
2545
+ border-top: 1px solid #e5e7eb;
2546
+ padding-top: 16px !important;
2547
+ }
2548
+ .steedos-amis-instance-view .instance-form-view-mobile .mobile-section-divider .mobile-section-header .mobile-section-title {
2549
+ font-size: 16px;
2550
+ font-weight: 600;
2551
+ color: #0f172a;
2552
+ line-height: 1.5;
2553
+ letter-spacing: -0.01em;
2554
+ }
2555
+ .steedos-amis-instance-view .instance-form-view-mobile .mobile-section-divider .mobile-section-header .mobile-section-desc {
2556
+ font-size: 14px;
2557
+ font-weight: 400;
2558
+ color: #64748b;
2559
+ line-height: 1.4;
2560
+ margin-top: 2px;
2561
+ }
2562
+ .steedos-amis-instance-view .instance-form-view-mobile .steedos-input-table .antd-Table-table {
2563
+ border: none !important;
2564
+ }
2565
+ .steedos-amis-instance-view .instance-form-view-mobile .steedos-input-table .antd-Table-table thead th {
2566
+ background: transparent !important;
2567
+ border-bottom: 1px solid #e2e8f0 !important;
2568
+ border-top: none !important;
2569
+ border-left: none !important;
2570
+ border-right: none !important;
2571
+ color: #64748b;
2572
+ font-size: 13px;
2573
+ font-weight: 500;
2574
+ padding: 8px 10px !important;
2575
+ }
2576
+ .steedos-amis-instance-view .instance-form-view-mobile .steedos-input-table .antd-Table-table tbody td {
2577
+ border: none !important;
2578
+ border-bottom: 1px solid #f1f5f9 !important;
2579
+ padding: 10px !important;
2580
+ font-size: 14px;
2581
+ color: #1e293b;
2582
+ }
2583
+ .steedos-amis-instance-view .instance-form-view-mobile .steedos-input-table .antd-Table-table tbody tr:last-child td {
2584
+ border-bottom: none !important;
2585
+ }
2586
+ .steedos-amis-instance-view .instance-form-view-mobile .form-control .antd-InputTable .antd-InputTable-toolbar {
2587
+ border-top: 1px solid #e2e8f0 !important;
2588
+ }
2589
+ .steedos-amis-instance-view .instance-form-view-mobile .form-control .antd-InputTable .antd-InputTable-toolbar button {
2590
+ color: #64748b !important;
2591
+ font-size: 14px;
2592
+ }
2593
+ .steedos-amis-instance-view .instance-form-view-mobile .steedos-input-table .steedos-input-table-footer {
2594
+ border-top: 1px solid #e2e8f0 !important;
2595
+ }
2596
+ .steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-CheckboxesControl,
2597
+ .steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-CheckboxControl {
2598
+ padding: 8px 12px !important;
2599
+ }
2600
+ .steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-CheckboxesControl .antd-Checkbox,
2601
+ .steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-CheckboxControl .antd-Checkbox {
2602
+ display: flex !important;
2603
+ align-items: center !important;
2604
+ padding: 6px 0 !important;
2605
+ margin-bottom: 0 !important;
2606
+ cursor: pointer;
2607
+ }
2608
+ .steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-CheckboxesControl .antd-Checkbox input[type='checkbox'],
2609
+ .steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-CheckboxControl .antd-Checkbox input[type='checkbox'] {
2610
+ position: absolute;
2611
+ opacity: 0;
2612
+ width: 0;
2613
+ height: 0;
2614
+ }
2615
+ .steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-CheckboxesControl .antd-Checkbox > i,
2616
+ .steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-CheckboxControl .antd-Checkbox > i {
2617
+ width: 18px !important;
2618
+ height: 18px !important;
2619
+ min-width: 18px !important;
2620
+ border: 1.5px solid #d1d5db !important;
2621
+ border-radius: 4px !important;
2622
+ background: #fff !important;
2623
+ transition: all 0.15s ease-in-out;
2624
+ display: inline-flex !important;
2625
+ align-items: center;
2626
+ justify-content: center;
2627
+ margin-right: 8px !important;
2628
+ box-shadow: none !important;
2629
+ }
2630
+ .steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-CheckboxesControl .antd-Checkbox input[type='checkbox']:checked + i,
2631
+ .steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-CheckboxControl .antd-Checkbox input[type='checkbox']:checked + i {
2632
+ background: #0f172a !important;
2633
+ border-color: #0f172a !important;
2634
+ }
2635
+ .steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-CheckboxesControl .antd-Checkbox > span,
2636
+ .steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-CheckboxControl .antd-Checkbox > span {
2637
+ font-size: 15px !important;
2638
+ color: #1e293b;
2639
+ line-height: 1.4;
2640
+ -webkit-user-select: none;
2641
+ -moz-user-select: none;
2642
+ user-select: none;
2643
+ }
2644
+ .steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field > div {
2645
+ width: 100% !important;
2646
+ }
2647
+ .steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-Form-item {
2648
+ min-height: auto !important;
2649
+ padding: 0 !important;
2650
+ margin: 0 !important;
2651
+ border-bottom: none !important;
2652
+ }
2653
+ .steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-Form-control:not(.antd-CheckboxesControl):not(.antd-CheckboxControl):not(.antd-RadiosControl) {
2654
+ padding: 0 !important;
2655
+ border-bottom: none !important;
2656
+ }
2657
+ .steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-TextControl-input,
2658
+ .steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-Number,
2659
+ .steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-Number-input-wrap,
2660
+ .steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-DatePicker,
2661
+ .steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-Select,
2662
+ .steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-ResultBox,
2663
+ .steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-Picker-input {
2664
+ height: 44px !important;
2665
+ min-height: 44px !important;
2666
+ line-height: 44px !important;
2667
+ padding-top: 0 !important;
2668
+ padding-bottom: 0 !important;
2669
+ display: flex !important;
2670
+ align-items: center !important;
2671
+ box-sizing: border-box !important;
2672
+ }
2673
+ .steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field input:not([type='checkbox']):not([type='radio']),
2674
+ .steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field select,
2675
+ .steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-Number-input,
2676
+ .steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-DatePicker-input {
2677
+ height: 44px !important;
2678
+ min-height: 44px !important;
2679
+ line-height: 44px !important;
2680
+ padding-top: 0 !important;
2681
+ padding-bottom: 0 !important;
2682
+ box-sizing: border-box !important;
2683
+ font-size: 16px !important;
2684
+ }
2685
+ .steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field textarea,
2686
+ .steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field textarea.antd-TextareaControl-input {
2687
+ padding-top: 6px !important;
2688
+ padding-bottom: 6px !important;
2689
+ line-height: 1.5 !important;
2690
+ height: auto !important;
2691
+ min-height: auto !important;
2692
+ }
2116
2693
  .steedos-amis-instance-view {
2117
2694
  font-size: 0.8125rem;
2118
2695
  }
@@ -2128,6 +2705,11 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
2128
2705
  border-collapse: collapse;
2129
2706
  border: 2px solid #000;
2130
2707
  }
2708
+ .steedos-amis-instance-view .instance-form-view .steedos-user-selector .ant-input-affix-wrapper {
2709
+ background-color: transparent !important;
2710
+ border: none !important;
2711
+ box-shadow: none !important;
2712
+ }
2131
2713
  .steedos-amis-instance-view .instance-applicant-view {
2132
2714
  border: none !important;
2133
2715
  }
@@ -2191,6 +2773,28 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
2191
2773
  .approval-drawer .antd-Drawer-content {
2192
2774
  display: block !important;
2193
2775
  height: auto !important;
2776
+ max-height: 85vh;
2777
+ overflow-y: auto;
2778
+ }
2779
+ .approval-drawer .antd-Drawer-content:has(.approval-drawer-wizard) {
2780
+ overflow-y: hidden;
2781
+ }
2782
+ .approval-drawer .approval-drawer-wizard {
2783
+ display: flex !important;
2784
+ flex-direction: column;
2785
+ max-height: calc(85vh - 40px);
2786
+ overflow: hidden;
2787
+ }
2788
+ .approval-drawer .approval-drawer-wizard .antd-Wizard-step {
2789
+ display: flex;
2790
+ flex-direction: column;
2791
+ flex: 1;
2792
+ min-height: 0;
2793
+ }
2794
+ .approval-drawer .approval-drawer-wizard .antd-Wizard-stepContent {
2795
+ flex: 1;
2796
+ min-height: 0;
2797
+ overflow-y: auto;
2194
2798
  }
2195
2799
  .steedos-amis-instance-view .antd-PullRefresh {
2196
2800
  height: 100%;
@@ -2266,6 +2870,9 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
2266
2870
  .steedos-amis-instance-view table {
2267
2871
  border-collapse: collapse;
2268
2872
  }
2873
+ .steedos-amis-instance-view.steedos-instance-style-table table.instance-form-view {
2874
+ table-layout: fixed;
2875
+ }
2269
2876
  .steedos-amis-instance-view.steedos-instance-style-table table.instance-form-view .steedos-input-number-edit .antd-Number-handler-wrap {
2270
2877
  border-left: none;
2271
2878
  outline: none;
@@ -2290,12 +2897,227 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
2290
2897
  .instance-applicant-view .antd-Picker .antd-Picker-btn {
2291
2898
  display: none;
2292
2899
  }
2900
+ .instance-applicant-view .steedos-user-selector .ant-input-affix-wrapper {
2901
+ border: none;
2902
+ box-shadow: none;
2903
+ background: transparent;
2904
+ }
2905
+ .instance-applicant-view .steedos-user-selector .ant-input-suffix {
2906
+ display: none;
2907
+ }
2293
2908
  .instance-form-view .antd-Form-star {
2294
2909
  display: none;
2295
2910
  }
2296
2911
  .instance-form-view .steedos-field-required .antd-Form-star {
2297
2912
  display: inline;
2298
2913
  }
2914
+ @media (max-width: 768px) {
2915
+ .steedos-amis-instance-view {
2916
+ /* 附件区域优化: 让 Label 和上传按钮靠左紧凑排列 */
2917
+ /* 相关文件区域优化: 标题和列表项左对齐,与附件列表风格统一 */
2918
+ /* 底部提交人区域优化 */
2919
+ /* 签批历程区域优化:与表单左右对齐、字体统一 */
2920
+ }
2921
+ .steedos-amis-instance-view .instance-file-list {
2922
+ padding-left: 8px !important;
2923
+ padding-right: 8px !important;
2924
+ margin-top: 0 !important;
2925
+ padding-top: 0px !important;
2926
+ /* 去除顶部间距 */
2927
+ }
2928
+ .steedos-amis-instance-view .instance-file-list .antd-Form-item {
2929
+ display: flex !important;
2930
+ justify-content: flex-start !important;
2931
+ flex-wrap: nowrap !important;
2932
+ align-items: center !important;
2933
+ }
2934
+ .steedos-amis-instance-view .instance-file-list .antd-Form-item .antd-Form-label {
2935
+ flex: 0 0 auto !important;
2936
+ width: auto !important;
2937
+ max-width: none !important;
2938
+ margin-right: 8px !important;
2939
+ padding: 0 !important;
2940
+ text-align: left !important;
2941
+ /* 统一标题字体 */
2942
+ }
2943
+ .steedos-amis-instance-view .instance-file-list .antd-Form-item .antd-Form-label.antd-List-heading {
2944
+ font-size: 14px !important;
2945
+ font-weight: bold !important;
2946
+ color: #374151 !important;
2947
+ /* text-gray-700 */
2948
+ }
2949
+ .steedos-amis-instance-view .instance-file-list .antd-Form-item .antd-Form-value {
2950
+ flex: 0 0 auto !important;
2951
+ width: auto !important;
2952
+ min-width: 0 !important;
2953
+ /* 针对可能存在的按钮容器 */
2954
+ }
2955
+ .steedos-amis-instance-view .instance-file-list .antd-Form-item .antd-Form-value .antd-Form-control,
2956
+ .steedos-amis-instance-view .instance-file-list .antd-Form-item .antd-Form-value .antd-FileControl,
2957
+ .steedos-amis-instance-view .instance-file-list .antd-Form-item .antd-Form-value .antd-FileControl-dropzone {
2958
+ padding: 0 !important;
2959
+ margin: 0 !important;
2960
+ border: none !important;
2961
+ min-height: auto !important;
2962
+ }
2963
+ .steedos-amis-instance-view .instance-file-list .antd-Form-item .antd-Form-value .antd-FileControl-selectBtn {
2964
+ margin: 0 !important;
2965
+ }
2966
+ .steedos-amis-instance-view .instance-related-list {
2967
+ padding-left: 8px !important;
2968
+ padding-right: 8px !important;
2969
+ /* 标题区域 */
2970
+ /* 列表容器 */
2971
+ /* 列表单项 - 与附件列表统一 */
2972
+ /* 删除按钮对齐 */
2973
+ }
2974
+ .steedos-amis-instance-view .instance-related-list .cxd-List-heading,
2975
+ .steedos-amis-instance-view .instance-related-list .antd-List-heading {
2976
+ padding-left: 0 !important;
2977
+ padding-right: 0 !important;
2978
+ text-align: left !important;
2979
+ font-weight: bold;
2980
+ border: none !important;
2981
+ font-size: 14px !important;
2982
+ line-height: 1.5;
2983
+ color: #374151;
2984
+ /* text-gray-700 */
2985
+ }
2986
+ .steedos-amis-instance-view .instance-related-list .cxd-List-items,
2987
+ .steedos-amis-instance-view .instance-related-list .antd-List-items {
2988
+ padding-left: 0 !important;
2989
+ margin-left: 0 !important;
2990
+ }
2991
+ .steedos-amis-instance-view .instance-related-list .cxd-List-item,
2992
+ .steedos-amis-instance-view .instance-related-list .antd-List-item {
2993
+ padding: 8px 0 !important;
2994
+ margin: 0 !important;
2995
+ border-bottom: 1px solid #f0f0f0;
2996
+ }
2997
+ .steedos-amis-instance-view .instance-related-list .cxd-List-item a,
2998
+ .steedos-amis-instance-view .instance-related-list .antd-List-item a {
2999
+ display: block;
3000
+ text-align: left;
3001
+ color: #374151;
3002
+ /* text-gray-700 */
3003
+ font-size: 14px;
3004
+ font-weight: 500;
3005
+ line-height: 1.5;
3006
+ }
3007
+ .steedos-amis-instance-view .instance-related-list .cxd-List-item a:hover,
3008
+ .steedos-amis-instance-view .instance-related-list .antd-List-item a:hover {
3009
+ color: #2563eb;
3010
+ /* text-blue-600 */
3011
+ text-decoration: underline;
3012
+ }
3013
+ .steedos-amis-instance-view .instance-related-list .antd-ListItem--actions-at-right {
3014
+ padding-left: 0 !important;
3015
+ padding-right: 0 !important;
3016
+ }
3017
+ .steedos-amis-instance-view .instance-related-list .cxd-ListItem-actions .cxd-Button--link,
3018
+ .steedos-amis-instance-view .instance-related-list .antd-ListItem-actions .cxd-Button--link,
3019
+ .steedos-amis-instance-view .instance-related-list .cxd-ListItem-actions .antd-Button--link,
3020
+ .steedos-amis-instance-view .instance-related-list .antd-ListItem-actions .antd-Button--link {
3021
+ padding: 4px !important;
3022
+ min-width: auto !important;
3023
+ }
3024
+ .steedos-amis-instance-view .instance-applicant-view {
3025
+ border: none !important;
3026
+ /* 隐藏提交日期列(第二个td) */
3027
+ /* 提交人列占满宽度,用flex确保label在左、value在右 */
3028
+ }
3029
+ .steedos-amis-instance-view .instance-applicant-view td {
3030
+ border: none !important;
3031
+ }
3032
+ .steedos-amis-instance-view .instance-applicant-view td:last-child {
3033
+ display: none !important;
3034
+ }
3035
+ .steedos-amis-instance-view .instance-applicant-view td:first-child {
3036
+ width: 100% !important;
3037
+ display: flex !important;
3038
+ align-items: center !important;
3039
+ flex-wrap: nowrap;
3040
+ padding-left: 6px;
3041
+ /* 取消 inline-left 的 float,改由 flex 控制排列 */
3042
+ }
3043
+ .steedos-amis-instance-view .instance-applicant-view td:first-child .inline-left {
3044
+ float: none !important;
3045
+ display: inline-block !important;
3046
+ }
3047
+ .steedos-amis-instance-view .instance-approve-history {
3048
+ /* 与表单 px-2 对齐,覆盖模板中的 border-t */
3049
+ padding-left: 0 !important;
3050
+ padding-right: 0 !important;
3051
+ margin-top: 16px !important;
3052
+ /* 标题 "签批历程":与表单字段标题对齐 */
3053
+ /* 内容容器 */
3054
+ }
3055
+ .steedos-amis-instance-view .instance-approve-history > div:first-child {
3056
+ padding-left: 8px !important;
3057
+ padding-right: 8px !important;
3058
+ font-size: 16px !important;
3059
+ }
3060
+ .steedos-amis-instance-view .instance-approve-history > .flex.flex-col {
3061
+ font-size: 14px !important;
3062
+ /* 步骤名称(如"开始"、"车间主管领导(会签)") */
3063
+ /* 每条审批卡片 */
3064
+ }
3065
+ .steedos-amis-instance-view .instance-approve-history > .flex.flex-col > div[class*="px-4"][class*="text-xs"] {
3066
+ padding-left: 8px !important;
3067
+ padding-right: 8px !important;
3068
+ font-size: 14px !important;
3069
+ }
3070
+ .steedos-amis-instance-view .instance-approve-history > .flex.flex-col > div[class*="px-4"][class*="mx-4"] {
3071
+ margin-left: 8px !important;
3072
+ margin-right: 8px !important;
3073
+ /* 审批人名字 */
3074
+ /* 意见文字 */
3075
+ }
3076
+ .steedos-amis-instance-view .instance-approve-history > .flex.flex-col > div[class*="px-4"][class*="mx-4"] .text-\[15px\] {
3077
+ font-size: 15px !important;
3078
+ }
3079
+ .steedos-amis-instance-view .instance-approve-history > .flex.flex-col > div[class*="px-4"][class*="mx-4"] .text-sm {
3080
+ font-size: 14px !important;
3081
+ }
3082
+ }
3083
+ .steedos-amis-instance-view .instance-form-view .steedos-field-html-readonly,
3084
+ .steedos-amis-instance-view .instance-form-view-mobile .steedos-field-html-readonly,
3085
+ .steedos-amis-instance-view .instance-form-view .antd-RichTextControl,
3086
+ .steedos-amis-instance-view .instance-form-view-mobile .antd-RichTextControl {
3087
+ display: block;
3088
+ width: 100%;
3089
+ max-width: 100%;
3090
+ min-width: 0;
3091
+ overflow-x: auto;
3092
+ flex-shrink: 1;
3093
+ }
3094
+ .steedos-amis-instance-view .instance-form-view .steedos-field-html-readonly table,
3095
+ .steedos-amis-instance-view .instance-form-view-mobile .steedos-field-html-readonly table,
3096
+ .steedos-amis-instance-view .instance-form-view .antd-RichTextControl table,
3097
+ .steedos-amis-instance-view .instance-form-view-mobile .antd-RichTextControl table {
3098
+ border-collapse: collapse !important;
3099
+ border: 1px solid #ddd !important;
3100
+ margin-bottom: 10px;
3101
+ }
3102
+ .steedos-amis-instance-view .instance-form-view .steedos-field-html-readonly table td,
3103
+ .steedos-amis-instance-view .instance-form-view-mobile .steedos-field-html-readonly table td,
3104
+ .steedos-amis-instance-view .instance-form-view .antd-RichTextControl table td,
3105
+ .steedos-amis-instance-view .instance-form-view-mobile .antd-RichTextControl table td,
3106
+ .steedos-amis-instance-view .instance-form-view .steedos-field-html-readonly table th,
3107
+ .steedos-amis-instance-view .instance-form-view-mobile .steedos-field-html-readonly table th,
3108
+ .steedos-amis-instance-view .instance-form-view .antd-RichTextControl table th,
3109
+ .steedos-amis-instance-view .instance-form-view-mobile .antd-RichTextControl table th {
3110
+ padding: 5px 10px !important;
3111
+ border: 1px solid #ddd !important;
3112
+ min-width: 50px;
3113
+ }
3114
+ .steedos-amis-instance-view .instance-form-view .steedos-field-html-readonly table th,
3115
+ .steedos-amis-instance-view .instance-form-view-mobile .steedos-field-html-readonly table th,
3116
+ .steedos-amis-instance-view .instance-form-view .antd-RichTextControl table th,
3117
+ .steedos-amis-instance-view .instance-form-view-mobile .antd-RichTextControl table th {
3118
+ background-color: #f7f7f7;
3119
+ font-weight: bold;
3120
+ }
2299
3121
 
2300
3122
  .steedos-input-table .steedos-delete-button:hover {
2301
3123
  color: rgb(239 68 68) !important;
@@ -2380,6 +3202,10 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
2380
3202
  background-color: white;
2381
3203
  }
2382
3204
  }
3205
+ .steedos-input-table .antd-Table-table .antd-Form-item .antd-Form-static .antd-NumberField {
3206
+ white-space: nowrap;
3207
+ word-break: normal;
3208
+ }
2383
3209
 
2384
3210
 
2385
3211
  form[name="instanceForm"] .sfield-item {