diff --git a/apps/pages/userpage/components/user-list.vue b/apps/pages/userpage/components/user-list.vue index c089873..c537735 100644 --- a/apps/pages/userpage/components/user-list.vue +++ b/apps/pages/userpage/components/user-list.vue @@ -17,7 +17,7 @@ </div> <div class="option-btn" :class="{'follow': item.isAttention}"> <WidgetFollow class="click-wrap" :author-uid="item.authorUid" :author-type="item.authorType" :follow="item.isAttention" @on-follow="follow => onFollow(follow, index)"></WidgetFollow> - {{item.isAttention ? '取消关注' : followName}} + {{item.isAttention ? '已关注' : followName}} </div> </div> </div> @@ -136,8 +136,13 @@ export default { } .name { + max-width: 370px; font-size: 28px; line-height: 1.4; + display: block; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } .extra {