mirror of https://github.com/openspug/spug
U 优化前端样式
parent
896f2da0c7
commit
6e742a8c36
|
@ -12,6 +12,9 @@
|
|||
}
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
padding: 24px 24px 0;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
@ -91,8 +94,6 @@
|
|||
|
||||
.footerZone {
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
padding: 20px;
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
|
|
|
@ -73,7 +73,7 @@ class Index extends React.Component {
|
|||
</div>
|
||||
<div className={styles.right}>
|
||||
<SearchForm>
|
||||
<SearchForm.Item span={5} title="视图">
|
||||
<SearchForm.Item span={6} title="视图">
|
||||
<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="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">
|
||||
<Input allowClear onChange={e => store.f_name = e.target.value} placeholder="请输入"/>
|
||||
</SearchForm.Item>
|
||||
<SearchForm.Item span={4}>
|
||||
<SearchForm.Item span={3}>
|
||||
<Button type="primary" icon="sync" onClick={this.handleRefresh}>刷新</Button>
|
||||
</SearchForm.Item>
|
||||
<SearchForm.Item span={4}>
|
||||
|
|
Loading…
Reference in New Issue