Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vipSupplier
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王淑敏
vipSupplier
Commits
db540ab7
Commit
db540ab7
authored
Dec 26, 2022
by
wsm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
9ada8203
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
31 deletions
+32
-31
src/layouts/components/VabAppMain/index.vue
+5
-4
src/router/index.js
+24
-24
src/styles/variables.scss
+2
-2
src/views/vab/accountProtection/index.vue
+1
-1
No files found.
src/layouts/components/VabAppMain/index.vue
View file @
db540ab7
...
...
@@ -2,9 +2,9 @@
<div
v-if=
"routerView"
class=
"app-main-container"
>
<!--
<vab-github-corner
/>
<transition
mode=
"out-in"
name=
"fade-transform"
>
<keep-alive
:include=
"cachedRoutes"
:max=
"keepAliveMaxNum"
>
<router-view
:key=
"key"
class=
"app-main-height"
/>
</keep-alive>
<keep-alive
:include=
"cachedRoutes"
:max=
"keepAliveMaxNum"
>
-->
<router-view
:key=
"key"
class=
"app-main-height"
/>
<!--
</keep-alive>
</transition>
<footer
v-show=
"footerCopyright"
class=
"footer-copyright"
>
Copyright
...
...
@@ -81,9 +81,10 @@
width
:
100%
;
overflow
:
hidden
;
.vab-keel
{
margin
:
$
base-padding
;
//
margin
:
$
base-padding
;
}
.app-main-height
{
//
height
:
calc
(
100vh
-
#{$
base-nav-bar-height
}
-
#
{
$base-tabs-bar-height
}
-
#
{
$base-padding
}
);
min-height
:
$
base-app-main-height
;
}
...
...
src/router/index.js
View file @
db540ab7
...
...
@@ -100,30 +100,30 @@ export const asyncRoutes = [
icon
:
'yen-sign'
,
},
},
//
{
//
path: 'icon',
//
component: EmptyLayout,
//
redirect: 'noRedirect',
//
name: 'Icon',
//
meta: {
//
title: '图标',
//
permissions: ['admin'],
//
},
//
children: [
//
{
//
path: 'awesomeIcon',
//
name: 'AwesomeIcon',
//
component: () => import('@/views/vab/icon/index'),
//
meta: { title: '常规图标' },
//
},
//
{
//
path: 'colorfulIcon',
//
name: 'ColorfulIcon',
//
component: () => import('@/views/vab/icon/colorfulIcon'),
//
meta: { title: '多彩图标' },
//
},
//
],
//
},
{
path
:
'icon'
,
component
:
EmptyLayout
,
redirect
:
'noRedirect'
,
name
:
'Icon'
,
meta
:
{
title
:
'图标'
,
permissions
:
[
'admin'
],
},
children
:
[
{
path
:
'awesomeIcon'
,
name
:
'AwesomeIcon'
,
component
:
()
=>
import
(
'@/views/vab/icon/index'
),
meta
:
{
title
:
'常规图标'
},
},
{
path
:
'colorfulIcon'
,
name
:
'ColorfulIcon'
,
component
:
()
=>
import
(
'@/views/vab/icon/colorfulIcon'
),
meta
:
{
title
:
'多彩图标'
},
},
],
},
// {
// path: 'table',
// component: () => import('@/views/vab/table/index'),
...
...
src/styles/variables.scss
View file @
db540ab7
...
...
@@ -56,8 +56,8 @@ $base-tag-item-height: 34px;
$base-menu-item-height
:
50px
;
//app-main的高度
$base-app-main-height
:
calc
(
100vh
-
#{
$base-nav-bar-height
}
-
#{
$base-tabs-bar-height
}
-
#{
$base-padding
}
-
#{
$base-padding
}
-
55px
-
55px
100vh
-
#{
$base-nav-bar-height
}
-
#{
$base-tabs-bar-height
}
-
#{
$base-padding
}
);
//纵向布局时左侧导航未折叠时的宽度
$base-left-menu-width
:
256px
;
...
...
src/views/vab/accountProtection/index.vue
View file @
db540ab7
<
template
>
<div></div>
<div>
1111111
</div>
</
template
>
<
script
>
...
...
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