Commit 661ed78a by lijiabin

【需求 17679】 perf: 优化首页的列表展示

parent 7bdc7b3d
...@@ -53,9 +53,13 @@ ...@@ -53,9 +53,13 @@
<!-- 分隔符 --> <!-- 分隔符 -->
<div class="hidden sm:block w-1 h-1 bg-gray-300 rounded-full"></div> <div class="hidden sm:block w-1 h-1 bg-gray-300 rounded-full"></div>
<!-- 发布人名称和头像 -->
<div class="flex items-center gap-2">
<el-avatar :size="24" :src="item.showAvatar" />
<span class="text-sm text-gray-500">{{ item.showName }}</span>
</div>
<!-- 时间 --> <!-- 时间 -->
<span class="text-gray-400 font-medium ml-auto sm:ml-0"> <span class="text-gray-500 font-medium ml-auto sm:ml-0">
<span class="hidden sm:inline">{{ <span class="hidden sm:inline">{{
dayjs(item.createTime * 1000).format('YYYY-MM-DD HH:mm') dayjs(item.createTime * 1000).format('YYYY-MM-DD HH:mm')
}}</span> }}</span>
......
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