diff --git a/src/components/NGTools/NGCom.vue b/src/components/NGTools/NGCom.vue index fe6f725..c23d75a 100644 --- a/src/components/NGTools/NGCom.vue +++ b/src/components/NGTools/NGCom.vue @@ -1,265 +1,339 @@ + - + /* 整体容器间距 */ + .app-container { + padding: 10px; + } + + /* 每行间距,匹配原inline表单的紧凑感 */ + .form-row { + margin-bottom: 12px; + } + + /* 标签列样式:右对齐、统一颜色和字号 */ + .label-col { + text-align: right; + padding-right: 10px; + } + + .form-label { + font-size: 12px; + color: #606266; + /* 匹配Element UI默认标签色 */ + font-weight: 300; + line-height: 32px; + /* 匹配输入框高度,垂直居中 */ + } + + /* 控件列样式:左间距 */ + .control-col { + padding-left: 10px; + } + + /* 合计输入框样式(保留原有类名) */ + .total-input { + background-color: #f5f7fa; + /* 只读输入框默认背景色 */ + } + + /* 小屏幕适配:标签和控件堆叠显示 */ + @media (max-width: 768px) { + .form-row .el-col { + span: 24 !important; + } + + .label-col { + text-align: left; + margin-bottom: 4px; + padding-right: 0; + } + + .control-col { + padding-left: 0; + } + } + \ No newline at end of file diff --git a/src/components/NGTools/NGResult.vue b/src/components/NGTools/NGResult.vue index 4360b70..ab2d35d 100644 --- a/src/components/NGTools/NGResult.vue +++ b/src/components/NGTools/NGResult.vue @@ -1,187 +1,3 @@ - - + + \ No newline at end of file diff --git a/src/components/NGTools/meterPar.vue b/src/components/NGTools/meterPar.vue index 5e6fcac..6366628 100644 --- a/src/components/NGTools/meterPar.vue +++ b/src/components/NGTools/meterPar.vue @@ -1,213 +1,409 @@ \ No newline at end of file diff --git a/src/components/NGTools/meterResult.vue b/src/components/NGTools/meterResult.vue index 738d8ba..84eb4dd 100644 --- a/src/components/NGTools/meterResult.vue +++ b/src/components/NGTools/meterResult.vue @@ -1,231 +1,383 @@ + + + /* 整体容器样式 */ + .app-container { + padding: 10px; + } + + /* 每行间距与垂直居中 */ + .form-row { + margin-bottom: 12px; + align-items: center; + } + + /* 标签列样式:右对齐、统一字号/颜色 */ + .label-col { + text-align: right; + padding-right: 10px; + } + + .form-label { + font-size: 12px; + color: #606266; + /* 匹配Element UI默认标签色 */ + font-weight: 300; + line-height: 32px; + /* 匹配输入框高度,垂直居中 */ + } + + /* 控件列样式:左间距 */ + .control-col { + padding-left: 10px; + } + + /* 只读输入框样式优化(匹配原表单只读样式) */ + .el-input[readonly] { + background-color: #f5f7fa; + color: #606266; + } + + /* 小屏幕适配:标签和控件堆叠显示 */ + @media (max-width: 768px) { + .form-row .el-col { + span: 24 !important; + } + + .label-col { + text-align: left; + margin-bottom: 4px; + padding-right: 0; + } + + .control-col { + padding-left: 0; + } + } + \ No newline at end of file diff --git a/src/views/ngtools/FlowCal/index.vue b/src/views/ngtools/FlowCal/index.vue index c3b3ba7..ee8fe32 100644 --- a/src/views/ngtools/FlowCal/index.vue +++ b/src/views/ngtools/FlowCal/index.vue @@ -4,21 +4,49 @@ - - + + + + + + + + + + + + + + + + +
{{ message }}