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
90448c83
Commit
90448c83
authored
May 12, 2026
by
lijiabin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【需求 22051】 fix: 修复相关字段展示错误的bug
parent
bb8fb618
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
types.ts
src/api/article/types.ts
+1
-0
videoList.vue
src/views/homePage/yaTab/components/videoList.vue
+3
-4
No files found.
src/api/article/types.ts
View file @
90448c83
...
@@ -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
}
}
/**
/**
...
...
src/views/homePage/yaTab/components/videoList.vue
View file @
90448c83
...
@@ -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
.
reply
Count
}}
</span>
<span>
{{
item
.
collect
Count
}}
</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
.
create
Time
*
1000
).
format
(
'YYYY-MM-DD'
)
dayjs
(
item
.
publish
Time
*
1000
).
format
(
'YYYY-MM-DD'
)
}}
</span>
}}
</span>
<span
v-else
>
{{
dayjs
(
item
.
create
Time
*
1000
).
format
(
'YYYY-MM-DD HH:mm'
)
}}
</span>
<span
v-else
>
{{
dayjs
(
item
.
publish
Time
*
1000
).
format
(
'YYYY-MM-DD HH:mm'
)
}}
</span>
</div>
</div>
</div>
</div>
</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