Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
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
罗超
confucius
Commits
24edc848
Commit
24edc848
authored
Jan 08, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/confucius
parents
cb8c4e46
bda68890
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
6 deletions
+21
-6
App.vue
src/App.vue
+1
-1
MainLayout.vue
src/layouts/MainLayout.vue
+20
-5
No files found.
src/App.vue
View file @
24edc848
...
...
@@ -12,7 +12,7 @@ export default {
<
style
>
@import
url('~assets/css/font.css')
;
@import
url('//at.alicdn.com/t/font_2077629_c
uetpapmdg
.css')
;
@import
url('//at.alicdn.com/t/font_2077629_c
ata4y2l5e8
.css')
;
html
,
body
,
...
...
src/layouts/MainLayout.vue
View file @
24edc848
...
...
@@ -132,12 +132,14 @@
</q-header>
<q-page-container
class=
"window-height"
>
<div
class=
"row items-stretch full-height"
>
<a
@
click=
"changeLeft"
>
隐藏{{IsShowLeft}}
</a>
<div
style=
"box-shadow: 2px 0 10px 0 rgba(237,238,240,0.50);font-family:perfectFont;"
class=
"text-subtitle2 second-menu-bg"
:style=
"{'width':IsShowLeft?'
20px
':'180px'}"
class=
"text-subtitle2 second-menu-bg"
:style=
"{'width':IsShowLeft?'
0
':'180px'}"
v-if=
"secondNavs && secondNavs.length>0"
>
<div
class=
"full-width left-menu-box q-pt-md"
>
<div
class=
"is-show-menu-2"
@
click=
"changeLeft"
>
<a
v-if=
"!IsShowLeft"
><i
class=
"iconfont icon-line-arrow-left"
></i></a>
<a
v-else
><i
class=
"iconfont icon-arrow-right"
></i></a>
</div>
<q-list
style=
"width:180px;overflow:hidden"
>
<
template
v-for=
"(x,i) in secondNavs"
>
<q-item
:to=
"x.MenuUrl"
clickable
v-ripple
:active=
"currentPath==x.MenuUrl"
v-if=
"x.SubList.length==0"
...
...
@@ -271,7 +273,20 @@
.full-width
{
height
:
100%
;
}
.is-show-menu-2
{
position
:
absolute
;
width
:
35px
;
height
:
35px
;
line-height
:
30px
;
border-radius
:
50%
;
background
:
#2961fe
;
color
:
#fff
;
padding
:
2px
8px
;
right
:
-37px
;
top
:
1px
;
cursor
:
pointer
;
z-index
:
10
;
}
.head-bg
{
background-image
:
url('~assets/images/page/top.png')
;
background-position
:
right
;
...
...
@@ -285,7 +300,7 @@
background-repeat
:
no-repeat
;
background-size
:
100%
auto
;
height
:
100%
;
position
:
relative
;
}
.hide-scrollbar
{
...
...
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