Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
corporate-culture-qd
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王立鹏
corporate-culture-qd
Commits
5a8ee928
Commit
5a8ee928
authored
Mar 16, 2026
by
lijiabin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 问吧相关加入阅读量
parent
10e134a9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
7 deletions
+12
-7
index.vue
src/views/homePage/askTab/index.vue
+6
-1
index.vue
src/views/questionDetail/index.vue
+6
-6
No files found.
src/views/homePage/askTab/index.vue
View file @
5a8ee928
...
...
@@ -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
...
...
src/views/questionDetail/index.vue
View file @
5a8ee928
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment