Commit 90448c83 by lijiabin

【需求 22051】 fix: 修复相关字段展示错误的bug

parent bb8fb618
...@@ -444,6 +444,7 @@ export interface SearchMoreVideoItemDto { ...@@ -444,6 +444,7 @@ export interface SearchMoreVideoItemDto {
type: ArticleTypeEnum.VIDEO type: ArticleTypeEnum.VIDEO
videoDuration: string videoDuration: string
viewCount: number viewCount: number
publishTime: number
} }
/** /**
......
...@@ -63,7 +63,6 @@ ...@@ -63,7 +63,6 @@
> >
{{ item?.videoDuration }} {{ item?.videoDuration }}
</div> </div>
<!-- 数据 --> <!-- 数据 -->
<div class="absolute bottom-3 left-3 flex gap-3 text-white text-xs"> <div class="absolute bottom-3 left-3 flex gap-3 text-white text-xs">
<div class="flex items-center gap-1 bg-black/50 px-2 py-1 rounded-lg"> <div class="flex items-center gap-1 bg-black/50 px-2 py-1 rounded-lg">
...@@ -76,7 +75,7 @@ ...@@ -76,7 +75,7 @@
</div> </div>
<div class="flex items-center gap-1 bg-black/50 px-2 py-1 rounded-lg"> <div class="flex items-center gap-1 bg-black/50 px-2 py-1 rounded-lg">
<el-icon class="text-sm"><IEpStar /></el-icon> <el-icon class="text-sm"><IEpStar /></el-icon>
<span>{{ item.replyCount }}</span> <span>{{ item.collectCount }}</span>
</div> </div>
</div> </div>
</div> </div>
...@@ -94,9 +93,9 @@ ...@@ -94,9 +93,9 @@
</el-tooltip> </el-tooltip>
</div> </div>
<span v-if="smallerThanXl">{{ <span v-if="smallerThanXl">{{
dayjs(item.createTime * 1000).format('YYYY-MM-DD') dayjs(item.publishTime * 1000).format('YYYY-MM-DD')
}}</span> }}</span>
<span v-else>{{ dayjs(item.createTime * 1000).format('YYYY-MM-DD HH:mm') }}</span> <span v-else>{{ dayjs(item.publishTime * 1000).format('YYYY-MM-DD HH:mm') }}</span>
</div> </div>
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment