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
fa59e2ff
Commit
fa59e2ff
authored
Jul 19, 2023
by
王启林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整全局样式
parent
b9b31637
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
12 deletions
+27
-12
attendance-performance-manager-ui/admin/src/assets/less/base.less
...ce-performance-manager-ui/admin/src/assets/less/base.less
+1
-1
attendance-performance-manager-ui/admin/src/views/Layout.vue
attendance-performance-manager-ui/admin/src/views/Layout.vue
+26
-11
No files found.
attendance-performance-manager-ui/admin/src/assets/less/base.less
View file @
fa59e2ff
...
...
@@ -13,7 +13,7 @@ html * {
html,
body {
// height: 100
vh
;
// height: 100
%
;
// min-height: 100%;
font-family: "Microsoft Yahei", "Helvetica Neue", Helvetica, STHeiTi, Arial,
sans-serif;
...
...
attendance-performance-manager-ui/admin/src/views/Layout.vue
View file @
fa59e2ff
<
template
>
<div
:style=
"menuPageCss"
class=
"pages page-layout"
>
<LayoutHeader
v-if=
"menuPage !== 'left'"
@
changePath=
"changePath"
></LayoutHeader>
<LayoutHeaderLeft
@
toggle=
"toggle"
:isOpen=
"isOpen"
v-if=
"menuPage === 'left'"
/>
<LayoutHeader
v-if=
"menuPage !== 'left'"
@
changePath=
"changePath"
></LayoutHeader>
<LayoutHeaderLeft
@
toggle=
"toggle"
:isOpen=
"isOpen"
v-if=
"menuPage === 'left'"
/>
<div
class=
"layout"
>
<router-view
:class=
"
{ active: !isOpen }" />
</div>
...
...
@@ -57,10 +50,12 @@ export default {
</
script
>
<
style
lang=
"less"
>
.layout{
padding: 15px 15px 0 15px
;
.layout
{
padding: 15px 15px 0 15px;
box-sizing: border-box;
}
.page {
min-height: calc(100vh - 100px);
width: 100%;
...
...
@@ -69,12 +64,32 @@ export default {
// var(--padding-top) 5px 5px 5px;
// margin-left: 60px;
padding: 10px;
&.active {
margin-left: var(--margin-left);
}
}
.page-layout {
background: #eee;
height: 100vh;
overflow: auto;
}
/* 侧边滚动条 */
.page-layout::-webkit-scrollbar {
width: 3px;
}
/* 滚动条上的滚动滑块 */
.page-layout::-webkit-scrollbar-thumb {
background: #CCCCCC;
border-radius: 4px;
}
/* 滚动条轨道 */
.page-layout::-webkit-scrollbar-track {
background: #EEEEEE;
border-radius: 4px;
}
</
style
>
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