cloud-web-corejs 1.1.0-dev.15 → 1.1.0-dev.16
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/package.json
CHANGED
|
@@ -604,7 +604,10 @@
|
|
|
604
604
|
<template
|
|
605
605
|
v-if="!widget.options.isQueryTable || !column.isMainFiled"
|
|
606
606
|
>
|
|
607
|
-
|
|
607
|
+
<!-- 与列表卡片同口径:列配了 H5列宽=半行 时打 m2。
|
|
608
|
+
弹框 append-to-body,样式挂在 .el-dialog.h5view-dialog,
|
|
609
|
+
见 styles/h5.scss。 -->
|
|
610
|
+
<dl :key="columnIndex" :class="{ m2: isHalfColumn(column) }">
|
|
608
611
|
<div>
|
|
609
612
|
<dt>{{ column.title }}:</dt>
|
|
610
613
|
<dd>
|
|
@@ -746,8 +746,10 @@ $xformH5Size:14px;
|
|
|
746
746
|
}
|
|
747
747
|
}
|
|
748
748
|
|
|
749
|
-
/* dd
|
|
750
|
-
|
|
749
|
+
/* dd 里是真控件的那份。列表行本身只出纯文本。
|
|
750
|
+
明细详情弹框 append-to-body,不在 .xform-h5 下,真正生效的是
|
|
751
|
+
下方 .el-dialog.h5view-dialog 里同一口径的规则;这段留给弹框
|
|
752
|
+
万一没挂到 body 时的兜底。 */
|
|
751
753
|
.xform-h5 .h5-list-box .item .t2 > dl > div > dd {
|
|
752
754
|
margin:0;
|
|
753
755
|
/* 压 style.scss:14112 的 width:calc(100vw - 159px),本方 (0,5,2) > (0,4,1) */
|
|
@@ -1789,13 +1791,51 @@ $xformH5Size:14px;
|
|
|
1789
1791
|
margin:12px;padding:0 !important;background:none !important;
|
|
1790
1792
|
.item{
|
|
1791
1793
|
border:none;
|
|
1794
|
+
/* 明细详情弹框 append-to-body,节点不在 .xform-h5 里,
|
|
1795
|
+
列表卡片那套 `.xform-h5 .h5-list-box .item .t2` 一行两个打不到。
|
|
1796
|
+
这里按同一口径接上:.t2 变 flex 容器,dl.m2 占 50%。 */
|
|
1792
1797
|
.t2{
|
|
1793
|
-
|
|
1798
|
+
display: flex;
|
|
1799
|
+
flex-wrap: wrap;
|
|
1800
|
+
align-items: flex-start;
|
|
1801
|
+
> dl{
|
|
1794
1802
|
font-size:14px;color:#666;
|
|
1803
|
+
&.m2 {
|
|
1804
|
+
width: 50%;
|
|
1805
|
+
}
|
|
1806
|
+
&.m2 > div {
|
|
1807
|
+
flex-wrap: wrap;
|
|
1808
|
+
}
|
|
1809
|
+
&.m2 > div > dd {
|
|
1810
|
+
flex: 1 1 auto;
|
|
1811
|
+
min-width: 0;
|
|
1812
|
+
}
|
|
1795
1813
|
dd{
|
|
1796
1814
|
margin:0;
|
|
1797
1815
|
color:#323232;
|
|
1798
1816
|
text-align:right;
|
|
1817
|
+
min-width: 0;
|
|
1818
|
+
/* 压 style.scss:14112 的 width:calc(100vw - 159px)。
|
|
1819
|
+
弹框里是真控件,半行净宽撑不住整屏宽。 */
|
|
1820
|
+
.field-wrapper,
|
|
1821
|
+
.field-wrapper.h5-field {
|
|
1822
|
+
display: block;
|
|
1823
|
+
width: auto;
|
|
1824
|
+
}
|
|
1825
|
+
.field-wrapper.h5-field .el-form-item {
|
|
1826
|
+
display: block;
|
|
1827
|
+
min-height: 0;
|
|
1828
|
+
margin-bottom: 0;
|
|
1829
|
+
padding: 0;
|
|
1830
|
+
border-bottom: none;
|
|
1831
|
+
}
|
|
1832
|
+
/* dt 已经出过字段名,藏掉控件自带的第二份 label */
|
|
1833
|
+
.field-wrapper.h5-field .el-form-item > .el-form-item__label {
|
|
1834
|
+
display: none;
|
|
1835
|
+
}
|
|
1836
|
+
.field-wrapper.h5-field .el-form-item > .el-form-item__content {
|
|
1837
|
+
margin-left: 0 !important;
|
|
1838
|
+
}
|
|
1799
1839
|
}
|
|
1800
1840
|
}
|
|
1801
1841
|
}
|