Skip to content

Commit 110fb33

Browse files
author
奇淼(piexlmax
authored
Merge pull request #558 from flipped-aurora/gva_gormv2_dev
Gva gormv2 dev
2 parents eb5298a + 57c6ba3 commit 110fb33

File tree

5 files changed

+9526
-5
lines changed

5 files changed

+9526
-5
lines changed

web/src/App.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,9 @@ export default {
1919
background: #eee;
2020
height: 100vh;
2121
overflow: hidden;
22+
font-weight: 400 !important;
23+
}
24+
.el-button{
25+
font-weight: 400 !important;
2226
}
2327
</style>

web/src/style/basics.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ $white-bg:#fff;
88
$el-icon-small:30px;
99
$el-icon-mini:24px;
1010
// aside
11-
$width-aside:220px;
11+
$width-aside:220px;
1212
$width-hideside-aside:54px;
1313
$width-mobile-aside:210px;
1414
$color-aside:rgba(255, 255, 255,.9);
1515
$icon-arrow-size-aside:12px;
1616
$width-submenu-aside:55px;
1717
$bg-aside:#191a23;
18-
$height-aside-tilte:64px;
18+
$height-aside-tilte:60px;
1919
$height-aside-img:30px;
2020
$width-aside-img:30px;
2121
// header

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

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,14 @@ export default {
118118
if (this.historys.length === 1 && this.$route.name === this.defaultRouter) {
119119
return false
120120
}
121-
if (e.srcElement.id) {
121+
let id = ''
122+
if (e.srcElement.nodeName === 'SPAN') {
123+
console.log(e)
124+
id = e.srcElement.offsetParent.id
125+
} else {
126+
id = e.srcElement.id
127+
}
128+
if (id) {
122129
this.contextMenuVisible = true
123130
let width
124131
if (this.isCollapse) {
@@ -131,7 +138,7 @@ export default {
131138
}
132139
this.left = e.clientX - width
133140
this.top = e.clientY + 10
134-
this.rightActive = e.srcElement.id.split('-')[1]
141+
this.rightActive = id.split('-')[1]
135142
}
136143
},
137144
closeAll() {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export default {
101101
color: #fff;
102102
border-radius: 4px 0 0 4px;
103103
cursor: pointer;
104-
-webkit-box-shadow: inset 0 0 6px rgb(0 ,0 ,0, 10%);
104+
-webkit-box-shadow: inset 0 0 6px rgba(0 ,0 ,0, 10%);
105105
}
106106
.setting_body{
107107
padding: 20px;

0 commit comments

Comments
 (0)