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