From 69522c59563a6786bcc5b3944f73c7b6b03ffb64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Wed, 18 Mar 2020 01:59:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/AppConfig.js | 4 +-- .../modules/courses/signin/css/signincdi.css | 21 ++++++++++++ .../component/Studentstatistics.js | 7 ++-- .../component/Videostatisticslist.js | 32 +++++++++---------- 4 files changed, 43 insertions(+), 21 deletions(-) diff --git a/public/react/src/AppConfig.js b/public/react/src/AppConfig.js index b8f41d349..7c52d64ae 100644 --- a/public/react/src/AppConfig.js +++ b/public/react/src/AppConfig.js @@ -42,11 +42,11 @@ if (isDev) { window.location.search.indexOf('debug=a') != -1 ? 'admin' : parsed.debug || 'admin' } // 超管 -//debugType="admin"; +debugType="admin"; // 老师 // debugType="teacher"; // 学生 - debugType="student"; +// debugType="student"; diff --git a/public/react/src/modules/courses/signin/css/signincdi.css b/public/react/src/modules/courses/signin/css/signincdi.css index 34bef6192..e93a0032e 100644 --- a/public/react/src/modules/courses/signin/css/signincdi.css +++ b/public/react/src/modules/courses/signin/css/signincdi.css @@ -431,6 +431,13 @@ white-space:nowrap; cursor: default; } +.maxnamewidth200ss{ + max-width: 200px; + overflow:hidden; + text-overflow:ellipsis; + white-space:nowrap; + cursor: default; +} .maxnamewidth150s{ width: 150px; max-width: 150px; @@ -439,6 +446,13 @@ white-space:nowrap; cursor: default; } +.maxnamewidth150ss{ + max-width: 150px; + overflow:hidden; + text-overflow:ellipsis; + white-space:nowrap; + cursor: default; +} .maxnamewidth140s{ width: 140px; max-width: 140px; @@ -511,3 +525,10 @@ .textalignrights{ text-align: right; } + +.width200s{ + width: 200px !important; +} +.width150s{ + width: 150px !important; +} diff --git a/public/react/src/modules/courses/videostatistics/component/Studentstatistics.js b/public/react/src/modules/courses/videostatistics/component/Studentstatistics.js index b505cda75..06eda7f4d 100644 --- a/public/react/src/modules/courses/videostatistics/component/Studentstatistics.js +++ b/public/react/src/modules/courses/videostatistics/component/Studentstatistics.js @@ -31,9 +31,10 @@ class Studentstatistics extends Component { dataIndex: 'title', key: 'title', align: "center", - className: 'font-14 ', + className: 'font-14 width200s', + width: 200, render: (text, record) => ( -