Showing
1 changed file
with
18 additions
and
15 deletions
@@ -29,23 +29,25 @@ | @@ -29,23 +29,25 @@ | ||
29 | @scroll="onScrollHandle" | 29 | @scroll="onScrollHandle" |
30 | @scroll-end="onScrollEndHandle" | 30 | @scroll-end="onScrollEndHandle" |
31 | @before-scroll-start="beforeScrollStartHandle"> | 31 | @before-scroll-start="beforeScrollStartHandle"> |
32 | - <div ref="authorProfile" class="author-profile"> | ||
33 | - <WidgetAvatar class="avatar-box" :class="{'avatar-opacity': authorBaseData.showAvatar}" :src="authorBaseData.headIco" :group="authorBaseData.authGroupId" :width="100" :height="100"></WidgetAvatar> | ||
34 | - <div class="author-section"> | ||
35 | - <ul class="author-fans"> | ||
36 | - <li v-for="item in fansList" :key="item.key"> | ||
37 | - <div class="click-wrap" @click="toPage(item.type)"></div> | ||
38 | - <span class="num">{{authorBaseData[item.key] || 0}}</span> | ||
39 | - <p class="name"><span>{{item.name}}</span></p> | ||
40 | - </li> | ||
41 | - </ul> | ||
42 | - <div class="operate-wrap"> | ||
43 | - <a v-if="isOwner" class="operate-btn btn-user-edit" :href="mineInfoUrl">编辑个人资料</a> | ||
44 | - <WidgetFollow v-if="!isOwner" class="operate-btn" :author-uid="authorInfo.authorUid" :author-type="authorInfo.authorType" :follow="isAttention" @on-follow="follow => onFollow(follow)" :pos-id="sceneId"></WidgetFollow> | 32 | + <div ref="authorProfile"> |
33 | + <div class="author-profile"> | ||
34 | + <WidgetAvatar class="avatar-box" :class="{'avatar-opacity': authorBaseData.showAvatar}" :src="authorBaseData.headIco" :group="authorBaseData.authGroupId" :width="100" :height="100"></WidgetAvatar> | ||
35 | + <div class="author-section"> | ||
36 | + <ul class="author-fans"> | ||
37 | + <li v-for="item in fansList" :key="item.key"> | ||
38 | + <div class="click-wrap" @click="toPage(item.type)"></div> | ||
39 | + <span class="num">{{authorBaseData[item.key] || 0}}</span> | ||
40 | + <p class="name"><span>{{item.name}}</span></p> | ||
41 | + </li> | ||
42 | + </ul> | ||
43 | + <div class="operate-wrap"> | ||
44 | + <a v-if="isOwner" class="operate-btn btn-user-edit" :href="mineInfoUrl">编辑个人资料</a> | ||
45 | + <WidgetFollow v-if="!isOwner" class="operate-btn" :author-uid="authorInfo.authorUid" :author-type="authorInfo.authorType" :follow="isAttention" @on-follow="follow => onFollow(follow)" :pos-id="sceneId"></WidgetFollow> | ||
46 | + </div> | ||
45 | </div> | 47 | </div> |
46 | </div> | 48 | </div> |
49 | + <p v-if="authorBaseData.signature" class="author-desc">{{authorBaseData.signature}}</p> | ||
47 | </div> | 50 | </div> |
48 | - <p v-if="authorBaseData.signature" class="author-desc">{{authorBaseData.signature}}</p> | ||
49 | <div ref="tabBlock" class="tab-block"> | 51 | <div ref="tabBlock" class="tab-block"> |
50 | <FavTabBlock :tabs-num="tabsNum" :active-index="activeIndex" @change="changeTab"></FavTabBlock> | 52 | <FavTabBlock :tabs-num="tabsNum" :active-index="activeIndex" @change="changeTab"></FavTabBlock> |
51 | </div> | 53 | </div> |
@@ -594,8 +596,9 @@ export default { | @@ -594,8 +596,9 @@ export default { | ||
594 | } | 596 | } |
595 | 597 | ||
596 | .author-desc { | 598 | .author-desc { |
597 | - margin: 20px 30px; | 599 | + padding: 20px 30px; |
598 | font-size: 24px; | 600 | font-size: 24px; |
601 | + line-height: 1.4; | ||
599 | font-weight: 300; | 602 | font-weight: 300; |
600 | overflow: hidden; | 603 | overflow: hidden; |
601 | text-overflow: ellipsis; | 604 | text-overflow: ellipsis; |
-
Please register or login to post a comment