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
5712e39e
Commit
5712e39e
authored
Oct 29, 2026
by
lijiabin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【需求 25171】 styles:优化样式
parent
411ec283
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
VideoCategoryBar.vue
src/views/homePage/homeTab/components/VideoCategoryBar.vue
+4
-4
No files found.
src/views/homePage/homeTab/components/VideoCategoryBar.vue
View file @
5712e39e
...
@@ -8,11 +8,11 @@
...
@@ -8,11 +8,11 @@
<button
<button
v-for=
"item in options"
v-for=
"item in options"
:key=
"item.id ?? 'all'"
:key=
"item.id ?? 'all'"
class=
"px-4 py-1.5 rounded-full text-sm whitespace-nowrap transition-colors duration-200 cursor-pointer"
class=
"px-4 py-1.5 rounded-full text-sm whitespace-nowrap
border
transition-colors duration-200 cursor-pointer"
:class=
"
:class=
"
modelValue === item.id
modelValue === item.id
? 'bg-orange-400 text-white shadow-md'
? 'bg-orange-400
border-orange-400
text-white shadow-md'
: 'bg-
gray-50 text-gray-600 hover:text-orange-5
00 hover:bg-orange-50'
: 'bg-
white border-gray-200 text-gray-600 hover:text-orange-500 hover:border-orange-3
00 hover:bg-orange-50'
"
"
@
click=
"$emit('update:modelValue', item.id)"
@
click=
"$emit('update:modelValue', item.id)"
>
>
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
</div>
</div>
<button
<button
v-if=
"overflowing"
v-if=
"overflowing"
class=
"px-3 py-1.5 text-sm text-gray-
5
00 hover:text-orange-500 whitespace-nowrap shrink-0 cursor-pointer"
class=
"px-3 py-1.5 text-sm text-gray-
6
00 hover:text-orange-500 whitespace-nowrap shrink-0 cursor-pointer"
@
click=
"expanded = !expanded"
@
click=
"expanded = !expanded"
>
>
{{
expanded
?
'收起'
:
'更多'
}}
{{
expanded
?
'收起'
:
'更多'
}}
...
...
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