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
87c2080a
Commit
87c2080a
authored
Jun 06, 2022
by
chuzhixin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
♻
refactor: vab theme
parent
2228d80f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
11 deletions
+17
-11
src/layouts/components/VabThemeBar/index.vue
+16
-10
src/styles/variables.scss
+1
-1
No files found.
src/layouts/components/VabThemeBar/index.vue
View file @
87c2080a
...
@@ -21,9 +21,9 @@
...
@@ -21,9 +21,9 @@
:visible
.
sync=
"drawerVisible"
:visible
.
sync=
"drawerVisible"
direction=
"rtl"
direction=
"rtl"
append-to-body
append-to-body
size=
"
47
0px"
size=
"
30
0px"
>
>
<el-scrollbar
style=
"height:
94
vh; overflow: hidden"
>
<el-scrollbar
style=
"height:
80
vh; overflow: hidden"
>
<div
class=
"el-drawer__body"
>
<div
class=
"el-drawer__body"
>
<el-form
ref=
"form"
:model=
"theme"
label-position=
"top"
>
<el-form
ref=
"form"
:model=
"theme"
label-position=
"top"
>
<el-form-item
label=
"主题"
>
<el-form-item
label=
"主题"
>
...
@@ -31,8 +31,6 @@
...
@@ -31,8 +31,6 @@
<el-radio-button
label=
"default"
>
默认
</el-radio-button>
<el-radio-button
label=
"default"
>
默认
</el-radio-button>
<el-radio-button
label=
"green"
>
绿荫草场
</el-radio-button>
<el-radio-button
label=
"green"
>
绿荫草场
</el-radio-button>
<el-radio-button
label=
"glory"
>
荣耀典藏
</el-radio-button>
<el-radio-button
label=
"glory"
>
荣耀典藏
</el-radio-button>
<!--
<el-radio-button
label=
"orean"
>
海洋之心
</el-radio-button>
<el-radio-button
label=
"red"
>
月上重火
</el-radio-button>
-->
</el-radio-group>
</el-radio-group>
</el-form-item>
</el-form-item>
<el-form-item
label=
"布局"
>
<el-form-item
label=
"布局"
>
...
@@ -53,15 +51,14 @@
...
@@ -53,15 +51,14 @@
<el-radio-button
label=
"false"
>
不开启
</el-radio-button>
<el-radio-button
label=
"false"
>
不开启
</el-radio-button>
</el-radio-group>
</el-radio-group>
</el-form-item>
</el-form-item>
<el-form-item
label=
"操作"
>
<el-button
type=
"primary"
@
click=
"handleSaveTheme"
>
保存
</el-button>
<el-button
type=
""
@
click=
"drawerVisible = false"
>
取消
</el-button>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
</el-scrollbar>
</el-scrollbar>
<div
class=
"el-drawer__footer"
>
<el-button
type=
"primary"
@
click=
"handleSaveTheme"
>
保存
</el-button>
<el-button
type=
""
@
click=
"drawerVisible = false"
>
取消
</el-button>
</div>
</el-drawer>
</el-drawer>
</span>
</span>
</
template
>
</
template
>
...
@@ -243,6 +240,15 @@
...
@@ -243,6 +240,15 @@
.el-drawer__body
{
.el-drawer__body
{
padding
:
20px
;
padding
:
20px
;
}
}
.el-drawer__footer
{
border-top
:
1px
solid
#dedede
;
position
:
fixed
;
bottom
:
0
;
width
:
100%
;
padding
:
10px
0
0
20px
;
height
:
50px
;
}
</
style
>
</
style
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
.el-drawer__wrapper
{
.el-drawer__wrapper
{
...
...
src/styles/variables.scss
View file @
87c2080a
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
/* stylelint-disable */
/* stylelint-disable */
@charset
"utf-8"
;
@charset
"utf-8"
;
//框架默认主题色
//框架默认主题色
$base-color-default
:
#
5470c6
;
$base-color-default
:
#
0187fb
;
//默认层级
//默认层级
$base-z-index
:
999
;
$base-z-index
:
999
;
//横向布局纵向布局时菜单背景色
//横向布局纵向布局时菜单背景色
...
...
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