Commit 60de6b59 authored by GuanHua's avatar GuanHua

style: 修改装修页面样式

parent 6a0f9523
...@@ -48,7 +48,7 @@ const Search = props => { ...@@ -48,7 +48,7 @@ const Search = props => {
/> />
</Tooltip> </Tooltip>
{advanced && ( {advanced && (
<Button onClick={changeFilterVisible}> <Button style={state.filterSearch ? { backgroundColor: "#6B778C", borderColor: "#6B778C", color: "#FFF"} : {}} onClick={changeFilterVisible}>
高级筛选 高级筛选
{state.filterSearch ? <CaretUpOutlined /> : <CaretDownOutlined />} {state.filterSearch ? <CaretUpOutlined /> : <CaretDownOutlined />}
</Button> </Button>
......
import React, { useCallback, useState } from 'react' import React, { useCallback, useState } from 'react'
import { Modal, Button, message } from 'antd' import { Modal, Button, message } from 'antd'
import { ArrowLeftOutlined } from '@ant-design/icons' import { ArrowLeftOutlined, SaveOutlined } from '@ant-design/icons'
import { PublicApi } from '@/services/api' import { PublicApi } from '@/services/api'
import { useSelector, STATE_PROPS, ComponentConfigsType, PROPS_TYPES } from 'lingxi-editor-core' import { useSelector, STATE_PROPS, ComponentConfigsType, PROPS_TYPES } from 'lingxi-editor-core'
import { history } from 'umi' import { history } from 'umi'
...@@ -117,7 +117,7 @@ const ToolBar: React.FC<ToolBarPropsType> = (props) => { ...@@ -117,7 +117,7 @@ const ToolBar: React.FC<ToolBarPropsType> = (props) => {
{ {
showActions && <div className={styles.toolbar_actions}> showActions && <div className={styles.toolbar_actions}>
<Button type="link" onClick={() => handleGoBack()}>取消</Button> <Button type="link" onClick={() => handleGoBack()}>取消</Button>
<Button loading={saveLoading} type="primary" onClick={() => handleSave()}>保存</Button> <Button icon={<SaveOutlined />} loading={saveLoading} type="primary" onClick={() => handleSave()}>保存</Button>
</div> </div>
} }
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment