Browse Source
Merge pull request #558 from flipped-aurora/gva_gormv2_dev
Gva gormv2 dev
main
奇淼(piexlmax
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with
9526 additions and
5 deletions
-
web/src/App.vue
-
web/src/style/basics.scss
-
web/src/view/layout/aside/historyComponent/history.vue
-
web/src/view/layout/setting/index.vue
-
web/yarn.lock
|
@ -19,5 +19,9 @@ export default { |
|
|
background: #eee; |
|
|
background: #eee; |
|
|
height: 100vh; |
|
|
height: 100vh; |
|
|
overflow: hidden; |
|
|
overflow: hidden; |
|
|
|
|
|
font-weight: 400 !important; |
|
|
|
|
|
} |
|
|
|
|
|
.el-button{ |
|
|
|
|
|
font-weight: 400 !important; |
|
|
} |
|
|
} |
|
|
</style> |
|
|
</style> |
|
@ -15,7 +15,7 @@ $color-aside:rgba(255, 255, 255,.9); |
|
|
$icon-arrow-size-aside:12px; |
|
|
$icon-arrow-size-aside:12px; |
|
|
$width-submenu-aside:55px; |
|
|
$width-submenu-aside:55px; |
|
|
$bg-aside:#191a23; |
|
|
$bg-aside:#191a23; |
|
|
$height-aside-tilte:64px; |
|
|
|
|
|
|
|
|
$height-aside-tilte:60px; |
|
|
$height-aside-img:30px; |
|
|
$height-aside-img:30px; |
|
|
$width-aside-img:30px; |
|
|
$width-aside-img:30px; |
|
|
// header |
|
|
// header |
|
|
|
@ -118,7 +118,14 @@ export default { |
|
|
if (this.historys.length === 1 && this.$route.name === this.defaultRouter) { |
|
|
if (this.historys.length === 1 && this.$route.name === this.defaultRouter) { |
|
|
return false |
|
|
return false |
|
|
} |
|
|
} |
|
|
if (e.srcElement.id) { |
|
|
|
|
|
|
|
|
let id = '' |
|
|
|
|
|
if (e.srcElement.nodeName === 'SPAN') { |
|
|
|
|
|
console.log(e) |
|
|
|
|
|
id = e.srcElement.offsetParent.id |
|
|
|
|
|
} else { |
|
|
|
|
|
id = e.srcElement.id |
|
|
|
|
|
} |
|
|
|
|
|
if (id) { |
|
|
this.contextMenuVisible = true |
|
|
this.contextMenuVisible = true |
|
|
let width |
|
|
let width |
|
|
if (this.isCollapse) { |
|
|
if (this.isCollapse) { |
|
@ -131,7 +138,7 @@ export default { |
|
|
} |
|
|
} |
|
|
this.left = e.clientX - width |
|
|
this.left = e.clientX - width |
|
|
this.top = e.clientY + 10 |
|
|
this.top = e.clientY + 10 |
|
|
this.rightActive = e.srcElement.id.split('-')[1] |
|
|
|
|
|
|
|
|
this.rightActive = id.split('-')[1] |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
closeAll() { |
|
|
closeAll() { |
|
|
|
@ -101,7 +101,7 @@ export default { |
|
|
color: #fff; |
|
|
color: #fff; |
|
|
border-radius: 4px 0 0 4px; |
|
|
border-radius: 4px 0 0 4px; |
|
|
cursor: pointer; |
|
|
cursor: pointer; |
|
|
-webkit-box-shadow: inset 0 0 6px rgb(0 ,0 ,0, 10%); |
|
|
|
|
|
|
|
|
-webkit-box-shadow: inset 0 0 6px rgba(0 ,0 ,0, 10%); |
|
|
} |
|
|
} |
|
|
.setting_body{ |
|
|
.setting_body{ |
|
|
padding: 20px; |
|
|
padding: 20px; |
|
|