diff --git a/YLErpWeb/Views/margin_template_v2/margin_template_v2ClientEdit.cshtml b/YLErpWeb/Views/margin_template_v2/margin_template_v2ClientEdit.cshtml index 5f6b6131..36313a1f 100644 --- a/YLErpWeb/Views/margin_template_v2/margin_template_v2ClientEdit.cshtml +++ b/YLErpWeb/Views/margin_template_v2/margin_template_v2ClientEdit.cshtml @@ -34,7 +34,7 @@
-
+

新模板信息

@@ -142,7 +142,7 @@
-
@@ -158,7 +158,7 @@
-
diff --git a/YLErpWeb/Views/margin_template_v2/margin_template_v2DefaultEdit.cshtml b/YLErpWeb/Views/margin_template_v2/margin_template_v2DefaultEdit.cshtml index a89b98d3..e14a9849 100644 --- a/YLErpWeb/Views/margin_template_v2/margin_template_v2DefaultEdit.cshtml +++ b/YLErpWeb/Views/margin_template_v2/margin_template_v2DefaultEdit.cshtml @@ -34,7 +34,7 @@
-
+

新模板信息

@@ -149,7 +149,7 @@
-
@@ -163,7 +163,7 @@
-
diff --git a/YLErpWeb/Views/margin_template_v2/margin_template_v2Edit.cshtml b/YLErpWeb/Views/margin_template_v2/margin_template_v2Edit.cshtml index cd205bc1..dc509806 100644 --- a/YLErpWeb/Views/margin_template_v2/margin_template_v2Edit.cshtml +++ b/YLErpWeb/Views/margin_template_v2/margin_template_v2Edit.cshtml @@ -32,7 +32,7 @@
-
+

新模板信息

@@ -115,7 +115,7 @@
-
@@ -128,7 +128,7 @@
-
diff --git a/YLErpWeb/wwwroot/Style/Css/margin_template_v2Edit.css b/YLErpWeb/wwwroot/Style/Css/margin_template_v2Edit.css index a84c7d9d..175ea26c 100644 --- a/YLErpWeb/wwwroot/Style/Css/margin_template_v2Edit.css +++ b/YLErpWeb/wwwroot/Style/Css/margin_template_v2Edit.css @@ -62,9 +62,8 @@ padding: 5px; } -.chosen-container-multi .chosen-choices li.search-choice { - width: 130px; -} +/*多选已选项宽度自适应:固定 130px 会让短标签(买入/收益互换等)右侧大片留白, + 并把隐藏的搜索输入框挤到下一行,把整个控件撑出一截空白高度*/ .form-layout .chosen-choices > li > span:first-child, .searchdiv .chosen-choices .search-choice > span:first-child { width: 120px; @@ -100,3 +99,15 @@ p { .spanBlk table th, .spanBlk table td { padding: 2px 4px; } + +/*左栏基础信息列(tpl-base 标记在三个编辑页共用的左侧 col 上): + 控件统一 240px 宽、右缘对齐;多选 chosen 初始化取 select 宽度(SetAceDropDown),随之统一。 + 说明类 textarea 跟随列宽(减去 160px 标签 + 8px 间距 + 4px 余量)*/ +.tpl-base input.text-box, +.tpl-base select { + width: 240px; +} + +.tpl-base textarea.text-box { + width: calc(100% - 172px); +}