Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
liyeyun
Project
Project
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
cfld-frontend
liyeyun
Commits
a5ce52db
Commit
a5ce52db
authored
Dec 11, 2023
by
王玉鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 详情页tab, 滚动
parent
5628998d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
DetailInfoTab.vue
src/components/detail/DetailInfoTab.vue
+2
-2
No files found.
src/components/detail/DetailInfoTab.vue
View file @
a5ce52db
<
template
>
<div>
<div
class=
"flex items-center space-x-[5px]"
>
<div
class=
"flex items-center space-x-[5px]
overflow-x-auto
"
>
<div
v-for=
"(tab, index) of tabs"
:key=
"tab.name"
class=
"flex h-8 cursor-pointer items-center justify-center px-5 text-sm leading-4"
class=
"flex h-8
flex-none
cursor-pointer items-center justify-center px-5 text-sm leading-4"
:class=
"
{ 'text-[#C0322B]': index === modelValue }"
@click="handleTabChange(index)"
>
...
...
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