Commit b536f381 by chenwq

style(销售日报): 调整表单样式和布局间距

- 增加表单标签宽度从105px到130px
- 调整头部字体大小和配置区域内边距
- 添加禁用输入框和多选框的定制样式
- 统一颜色方案和交互状态样式
1 parent 57e804ce
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
销售日报配置 销售日报配置
</div> </div>
<div class="config-wrap gl-form-page" v-loading="loading"> <div class="config-wrap gl-form-page" v-loading="loading">
<glsx-combi-form ref="showSearch" labelWidth="105px" :isBlock="true" :formObj="editForm" :formData="editFormData"></glsx-combi-form> <glsx-combi-form ref="showSearch" labelWidth="130px" :isBlock="true" :formObj="editForm" :formData="editFormData"></glsx-combi-form>
</div> </div>
<!-- <!--
<el-form ref="form" :model="form" label-width="154px"> <el-form ref="form" :model="form" label-width="154px">
...@@ -182,6 +182,7 @@ export default { ...@@ -182,6 +182,7 @@ export default {
.header { .header {
width: 100%; width: 100%;
height: 58px; height: 58px;
font-size: 20px;
border-bottom: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5;
line-height: 58px; line-height: 58px;
padding-left: 20px; padding-left: 20px;
...@@ -192,7 +193,7 @@ export default { ...@@ -192,7 +193,7 @@ export default {
} }
.config-wrap { .config-wrap {
padding: 32px 20px; padding: 20px;
min-height: 600px; min-height: 600px;
} }
...@@ -206,4 +207,51 @@ export default { ...@@ -206,4 +207,51 @@ export default {
.is-reverse { .is-reverse {
transform: rotate(180deg); transform: rotate(180deg);
} }
/* 页面内定制:禁用输入框样式与多选选中样式,仅作用于本页 */
.marketing {
/deep/ .glsx-combi-form-block {
/* 禁用输入框样式 */
.el-input.is-disabled .el-input__inner {
border-radius: 4px;
background: #f7f8fa; /* 设计稿的浅灰底 */
border-color: #e8e8ea; /* 边框更浅 */
color: #999999; /* 文本灰色 */
-webkit-text-fill-color: #999999; /* 修复Chrome禁用文本颜色 */
}
.el-input.is-disabled .el-input__icon {
color: #c0c4cc;
}
/* 多选选中标签(输入框内的tag)样式 */
.el-select .el-select__tags .el-tag {
background-color: #f2efff !important; /* 淡紫底 */
border: 1px solid #9994ff !important; /* 边框为浅紫 */
color: #5850ff !important; /* 文本为主题紫 */
border-radius: 4px !important;
height: 24px;
line-height: 22px;
padding: 0 8px;
}
.el-select .el-select__tags .el-tag .el-tag__close {
font-size: 16px;
font-weight: bold;
color: #5850ff;
background-color: #f2efff !important;
}
.el-select .el-select__tags .el-tag .el-tag__close:hover {
color: #4b41ff;
background: transparent;
}
/* 多选下拉面板中已选项样式 */
.el-select-dropdown__item.selected {
background-color: rgba(88, 80, 255, 0.08);
color: #5850ff;
}
.el-select-dropdown__item.selected .el-icon-check {
color: #5850ff !important;
}
}
}
</style> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!