内容检索文章

This commit is contained in:
lmj
2022-11-08 17:57:06 +08:00
parent 5683042cb3
commit d7132efc22

View File

@@ -157,12 +157,7 @@
</view>
<view style="display: flex;justify-content: space-between;">
<view>
<view class="article-author" style="display: flex;">
<author v-if="item.authorInfo" :showInfo="true" :data="item.authorInfo"></author>
<text style="padding-top: 13rpx;padding-left: 9rpx; font-size: 18rpx;line-height: 40upx; color: #BBBBBB;font-weight: 400; float: right;">
{{item.sysCreateTime.substring(0,10)}}
</text>
</view>
<view>
<view class="article-summary" >{{ item.summary }}</view>
</view>
@@ -180,9 +175,17 @@
<view v-if="item.coverurl==''" >
<view class="article-summary" >{{ item.summary }}</view>
</view> -->
<view>
<view class="article-bottom">
<view class="article-author" style="display: flex;">
<author v-if="item.authorInfo" :showInfo="true" :data="item.authorInfo"></author>
<!-- <text style="padding-top: 13rpx;padding-left: 9rpx; font-size: 18rpx;line-height: 40upx; color: #BBBBBB;font-weight: 400; float: right;">
{{item.sysCreateTime.substring(0,10)}}
</text> -->
</view>
<view class="article-inter">
<interact-bar :data="item"></interact-bar>
</view>
</view>
</div>
<!-- <div v-if="item.coverurl!=''" class="article-img">
<image :src="fileUrl+item.coverurl" style="width: 100px;height: 75px;"></image>
@@ -740,6 +743,17 @@
})
}
}
}
</script>
<style lang="scss" scoped>
.article-bottom{
display: flex;
.article-author{
display: flex;
padding-top: 0upx;
}
.article-inter{
margin-left: auto;
}
@@ -967,11 +981,9 @@
padding: 10px;
.article-content{
display: flex;
justify-content: space-between;
.article-info{
justify-content: space-between;
.article-info{
flex: 1;
.article-title{
font-size: 30rpx;
.article-title{
font-size: 36upx;
color: #333;
@@ -979,10 +991,7 @@
margin-bottom: 20rpx;
word-break:break-all;
overflow: hidden;
text-overflow: ellipsis;
-webkit-box-orient: vertical;
display: -webkit-box;-webkit-line-clamp: 2;
}
text-overflow: ellipsis;
-webkit-box-orient: vertical;
display: -webkit-box;-webkit-line-clamp: 2;
}