From 622441bead412ec8824ac5214ecacb0f786a16a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Fri, 13 Dec 2019 19:05:33 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/templates/shared/main.css | 1 - public/react/config/webpack.config.prod.js | 2 +- public/react/src/modules/tpm/TPMBanner.js | 3 +-- public/stylesheets/educoder/edu-main.css | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/app/templates/shared/main.css b/app/templates/shared/main.css index 09d295421..704246b74 100644 --- a/app/templates/shared/main.css +++ b/app/templates/shared/main.css @@ -557,7 +557,6 @@ a.user_orangebg_btn{background-color:#FF6800;color: #fff;} a.user_greybg_btn{background-color:#747A7F;color: #fff;} /*.user_white_btn{border: 1px solid #ffffff;color: #ffffff!important;}*/ - .pointer{cursor: pointer} .cdefault{cursor: default} diff --git a/public/react/config/webpack.config.prod.js b/public/react/config/webpack.config.prod.js index fbfbf23bc..596843f5f 100644 --- a/public/react/config/webpack.config.prod.js +++ b/public/react/config/webpack.config.prod.js @@ -326,7 +326,7 @@ module.exports = { comments: false }, compress: { - drop_debugger: true, + drop_debugger: false, drop_console: false } } diff --git a/public/react/src/modules/tpm/TPMBanner.js b/public/react/src/modules/tpm/TPMBanner.js index 32308723c..776d77086 100644 --- a/public/react/src/modules/tpm/TPMBanner.js +++ b/public/react/src/modules/tpm/TPMBanner.js @@ -840,7 +840,7 @@ class TPMBanner extends Component { { - this.props.is_jupyter===false? + this.props.is_jupyter===true?"":
this.showonMouseOver()} onMouseOut={() => this.hideonMouseOut()}>
学员评分
@@ -916,7 +916,6 @@ class TPMBanner extends Component {
- :"" } diff --git a/public/stylesheets/educoder/edu-main.css b/public/stylesheets/educoder/edu-main.css index 8e479aa9b..84bca6a78 100644 --- a/public/stylesheets/educoder/edu-main.css +++ b/public/stylesheets/educoder/edu-main.css @@ -820,4 +820,4 @@ html>body #ajax-indicator { position: fixed; } .footer_con-p{ color: #898989 !important; -} \ No newline at end of file +} From 04a22f42035646ff04197e1abc794711aed51104 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Fri, 13 Dec 2019 19:20:09 +0800 Subject: [PATCH 2/2] =?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/tpm/TPMBanner.js | 16 ++++----- .../src/modules/tpm/shixuns/css/TPMBanner.css | 36 ++++++++++++++++++- 2 files changed, 43 insertions(+), 9 deletions(-) diff --git a/public/react/src/modules/tpm/TPMBanner.js b/public/react/src/modules/tpm/TPMBanner.js index 776d77086..59d5c913a 100644 --- a/public/react/src/modules/tpm/TPMBanner.js +++ b/public/react/src/modules/tpm/TPMBanner.js @@ -985,7 +985,7 @@ class TPMBanner extends Component { { startbtn === true ? - 开启中 : "" + 开启中 : "" } {/*{*/} @@ -1009,7 +1009,7 @@ class TPMBanner extends Component { placement="bottom" visible={this.state.openknow} > - 发布 : "" } @@ -1087,26 +1087,26 @@ class TPMBanner extends Component { placement="bottom" visible={this.state.openshowpublictype} > - : "" } {shixunsDetails.shixun_status === 2 && shixunsDetails.public===1 && this.props.identity < 5 ? - : "" } {shixunsDetails.shixun_status === 2 && shixunsDetails.public===0 && this.props.identity < 5 ? - 撤销发布 : "" } { @@ -1190,11 +1190,11 @@ class TPMBanner extends Component { {shixunsDetails.shixun_status === 3 && - 已关闭 + 已关闭 } {shixunsDetails.shixun_status === -1 && - 已删除 + 已删除 } diff --git a/public/react/src/modules/tpm/shixuns/css/TPMBanner.css b/public/react/src/modules/tpm/shixuns/css/TPMBanner.css index 50d30f673..069b6706e 100644 --- a/public/react/src/modules/tpm/shixuns/css/TPMBanner.css +++ b/public/react/src/modules/tpm/shixuns/css/TPMBanner.css @@ -119,4 +119,38 @@ a:active{text-decoration:none;} .FF6802{ color:#FF6802; -} \ No newline at end of file +} + +.xxtjbtn{ + + width: 103px; + height: 38px; + background: rgba(255,255,255,1); + border-radius: 4px; + border: 1px solid rgba(255,255,255,1); + color: #fff !important; + font-size: 15px !important; + line-height: 36px !important; +} +.kkbths{ + width:103px; + height:38px; + border-radius:4px; + line-height: 36px !important; + border:1px solid rgba(255,255,255,1); +} + +.kaike{ + border-radius: 4px; + border: 1px solid rgba(255,255,255); + padding: 0px 10px; + cursor: pointer; + font-size: 14px; + display: block; + width: 120px; + text-align: center; + height: 40px; + line-height: 40px!important; + border-radius: 4px; + box-sizing: border-box; +}