From 31979fbe4eb6dfa0a6b2446b2fe725a1d25d0c10 Mon Sep 17 00:00:00 2001 From: vapao Date: Tue, 28 Sep 2021 14:37:50 +0800 Subject: [PATCH] improve style --- spug_web/src/pages/host/Form.js | 9 +++--- spug_web/src/pages/host/index.module.less | 38 ++++++++++++++++++++--- 2 files changed, 39 insertions(+), 8 deletions(-) diff --git a/spug_web/src/pages/host/Form.js b/spug_web/src/pages/host/Form.js index 06a3a9d..7a75ee7 100644 --- a/spug_web/src/pages/host/Form.js +++ b/spug_web/src/pages/host/Form.js @@ -9,6 +9,7 @@ import { ExclamationCircleOutlined, UploadOutlined } from '@ant-design/icons'; import { Modal, Form, Input, TreeSelect, Button, Upload, Alert, message } from 'antd'; import { http, X_TOKEN } from 'libs'; import store from './store'; +import styles from './index.module.less'; export default observer(function () { const [form] = Form.useForm(); @@ -126,13 +127,13 @@ export default observer(function () { - + - + - + @@ -146,7 +147,7 @@ export default observer(function () { - + diff --git a/spug_web/src/pages/host/index.module.less b/spug_web/src/pages/host/index.module.less index b0ebe69..4084bee 100644 --- a/spug_web/src/pages/host/index.module.less +++ b/spug_web/src/pages/host/index.module.less @@ -1,11 +1,11 @@ .steps { - width: 350px; - margin: 0 auto 30px; + width: 350px; + margin: 0 auto 30px; } .tagAdd { - background: #fff; - border-style: dashed; + background: #fff; + border-style: dashed; } .tagNumberInput { @@ -28,4 +28,34 @@ .selector :global(.ant-modal-footer) { border-top: none +} + +.formAddress1 { + display: inline-block; + + :global(.ant-input) { + border-radius: 0; + } +} + +.formAddress2 { + display: inline-block; + + :global(.ant-input-group-addon) { + border-left: none; + border-radius: 0; + } + + :global(.ant-input) { + border-radius: 0; + } +} + +.formAddress3 { + display: inline-block; + + :global(.ant-input-group-addon) { + border-left: none; + border-radius: 0; + } } \ No newline at end of file