Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
school-paper-admin-front
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
1
Merge Requests
1
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
school-paper
school-paper-admin-front
Commits
aed2fcd8
Commit
aed2fcd8
authored
Jul 21, 2023
by
yushien
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
初始化样式
parent
b1b8c679
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
19 deletions
+6
-19
src/assets/styles/variables.scss
+5
-18
src/router/index.js
+1
-1
No files found.
src/assets/styles/variables.scss
View file @
aed2fcd8
...
@@ -8,33 +8,20 @@ $tiffany: #4AB7BD;
...
@@ -8,33 +8,20 @@ $tiffany: #4AB7BD;
$yellow
:
#FEC171
;
$yellow
:
#FEC171
;
$panGreen
:
#30B08F
;
$panGreen
:
#30B08F
;
// 默认菜单主题风格
$base-menu-color
:
#bfcbd9
;
$base-menu-color-active
:
#f4f4f5
;
$base-menu-background
:
#304156
;
$base-logo-title-color
:
#ffffff
;
$base-menu-light-color
:
rgba
(
0
,
0
,
0
,.
70
);
$base-menu-light-background
:
#ffffff
;
$base-logo-light-title-color
:
#001529
;
$base-sub-menu-background
:
#1f2d3d
;
$base-sub-menu-hover
:
#001528
;
// 自定义暗色菜单风格
// 自定义暗色菜单风格
/**
$base-menu-color
:
hsla
(
0
,
0%
,
100%
,.
65
);
$base-menu-color
:
hsla
(
0
,
0%
,
100%
,.
65
);
$base-menu-color-active
:
#fff
;
$base-menu-color-active
:
#fff
;
$base-menu-background:#0
0152
9;
$base-menu-background
:
#0
1050
9
;
$base-logo-title-color
:
#ffffff
;
$base-logo-title-color
:
#ffffff
;
$base-menu-light-color
:
rgba
(
0
,
0
,
0
,.
70
);
$base-menu-light-color
:
rgba
(
0
,
0
,
0
,.
70
);
$base-menu-light-background
:
#ffffff
;
$base-menu-light-background
:
#ffffff
;
$base-logo-light-title-color: #0
0152
9;
$base-logo-light-title-color
:
#0
1050
9
;
$base-sub-menu-background:#000c17;
$base-sub-menu-background
:
#010509
;
$base-sub-menu-hover:#001528;
$base-sub-menu-hover
:
#010509
;
*/
$base-sidebar-width
:
200px
;
$base-sidebar-width
:
200px
;
...
...
src/router/index.js
View file @
aed2fcd8
...
@@ -172,7 +172,7 @@ Router.prototype.push = function push(location) {
...
@@ -172,7 +172,7 @@ Router.prototype.push = function push(location) {
export
default
new
Router
({
export
default
new
Router
({
base
:
process
.
env
.
VUE_APP_CONTEXT_PATH
,
base
:
process
.
env
.
VUE_APP_CONTEXT_PATH
,
mode
:
'h
istory
'
,
// 去掉url中的#
mode
:
'h
ash
'
,
// 去掉url中的#
scrollBehavior
:
()
=>
({
y
:
0
}),
scrollBehavior
:
()
=>
({
y
:
0
}),
routes
:
constantRoutes
routes
:
constantRoutes
})
})
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