king
2021-12-16 b5364600d98c8749caba625ec813d4fe670d0a19
src/mob/searchconfig/settingform/index.jsx
@@ -2,8 +2,12 @@
import PropTypes from 'prop-types'
import { Form, Row, Col, Input, Radio, Select, Tooltip } from 'antd'
import { QuestionCircleOutlined } from '@ant-design/icons'
import asyncComponent from '@/utils/asyncComponent'
import { formRule } from '@/utils/option.js'
import './index.scss'
const ColorSketch = asyncComponent(() => import('@/mob/colorsketch'))
class SettingForm extends Component {
  static propTpyes = {
@@ -208,6 +212,15 @@
              )}
            </Form.Item>
          </Col> : null}
          <Col span={12}>
            <Form.Item className="sys-bgcolor" label="背景色">
              {getFieldDecorator('backgroundColor', {
                initialValue: config.setting.backgroundColor || '#ffffff'
              })(
                <ColorSketch value={config.setting.backgroundColor || '#ffffff'}/>
              )}
            </Form.Item>
          </Col>
          {type === 'search' ? <Col span={12}>
            <Form.Item label="黑名单">
              {getFieldDecorator('blacklist', {