Browse Source

Merge pull request #558 from flipped-aurora/gva_gormv2_dev

Gva gormv2 dev
main
奇淼(piexlmax 3 years ago
committed by GitHub
parent
commit
f8568832aa
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      web/src/App.vue
  2. 4
      web/src/style/basics.scss
  3. 11
      web/src/view/layout/aside/historyComponent/history.vue
  4. 2
      web/src/view/layout/setting/index.vue
  5. 9510
      web/yarn.lock

4
web/src/App.vue

@ -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>

4
web/src/style/basics.scss

@ -8,14 +8,14 @@ $white-bg:#fff;
$el-icon-small:30px; $el-icon-small:30px;
$el-icon-mini:24px; $el-icon-mini:24px;
// aside // aside
$width-aside:220px;
$width-aside:220px;
$width-hideside-aside:54px; $width-hideside-aside:54px;
$width-mobile-aside:210px; $width-mobile-aside:210px;
$color-aside:rgba(255, 255, 255,.9); $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

11
web/src/view/layout/aside/historyComponent/history.vue

@ -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() {

2
web/src/view/layout/setting/index.vue

@ -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;

9510
web/yarn.lock
File diff suppressed because it is too large
View File

Loading…
Cancel
Save