Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit fa80b713
authored
Apr 20, 2026
by
Jaxon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style(d2-table-header): 统一缩进并调整样式语言
1 parent
702b1da4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
37 deletions
src/components/d2-table-header/index.vue
src/components/d2-table-header/index.vue
View file @
fa80b71
...
@@ -7,60 +7,63 @@
...
@@ -7,60 +7,63 @@
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
-->
<
template
>
<
template
>
<el-row
class=
"table-header"
>
<el-row
class=
"table-header"
>
<el-col
:span=
"leftSpan"
:class=
"titleClassName"
>
<el-col
:span=
"leftSpan"
:class=
"titleClassName"
>
<span
v-text=
"title"
class=
"table-header-
title"
/>
<span
class=
"table-header-title"
v-text=
"
title"
/>
<slot
name=
"left"
/>
<slot
name=
"left"
/>
</el-col>
</el-col>
<el-col
:span=
"24 - leftSpan"
>
<el-col
:span=
"24 - leftSpan"
>
<slot
/>
<slot
/>
</el-col>
</el-col>
</el-row>
</el-row>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
name
:
"D2TebleHeader"
,
name
:
"D2TebleHeader"
,
props
:
{
props
:
{
title
:
{
title
:
{
type
:
String
,
type
:
String
,
required
:
false
,
required
:
false
,
default
:
""
default
:
""
,
},
},
titleClassName
:
{
titleClassName
:
{
type
:
String
,
type
:
String
,
default
:
""
default
:
""
,
},
},
leftSpan
:
{
leftSpan
:
{
type
:
Number
,
type
:
Number
,
required
:
false
,
required
:
false
,
default
:
12
default
:
12
,
}
},
}
},
}
}
;
</
script
>
</
script
>
<
style
>
<
style
lang=
"scss"
>
.table-header
{
.table-header
{
font-size
:
14px
;
font-size
:
14px
;
>
.el-col
{
align-items
:
center
;
}
}
}
.table-header-title
{
.table-header-title
{
color
:
#111111
;
color
:
#111111
;
font-size
:
16px
;
font-size
:
16px
;
}
}
.table-header
.el-col-12
{
.table-header
.el-col-12
{
/* min-width: 50%; */
/* min-width: 50%; */
height
:
32px
;
height
:
32px
;
}
}
.table-header
.grid
{
.table-header
.grid
{
margin-right
:
20px
;
margin-right
:
20px
;
}
}
.count-txt
{
.count-txt
{
font-weight
:
700
;
font-weight
:
700
;
color
:
#2a58ad
;
color
:
#2a58ad
;
margin
:
0
2px
;
margin
:
0
2px
;
}
}
</
style
>
</
style
>
Write
Preview
Markdown
is supported
Attach a file
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 post a comment