@steedos-widgets/amis-object 6.10.52-beta.4 → 6.10.52-beta.40
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/amis/AmisInputTable.d.ts +0 -16
- package/dist/amis/AmisInstanceHandler.d.ts +43 -17
- package/dist/amis/AmisRecordDetailHeader.d.ts +1 -1
- package/dist/amis-object.umd.css +971 -0
- package/dist/amis-object.umd.js +1 -1
- package/dist/amis-object.umd.js.map +1 -1
- package/dist/assets.json +5 -5
- package/dist/components/ApprovalTreeMenu.d.ts +137 -0
- package/dist/components/MobileDrawerContent.d.ts +38 -0
- package/dist/components/SteedosFileUpload.d.ts +32 -0
- package/dist/components/SteedosOrgSelector.d.ts +15 -4
- package/dist/components/SteedosUserSelector.d.ts +6 -2
- package/dist/components/index.d.ts +2 -0
- package/dist/meta.js +1266 -1082
- package/dist/metas/ApprovalTreeMenu.d.ts +6 -0
- package/dist/metas/SteedosFileUpload.d.ts +5 -0
- package/package.json +4 -4
package/dist/amis-object.umd.css
CHANGED
|
@@ -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,117 @@ 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
|
+
.set-next-steps-users {
|
|
1414
|
+
margin-top: 0.5rem !important;
|
|
1415
|
+
margin-bottom: 0.5rem !important;
|
|
1416
|
+
border-color: #c0c0c0 !important;
|
|
1417
|
+
border-width: 2px !important;
|
|
1418
|
+
}
|
|
1419
|
+
.set-next-steps-users .antd-Table-title {
|
|
1420
|
+
border-color: #d9d9d9 !important;
|
|
1421
|
+
}
|
|
1422
|
+
.set-next-steps-users th,
|
|
1423
|
+
.set-next-steps-users td {
|
|
1424
|
+
border-color: #e8e8e8 !important;
|
|
1425
|
+
padding: 4px 8px !important;
|
|
1426
|
+
}
|
|
1427
|
+
.set-next-steps-users th {
|
|
1428
|
+
padding: 6px 8px !important;
|
|
1429
|
+
}
|
|
1430
|
+
.set-next-steps-users .steedos-user-selector .ant-input-affix-wrapper {
|
|
1431
|
+
border: none !important;
|
|
1432
|
+
box-shadow: none !important;
|
|
1433
|
+
background: transparent !important;
|
|
1434
|
+
padding: 0 !important;
|
|
1435
|
+
min-width: unset !important;
|
|
1436
|
+
}
|
|
1437
|
+
.set-next-steps-users .steedos-user-selector .ant-input {
|
|
1438
|
+
color: #1890ff !important;
|
|
1439
|
+
cursor: pointer !important;
|
|
1440
|
+
padding: 0 !important;
|
|
1441
|
+
height: auto !important;
|
|
1442
|
+
}
|
|
1443
|
+
.set-next-steps-users .steedos-user-selector .ant-input-suffix {
|
|
1444
|
+
display: none !important;
|
|
1445
|
+
}
|
|
1446
|
+
.set-next-steps-users .antd-Form-item {
|
|
1447
|
+
margin-bottom: 0 !important;
|
|
1448
|
+
padding: 0 !important;
|
|
1449
|
+
}
|
|
1450
|
+
.set-next-steps-users .antd-CheckboxControl {
|
|
1451
|
+
padding: 0 !important;
|
|
1452
|
+
line-height: 1 !important;
|
|
1453
|
+
}
|
|
1454
|
+
.set-next-steps-users .antd-RadiosControl,
|
|
1455
|
+
.set-next-steps-users .antd-CheckboxesControl {
|
|
1456
|
+
flex-direction: column !important;
|
|
1457
|
+
gap: 4px !important;
|
|
1458
|
+
}
|
|
1459
|
+
.set-next-steps-users td[data-col="2"]:has(.antd-Service) {
|
|
1460
|
+
background: rgba(255, 251, 235, 0.8) !important;
|
|
1461
|
+
}
|
|
1462
|
+
.approval-drawer-mobile-wizard .approval-drawer-wizard .antd-Wizard-steps,
|
|
1463
|
+
.approval-drawer-mobile-wizard .approval-drawer-wizard .antd--Wizard-steps {
|
|
1464
|
+
display: none !important;
|
|
1465
|
+
}
|
|
1466
|
+
.approval-drawer-mobile-wizard .antd-Wizard-toolbar {
|
|
1467
|
+
position: sticky;
|
|
1468
|
+
bottom: 0;
|
|
1469
|
+
background: #fff;
|
|
1470
|
+
padding: 12px;
|
|
1471
|
+
z-index: 10;
|
|
1472
|
+
border-top: 1px solid #e8e8e8;
|
|
1473
|
+
}
|
|
1474
|
+
.approval-drawer-mobile-wizard .mobile-wizard-step-indicator {
|
|
1475
|
+
display: flex;
|
|
1476
|
+
align-items: center;
|
|
1477
|
+
justify-content: center;
|
|
1478
|
+
gap: 10px;
|
|
1479
|
+
font-size: 13px;
|
|
1480
|
+
color: #666;
|
|
1481
|
+
padding: 0 0 10px;
|
|
1482
|
+
}
|
|
1483
|
+
.approval-drawer-mobile-wizard .mobile-wizard-step-indicator .step-dot {
|
|
1484
|
+
width: 8px;
|
|
1485
|
+
height: 8px;
|
|
1486
|
+
border-radius: 50%;
|
|
1487
|
+
background: #d1d5db;
|
|
1488
|
+
display: inline-block;
|
|
1489
|
+
}
|
|
1490
|
+
.approval-drawer-mobile-wizard .mobile-wizard-step-indicator .step-dot.active {
|
|
1491
|
+
background: #2196f3;
|
|
1492
|
+
}
|
|
1493
|
+
.approval-drawer-mobile-wizard .mobile-wizard-step-indicator .step-title {
|
|
1494
|
+
margin-left: 4px;
|
|
1495
|
+
color: #333;
|
|
1496
|
+
font-weight: 500;
|
|
1497
|
+
}
|
|
1498
|
+
}
|
|
1499
|
+
.steedos-amis-instance-view .steedos-field-group-edit .steedos-org-selector .ant-input-outlined {
|
|
1500
|
+
background: transparent !important;
|
|
1501
|
+
}
|
|
1502
|
+
.steedos-amis-instance-view .steedos-org-selector .ant-input-outlined {
|
|
1503
|
+
border: none !important;
|
|
1504
|
+
}
|
|
1505
|
+
.steedos-amis-instance-view .workflow-form-v2 .steedos-org-selector .ant-input-outlined {
|
|
1506
|
+
padding: 4px 11px;
|
|
1507
|
+
border: 1px solid #d9d9d9 !important;
|
|
1508
|
+
}
|
|
1509
|
+
.instance-scrollable-list {
|
|
1510
|
+
max-height: 180px;
|
|
1511
|
+
overflow-y: auto;
|
|
1512
|
+
}
|
|
1513
|
+
.steedos-instance-print-wrapper .instance-scrollable-list {
|
|
1514
|
+
max-height: none;
|
|
1515
|
+
overflow-y: visible;
|
|
1516
|
+
}
|
|
1399
1517
|
|
|
1400
1518
|
.amis-object-field-lookup .lookup-left {
|
|
1401
1519
|
max-width: 50% !important;
|
|
@@ -1412,6 +1530,218 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
|
|
|
1412
1530
|
border-bottom-left-radius: 0;
|
|
1413
1531
|
}
|
|
1414
1532
|
|
|
1533
|
+
/* ApprovalTreeMenu - 审批中心左侧树菜单样式 */
|
|
1534
|
+
|
|
1535
|
+
/* 搜索框容器 */
|
|
1536
|
+
.approval-tree-menu__search {
|
|
1537
|
+
padding: 8px 12px 4px;
|
|
1538
|
+
}
|
|
1539
|
+
|
|
1540
|
+
.approval-tree-menu {
|
|
1541
|
+
width: 100%;
|
|
1542
|
+
overflow: visible;
|
|
1543
|
+
background: #fff;
|
|
1544
|
+
-webkit-user-select: none;
|
|
1545
|
+
-moz-user-select: none;
|
|
1546
|
+
user-select: none;
|
|
1547
|
+
padding: 4px 0;
|
|
1548
|
+
min-height: 100%;
|
|
1549
|
+
}
|
|
1550
|
+
|
|
1551
|
+
.approval-tree-menu::-webkit-scrollbar {
|
|
1552
|
+
width: 4px;
|
|
1553
|
+
}
|
|
1554
|
+
|
|
1555
|
+
.approval-tree-menu::-webkit-scrollbar-track {
|
|
1556
|
+
background: transparent;
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1559
|
+
.approval-tree-menu::-webkit-scrollbar-thumb {
|
|
1560
|
+
background: #e0e0e0;
|
|
1561
|
+
border-radius: 2px;
|
|
1562
|
+
}
|
|
1563
|
+
|
|
1564
|
+
/* antd Tree 整体覆盖 */
|
|
1565
|
+
.approval-tree-menu .ant-tree {
|
|
1566
|
+
background: transparent;
|
|
1567
|
+
font-size: 14px;
|
|
1568
|
+
color: #333;
|
|
1569
|
+
}
|
|
1570
|
+
|
|
1571
|
+
/* Fix 1: 整行 hover 高亮 */
|
|
1572
|
+
.approval-tree-menu .ant-tree .ant-tree-treenode {
|
|
1573
|
+
width: auto;
|
|
1574
|
+
margin: 3px 0 0;
|
|
1575
|
+
padding: 0 4px 0 12px;
|
|
1576
|
+
transition: background 0.15s ease;
|
|
1577
|
+
border-radius: 6px;
|
|
1578
|
+
overflow: hidden;
|
|
1579
|
+
}
|
|
1580
|
+
|
|
1581
|
+
.approval-tree-menu .ant-tree .ant-tree-treenode:hover {
|
|
1582
|
+
background: rgb(248, 250, 252);
|
|
1583
|
+
border-radius: 6px;
|
|
1584
|
+
}
|
|
1585
|
+
|
|
1586
|
+
/* Fix 1: 整行选中高亮 */
|
|
1587
|
+
.approval-tree-menu .ant-tree .ant-tree-treenode.ant-tree-treenode-selected {
|
|
1588
|
+
background: rgb(240, 249, 255);
|
|
1589
|
+
border-radius: 6px;
|
|
1590
|
+
}
|
|
1591
|
+
|
|
1592
|
+
/* 内容区域:由 treenode 提供背景,自身透明 */
|
|
1593
|
+
.approval-tree-menu .ant-tree .ant-tree-node-content-wrapper {
|
|
1594
|
+
display: flex;
|
|
1595
|
+
align-items: center;
|
|
1596
|
+
padding: 0 4px;
|
|
1597
|
+
border-radius: 4px;
|
|
1598
|
+
height: 44px;
|
|
1599
|
+
line-height: 44px;
|
|
1600
|
+
background: transparent !important;
|
|
1601
|
+
/* 修复宽度约束链:flex-basis 必须为 0(不是 auto),
|
|
1602
|
+
否则容器宽度由内容撑开,text-overflow: ellipsis 永远不会生效 */
|
|
1603
|
+
flex: 1 1 0%;
|
|
1604
|
+
min-width: 0;
|
|
1605
|
+
overflow: hidden;
|
|
1606
|
+
}
|
|
1607
|
+
|
|
1608
|
+
.approval-tree-menu .ant-tree .ant-tree-node-content-wrapper:hover {
|
|
1609
|
+
background: transparent !important;
|
|
1610
|
+
}
|
|
1611
|
+
|
|
1612
|
+
/* 选中状态:文字颜色和图标颜色 */
|
|
1613
|
+
.approval-tree-menu .ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected {
|
|
1614
|
+
background: transparent !important;
|
|
1615
|
+
color: rgb(0, 166, 244) !important;
|
|
1616
|
+
}
|
|
1617
|
+
|
|
1618
|
+
.approval-tree-menu .ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected .approval-tree-menu__label--group,
|
|
1619
|
+
.approval-tree-menu .ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected .approval-tree-menu__label--item {
|
|
1620
|
+
color: rgb(0, 166, 244) !important;
|
|
1621
|
+
font-weight: 500;
|
|
1622
|
+
}
|
|
1623
|
+
|
|
1624
|
+
.approval-tree-menu .ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected .ant-tree-iconEle {
|
|
1625
|
+
color: rgb(0, 166, 244);
|
|
1626
|
+
}
|
|
1627
|
+
|
|
1628
|
+
/* 图标 */
|
|
1629
|
+
.approval-tree-menu .ant-tree .ant-tree-iconEle {
|
|
1630
|
+
display: flex;
|
|
1631
|
+
align-items: center;
|
|
1632
|
+
justify-content: center;
|
|
1633
|
+
margin-right: 6px;
|
|
1634
|
+
font-size: 14px;
|
|
1635
|
+
color: #555;
|
|
1636
|
+
flex-shrink: 0;
|
|
1637
|
+
}
|
|
1638
|
+
|
|
1639
|
+
/* Fix 5: 展开/折叠箭头(通过 switcherIcon prop 渲染,CSS 控制颜色和尺寸) */
|
|
1640
|
+
/* inline-flex + 显式高度确保垂直居中,避免 hover 时箭头偏上 */
|
|
1641
|
+
.approval-tree-menu .ant-tree .ant-tree-switcher {
|
|
1642
|
+
display: inline-flex !important;
|
|
1643
|
+
align-items: center;
|
|
1644
|
+
justify-content: center;
|
|
1645
|
+
color: #bbb;
|
|
1646
|
+
width: 16px;
|
|
1647
|
+
height: 44px;
|
|
1648
|
+
flex-shrink: 0;
|
|
1649
|
+
line-height: 1;
|
|
1650
|
+
margin-right: 0;
|
|
1651
|
+
}
|
|
1652
|
+
|
|
1653
|
+
.approval-tree-menu .ant-tree .ant-tree-switcher .fa {
|
|
1654
|
+
line-height: 1;
|
|
1655
|
+
}
|
|
1656
|
+
|
|
1657
|
+
.approval-tree-menu .ant-tree .ant-tree-switcher:hover {
|
|
1658
|
+
color: rgb(0, 166, 244);
|
|
1659
|
+
}
|
|
1660
|
+
|
|
1661
|
+
/* 去掉 antd 5.x switcher 独立 hover 背景 — 导航菜单不需要箭头单独高亮 */
|
|
1662
|
+
.approval-tree-menu .ant-tree .ant-tree-switcher:not(.ant-tree-switcher-noop):hover:before {
|
|
1663
|
+
background-color: transparent !important;
|
|
1664
|
+
}
|
|
1665
|
+
|
|
1666
|
+
/* 叶子节点折叠箭头占位与父节点对齐 */
|
|
1667
|
+
.approval-tree-menu .ant-tree .ant-tree-switcher-noop {
|
|
1668
|
+
width: 16px;
|
|
1669
|
+
min-width: 16px;
|
|
1670
|
+
flex-shrink: 0;
|
|
1671
|
+
}
|
|
1672
|
+
|
|
1673
|
+
/* 叶子节点图标颜色 */
|
|
1674
|
+
.approval-tree-menu .ant-tree .ant-tree-treenode-leaf .ant-tree-iconEle {
|
|
1675
|
+
color: #888;
|
|
1676
|
+
}
|
|
1677
|
+
|
|
1678
|
+
/* 标题容器(含文字+角标) */
|
|
1679
|
+
.approval-tree-menu__title-wrap {
|
|
1680
|
+
display: flex;
|
|
1681
|
+
align-items: center;
|
|
1682
|
+
width: 100%;
|
|
1683
|
+
overflow: hidden;
|
|
1684
|
+
height: 100%;
|
|
1685
|
+
}
|
|
1686
|
+
|
|
1687
|
+
/* 标签文字 - 基础样式 */
|
|
1688
|
+
.approval-tree-menu__label {
|
|
1689
|
+
flex: 1;
|
|
1690
|
+
overflow: hidden;
|
|
1691
|
+
text-overflow: ellipsis;
|
|
1692
|
+
white-space: nowrap;
|
|
1693
|
+
font-size: 14px;
|
|
1694
|
+
line-height: 1.4;
|
|
1695
|
+
}
|
|
1696
|
+
|
|
1697
|
+
/* Fix 3: 一级分组节点(如"待审核"、"已审核"等)使用较浅颜色作为分组标题 */
|
|
1698
|
+
.approval-tree-menu .ant-tree .ant-tree-node-content-wrapper .approval-tree-menu__label--group {
|
|
1699
|
+
color: rgb(100, 116, 139) !important;
|
|
1700
|
+
font-weight: normal !important;
|
|
1701
|
+
}
|
|
1702
|
+
|
|
1703
|
+
/* Fix 3: 叶子/可点击节点使用加粗深色突出显示,与分组标题形成明显视觉层次 */
|
|
1704
|
+
.approval-tree-menu .ant-tree .ant-tree-node-content-wrapper .approval-tree-menu__label--item {
|
|
1705
|
+
color: rgb(71 85 105) !important;
|
|
1706
|
+
font-weight: 600 !important;
|
|
1707
|
+
}
|
|
1708
|
+
|
|
1709
|
+
/* Fix 4: 角标靠右对齐 — .ant-tree-title 须为 flex 子项才能让 title-wrap 的 width:100% 生效 */
|
|
1710
|
+
.approval-tree-menu .ant-tree .ant-tree-title {
|
|
1711
|
+
flex: 1;
|
|
1712
|
+
min-width: 0;
|
|
1713
|
+
overflow: hidden;
|
|
1714
|
+
}
|
|
1715
|
+
|
|
1716
|
+
.approval-tree-menu .ant-badge {
|
|
1717
|
+
flex-shrink: 0;
|
|
1718
|
+
margin-left: auto;
|
|
1719
|
+
line-height: 1;
|
|
1720
|
+
}
|
|
1721
|
+
|
|
1722
|
+
.approval-tree-menu .ant-badge .ant-badge-count {
|
|
1723
|
+
height: 16px;
|
|
1724
|
+
min-width: 16px;
|
|
1725
|
+
line-height: 16px;
|
|
1726
|
+
padding: 0 4px;
|
|
1727
|
+
font-size: 10px;
|
|
1728
|
+
border-radius: 8px;
|
|
1729
|
+
box-shadow: none;
|
|
1730
|
+
}
|
|
1731
|
+
|
|
1732
|
+
/* Tooltip:限制最大宽度,避免超长名称过宽 */
|
|
1733
|
+
.approval-tree-menu-tooltip {
|
|
1734
|
+
max-width: 300px;
|
|
1735
|
+
}
|
|
1736
|
+
|
|
1737
|
+
/* 当 EllipsisTooltip 激活时,antd Tooltip 会在 label span 外面包一层 span。
|
|
1738
|
+
这个 wrapper 必须继承 flex 子项的布局属性,否则会撑开容器挤掉 Badge */
|
|
1739
|
+
.approval-tree-menu__title-wrap > .ant-tooltip-open {
|
|
1740
|
+
flex: 1;
|
|
1741
|
+
min-width: 0;
|
|
1742
|
+
overflow: hidden;
|
|
1743
|
+
}
|
|
1744
|
+
|
|
1415
1745
|
@media (min-width: 767px) {
|
|
1416
1746
|
.steedos-amis-form .antd-Collapse .antd-Form--normal,
|
|
1417
1747
|
.steedos-amis-form .antd-Form--normal .antd-Tabs .antd-Tabs-content .antd-Tabs-pane .form-content {
|
|
@@ -1569,6 +1899,14 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
|
|
|
1569
1899
|
列表快速搜索,手机端及PC端分栏模式需要独占一行,另外card模式,即antd-Cards-toolbar也一样
|
|
1570
1900
|
*/
|
|
1571
1901
|
@media (max-width: 768px) {
|
|
1902
|
+
.antd-Modal .antd-Modal-body .antd-SearchBox.is-mobile.is-active {
|
|
1903
|
+
border: var(--Form-input-borderWidth) solid var(--Form-input-borderColor);
|
|
1904
|
+
border-radius: var(--Form-input-borderRadius);
|
|
1905
|
+
}
|
|
1906
|
+
.steedos-object-table .antd-SearchBox.is-mobile.is-active {
|
|
1907
|
+
border: var(--Form-input-borderWidth) solid var(--Form-input-borderColor);
|
|
1908
|
+
border-radius: var(--Form-input-borderRadius);
|
|
1909
|
+
}
|
|
1572
1910
|
.steedos-object-table .antd-Crud > form.antd-Form:before {
|
|
1573
1911
|
border-bottom: none;
|
|
1574
1912
|
}
|
|
@@ -1586,6 +1924,9 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
|
|
|
1586
1924
|
max-height: calc(100% - 110px);
|
|
1587
1925
|
overflow-y: auto;
|
|
1588
1926
|
}
|
|
1927
|
+
.page-list-split .steedos-listview-item .steedos-listview-item-right {
|
|
1928
|
+
max-width: 50%;
|
|
1929
|
+
}
|
|
1589
1930
|
.page-list-split .steedos-object-listview .steedos-object-listview-content-wrapper .steedos-object-listview-content .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards {
|
|
1590
1931
|
width: 386px;
|
|
1591
1932
|
}
|
|
@@ -2111,8 +2452,267 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
|
|
|
2111
2452
|
.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
2453
|
margin-right: 0;
|
|
2113
2454
|
}
|
|
2455
|
+
.steedos-input-rich-text-readonly .antd-RichTextControl {
|
|
2456
|
+
overflow-x: auto;
|
|
2457
|
+
}
|
|
2458
|
+
.steedos-input-rich-text-readonly .antd-RichTextControl table {
|
|
2459
|
+
border-collapse: collapse !important;
|
|
2460
|
+
border: 1px solid #ddd !important;
|
|
2461
|
+
margin-bottom: 10px;
|
|
2462
|
+
}
|
|
2463
|
+
.steedos-input-rich-text-readonly .antd-RichTextControl table td,
|
|
2464
|
+
.steedos-input-rich-text-readonly .antd-RichTextControl table th {
|
|
2465
|
+
padding: 5px 10px !important;
|
|
2466
|
+
border: 1px solid #ddd !important;
|
|
2467
|
+
min-width: 50px;
|
|
2468
|
+
}
|
|
2469
|
+
.steedos-input-rich-text-readonly .antd-RichTextControl table th {
|
|
2470
|
+
background-color: #f7f7f7;
|
|
2471
|
+
font-weight: bold;
|
|
2472
|
+
}
|
|
2473
|
+
@media (max-width: 768px) {
|
|
2474
|
+
.steedos-object-form fieldset.antd-Collapse {
|
|
2475
|
+
min-width: 0;
|
|
2476
|
+
width: 100%;
|
|
2477
|
+
max-width: 100vw;
|
|
2478
|
+
/* 兜底 */
|
|
2479
|
+
}
|
|
2480
|
+
.steedos-input-rich-text-readonly .antd-Form-value {
|
|
2481
|
+
min-width: 0 !important;
|
|
2482
|
+
flex-shrink: 1 !important;
|
|
2483
|
+
width: 100% !important;
|
|
2484
|
+
}
|
|
2485
|
+
.steedos-input-rich-text-readonly .antd-RichTextControl {
|
|
2486
|
+
display: block !important;
|
|
2487
|
+
width: 100% !important;
|
|
2488
|
+
max-width: 100% !important;
|
|
2489
|
+
overflow-x: auto !important;
|
|
2490
|
+
}
|
|
2491
|
+
}
|
|
2114
2492
|
|
|
2493
|
+
.steedos-select-flow-search-mobile {
|
|
2494
|
+
display: none !important;
|
|
2495
|
+
}
|
|
2496
|
+
@media (max-width: 767px) {
|
|
2497
|
+
.steedos-select-flow-search-mobile {
|
|
2498
|
+
display: flex !important;
|
|
2499
|
+
}
|
|
2500
|
+
.antd-TreeSelect-popover {
|
|
2501
|
+
min-width: calc(100vw - 32px) !important;
|
|
2502
|
+
max-height: 50vh;
|
|
2503
|
+
overflow-y: auto;
|
|
2504
|
+
}
|
|
2505
|
+
}
|
|
2115
2506
|
|
|
2507
|
+
.steedos-amis-instance-view .instance-form-view-mobile .ant-input-affix-wrapper,
|
|
2508
|
+
.steedos-amis-instance-view .instance-form-view-mobile .antd-TextControl-input,
|
|
2509
|
+
.steedos-amis-instance-view .instance-form-view-mobile .antd-ResultBox,
|
|
2510
|
+
.steedos-amis-instance-view .instance-form-view-mobile .antd-Select,
|
|
2511
|
+
.steedos-amis-instance-view .instance-form-view-mobile .antd-DatePicker,
|
|
2512
|
+
.steedos-amis-instance-view .instance-form-view-mobile .antd-TextareaControl-input,
|
|
2513
|
+
.steedos-amis-instance-view .instance-form-view-mobile .antd-Number,
|
|
2514
|
+
.steedos-amis-instance-view .instance-form-view-mobile .antd-Picker-input {
|
|
2515
|
+
background-color: transparent !important;
|
|
2516
|
+
border: none !important;
|
|
2517
|
+
box-shadow: none !important;
|
|
2518
|
+
}
|
|
2519
|
+
.steedos-amis-instance-view .instance-form-view-mobile .antd-Form-control {
|
|
2520
|
+
padding-left: 0 !important;
|
|
2521
|
+
padding-right: 0 !important;
|
|
2522
|
+
}
|
|
2523
|
+
.steedos-amis-instance-view .instance-form-view-mobile .antd-Form-control > .antd-Form-control {
|
|
2524
|
+
padding-left: 0 !important;
|
|
2525
|
+
padding-right: 0 !important;
|
|
2526
|
+
}
|
|
2527
|
+
.steedos-amis-instance-view .instance-form-view-mobile .antd-Form-control.antd-Form-static {
|
|
2528
|
+
padding-left: 0 !important;
|
|
2529
|
+
padding-right: 0 !important;
|
|
2530
|
+
}
|
|
2531
|
+
.steedos-amis-instance-view .instance-form-view-mobile .antd-Input,
|
|
2532
|
+
.steedos-amis-instance-view .instance-form-view-mobile .ant-picker-input > input,
|
|
2533
|
+
.steedos-amis-instance-view .instance-form-view-mobile .ant-select-selector,
|
|
2534
|
+
.steedos-amis-instance-view .instance-form-view-mobile .antd-TextControl-input,
|
|
2535
|
+
.steedos-amis-instance-view .instance-form-view-mobile .antd-DatePicker,
|
|
2536
|
+
.steedos-amis-instance-view .instance-form-view-mobile .antd-Number-input-wrap,
|
|
2537
|
+
.steedos-amis-instance-view .instance-form-view-mobile .antd-TextareaControl-input {
|
|
2538
|
+
padding-left: 0 !important;
|
|
2539
|
+
padding-right: 0 !important;
|
|
2540
|
+
}
|
|
2541
|
+
.steedos-amis-instance-view .instance-form-view-mobile .antd-TextControl-input input,
|
|
2542
|
+
.steedos-amis-instance-view .instance-form-view-mobile .antd-DatePicker input,
|
|
2543
|
+
.steedos-amis-instance-view .instance-form-view-mobile .antd-DatePicker-input,
|
|
2544
|
+
.steedos-amis-instance-view .instance-form-view-mobile .antd-Number-input-wrap input,
|
|
2545
|
+
.steedos-amis-instance-view .instance-form-view-mobile .antd-Number-input,
|
|
2546
|
+
.steedos-amis-instance-view .instance-form-view-mobile textarea.antd-TextareaControl-input {
|
|
2547
|
+
padding-left: 0 !important;
|
|
2548
|
+
padding-right: 0 !important;
|
|
2549
|
+
}
|
|
2550
|
+
.steedos-amis-instance-view .instance-form-view-mobile .antd-Form-item {
|
|
2551
|
+
border-bottom: none !important;
|
|
2552
|
+
margin-bottom: 0 !important;
|
|
2553
|
+
padding-bottom: 0 !important;
|
|
2554
|
+
padding-top: 0 !important;
|
|
2555
|
+
}
|
|
2556
|
+
.steedos-amis-instance-view .instance-form-view-mobile .antd-Form-control {
|
|
2557
|
+
border-bottom: none !important;
|
|
2558
|
+
}
|
|
2559
|
+
.steedos-amis-instance-view .instance-form-view-mobile .mobile-section-divider {
|
|
2560
|
+
border-top: 1px solid #e5e7eb;
|
|
2561
|
+
padding-top: 16px !important;
|
|
2562
|
+
}
|
|
2563
|
+
.steedos-amis-instance-view .instance-form-view-mobile .mobile-section-divider .mobile-section-header .mobile-section-title {
|
|
2564
|
+
font-size: 16px;
|
|
2565
|
+
font-weight: 600;
|
|
2566
|
+
color: #0f172a;
|
|
2567
|
+
line-height: 1.5;
|
|
2568
|
+
letter-spacing: -0.01em;
|
|
2569
|
+
}
|
|
2570
|
+
.steedos-amis-instance-view .instance-form-view-mobile .mobile-section-divider .mobile-section-header .mobile-section-desc {
|
|
2571
|
+
font-size: 14px;
|
|
2572
|
+
font-weight: 400;
|
|
2573
|
+
color: #64748b;
|
|
2574
|
+
line-height: 1.4;
|
|
2575
|
+
margin-top: 2px;
|
|
2576
|
+
}
|
|
2577
|
+
.steedos-amis-instance-view .instance-form-view-mobile .steedos-input-table .antd-Table-table {
|
|
2578
|
+
border: none !important;
|
|
2579
|
+
}
|
|
2580
|
+
.steedos-amis-instance-view .instance-form-view-mobile .steedos-input-table .antd-Table-table thead th {
|
|
2581
|
+
background: transparent !important;
|
|
2582
|
+
border-bottom: 1px solid #e2e8f0 !important;
|
|
2583
|
+
border-top: none !important;
|
|
2584
|
+
border-left: none !important;
|
|
2585
|
+
border-right: none !important;
|
|
2586
|
+
color: #64748b;
|
|
2587
|
+
font-size: 13px;
|
|
2588
|
+
font-weight: 500;
|
|
2589
|
+
padding: 8px 4px !important;
|
|
2590
|
+
}
|
|
2591
|
+
.steedos-amis-instance-view .instance-form-view-mobile .steedos-input-table .antd-Table-table tbody td {
|
|
2592
|
+
border: none !important;
|
|
2593
|
+
border-bottom: 1px solid #f1f5f9 !important;
|
|
2594
|
+
padding: 4px !important;
|
|
2595
|
+
font-size: 14px;
|
|
2596
|
+
color: #1e293b;
|
|
2597
|
+
}
|
|
2598
|
+
.steedos-amis-instance-view .instance-form-view-mobile .steedos-input-table .antd-Table-table tbody td .antd-Form-item {
|
|
2599
|
+
border-bottom: none !important;
|
|
2600
|
+
}
|
|
2601
|
+
.steedos-amis-instance-view .instance-form-view-mobile .steedos-input-table .antd-Table-table tbody tr:last-child td {
|
|
2602
|
+
border-bottom: none !important;
|
|
2603
|
+
}
|
|
2604
|
+
.steedos-amis-instance-view .instance-form-view-mobile .form-control .antd-InputTable .antd-InputTable-toolbar {
|
|
2605
|
+
border-top: 1px solid #e2e8f0 !important;
|
|
2606
|
+
}
|
|
2607
|
+
.steedos-amis-instance-view .instance-form-view-mobile .form-control .antd-InputTable .antd-InputTable-toolbar button {
|
|
2608
|
+
color: #64748b !important;
|
|
2609
|
+
font-size: 14px;
|
|
2610
|
+
}
|
|
2611
|
+
.steedos-amis-instance-view .instance-form-view-mobile .steedos-input-table .steedos-input-table-footer {
|
|
2612
|
+
border-top: 1px solid #e2e8f0 !important;
|
|
2613
|
+
}
|
|
2614
|
+
.steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-CheckboxesControl,
|
|
2615
|
+
.steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-CheckboxControl {
|
|
2616
|
+
padding: 8px 12px !important;
|
|
2617
|
+
}
|
|
2618
|
+
.steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-CheckboxesControl .antd-Checkbox,
|
|
2619
|
+
.steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-CheckboxControl .antd-Checkbox {
|
|
2620
|
+
display: flex !important;
|
|
2621
|
+
align-items: center !important;
|
|
2622
|
+
padding: 6px 0 !important;
|
|
2623
|
+
margin-bottom: 0 !important;
|
|
2624
|
+
cursor: pointer;
|
|
2625
|
+
}
|
|
2626
|
+
.steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-CheckboxesControl .antd-Checkbox input[type='checkbox'],
|
|
2627
|
+
.steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-CheckboxControl .antd-Checkbox input[type='checkbox'] {
|
|
2628
|
+
position: absolute;
|
|
2629
|
+
opacity: 0;
|
|
2630
|
+
width: 0;
|
|
2631
|
+
height: 0;
|
|
2632
|
+
}
|
|
2633
|
+
.steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-CheckboxesControl .antd-Checkbox > i,
|
|
2634
|
+
.steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-CheckboxControl .antd-Checkbox > i {
|
|
2635
|
+
width: 18px !important;
|
|
2636
|
+
height: 18px !important;
|
|
2637
|
+
min-width: 18px !important;
|
|
2638
|
+
border: 1.5px solid #d1d5db !important;
|
|
2639
|
+
border-radius: 4px !important;
|
|
2640
|
+
background: #fff !important;
|
|
2641
|
+
transition: all 0.15s ease-in-out;
|
|
2642
|
+
display: inline-flex !important;
|
|
2643
|
+
align-items: center;
|
|
2644
|
+
justify-content: center;
|
|
2645
|
+
margin-right: 8px !important;
|
|
2646
|
+
box-shadow: none !important;
|
|
2647
|
+
}
|
|
2648
|
+
.steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-CheckboxesControl .antd-Checkbox input[type='checkbox']:checked + i,
|
|
2649
|
+
.steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-CheckboxControl .antd-Checkbox input[type='checkbox']:checked + i {
|
|
2650
|
+
background: #0f172a !important;
|
|
2651
|
+
border-color: #0f172a !important;
|
|
2652
|
+
}
|
|
2653
|
+
.steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-CheckboxesControl .antd-Checkbox > span,
|
|
2654
|
+
.steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-CheckboxControl .antd-Checkbox > span {
|
|
2655
|
+
font-size: 15px !important;
|
|
2656
|
+
color: #1e293b;
|
|
2657
|
+
line-height: 1.4;
|
|
2658
|
+
-webkit-user-select: none;
|
|
2659
|
+
-moz-user-select: none;
|
|
2660
|
+
user-select: none;
|
|
2661
|
+
}
|
|
2662
|
+
.steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .instance-sign {
|
|
2663
|
+
min-height: 44px;
|
|
2664
|
+
display: flex;
|
|
2665
|
+
align-items: center;
|
|
2666
|
+
}
|
|
2667
|
+
.steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field > div {
|
|
2668
|
+
width: 100% !important;
|
|
2669
|
+
}
|
|
2670
|
+
.steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-Form-item {
|
|
2671
|
+
min-height: auto !important;
|
|
2672
|
+
padding: 0 !important;
|
|
2673
|
+
margin: 0 !important;
|
|
2674
|
+
border-bottom: none !important;
|
|
2675
|
+
}
|
|
2676
|
+
.steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-Form-control:not(.antd-CheckboxesControl):not(.antd-CheckboxControl):not(.antd-RadiosControl) {
|
|
2677
|
+
padding: 0 !important;
|
|
2678
|
+
border-bottom: none !important;
|
|
2679
|
+
}
|
|
2680
|
+
.steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-TextControl-input,
|
|
2681
|
+
.steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-Number,
|
|
2682
|
+
.steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-Number-input-wrap,
|
|
2683
|
+
.steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-DatePicker,
|
|
2684
|
+
.steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-Select,
|
|
2685
|
+
.steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-ResultBox,
|
|
2686
|
+
.steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-Picker-input {
|
|
2687
|
+
height: 44px !important;
|
|
2688
|
+
min-height: 44px !important;
|
|
2689
|
+
line-height: 44px !important;
|
|
2690
|
+
padding-top: 0 !important;
|
|
2691
|
+
padding-bottom: 0 !important;
|
|
2692
|
+
display: flex !important;
|
|
2693
|
+
align-items: center !important;
|
|
2694
|
+
box-sizing: border-box !important;
|
|
2695
|
+
}
|
|
2696
|
+
.steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field input:not([type='checkbox']):not([type='radio']),
|
|
2697
|
+
.steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field select,
|
|
2698
|
+
.steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-Number-input,
|
|
2699
|
+
.steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field .antd-DatePicker-input {
|
|
2700
|
+
height: 44px !important;
|
|
2701
|
+
min-height: 44px !important;
|
|
2702
|
+
line-height: 44px !important;
|
|
2703
|
+
padding-top: 0 !important;
|
|
2704
|
+
padding-bottom: 0 !important;
|
|
2705
|
+
box-sizing: border-box !important;
|
|
2706
|
+
font-size: 16px !important;
|
|
2707
|
+
}
|
|
2708
|
+
.steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field textarea,
|
|
2709
|
+
.steedos-amis-instance-view .instance-form-view-mobile .mobile-editable-field textarea.antd-TextareaControl-input {
|
|
2710
|
+
padding-top: 6px !important;
|
|
2711
|
+
padding-bottom: 6px !important;
|
|
2712
|
+
line-height: 1.5 !important;
|
|
2713
|
+
height: auto !important;
|
|
2714
|
+
min-height: auto !important;
|
|
2715
|
+
}
|
|
2116
2716
|
.steedos-amis-instance-view {
|
|
2117
2717
|
font-size: 0.8125rem;
|
|
2118
2718
|
}
|
|
@@ -2196,6 +2796,103 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
|
|
|
2196
2796
|
.approval-drawer .antd-Drawer-content {
|
|
2197
2797
|
display: block !important;
|
|
2198
2798
|
height: auto !important;
|
|
2799
|
+
max-height: 85vh;
|
|
2800
|
+
overflow-y: auto;
|
|
2801
|
+
}
|
|
2802
|
+
.approval-drawer .antd-Drawer-content:has(.approval-drawer-wizard) {
|
|
2803
|
+
overflow-y: hidden;
|
|
2804
|
+
}
|
|
2805
|
+
.approval-drawer .approval-drawer-wizard {
|
|
2806
|
+
display: flex !important;
|
|
2807
|
+
flex-direction: column;
|
|
2808
|
+
max-height: calc(85vh - 40px);
|
|
2809
|
+
overflow: hidden;
|
|
2810
|
+
}
|
|
2811
|
+
.approval-drawer .approval-drawer-wizard .antd-Wizard-step {
|
|
2812
|
+
display: flex;
|
|
2813
|
+
flex-direction: column;
|
|
2814
|
+
flex: 1;
|
|
2815
|
+
min-height: 0;
|
|
2816
|
+
}
|
|
2817
|
+
.approval-drawer .approval-drawer-wizard .antd-Wizard-stepContent {
|
|
2818
|
+
flex: 1;
|
|
2819
|
+
min-height: 0;
|
|
2820
|
+
overflow-y: auto;
|
|
2821
|
+
}
|
|
2822
|
+
@media (max-width: 768px) {
|
|
2823
|
+
.steedos-amis-instance-view .instance-form-view-mobile .antd-Form-item {
|
|
2824
|
+
border-bottom: 1px solid #e5e7eb !important;
|
|
2825
|
+
}
|
|
2826
|
+
.steedos-amis-instance-view .instance-form-view-mobile .antd-Form-item::after {
|
|
2827
|
+
content: none !important;
|
|
2828
|
+
}
|
|
2829
|
+
.approval-drawer .antd-Form-item {
|
|
2830
|
+
border-bottom: none !important;
|
|
2831
|
+
margin-bottom: 0 !important;
|
|
2832
|
+
}
|
|
2833
|
+
.approval-drawer .antd-Form-item::after {
|
|
2834
|
+
content: none !important;
|
|
2835
|
+
}
|
|
2836
|
+
.approval-drawer .antd-Grid {
|
|
2837
|
+
display: flex !important;
|
|
2838
|
+
align-items: center;
|
|
2839
|
+
}
|
|
2840
|
+
.approval-drawer .antd-Grid > div:first-child {
|
|
2841
|
+
padding-left: 0 !important;
|
|
2842
|
+
}
|
|
2843
|
+
.approval-drawer .antd-Grid .antd-Form-item {
|
|
2844
|
+
border-bottom: none !important;
|
|
2845
|
+
margin-bottom: 0 !important;
|
|
2846
|
+
padding: 0 !important;
|
|
2847
|
+
}
|
|
2848
|
+
.approval-drawer .antd-TextareaControl textarea {
|
|
2849
|
+
border: 1px solid #d1d5db !important;
|
|
2850
|
+
border-radius: 6px !important;
|
|
2851
|
+
padding: 8px !important;
|
|
2852
|
+
}
|
|
2853
|
+
.approval-drawer .antd-Drawer-header {
|
|
2854
|
+
border-bottom: none !important;
|
|
2855
|
+
}
|
|
2856
|
+
.approval-drawer .antd-Drawer-footer {
|
|
2857
|
+
border-top: 1px solid #e5e7eb !important;
|
|
2858
|
+
padding-top: 8px !important;
|
|
2859
|
+
}
|
|
2860
|
+
.approval-drawer .antd-RadiosControl {
|
|
2861
|
+
display: flex;
|
|
2862
|
+
flex-direction: row;
|
|
2863
|
+
gap: 16px;
|
|
2864
|
+
margin-left: 0 !important;
|
|
2865
|
+
}
|
|
2866
|
+
.approval-drawer .antd-RadiosControl .antd-Checkbox--full {
|
|
2867
|
+
width: auto;
|
|
2868
|
+
display: inline-flex !important;
|
|
2869
|
+
align-items: center;
|
|
2870
|
+
}
|
|
2871
|
+
.instance-action-dialog.antd-Modal .antd-Form-item {
|
|
2872
|
+
border: none !important;
|
|
2873
|
+
flex-direction: column !important;
|
|
2874
|
+
align-items: flex-start !important;
|
|
2875
|
+
}
|
|
2876
|
+
.instance-action-dialog.antd-Modal .antd-Form-item::after {
|
|
2877
|
+
content: none !important;
|
|
2878
|
+
}
|
|
2879
|
+
.instance-action-dialog.antd-Modal .antd-Form-item .antd-Form-label {
|
|
2880
|
+
flex: none !important;
|
|
2881
|
+
max-width: 100% !important;
|
|
2882
|
+
margin-bottom: 4px !important;
|
|
2883
|
+
padding-right: 0 !important;
|
|
2884
|
+
}
|
|
2885
|
+
.instance-action-dialog.antd-Modal .antd-Form-item .antd-Form-value,
|
|
2886
|
+
.instance-action-dialog.antd-Modal .antd-Form-item .antd-Form-item-controlBox {
|
|
2887
|
+
width: 100% !important;
|
|
2888
|
+
max-width: 100% !important;
|
|
2889
|
+
flex: none !important;
|
|
2890
|
+
}
|
|
2891
|
+
.instance-action-dialog.antd-Modal .antd-TextareaControl textarea {
|
|
2892
|
+
border: 1px solid #d1d5db !important;
|
|
2893
|
+
border-radius: 6px !important;
|
|
2894
|
+
padding: 8px !important;
|
|
2895
|
+
}
|
|
2199
2896
|
}
|
|
2200
2897
|
.steedos-amis-instance-view .antd-PullRefresh {
|
|
2201
2898
|
height: 100%;
|
|
@@ -2271,6 +2968,9 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
|
|
|
2271
2968
|
.steedos-amis-instance-view table {
|
|
2272
2969
|
border-collapse: collapse;
|
|
2273
2970
|
}
|
|
2971
|
+
.steedos-amis-instance-view.steedos-instance-style-table table.instance-form-view {
|
|
2972
|
+
table-layout: fixed;
|
|
2973
|
+
}
|
|
2274
2974
|
.steedos-amis-instance-view.steedos-instance-style-table table.instance-form-view .steedos-input-number-edit .antd-Number-handler-wrap {
|
|
2275
2975
|
border-left: none;
|
|
2276
2976
|
outline: none;
|
|
@@ -2309,6 +3009,213 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
|
|
|
2309
3009
|
.instance-form-view .steedos-field-required .antd-Form-star {
|
|
2310
3010
|
display: inline;
|
|
2311
3011
|
}
|
|
3012
|
+
@media (max-width: 768px) {
|
|
3013
|
+
.steedos-amis-instance-view {
|
|
3014
|
+
/* 附件区域优化: 让 Label 和上传按钮靠左紧凑排列 */
|
|
3015
|
+
/* 相关文件区域优化: 标题和列表项左对齐,与附件列表风格统一 */
|
|
3016
|
+
/* 底部提交人区域优化 */
|
|
3017
|
+
/* 签批历程区域优化:与表单左右对齐、字体统一 */
|
|
3018
|
+
}
|
|
3019
|
+
.steedos-amis-instance-view .instance-file-list {
|
|
3020
|
+
padding-left: 8px !important;
|
|
3021
|
+
padding-right: 8px !important;
|
|
3022
|
+
margin-top: 0 !important;
|
|
3023
|
+
padding-top: 0px !important;
|
|
3024
|
+
/* 去除顶部间距 */
|
|
3025
|
+
}
|
|
3026
|
+
.steedos-amis-instance-view .instance-file-list .antd-Form-item {
|
|
3027
|
+
display: flex !important;
|
|
3028
|
+
justify-content: flex-start !important;
|
|
3029
|
+
flex-wrap: nowrap !important;
|
|
3030
|
+
align-items: center !important;
|
|
3031
|
+
}
|
|
3032
|
+
.steedos-amis-instance-view .instance-file-list .antd-Form-item .antd-Form-label {
|
|
3033
|
+
flex: 0 0 auto !important;
|
|
3034
|
+
width: auto !important;
|
|
3035
|
+
max-width: none !important;
|
|
3036
|
+
margin-right: 8px !important;
|
|
3037
|
+
padding: 0 !important;
|
|
3038
|
+
text-align: left !important;
|
|
3039
|
+
/* 统一标题字体 */
|
|
3040
|
+
}
|
|
3041
|
+
.steedos-amis-instance-view .instance-file-list .antd-Form-item .antd-Form-label.antd-List-heading {
|
|
3042
|
+
font-size: 14px !important;
|
|
3043
|
+
font-weight: bold !important;
|
|
3044
|
+
color: #374151 !important;
|
|
3045
|
+
/* text-gray-700 */
|
|
3046
|
+
}
|
|
3047
|
+
.steedos-amis-instance-view .instance-file-list .antd-Form-item .antd-Form-value {
|
|
3048
|
+
flex: 0 0 auto !important;
|
|
3049
|
+
width: auto !important;
|
|
3050
|
+
min-width: 0 !important;
|
|
3051
|
+
/* 针对可能存在的按钮容器 */
|
|
3052
|
+
}
|
|
3053
|
+
.steedos-amis-instance-view .instance-file-list .antd-Form-item .antd-Form-value .antd-Form-control,
|
|
3054
|
+
.steedos-amis-instance-view .instance-file-list .antd-Form-item .antd-Form-value .antd-FileControl,
|
|
3055
|
+
.steedos-amis-instance-view .instance-file-list .antd-Form-item .antd-Form-value .antd-FileControl-dropzone {
|
|
3056
|
+
padding: 0 !important;
|
|
3057
|
+
margin: 0 !important;
|
|
3058
|
+
border: none !important;
|
|
3059
|
+
min-height: auto !important;
|
|
3060
|
+
}
|
|
3061
|
+
.steedos-amis-instance-view .instance-file-list .antd-Form-item .antd-Form-value .antd-FileControl-selectBtn {
|
|
3062
|
+
margin: 0 !important;
|
|
3063
|
+
}
|
|
3064
|
+
.steedos-amis-instance-view .instance-related-list {
|
|
3065
|
+
padding-left: 8px !important;
|
|
3066
|
+
padding-right: 8px !important;
|
|
3067
|
+
/* 标题区域 */
|
|
3068
|
+
/* 列表容器 */
|
|
3069
|
+
/* 列表单项 - 与附件列表统一 */
|
|
3070
|
+
/* 删除按钮对齐 */
|
|
3071
|
+
}
|
|
3072
|
+
.steedos-amis-instance-view .instance-related-list .cxd-List-heading,
|
|
3073
|
+
.steedos-amis-instance-view .instance-related-list .antd-List-heading {
|
|
3074
|
+
padding-left: 0 !important;
|
|
3075
|
+
padding-right: 0 !important;
|
|
3076
|
+
text-align: left !important;
|
|
3077
|
+
font-weight: bold;
|
|
3078
|
+
border: none !important;
|
|
3079
|
+
font-size: 14px !important;
|
|
3080
|
+
line-height: 1.5;
|
|
3081
|
+
color: #374151;
|
|
3082
|
+
/* text-gray-700 */
|
|
3083
|
+
}
|
|
3084
|
+
.steedos-amis-instance-view .instance-related-list .cxd-List-items,
|
|
3085
|
+
.steedos-amis-instance-view .instance-related-list .antd-List-items {
|
|
3086
|
+
padding-left: 0 !important;
|
|
3087
|
+
margin-left: 0 !important;
|
|
3088
|
+
}
|
|
3089
|
+
.steedos-amis-instance-view .instance-related-list .cxd-List-item,
|
|
3090
|
+
.steedos-amis-instance-view .instance-related-list .antd-List-item {
|
|
3091
|
+
padding: 8px 0 !important;
|
|
3092
|
+
margin: 0 !important;
|
|
3093
|
+
border-bottom: 1px solid #f0f0f0;
|
|
3094
|
+
}
|
|
3095
|
+
.steedos-amis-instance-view .instance-related-list .cxd-List-item a,
|
|
3096
|
+
.steedos-amis-instance-view .instance-related-list .antd-List-item a {
|
|
3097
|
+
display: block;
|
|
3098
|
+
text-align: left;
|
|
3099
|
+
color: #374151;
|
|
3100
|
+
/* text-gray-700 */
|
|
3101
|
+
font-size: 14px;
|
|
3102
|
+
font-weight: 500;
|
|
3103
|
+
line-height: 1.5;
|
|
3104
|
+
}
|
|
3105
|
+
.steedos-amis-instance-view .instance-related-list .cxd-List-item a:hover,
|
|
3106
|
+
.steedos-amis-instance-view .instance-related-list .antd-List-item a:hover {
|
|
3107
|
+
color: #2563eb;
|
|
3108
|
+
/* text-blue-600 */
|
|
3109
|
+
text-decoration: underline;
|
|
3110
|
+
}
|
|
3111
|
+
.steedos-amis-instance-view .instance-related-list .antd-ListItem--actions-at-right {
|
|
3112
|
+
padding-left: 0 !important;
|
|
3113
|
+
padding-right: 0 !important;
|
|
3114
|
+
}
|
|
3115
|
+
.steedos-amis-instance-view .instance-related-list .cxd-ListItem-actions .cxd-Button--link,
|
|
3116
|
+
.steedos-amis-instance-view .instance-related-list .antd-ListItem-actions .cxd-Button--link,
|
|
3117
|
+
.steedos-amis-instance-view .instance-related-list .cxd-ListItem-actions .antd-Button--link,
|
|
3118
|
+
.steedos-amis-instance-view .instance-related-list .antd-ListItem-actions .antd-Button--link {
|
|
3119
|
+
padding: 4px !important;
|
|
3120
|
+
min-width: auto !important;
|
|
3121
|
+
}
|
|
3122
|
+
.steedos-amis-instance-view .instance-applicant-view {
|
|
3123
|
+
border: none !important;
|
|
3124
|
+
/* 隐藏提交日期列(第二个td) */
|
|
3125
|
+
/* 提交人列占满宽度,用flex确保label在左、value在右 */
|
|
3126
|
+
}
|
|
3127
|
+
.steedos-amis-instance-view .instance-applicant-view td {
|
|
3128
|
+
border: none !important;
|
|
3129
|
+
}
|
|
3130
|
+
.steedos-amis-instance-view .instance-applicant-view td:last-child {
|
|
3131
|
+
display: none !important;
|
|
3132
|
+
}
|
|
3133
|
+
.steedos-amis-instance-view .instance-applicant-view td:first-child {
|
|
3134
|
+
width: 100% !important;
|
|
3135
|
+
display: flex !important;
|
|
3136
|
+
align-items: center !important;
|
|
3137
|
+
flex-wrap: nowrap;
|
|
3138
|
+
padding-left: 6px;
|
|
3139
|
+
/* 取消 inline-left 的 float,改由 flex 控制排列 */
|
|
3140
|
+
}
|
|
3141
|
+
.steedos-amis-instance-view .instance-applicant-view td:first-child .inline-left {
|
|
3142
|
+
float: none !important;
|
|
3143
|
+
display: inline-block !important;
|
|
3144
|
+
}
|
|
3145
|
+
.steedos-amis-instance-view .instance-approve-history {
|
|
3146
|
+
/* 与表单 px-2 对齐,覆盖模板中的 border-t */
|
|
3147
|
+
padding-left: 0 !important;
|
|
3148
|
+
padding-right: 0 !important;
|
|
3149
|
+
margin-top: 16px !important;
|
|
3150
|
+
/* 标题 "签批历程":与表单字段标题对齐 */
|
|
3151
|
+
/* 内容容器 */
|
|
3152
|
+
}
|
|
3153
|
+
.steedos-amis-instance-view .instance-approve-history > div:first-child {
|
|
3154
|
+
padding-left: 8px !important;
|
|
3155
|
+
padding-right: 8px !important;
|
|
3156
|
+
font-size: 16px !important;
|
|
3157
|
+
}
|
|
3158
|
+
.steedos-amis-instance-view .instance-approve-history > .flex.flex-col {
|
|
3159
|
+
font-size: 14px !important;
|
|
3160
|
+
/* 步骤名称(如"开始"、"车间主管领导(会签)") */
|
|
3161
|
+
/* 每条审批卡片 */
|
|
3162
|
+
}
|
|
3163
|
+
.steedos-amis-instance-view .instance-approve-history > .flex.flex-col > div[class*="px-4"][class*="text-xs"] {
|
|
3164
|
+
padding-left: 8px !important;
|
|
3165
|
+
padding-right: 8px !important;
|
|
3166
|
+
font-size: 14px !important;
|
|
3167
|
+
}
|
|
3168
|
+
.steedos-amis-instance-view .instance-approve-history > .flex.flex-col > div[class*="px-4"][class*="mx-4"] {
|
|
3169
|
+
margin-left: 8px !important;
|
|
3170
|
+
margin-right: 8px !important;
|
|
3171
|
+
/* 审批人名字 */
|
|
3172
|
+
/* 意见文字 */
|
|
3173
|
+
}
|
|
3174
|
+
.steedos-amis-instance-view .instance-approve-history > .flex.flex-col > div[class*="px-4"][class*="mx-4"] .text-\[15px\] {
|
|
3175
|
+
font-size: 15px !important;
|
|
3176
|
+
}
|
|
3177
|
+
.steedos-amis-instance-view .instance-approve-history > .flex.flex-col > div[class*="px-4"][class*="mx-4"] .text-sm {
|
|
3178
|
+
font-size: 14px !important;
|
|
3179
|
+
}
|
|
3180
|
+
}
|
|
3181
|
+
.steedos-amis-instance-view .instance-form-view .steedos-field-html-readonly,
|
|
3182
|
+
.steedos-amis-instance-view .instance-form-view-mobile .steedos-field-html-readonly,
|
|
3183
|
+
.steedos-amis-instance-view .instance-form-view .antd-RichTextControl,
|
|
3184
|
+
.steedos-amis-instance-view .instance-form-view-mobile .antd-RichTextControl {
|
|
3185
|
+
display: block;
|
|
3186
|
+
width: 100%;
|
|
3187
|
+
max-width: 100%;
|
|
3188
|
+
min-width: 0;
|
|
3189
|
+
overflow-x: auto;
|
|
3190
|
+
flex-shrink: 1;
|
|
3191
|
+
}
|
|
3192
|
+
.steedos-amis-instance-view .instance-form-view .steedos-field-html-readonly table,
|
|
3193
|
+
.steedos-amis-instance-view .instance-form-view-mobile .steedos-field-html-readonly table,
|
|
3194
|
+
.steedos-amis-instance-view .instance-form-view .antd-RichTextControl table,
|
|
3195
|
+
.steedos-amis-instance-view .instance-form-view-mobile .antd-RichTextControl table {
|
|
3196
|
+
border-collapse: collapse !important;
|
|
3197
|
+
border: 1px solid #ddd !important;
|
|
3198
|
+
margin-bottom: 10px;
|
|
3199
|
+
}
|
|
3200
|
+
.steedos-amis-instance-view .instance-form-view .steedos-field-html-readonly table td,
|
|
3201
|
+
.steedos-amis-instance-view .instance-form-view-mobile .steedos-field-html-readonly table td,
|
|
3202
|
+
.steedos-amis-instance-view .instance-form-view .antd-RichTextControl table td,
|
|
3203
|
+
.steedos-amis-instance-view .instance-form-view-mobile .antd-RichTextControl table td,
|
|
3204
|
+
.steedos-amis-instance-view .instance-form-view .steedos-field-html-readonly table th,
|
|
3205
|
+
.steedos-amis-instance-view .instance-form-view-mobile .steedos-field-html-readonly table th,
|
|
3206
|
+
.steedos-amis-instance-view .instance-form-view .antd-RichTextControl table th,
|
|
3207
|
+
.steedos-amis-instance-view .instance-form-view-mobile .antd-RichTextControl table th {
|
|
3208
|
+
padding: 5px 10px !important;
|
|
3209
|
+
border: 1px solid #ddd !important;
|
|
3210
|
+
min-width: 50px;
|
|
3211
|
+
}
|
|
3212
|
+
.steedos-amis-instance-view .instance-form-view .steedos-field-html-readonly table th,
|
|
3213
|
+
.steedos-amis-instance-view .instance-form-view-mobile .steedos-field-html-readonly table th,
|
|
3214
|
+
.steedos-amis-instance-view .instance-form-view .antd-RichTextControl table th,
|
|
3215
|
+
.steedos-amis-instance-view .instance-form-view-mobile .antd-RichTextControl table th {
|
|
3216
|
+
background-color: #f7f7f7;
|
|
3217
|
+
font-weight: bold;
|
|
3218
|
+
}
|
|
2312
3219
|
|
|
2313
3220
|
.steedos-input-table .steedos-delete-button:hover {
|
|
2314
3221
|
color: rgb(239 68 68) !important;
|
|
@@ -2392,6 +3299,23 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
|
|
|
2392
3299
|
.steedos-input-table.steedos-has-operations tbody tr:hover td .antd-OperationField {
|
|
2393
3300
|
background-color: white;
|
|
2394
3301
|
}
|
|
3302
|
+
.steedos-input-table .antd-Table-table tbody td .antd-PlainField,
|
|
3303
|
+
.steedos-input-table .antd-Table-table tbody td .antd-TplField,
|
|
3304
|
+
.steedos-input-table .antd-Table-table tbody td .antd-Words-field,
|
|
3305
|
+
.steedos-input-table .antd-Table-table tbody td .antd-Form-static.antd-Form-control {
|
|
3306
|
+
display: block;
|
|
3307
|
+
max-width: 30vw;
|
|
3308
|
+
white-space: nowrap;
|
|
3309
|
+
overflow: hidden;
|
|
3310
|
+
text-overflow: ellipsis;
|
|
3311
|
+
}
|
|
3312
|
+
.app-popover .steedos-object-form .antd-Form--normal > .antd-Form-item:has(.antd-Form-static) {
|
|
3313
|
+
border-bottom: 1px solid #e5e7eb;
|
|
3314
|
+
}
|
|
3315
|
+
}
|
|
3316
|
+
.steedos-input-table .antd-Table-table .antd-Form-item .antd-Form-static .antd-NumberField {
|
|
3317
|
+
white-space: nowrap;
|
|
3318
|
+
word-break: normal;
|
|
2395
3319
|
}
|
|
2396
3320
|
|
|
2397
3321
|
|
|
@@ -2409,6 +3333,53 @@ div[name="instanceForm"] .sfield-item {
|
|
|
2409
3333
|
.steedos-record-selected span {
|
|
2410
3334
|
color: var(--Table-onChecked-color) !important;
|
|
2411
3335
|
}
|
|
3336
|
+
.steedos-detail-loading .page-object-detail-wrapper {
|
|
3337
|
+
position: relative;
|
|
3338
|
+
animation: none !important;
|
|
3339
|
+
opacity: 1 !important;
|
|
3340
|
+
transform: none !important;
|
|
3341
|
+
}
|
|
3342
|
+
.steedos-detail-loading .page-object-detail-wrapper::before {
|
|
3343
|
+
content: '';
|
|
3344
|
+
position: absolute;
|
|
3345
|
+
top: 0;
|
|
3346
|
+
left: 0;
|
|
3347
|
+
right: 0;
|
|
3348
|
+
bottom: 0;
|
|
3349
|
+
background: rgba(255, 255, 255, 0.85);
|
|
3350
|
+
z-index: 10;
|
|
3351
|
+
animation: steedos-detail-fade-in 0.15s ease-out;
|
|
3352
|
+
}
|
|
3353
|
+
.steedos-detail-loading .page-object-detail-wrapper::after {
|
|
3354
|
+
content: '';
|
|
3355
|
+
position: absolute;
|
|
3356
|
+
top: calc(50% - 20px);
|
|
3357
|
+
left: calc(50% - 20px);
|
|
3358
|
+
width: 40px;
|
|
3359
|
+
height: 40px;
|
|
3360
|
+
border: 3px solid transparent;
|
|
3361
|
+
border-top-color: var(--primary, #2468f2);
|
|
3362
|
+
border-right-color: var(--primary, #2468f2);
|
|
3363
|
+
border-radius: 50%;
|
|
3364
|
+
z-index: 11;
|
|
3365
|
+
animation: steedos-detail-spin 0.7s cubic-bezier(0.5, 0, 0.5, 1) infinite, steedos-detail-fade-in 0.15s ease-out;
|
|
3366
|
+
}
|
|
3367
|
+
@keyframes steedos-detail-spin {
|
|
3368
|
+
0% {
|
|
3369
|
+
transform: rotate(0deg);
|
|
3370
|
+
}
|
|
3371
|
+
100% {
|
|
3372
|
+
transform: rotate(360deg);
|
|
3373
|
+
}
|
|
3374
|
+
}
|
|
3375
|
+
@keyframes steedos-detail-fade-in {
|
|
3376
|
+
from {
|
|
3377
|
+
opacity: 0;
|
|
3378
|
+
}
|
|
3379
|
+
to {
|
|
3380
|
+
opacity: 1;
|
|
3381
|
+
}
|
|
3382
|
+
}
|
|
2412
3383
|
.steedos-listview-split-max-height {
|
|
2413
3384
|
overflow: hidden;
|
|
2414
3385
|
}
|