Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
9
91isoft_vue_manage
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
杨硕
91isoft_vue_manage
Commits
14370ba1
Commit
14370ba1
authored
Jan 09, 2024
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
样式修改
parent
99541d74
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
8 additions
and
9 deletions
+8
-9
index.vue
src/layout/components/Settings/index.vue
+0
-1
Logo.vue
src/layout/components/Sidebar/Logo.vue
+1
-1
index.vue
src/layout/components/Sidebar/index.vue
+1
-1
main.js
src/main.js
+1
-1
sidebar.scss
src/styles/themeB/sidebar.scss
+1
-1
login.vue
src/views/login/login.vue
+2
-2
index.vue
src/views/system/role/index.vue
+2
-2
No files found.
src/layout/components/Settings/index.vue
View file @
14370ba1
...
@@ -31,7 +31,6 @@
...
@@ -31,7 +31,6 @@
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
theme
:
this
.
$store
.
state
.
settings
.
theme
,
sideTheme
:
this
.
$store
.
state
.
settings
.
sideTheme
,
sideTheme
:
this
.
$store
.
state
.
settings
.
sideTheme
,
form
:
{
form
:
{
theme
:
'1'
// 主题风格
theme
:
'1'
// 主题风格
...
...
src/layout/components/Sidebar/Logo.vue
View file @
14370ba1
...
@@ -35,7 +35,7 @@ export default {
...
@@ -35,7 +35,7 @@ export default {
computed
:
{
computed
:
{
// 根据选择的风格切换图标
// 根据选择的风格切换图标
logo
()
{
logo
()
{
if
(
localStorage
.
getItem
(
'theme'
)
===
'1'
)
{
if
(
!
localStorage
.
getItem
(
'theme'
)
||
localStorage
.
getItem
(
'theme'
)
===
'1'
)
{
return
require
(
'@/assets/image/denglu_logo@2x.png'
)
return
require
(
'@/assets/image/denglu_logo@2x.png'
)
}
else
{
}
else
{
return
require
(
'@/assets/themeBImage/menuLogo.png'
)
return
require
(
'@/assets/themeBImage/menuLogo.png'
)
...
...
src/layout/components/Sidebar/index.vue
View file @
14370ba1
...
@@ -46,7 +46,7 @@ export default {
...
@@ -46,7 +46,7 @@ export default {
},
},
variables
()
{
variables
()
{
// 根据选择的风格变量决定引用哪套variables变量文件
// 根据选择的风格变量决定引用哪套variables变量文件
if
(
localStorage
.
getItem
(
'theme'
)
===
'1'
)
{
if
(
!
localStorage
.
getItem
(
'theme'
)
||
localStorage
.
getItem
(
'theme'
)
===
'1'
)
{
return
variables
return
variables
}
else
{
}
else
{
return
themeBvariables
return
themeBvariables
...
...
src/main.js
View file @
14370ba1
...
@@ -10,7 +10,7 @@ import xhr from '@/utils/request'
...
@@ -10,7 +10,7 @@ import xhr from '@/utils/request'
import
'@/styles/index.scss'
// global css
import
'@/styles/index.scss'
// global css
// 样式文件切换,通过localStorage存储的theme变量决定用哪套样式文件
// 样式文件切换,通过localStorage存储的theme变量决定用哪套样式文件
const
storageValue
=
window
.
localStorage
.
getItem
(
'theme'
)
// 获取 localStorage 中的值
const
storageValue
=
window
.
localStorage
.
getItem
(
'theme'
)
// 获取 localStorage 中的值
if
(
storageValue
===
'1'
)
{
if
(
!
storageValue
||
storageValue
===
'1'
)
{
import
(
'@/styles/themeA/index.scss'
)
import
(
'@/styles/themeA/index.scss'
)
}
else
{
}
else
{
import
(
'@/styles/themeB/index.scss'
)
import
(
'@/styles/themeB/index.scss'
)
...
...
src/styles/themeB/sidebar.scss
View file @
14370ba1
...
@@ -263,7 +263,7 @@
...
@@ -263,7 +263,7 @@
font-size
:
16px
!
important
;
font-size
:
16px
!
important
;
color
:
#333333
!
important
;
color
:
#333333
!
important
;
font-weight
:
bold
!
important
;
font-weight
:
bold
!
important
;
margin
:
0
10px
!
important
;
//
margin: 0 10px!important;
height
:
42px
!
important
;
height
:
42px
!
important
;
line-height
:
42px
!
important
;
line-height
:
42px
!
important
;
border-radius
:
4px
!
important
;
border-radius
:
4px
!
important
;
...
...
src/views/login/login.vue
View file @
14370ba1
...
@@ -25,8 +25,8 @@
...
@@ -25,8 +25,8 @@
<svg-icon
slot=
"prefix"
icon-class=
"password"
class=
"el-input__icon input-icon"
/>
<svg-icon
slot=
"prefix"
icon-class=
"password"
class=
"el-input__icon input-icon"
/>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<div
class=
"loginCode_formItem"
>
<div
v-if=
"captchaType === 'MATH' || captchaType === 'CHAR'"
class=
"loginCode_formItem"
>
<el-form-item
v-if=
"captchaType === 'MATH' || captchaType === 'CHAR'"
prop=
"code"
>
<el-form-item
prop=
"code"
>
<el-input
<el-input
v-model=
"loginForm.code"
v-model=
"loginForm.code"
auto-complete=
"off"
auto-complete=
"off"
...
...
src/views/system/role/index.vue
View file @
14370ba1
...
@@ -44,8 +44,8 @@
...
@@ -44,8 +44,8 @@
</el-form-item>
</el-form-item>
<div
style=
"float: right"
>
<div
style=
"float: right"
>
<el-form-item>
<el-form-item>
<coolbutton
:class-name=
"commonField.addClass"
style=
"padding: 8px 7px;"
:type=
"commonField.typePrimary"
:name=
"commonField.addName"
:size=
"commonField.smallSize"
:icon=
"commonField.addIcon"
:haspermi=
"hasAddPerm"
@
btn-click=
"handleAdd"
/>
<coolbutton
:class-name=
"commonField.addClass"
:type=
"commonField.typePrimary"
:name=
"commonField.addName"
:size=
"commonField.smallSize"
:icon=
"commonField.addIcon"
:haspermi=
"hasAddPerm"
@
btn-click=
"handleAdd"
/>
<coolbutton
:class-name=
"commonField.exportClass"
style=
"padding: 8px 7px;"
:type=
"commonField.typeSuccess"
:name=
"commonField.exportName"
:size=
"commonField.smallSize"
:icon=
"commonField.exportIcon"
:haspermi=
"hasExportPerm"
@
btn-click=
"handleExport"
/>
<coolbutton
:class-name=
"commonField.exportClass"
:type=
"commonField.typeSuccess"
:name=
"commonField.exportName"
:size=
"commonField.smallSize"
:icon=
"commonField.exportIcon"
:haspermi=
"hasExportPerm"
@
btn-click=
"handleExport"
/>
</el-form-item>
</el-form-item>
</div>
</div>
</el-form>
</el-form>
...
...
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