Merge branch 'feature/0515' into 'release/6.9.4'
Feature/0515 See merge request !79
Showing
1 changed file
with
9 additions
and
1 deletions
1 | <template> | 1 | <template> |
2 | <div> | 2 | <div> |
3 | <Layout class="article"> | 3 | <Layout class="article"> |
4 | - <LayoutHeader v-if="!noHeader" theme="white" slot='header' :title="title"> | 4 | + <LayoutHeader v-if="!noHeader" theme="white" slot='header'> |
5 | <template v-if="showHeader"> | 5 | <template v-if="showHeader"> |
6 | <div class="avatar-wrapper" @click="toUserPage"> | 6 | <div class="avatar-wrapper" @click="toUserPage"> |
7 | <WidgetAvatar class="widget-avatar" :src="currentAuthor.authorHeadIco" :width="70" :height="70"></WidgetAvatar> | 7 | <WidgetAvatar class="widget-avatar" :src="currentAuthor.authorHeadIco" :width="70" :height="70"></WidgetAvatar> |
8 | <span class="user-name">{{currentAuthor.authorName}}</span> | 8 | <span class="user-name">{{currentAuthor.authorName}}</span> |
9 | </div> | 9 | </div> |
10 | </template> | 10 | </template> |
11 | + <template v-else> | ||
12 | + <div class="article-title">{{title}}</div> | ||
13 | + </template> | ||
11 | <template v-if="showHeader" v-slot:opts> | 14 | <template v-if="showHeader" v-slot:opts> |
12 | <WidgetFollow :share="share" class="widget-follow" :class="headerFollowClass" :author-uid="currentAuthor.authorUid" :follow="currentAuthor.hasAttention === 'Y'" @on-follow="follow => onFollow(currentAuthor, follow)" :pos-id="posId"></WidgetFollow> | 15 | <WidgetFollow :share="share" class="widget-follow" :class="headerFollowClass" :author-uid="currentAuthor.authorUid" :follow="currentAuthor.hasAttention === 'Y'" @on-follow="follow => onFollow(currentAuthor, follow)" :pos-id="posId"></WidgetFollow> |
13 | <i class="iconfont icon-more1" @click="onShowMore(currentAuthor)"></i> | 16 | <i class="iconfont icon-more1" @click="onShowMore(currentAuthor)"></i> |
@@ -360,6 +363,11 @@ export default { | @@ -360,6 +363,11 @@ export default { | ||
360 | white-space: nowrap; | 363 | white-space: nowrap; |
361 | } | 364 | } |
362 | 365 | ||
366 | +.article-title { | ||
367 | + font-size: 34px; | ||
368 | + font-weight: 500; | ||
369 | +} | ||
370 | + | ||
363 | .icon-more1 { | 371 | .icon-more1 { |
364 | font-size: 40px!important; | 372 | font-size: 40px!important; |
365 | margin-right: 6px; | 373 | margin-right: 6px; |
-
Please register or login to post a comment