diff --git a/src/assets/css/global_form.css b/src/assets/css/global_form.css new file mode 100644 index 0000000..3184b95 --- /dev/null +++ b/src/assets/css/global_form.css @@ -0,0 +1,9 @@ +/* form_label 属性*/ +.el-form-item__label { + padding: 0 3px 0 0; /* 原始 默认值:0 12px 0 0; */ +} + +/* form_item 行距属性*/ +.el-form-item { + margin-bottom: 2px; /* 原始 默认值:22px; */ +} diff --git a/src/assets/css/global_input.css b/src/assets/css/global_input.css index 943422b..9fdcc29 100644 --- a/src/assets/css/global_input.css +++ b/src/assets/css/global_input.css @@ -3,7 +3,18 @@ padding-left: 2px; /* 原始 默认 15 */ padding-right: 15px; /* 原始 默认 25 */ } -/* 输入框右图标占位大小 */ + +/* 带前标 输入框 左间距 */ +.el-input--prefix .el-input__inner { + padding-left: 2px; /* 原始 默认 30 */ +} + +/* 带后标 输入框 左间距 */ +.el-input--suffix .el-input__inner { + padding-right: 15px; /* 原始 默认 30 */ +} + +/* 输入框右图标(下拉箭头等)占位大小 */ .el-input__icon{ width: 15px; /* 原始 默认 25 */ } @@ -14,4 +25,21 @@ } .el-icon-time:before { content: ""; /* 原始 默认 el-icon-time */ +} + +/* 大文本 */ +.el-textarea__inner { + padding: 5px 15px 5px 2px; /* 原始 默认 5px 15px */ +} + +/* Radio 组 */ +.el-input-group__append{ + padding: 0 5px; /* 控件默认 0 20px;*/ +} + +/* 输入框定义为number时,取消 spin-button */ +input[type="number"]::-webkit-inner-spin-button, +input[type="number"]::-webkit-outer-spin-button { + -webkit-appearance: none !important; + margin: 0 !important; } \ No newline at end of file diff --git a/src/components/customerOrg/ContactPerson.vue b/src/components/customerOrg/ContactPerson.vue index 11ae9b6..7185540 100644 --- a/src/components/customerOrg/ContactPerson.vue +++ b/src/components/customerOrg/ContactPerson.vue @@ -2,7 +2,7 @@
- @@ -25,7 +25,7 @@ -