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
c3a077d6
Commit
c3a077d6
authored
Mar 23, 2026
by
王立鹏
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '线上优化/线上优化第四版' into 'master'
线上优化/线上优化第四版 See merge request
!13
parents
26f215a7
fef6321c
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
9 deletions
+20
-9
types.ts
src/api/article/types.ts
+1
-0
index.ts
src/api/auction/index.ts
+4
-2
types.ts
src/api/backend/activity/types.ts
+1
-0
index.vue
src/components/common/ArticleContent/index.vue
+4
-1
index.vue
src/views/questionDetail/index.vue
+8
-3
index.vue
src/views/videoDetail/index.vue
+2
-3
No files found.
src/api/article/types.ts
View file @
c3a077d6
...
...
@@ -206,6 +206,7 @@ export interface ArticleItemDto {
articleVideoUrl
:
string
region
:
string
recommendSort
:
number
isOfficialAccount
:
BooleanFlag
}
/**
...
...
src/api/auction/index.ts
View file @
c3a077d6
import
service
from
'@/utils/request/index'
import
{
getBackendAuctionList
}
from
'@/api/backend'
import
{
getBackendAuctionList
,
type
BackendAuctionListSearchParams
}
from
'@/api/backend'
import
type
{
AuctionItemDetailDto
}
from
'./types'
import
{
BooleanFlag
}
from
'@/constants'
// 前台限时竞拍相关接口
/**
* 限时竞拍前台列表
*/
export
const
getAuctionList
=
getBackendAuctionList
export
const
getAuctionList
=
(
data
:
BackendAuctionListSearchParams
)
=>
getBackendAuctionList
({
isDisplay
:
BooleanFlag
.
YES
,
...
data
})
/**
* 获取用户某个商品的拍卖次数是否超过限制
...
...
src/api/backend/activity/types.ts
View file @
c3a077d6
...
...
@@ -4,6 +4,7 @@ import { BooleanFlag, AuctionStatusEnum } from '@/constants'
export
interface
BackendAuctionListSearchParams
extends
PageSearchParams
{
name
?:
string
status
?:
AuctionStatusEnum
isDisplay
?:
BooleanFlag
}
export
interface
BackendAuctionListItemDto
extends
PageSearchParams
{
...
...
src/components/common/ArticleContent/index.vue
View file @
c3a077d6
...
...
@@ -115,7 +115,10 @@
</div>
<p
class=
"text-sm text-gray-500 mt-1"
>
{{
dayjs
((
articleDetail
?.
createTime
||
0
)
*
1000
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
}}
·
{{
articleDetail
?.
viewCount
||
0
}}
阅读 ·
{{
articleDetail
?.
region
||
0
}}
·
{{
articleDetail
?.
viewCount
||
0
}}
阅读
<span
v-if=
"!articleDetail?.isOfficialAccount"
>
·
{{
articleDetail
?.
region
||
0
}}
</span
>
</p>
</div>
<!-- 再次编辑按钮 -->
...
...
src/views/questionDetail/index.vue
View file @
c3a077d6
...
...
@@ -122,9 +122,14 @@
</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
class=
"text-sm text-slate-500 flex items-center gap-1"
v-if=
"!questionDetail?.isOfficialAccount"
>
{{
questionDetail
.
region
}}
·
</span>
{{
questionDetail
.
viewCount
}}
阅读
</span>
</div>
</div>
...
...
src/views/videoDetail/index.vue
View file @
c3a077d6
...
...
@@ -82,9 +82,8 @@
<span
class=
"flex items-center"
>
{{
formatNumber
(
videoDetail
?.
playCount
)
}}
播放
</span>
·
<span
class=
"flex items-center"
>
{{
videoDetail
?.
region
}}
<span
v-if=
"!videoDetail?.isOfficialAccount"
class=
"flex items-center"
>
·
{{
videoDetail
?.
region
}}
</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