U 优化前端样式

pull/22/head
vapao 2020-01-18 09:37:18 +08:00
parent 896f2da0c7
commit 6e742a8c36
2 changed files with 5 additions and 4 deletions

View File

@ -12,6 +12,9 @@
} }
.content { .content {
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 24px 24px 0; padding: 24px 24px 0;
overflow-y: scroll; overflow-y: scroll;
} }
@ -91,8 +94,6 @@
.footerZone { .footerZone {
width: 100%; width: 100%;
position: fixed;
bottom: 0;
padding: 20px; padding: 20px;
font-size: 14px; font-size: 14px;
text-align: center; text-align: center;

View File

@ -73,7 +73,7 @@ class Index extends React.Component {
</div> </div>
<div className={styles.right}> <div className={styles.right}>
<SearchForm> <SearchForm>
<SearchForm.Item span={5} title="视图"> <SearchForm.Item span={6} title="视图">
<Select value={view} style={{width: '100%'}} onChange={v => this.setState({view: v})}> <Select value={view} style={{width: '100%'}} onChange={v => this.setState({view: v})}>
<Select.Option value="1"><Icon type="table" style={{marginRight: 10}}/>表格</Select.Option> <Select.Option value="1"><Icon type="table" style={{marginRight: 10}}/>表格</Select.Option>
<Select.Option value="2"><Icon type="unordered-list" style={{marginRight: 10}}/>文本</Select.Option> <Select.Option value="2"><Icon type="unordered-list" style={{marginRight: 10}}/>文本</Select.Option>
@ -83,7 +83,7 @@ class Index extends React.Component {
<SearchForm.Item span={7} title="Key"> <SearchForm.Item span={7} title="Key">
<Input allowClear onChange={e => store.f_name = e.target.value} placeholder="请输入"/> <Input allowClear onChange={e => store.f_name = e.target.value} placeholder="请输入"/>
</SearchForm.Item> </SearchForm.Item>
<SearchForm.Item span={4}> <SearchForm.Item span={3}>
<Button type="primary" icon="sync" onClick={this.handleRefresh}>刷新</Button> <Button type="primary" icon="sync" onClick={this.handleRefresh}>刷新</Button>
</SearchForm.Item> </SearchForm.Item>
<SearchForm.Item span={4}> <SearchForm.Item span={4}>