移除多余的抬头系统提示
This commit is contained in:
parent
a949de79c2
commit
ce4e02bc34
@ -14,7 +14,6 @@
|
||||
|
||||
<span v-if="device === 'desktop'" class="company-name">{{ companyName }}</span>
|
||||
<span v-else>{{ systemTitle }}</span>
|
||||
<span class="change-title" v-if="isShowChange">华夏ERP正式更名为管伊佳ERP,请尽快使用新网址:<a href="https://cloud.gyjerp.com" target="_blank">https://cloud.gyjerp.com</a></span>
|
||||
<jump-info ref="jumpModal"></jump-info>
|
||||
<user-menu :theme="theme" @searchGlobalHeader="searchGlobalHeader" />
|
||||
</div>
|
||||
@ -90,8 +89,6 @@
|
||||
headerBarFixed: false,
|
||||
systemTitle: window.SYS_TITLE,
|
||||
companyName: '',
|
||||
isShowChange: false,
|
||||
//update-begin--author:sunjianlei---date:20190508------for: 顶部导航栏过长时显示更多按钮-----
|
||||
topMenuStyle: {
|
||||
headerIndexLeft: {},
|
||||
topNavHeader: {},
|
||||
@ -114,25 +111,17 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
//update-end--author:sunjianlei---date:20190508------for: 顶部导航栏过长时显示更多按钮-----
|
||||
mounted() {
|
||||
window.addEventListener('scroll', this.handleScroll)
|
||||
//update-begin--author:sunjianlei---date:20190508------for: 顶部导航栏过长时显示更多按钮-----
|
||||
if (this.mode === 'topmenu') {
|
||||
this.buildTopMenuStyle()
|
||||
}
|
||||
if(window.location.host === 'cloud.huaxiaerp.vip' || window.location.host === 'cloud.huaxiaerp.com') {
|
||||
this.showJump()
|
||||
}
|
||||
//update-end--author:sunjianlei---date:20190508------for: 顶部导航栏过长时显示更多按钮-----
|
||||
},
|
||||
created () {
|
||||
this.initSystemConfig()
|
||||
if(window.location.host === 'cloud.huaxiaerp.vip' || window.location.host === 'cloud.huaxiaerp.com') {
|
||||
this.isShowChange = true
|
||||
} else {
|
||||
this.isShowChange = false
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
showJump() {
|
||||
@ -153,7 +142,6 @@
|
||||
toggle() {
|
||||
this.$emit('toggle')
|
||||
},
|
||||
//update-begin--author:sunjianlei---date:20190508------for: 顶部导航栏过长时显示更多按钮-----
|
||||
buildTopMenuStyle() {
|
||||
if (this.mode === 'topmenu') {
|
||||
if (this.device === 'mobile') {
|
||||
@ -181,13 +169,11 @@
|
||||
}
|
||||
})
|
||||
},
|
||||
//update-begin--author:sunjianlei---date:20190508------for: 顶部导航栏过长时显示更多按钮-----
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
/* update_begin author:scott date:20190220 for: 缩小首页布局顶部的高度*/
|
||||
|
||||
@height: 49px;
|
||||
|
||||
@ -255,6 +241,4 @@
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
/* update_end author:scott date:20190220 for: 缩小首页布局顶部的高度*/
|
||||
|
||||
</style>
|
||||
Loading…
Reference in New Issue
Block a user