cloud-web-corejs 1.0.54-dev.814 → 1.0.54-dev.815
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
|
@@ -106,11 +106,16 @@ $xformH5PageBg: #f1f5fb;
|
|
|
106
106
|
代价是特异度基线从 (0,5,0) 降到 (0,3,0),故本块每条都按对手重算,见各条注释。 */
|
|
107
107
|
|
|
108
108
|
/* 容器层仍按容器锚:内边距与两列排布是容器职责,不是字段职责。
|
|
109
|
-
|
|
109
|
+
写到 (0,4,0),压过 style.scss:13801/13886 的
|
|
110
110
|
`.h5-detail-wrap .h5-item .h5-form-box{padding:12px / padding-bottom:0}` (0,3,0)
|
|
111
|
-
—— 同分只能靠加载顺序,而本文件与 style.scss 的先后不可靠,必须多一段。
|
|
112
|
-
|
|
113
|
-
|
|
111
|
+
—— 同分只能靠加载顺序,而本文件与 style.scss 的先后不可靠,必须多一段。
|
|
112
|
+
|
|
113
|
+
★ 这里只锚 h5-card-pane 出的 .h5-item:曾并列加过一条 `.grid-cell .h5-form-box`
|
|
114
|
+
想覆盖 h5-card,那是错的 —— h5-card 的 panes 只能装卡片(h5-card-pane)、装不了字段
|
|
115
|
+
(widgetsConfig 里它就是 `panes: []`,h5-card-item 也只遍历 panes),
|
|
116
|
+
给它加 12px 不会让任何字段受益,只会把里面的卡片整体往里缩一圈,
|
|
117
|
+
结果是同一屏里 h5-card 里的卡片比流程面板窄 30px、左右对不齐。 */
|
|
118
|
+
.xform-h5 .h5-detail-wrap .h5-item .h5-form-box {
|
|
114
119
|
padding: 12px;
|
|
115
120
|
|
|
116
121
|
> .form-widget-list {
|
|
@@ -119,6 +124,14 @@ $xformH5PageBg: #f1f5fb;
|
|
|
119
124
|
}
|
|
120
125
|
}
|
|
121
126
|
|
|
127
|
+
/* h5-card 在 H5 版式下只是个分组壳,里面直接装卡片,壳自己不该再占内边距。
|
|
128
|
+
那 3px 来自 h5-card-item.vue 的 scoped 样式(`.grid-cell{min-height:80px;padding:3px}`,
|
|
129
|
+
从设计器画布抄来的),(0,2,0);本方 (0,4,0) 压得过。
|
|
130
|
+
抹平之后,h5-card 里的卡片与直接挂在滚动区下的流程面板一样都落在 margin 8px 上。 */
|
|
131
|
+
.xform-h5 .h5-detail-body > .form-widget-list > .grid-cell {
|
|
132
|
+
padding: 0;
|
|
133
|
+
}
|
|
134
|
+
|
|
122
135
|
/* ★ 不要给 `.h5-detail-body > .form-widget-list` 也加 flex-wrap:那一层装的是
|
|
123
136
|
卡片(detail-h5-item.vue 的 panes),卡片自身没有宽度,一旦父级变 flex 容器
|
|
124
137
|
就会按内容宽并排成一行。字段直挂 detail-h5.panes 时靠下面的
|