|
@@ -10,10 +10,10 @@
|
|
|
<image class="avatar" :src="item.home_img_url" mode="aspectFill" lazy-load></image>
|
|
|
<view class="content">
|
|
|
<view class="title">{{item.classify_name_second}}</view>
|
|
|
- <view class="van-ellipsis author">
|
|
|
- <text style="margin-right:20rpx">{{item.report_author}}</text>
|
|
|
- <text class="vip-text" v-if="item.vip_title">{{item.vip_title}}</text>
|
|
|
- <text v-else>{{item.author_descript}}</text>
|
|
|
+ <view class="flex author">
|
|
|
+ <text style="margin-right:20rpx;flex-shrink: 0;">{{item.report_author}}</text>
|
|
|
+ <text class="van-ellipsis vip-text" v-if="item.vip_title">{{item.vip_title}}</text>
|
|
|
+ <text class="van-ellipsis" v-else>{{item.author_descript}}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -196,6 +196,7 @@ page{
|
|
|
.author{
|
|
|
font-size: 28rpx;
|
|
|
font-weight: 400;
|
|
|
+ align-items: center;
|
|
|
.vip-text{
|
|
|
display: inline-block;
|
|
|
background-color: #FAF7EE;
|