diff --git a/public/react/src/modules/user/usersInfo/InfosTopics.js b/public/react/src/modules/user/usersInfo/InfosTopics.js index 2e80608c3..6d9c1838f 100644 --- a/public/react/src/modules/user/usersInfo/InfosTopics.js +++ b/public/react/src/modules/user/usersInfo/InfosTopics.js @@ -486,32 +486,36 @@ class InfosTopics extends Component{ {item.is_public===true?公开:""} - {types==="personal"&&item.is_public===false?user_id===targetuserid&&user_type!="学生"?this.openTopics(item.id)}>设为公开:"":""} +

- - {types==="publicly"?{item.creator_name}:""} + + {types==="publicly"?{item.creator_name}:""} {item.quotes_count} 次引用 {item.solve_count} 次答题 {moment(item.updated_at).fromNow()} - {item.course_list_name===null?"":{item.course_list_name}} + {item.course_list_name===null?"": +

{item.course_list_name}
+ }

{types==="personal"?user_id===targetuserid&&user_type!="学生"? 编辑 :"":""} + {types==="personal"&&item.is_public===false?user_id===targetuserid&&user_type!="学生"?this.openTopics(item.id)}>设为公开:"":""} +
diff --git a/public/react/src/modules/user/usersInfo/usersInfo.css b/public/react/src/modules/user/usersInfo/usersInfo.css index cf1d27019..927b0c70c 100644 --- a/public/react/src/modules/user/usersInfo/usersInfo.css +++ b/public/react/src/modules/user/usersInfo/usersInfo.css @@ -348,8 +348,8 @@ opacity: 1; border-radius: 2px; } -.topicswidth400{ - width: 400px; +.topicswidth600{ + mac-width: 600px; display: inline-block; } .topicswidth300{ @@ -366,13 +366,13 @@ .topscisright{ right: 0px; - top: 50px; + top: 64px; display: block; position: absolute; } -.topsics100{ - width: 100px; +.topsics135{ + max-width: 135px; display: inline-block; } @@ -405,4 +405,21 @@ .mb45{ margin-bottom: 45px!important; +} + +.topsicsmax550{ + max-width: 550px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + position: absolute; + top: -16px; +} + +.topsicrelative{ + position: relative; +} + +.topsicinline{ + display: inline-block; } \ No newline at end of file