From d9a9ceeb3786d226e0e137824c9848a723e6fca5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Sat, 20 Jul 2019 23:49:37 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/login/Trialapplication.js | 4 ++-- public/react/src/modules/login/Trialapplicationysl.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/public/react/src/modules/login/Trialapplication.js b/public/react/src/modules/login/Trialapplication.js index c40f14bdc..fdf710a21 100644 --- a/public/react/src/modules/login/Trialapplication.js +++ b/public/react/src/modules/login/Trialapplication.js @@ -270,7 +270,7 @@ class Trialapplication extends Component { }).then((result) => { // console.log(result); // this.onTabChange("1"); - if(result !== undefined){ + this.props.showNotification(`试用申请已提交,我们将尽快完成审核`); if (this.state.showTrial === false) { window.location.href = "/"; @@ -284,7 +284,7 @@ class Trialapplication extends Component { }) this.handleDialogClose() } - } + this.handleDialogClose() }).catch((error) => { }) diff --git a/public/react/src/modules/login/Trialapplicationysl.js b/public/react/src/modules/login/Trialapplicationysl.js index b65725cef..f9dc28b69 100644 --- a/public/react/src/modules/login/Trialapplicationysl.js +++ b/public/react/src/modules/login/Trialapplicationysl.js @@ -286,7 +286,7 @@ class Trialapplicationysl extends Component { }).then((result) => { // console.log(result); // this.onTabChange("1"); - if(result !== undefined){ + this.props.showNotification(`试用申请已提交,我们将尽快完成审核`); // if (this.state.showTrial === false) { window.location.href = "/"; @@ -302,7 +302,7 @@ class Trialapplicationysl extends Component { // this.Cancel(); // // } - } + }).catch((error) => { }) From 14302ee37f3d7d1212dda65e683b673fa38a878f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Sun, 21 Jul 2019 00:01:11 +0800 Subject: [PATCH 2/3] b --- public/react/src/modules/login/Trialapplication.js | 4 ++-- public/react/src/modules/login/Trialapplicationysl.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/public/react/src/modules/login/Trialapplication.js b/public/react/src/modules/login/Trialapplication.js index fdf710a21..864a2efb8 100644 --- a/public/react/src/modules/login/Trialapplication.js +++ b/public/react/src/modules/login/Trialapplication.js @@ -271,9 +271,9 @@ class Trialapplication extends Component { // console.log(result); // this.onTabChange("1"); - this.props.showNotification(`试用申请已提交,我们将尽快完成审核`); + // this.props.showNotification(`试用申请已提交,我们将尽快完成审核`); if (this.state.showTrial === false) { - window.location.href = "/"; + // window.location.href = "/"; this.setState({ isRenders: false }) diff --git a/public/react/src/modules/login/Trialapplicationysl.js b/public/react/src/modules/login/Trialapplicationysl.js index f9dc28b69..65537645f 100644 --- a/public/react/src/modules/login/Trialapplicationysl.js +++ b/public/react/src/modules/login/Trialapplicationysl.js @@ -287,9 +287,9 @@ class Trialapplicationysl extends Component { // console.log(result); // this.onTabChange("1"); - this.props.showNotification(`试用申请已提交,我们将尽快完成审核`); + // this.props.showNotification(`试用申请已提交,我们将尽快完成审核`); // if (this.state.showTrial === false) { - window.location.href = "/"; + // window.location.href = "/"; this.setState({ isRenders: false }) From 72c1417c7b8fb2fa5015b6b92e66a95a119dff5f Mon Sep 17 00:00:00 2001 From: hjm <63528605@qq.com> Date: Mon, 22 Jul 2019 09:08:27 +0800 Subject: [PATCH 3/3] ant-input-affix-wrapper .ant-input-prefix --- public/react/src/modules/courses/css/Courses.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/react/src/modules/courses/css/Courses.css b/public/react/src/modules/courses/css/Courses.css index 8b768aa88..c69b147fa 100644 --- a/public/react/src/modules/courses/css/Courses.css +++ b/public/react/src/modules/courses/css/Courses.css @@ -1224,6 +1224,9 @@ samp { .ant-input-affix-wrapper:hover .ant-input:not(.ant-input-disabled){ border:1px solid #d9d9d9!important; } + .ant-input-affix-wrapper .ant-input-prefix, .ant-input-affix-wrapper .ant-input-suffix { + background: #fafafa!important; + } .ant-input:hover{ border:1px solid #d9d9d9!important; }