From d85d763143b9e51fc039bed9d28f1ed27aa316fc 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, 19 Jul 2019 19:53:45 +0800 Subject: [PATCH] =?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/search/SearchPage.js | 8 ++++---- public/react/src/search/searchc.css | 8 ++++++++ 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/public/react/src/search/SearchPage.js b/public/react/src/search/SearchPage.js index d2eb5ef93..4ce2939cb 100644 --- a/public/react/src/search/SearchPage.js +++ b/public/react/src/search/SearchPage.js @@ -204,7 +204,9 @@ class SearchPage extends Component{ - +
+ 主讲:{item.author_name}{item.author_school_name} 任务:{item.challenges_count===undefined?0:item.challenges_count} 学习人数:{item.study_count===undefined?0:item.study_count} +
@@ -219,9 +221,7 @@ class SearchPage extends Component{ -
- -
+ } diff --git a/public/react/src/search/searchc.css b/public/react/src/search/searchc.css index e148505f3..d228a2ba6 100644 --- a/public/react/src/search/searchc.css +++ b/public/react/src/search/searchc.css @@ -117,4 +117,12 @@ } .bjyss{ background: #F8F8F8; +} +.zj{ + overflow:hidden; + text-overflow:ellipsis; + white-space:nowrap +} +.ziticor{ + color: #777777; } \ No newline at end of file