From bf469cc043599b3c5042c84a3fc77ca72e9a9f79 Mon Sep 17 00:00:00 2001 From: vapao Date: Tue, 2 Jun 2020 18:56:18 +0800 Subject: [PATCH] =?UTF-8?q?U=20=E4=BC=98=E5=8C=96=E4=B8=BB=E6=9C=BA?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E6=94=AF=E6=8C=81=E6=90=9C=E7=B4=A2=E5=8C=B9?= =?UTF-8?q?=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spug_web/src/pages/deploy/app/Ext1Setup2.js | 5 ++++- spug_web/src/pages/deploy/app/Ext2Setup2.js | 5 ++++- spug_web/src/pages/deploy/app/index.module.css | 4 ++++ spug_web/src/pages/monitor/Form.js | 13 ++++++++++--- spug_web/src/pages/schedule/Form.js | 7 +++++-- spug_web/src/pages/schedule/index.module.css | 4 ++++ 6 files changed, 31 insertions(+), 7 deletions(-) diff --git a/spug_web/src/pages/deploy/app/Ext1Setup2.js b/spug_web/src/pages/deploy/app/Ext1Setup2.js index 6e3ec2b7..6f7522cb 100644 --- a/spug_web/src/pages/deploy/app/Ext1Setup2.js +++ b/spug_web/src/pages/deploy/app/Ext1Setup2.js @@ -41,12 +41,15 @@ class Ext1Setup2 extends React.Component { diff --git a/spug_web/src/pages/deploy/app/Ext2Setup2.js b/spug_web/src/pages/deploy/app/Ext2Setup2.js index 8b3ea7f6..ed791579 100644 --- a/spug_web/src/pages/deploy/app/Ext2Setup2.js +++ b/spug_web/src/pages/deploy/app/Ext2Setup2.js @@ -27,12 +27,15 @@ class Ext2Setup2 extends React.Component { diff --git a/spug_web/src/pages/deploy/app/index.module.css b/spug_web/src/pages/deploy/app/index.module.css index 44244880..cab68d1e 100644 --- a/spug_web/src/pages/deploy/app/index.module.css +++ b/spug_web/src/pages/deploy/app/index.module.css @@ -9,6 +9,10 @@ top: 4px } +.delIcon:hover { + color: #f5222d; +} + .deployBlock { height: 100px; margin-top: 63px; diff --git a/spug_web/src/pages/monitor/Form.js b/spug_web/src/pages/monitor/Form.js index 84c2ca7b..89dc0e33 100644 --- a/spug_web/src/pages/monitor/Form.js +++ b/spug_web/src/pages/monitor/Form.js @@ -143,10 +143,17 @@ class ComForm extends React.Component { this.handleAddr('2', e)}/> - option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0} + onChange={v => this.handleAddr('3', v)}> {hostStore.records.map(item => ( - {item.name}({item.hostname}:{item.port}) + + {`${item.name}(${item.hostname}:${item.port})`} + ))} diff --git a/spug_web/src/pages/schedule/Form.js b/spug_web/src/pages/schedule/Form.js index a45a6b4a..1a206f0d 100644 --- a/spug_web/src/pages/schedule/Form.js +++ b/spug_web/src/pages/schedule/Form.js @@ -177,13 +177,16 @@ class ComForm extends React.Component { diff --git a/spug_web/src/pages/schedule/index.module.css b/spug_web/src/pages/schedule/index.module.css index 6848873f..30bddd79 100644 --- a/spug_web/src/pages/schedule/index.module.css +++ b/spug_web/src/pages/schedule/index.module.css @@ -7,4 +7,8 @@ font-size: 24px; position: relative; top: 4px +} + +.delIcon:hover { + color: #f5222d; } \ No newline at end of file