Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
attendance-performance-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
attendance-performance-platform
Commits
0c7c0c15
Commit
0c7c0c15
authored
Jul 08, 2023
by
姬鋆屾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
推,修改样式
parent
85058f7c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
27 deletions
+41
-27
attendance-performance-manager-ui/admin/src/components/tabPane.vue
...e-performance-manager-ui/admin/src/components/tabPane.vue
+39
-25
attendance-performance-manager-ui/admin/src/views/Layout.vue
attendance-performance-manager-ui/admin/src/views/Layout.vue
+2
-2
No files found.
attendance-performance-manager-ui/admin/src/components/tabPane.vue
View file @
0c7c0c15
<
template
>
<
template
>
<div
style=
"margin-bottom:20px"
>
<div
style=
"margin-bottom:15px;"
>
<el-menu
:default-active=
"activeName"
class=
"el-menu-demo"
mode=
"horizontal"
@
select=
"handleClick"
v-if=
"thirdList.length>0"
>
<el-menu
<el-menu-item
:index=
"item.path"
v-for=
"(item,index) in thirdList"
:key=
"index"
>
{{
item
.
name
}}
</el-menu-item>
:default-active=
"activeName"
</el-menu>
class=
"el-menu-demo"
</div>
mode=
"horizontal"
@
select=
"handleClick"
v-if=
"thirdList.length > 0"
>
<el-menu-item
:index=
"item.path"
v-for=
"(item, index) in thirdList"
:key=
"index"
>
{{
item
.
name
}}
</el-menu-item
>
</el-menu>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
props
:{
props
:
{
thirdList
:{
thirdList
:
{
type
:
Boolean
,
type
:
Boolean
,
default
:[]
default
:
[],
},
activeName
:{
type
:
String
,
default
:
''
}
},
},
methods
:{
activeName
:
{
handleClick
(
key
,
keyPath
){
type
:
String
,
this
.
$emit
(
'
handleClick
'
,
key
)
default
:
""
,
}
},
},
mounted
(){
},
console
.
log
(
this
.
activeName
,
'
;ss
'
)
methods
:
{
}
handleClick
(
key
,
keyPath
)
{
}
this
.
$emit
(
"
handleClick
"
,
key
);
},
},
mounted
()
{
console
.
log
(
this
.
activeName
,
"
;ss
"
);
},
};
</
script
>
</
script
>
<
style
>
<
style
lang=
"less"
scoped
>
/deep/.el-menu-item {
</
style
>
height: 41px;
\ No newline at end of file
line-height: 41px;
}
</
style
>
attendance-performance-manager-ui/admin/src/views/Layout.vue
View file @
0c7c0c15
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
:isOpen=
"isOpen"
:isOpen=
"isOpen"
v-if=
"menuPage === 'left'"
v-if=
"menuPage === 'left'"
/>
/>
<div
style=
"padding:
20
px"
>
<div
style=
"padding:
15
px"
>
<router-view
:class=
"
{ active: !isOpen }" />
<router-view
:class=
"
{ active: !isOpen }" />
</div>
</div>
</div>
</div>
...
@@ -63,8 +63,8 @@ export default {
...
@@ -63,8 +63,8 @@ export default {
position: relative;
position: relative;
background: #fff;
background: #fff;
// var(--padding-top) 5px 5px 5px;
// var(--padding-top) 5px 5px 5px;
padding: 20px;
// margin-left: 60px;
// margin-left: 60px;
padding: 10px;
&.active {
&.active {
margin-left: var(--margin-left);
margin-left: var(--margin-left);
}
}
...
...
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