This commit is contained in:
skjia 2025-06-25 13:42:42 +08:00
parent 70eeaa1073
commit 80a66ebf3c
1 changed files with 4 additions and 1 deletions

View File

@ -30,9 +30,12 @@
<view style="font-size:30rpx;font-weight: 600;">{{item.articleTitle}}</view>
<view style="width: 100%;font-size:26rpx;color: black;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;height: 40px;">{{item.summary}}</view>
<view style="font-size:24rpx;display: flex;" v-if="item.chronicNames">
<view v-for="(titem,tindex) in item.chronicNameList" :key="tindex" v-if="tindex<3" style="padding: 2px;color: #ff6816;margin: 0 2px;background-color: #ffe7cb;border-radius: 10rpx;">
<view v-for="(titem,tindex) in item.chronicNameList" :key="tindex" v-if="tindex<4" style="padding: 2px;color: #ff6816;margin: 0 2px;background-color: #ffe7cb;border-radius: 10rpx;">
<view >{{titem}}</view>
</view>
<view v-if="item.chronicNameList.length>4" style="padding: 2px;color: #ff6816;margin: 0 2px;background-color: #ffe7cb;border-radius: 10rpx;">
<view >...</view>
</view>
</view>
<view style="color: #909399;font-size:24rpx;">{{item.createTime}}</view>
</view>