Commit 5a8ee928 by lijiabin

feat: 问吧相关加入阅读量

parent 10e134a9
......@@ -77,7 +77,12 @@
<span class="text-xs text-gray-400 hidden sm:inline">{{
dayjs(item.createTime * 1000).format('YYYY-MM-DD HH:mm')
}}</span>
<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 mx--1"></div>
<!-- 地区 -->
<span class="text-xs text-gray-400 hidden sm:inline">{{ item.region }}</span>
<div class="hidden sm:block w-1 h-1 bg-gray-300 rounded-full mx--1"></div>
<!-- 阅读量 -->
<span class="text-xs text-gray-400 hidden sm:inline">{{ item.viewCount }}阅读</span>
<div class="flex items-center gap-1">
<el-button
......
......@@ -117,14 +117,14 @@
{{ questionDetail.createUserName }}
</el-avatar>
<div class="flex flex-col">
<span class="text-sm font-medium text-slate-900">
<span class="text-sm text-slate-900">
{{ questionDetail.createUserName }}
</span>
<span class="text-xs text-slate-500 flex items-center gap-1">
发布于 {{ dayjs(questionDetail.createTime * 1000).format('YYYY-MM-DD HH:mm') }} ·
<span class="text-xs text-slate-500 flex items-center gap-1">
{{ questionDetail.region }}
</span>
<span class="text-sm text-slate-500 flex items-center gap-1">
{{ dayjs(questionDetail.createTime * 1000).format('YYYY-MM-DD HH:mm') }} ·
<span class="text-sm text-slate-500 flex items-center gap-1">
{{ questionDetail.region }} </span
>· {{ questionDetail.viewCount }}阅读
</span>
</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