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
5a97bef5
Commit
5a97bef5
authored
Mar 26, 2026
by
lijiabin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【需求 21170】 feat: 未返回地区则不显示地区
parent
91069087
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
15 deletions
+17
-15
index.vue
src/components/common/ArticleContent/index.vue
+1
-3
index.vue
src/components/common/Comment/index.vue
+4
-4
index.vue
src/components/common/CommentListDialog/index.vue
+6
-4
index.vue
src/views/homePage/askTab/index.vue
+2
-0
index.vue
src/views/questionDetail/index.vue
+3
-3
index.vue
src/views/videoDetail/index.vue
+1
-1
No files found.
src/components/common/ArticleContent/index.vue
View file @
5a97bef5
...
@@ -116,9 +116,7 @@
...
@@ -116,9 +116,7 @@
<p
class=
"text-sm text-gray-500 mt-1"
>
<p
class=
"text-sm text-gray-500 mt-1"
>
{{
dayjs
((
articleDetail
?.
createTime
||
0
)
*
1000
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
}}
{{
dayjs
((
articleDetail
?.
createTime
||
0
)
*
1000
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
}}
·
{{
articleDetail
?.
viewCount
||
0
}}
阅读
·
{{
articleDetail
?.
viewCount
||
0
}}
阅读
<span
v-if=
"!articleDetail?.isOfficialAccount"
<span
v-if=
"articleDetail?.region"
>
·
{{
articleDetail
?.
region
}}
</span>
>
·
{{
articleDetail
?.
region
||
0
}}
</span
>
</p>
</p>
</div>
</div>
<!-- 再次编辑按钮 -->
<!-- 再次编辑按钮 -->
...
...
src/components/common/Comment/index.vue
View file @
5a97bef5
...
@@ -174,8 +174,7 @@
...
@@ -174,8 +174,7 @@
<span
<span
>
{{ dayjs(item.createTime * 1000).format('YYYY-MM-DD HH:mm:ss') }}
>
{{ dayjs(item.createTime * 1000).format('YYYY-MM-DD HH:mm:ss') }}
</span>
</span>
<span>
·
</span>
<span
v-if=
"item.region"
class=
"text-gray-500"
>
·{{ item.region }}
</span>
<span
class=
"text-gray-500"
>
{{ item.region }}
</span>
</span>
</span>
<div
class=
"flex gap-2 items-center hover:text-blue-500 transition-colors"
>
<div
class=
"flex gap-2 items-center hover:text-blue-500 transition-colors"
>
<div
<div
...
@@ -253,8 +252,9 @@
...
@@ -253,8 +252,9 @@
dayjs
(
child
.
createTime
*
1000
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
dayjs
(
child
.
createTime
*
1000
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
}}
}}
</span>
</span>
<span>
·
</span>
<span
v-if=
"child.region"
class=
"text-gray-500"
<span
class=
"text-gray-500"
>
{{
child
.
region
}}
</span>
>
·
{{
child
.
region
}}
</span
>
</span>
</span>
<div
class=
"flex gap-2 items-center hover:text-blue-500"
>
<div
class=
"flex gap-2 items-center hover:text-blue-500"
>
<div
<div
...
...
src/components/common/CommentListDialog/index.vue
View file @
5a97bef5
...
@@ -73,8 +73,10 @@
...
@@ -73,8 +73,10 @@
</div>
</div>
<div
class=
"text-sm text-gray-500 flex items-center gap-2"
>
<div
class=
"text-sm text-gray-500 flex items-center gap-2"
>
<span>
{{ dayjs(parentComment.createTime * 1000).format('MM-DD HH:mm') }}
</span>
·
<span>
{{ dayjs(parentComment.createTime * 1000).format('MM-DD HH:mm') }}
</span>
<span
class=
"text-xs text-gray-500"
>
{{ parentComment.region }}
</span>
<span
v-if=
"parentComment.region"
class=
"text-xs text-gray-500"
>
·{{ parentComment.region }}
</span
>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -145,8 +147,8 @@
...
@@ -145,8 +147,8 @@
</div>
</div>
<div
class=
"text-[14px] text-gray-500 flex items-center gap-2"
>
<div
class=
"text-[14px] text-gray-500 flex items-center gap-2"
>
<span>
{{ dayjs(item.createTime * 1000).format('MM-DD HH:mm') }}
</span>
·
<span>
{{ dayjs(item.createTime * 1000).format('MM-DD HH:mm') }}
</span>
<span
class=
"text-xs text-gray-500"
>
{{ item.region }}
</span>
<span
v-if=
"item.region"
class=
"text-xs text-gray-500"
>
·
{{ item.region }}
</span>
</div>
</div>
<!-- 内嵌回复框 -->
<!-- 内嵌回复框 -->
...
...
src/views/homePage/askTab/index.vue
View file @
5a97bef5
...
@@ -83,9 +83,11 @@
...
@@ -83,9 +83,11 @@
<span
class=
"text-xs text-gray-400 hidden sm:inline"
>
{{
<span
class=
"text-xs text-gray-400 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>
<
template
v-if=
"item.region"
>
<div
class=
"hidden sm:block w-1 h-1 bg-gray-300 rounded-full mx--1"
></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>
<span
class=
"text-xs text-gray-400 hidden sm:inline"
>
{{
item
.
region
}}
</span>
</
template
>
<div
class=
"hidden sm:block w-1 h-1 bg-gray-300 rounded-full mx--1"
></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.viewCount }}阅读
</span>
<span
class=
"text-xs text-gray-400 hidden sm:inline"
>
{{ item.viewCount }}阅读
</span>
...
...
src/views/questionDetail/index.vue
View file @
5a97bef5
...
@@ -123,8 +123,8 @@
...
@@ -123,8 +123,8 @@
<span
class=
"text-sm text-slate-500 flex items-center gap-1"
>
<span
class=
"text-sm text-slate-500 flex items-center gap-1"
>
{{
dayjs
(
questionDetail
.
createTime
*
1000
).
format
(
'YYYY-MM-DD HH:mm'
)
}}
·
{{
dayjs
(
questionDetail
.
createTime
*
1000
).
format
(
'YYYY-MM-DD HH:mm'
)
}}
·
<span
<span
v-if=
"questionDetail?.region"
class=
"text-sm text-slate-500 flex items-center gap-1"
class=
"text-sm text-slate-500 flex items-center gap-1"
v-if=
"!questionDetail?.isOfficialAccount"
>
>
{{
questionDetail
.
region
}}
{{
questionDetail
.
region
}}
·
·
...
@@ -332,8 +332,8 @@
...
@@ -332,8 +332,8 @@
</div>
</div>
<div
class=
"text-[14px] text-slate-500 mb-3 flex items-center gap-3"
>
<div
class=
"text-[14px] text-slate-500 mb-3 flex items-center gap-3"
>
发布于 {{ dayjs(answer.createTime * 1000).format('YYYY-MM-DD HH:mm') }}
·
发布于 {{ dayjs(answer.createTime * 1000).format('YYYY-MM-DD HH:mm') }}
{{ answer.region }}
<span
v-if=
"answer.region"
>
·{{ answer.region }}
</span>
</div>
</div>
<!-- 底 部吸附操作栏 -->
<!-- 底 部吸附操作栏 -->
...
...
src/views/videoDetail/index.vue
View file @
5a97bef5
...
@@ -82,7 +82,7 @@
...
@@ -82,7 +82,7 @@
<span
class=
"flex items-center"
>
<span
class=
"flex items-center"
>
{{
formatNumber
(
videoDetail
?.
playCount
)
}}
播放
{{
formatNumber
(
videoDetail
?.
playCount
)
}}
播放
</span>
</span>
<span
v-if=
"
!videoDetail?.isOfficialAccount
"
class=
"flex items-center"
>
<span
v-if=
"
videoDetail?.region
"
class=
"flex items-center"
>
·
{{
videoDetail
?.
region
}}
·
{{
videoDetail
?.
region
}}
</span>
</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