diff --git a/public/react/src/search/SearchPage.js b/public/react/src/search/SearchPage.js index 59fee95e9..37a06e8d8 100644 --- a/public/react/src/search/SearchPage.js +++ b/public/react/src/search/SearchPage.js @@ -218,10 +218,15 @@ class SearchPage extends Component{
{/*挑战名字*/} + + {item.content.challenge_names === undefined || item.content.challenge_names===0?"": item.content.challenge_names.map((item5, key5) => { return ( - + 关卡名称: + +
) }) } @@ -231,8 +236,11 @@ class SearchPage extends Component{ {/*挑战标签*/} {item.content.challenge_tag_names === undefined || item.content.challenge_tag_names===0?"": item.content.challenge_tag_names.map((item6, key6) => { return ( - 1?"markdown-body tzbq ":"markdown-body tzbqx"} - dangerouslySetInnerHTML={{__html:item6}} /> +
+ 关卡标签: + 1?" tzbq ":" tzbqx"} + dangerouslySetInnerHTML={{__html:item6}} /> +
) }) } @@ -260,44 +268,44 @@ class SearchPage extends Component{ {/* */} - {item.author_name} + {item.author_name}
{item.author_school_name} {!!item.challenges_count && - + {/* */} 任务: {item.challenges_count} } {!!item.study_count && - + {/* */} 学习人数: {item.study_count} } {!!item.stage_shixuns_count && - + {/* */} 实训数: {item.stage_shixuns_count} } {type == 'subject' && !!item.visits_count && - + {/* */} 访问数: {item.visits_count} } {!!item.members_count && - + {/* */} 成员数: {item.members_count} } {!!item.all_replies_count && - + {/* */} 回复数:{item.all_replies_count} } diff --git a/public/react/src/search/searchc.css b/public/react/src/search/searchc.css index 4b31e7c5d..99f35738a 100644 --- a/public/react/src/search/searchc.css +++ b/public/react/src/search/searchc.css @@ -113,7 +113,7 @@ margin-left: 68px; } .tzbqx{ - margin-left: 24px; + /* margin-left: 24px; */ } .bjyss{ background: #F8F8F8;