新增的字段管理页面样式修改

This commit is contained in:
黎永顺 2023-02-07 15:18:30 +08:00
parent 7020f1ec2e
commit b8f941d575
3 changed files with 17 additions and 3 deletions

View File

@ -77,6 +77,7 @@ const DataAcquisition = (props) => props.children;
// sysconfig 系統配置
// sysconfig-1 规则配置
// appconfig 应用配置
// fieldManagement 字段管理
const Routes = (
<Route

View File

@ -168,7 +168,7 @@ class FieldSlide extends Component {
className="slideOuterWrapper"
visible={visible}
top={0}
width={55}
width={50}
height={100}
direction="right"
measure="%"
@ -186,6 +186,7 @@ class FieldSlide extends Component {
<div className="wea-form-item-group">
<WeaFormItem label="名称" labelCol={{ span: 6 }} wrapperCol={{ span: 18 }}>
<WeaInput viewAttr={3} value={name}
style={{ width: "80%" }}
onChange={value => this.handleChangeFields("name", value)}/>
</WeaFormItem>
<WeaFormItem label="默认使用" labelCol={{ span: 6 }} wrapperCol={{ span: 18 }}>
@ -232,6 +233,7 @@ class FieldSlide extends Component {
<WeaSelect
value={roundingMode}
options={roundingModeOptions}
style={{ width: 200 }}
onChange={value => this.handleChangeFields("roundingMode", value)}
/>
</WeaFormItem>
@ -239,12 +241,14 @@ class FieldSlide extends Component {
<WeaSelect
value={pattern}
options={patternOptions}
style={{ width: 200 }}
onChange={value => this.handleChangeFields("pattern", value)}
/>
</WeaFormItem>
<WeaFormItem label="备注" labelCol={{ span: 6 }} wrapperCol={{ span: 18 }}>
<WeaTextarea
value={description}
style={{ width: "80%" }}
onChange={value => this.handleChangeFields("description", value)}
/>
</WeaFormItem>

View File

@ -1,7 +1,16 @@
.slideOuterWrapper {
.wea-form-item-group{
padding: 56px 80px;
.wea-form-item-group {
margin: 16px;
border: 1px solid #e5e5e5;
border-bottom: none;
& > div {
border-bottom: 1px solid #e5e5e5;
margin-bottom: 0;
padding: 5px 16px
}
}
.wea-slide-modal-title {
height: initial;
line-height: initial;