|
|
|
@ -87,6 +87,7 @@
|
|
|
|
|
layoutData: {},
|
|
|
|
|
showWorkBenchButton: true,//是否展示工作台顶部操作按钮
|
|
|
|
|
isPartyCenter: false,
|
|
|
|
|
href: '',
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
computed: {
|
|
|
|
@ -106,11 +107,13 @@
|
|
|
|
|
this.topImgUrl = topImgPartyBuild
|
|
|
|
|
this.isPartyCenter = true
|
|
|
|
|
} else {
|
|
|
|
|
this.topImgUrl = topImg01
|
|
|
|
|
this.isPartyCenter = false
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
// 深度观察监听
|
|
|
|
|
deep: true
|
|
|
|
|
deep: true,
|
|
|
|
|
immediate: true,
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
beforeMount(){
|
|
|
|
@ -133,12 +136,12 @@
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
getHref(){
|
|
|
|
|
let href = window.location.href
|
|
|
|
|
href = window.location.href.slice(window.location.href.indexOf('#') + 1)
|
|
|
|
|
if (href === '/partyCenter/party') {
|
|
|
|
|
this.href = window.location.hash
|
|
|
|
|
if (this.href === '#/partyCenter/party') {
|
|
|
|
|
this.topImgUrl = topImgPartyBuild
|
|
|
|
|
this.isPartyCenter = true
|
|
|
|
|
} else {
|
|
|
|
|
this.topImgUrl = topImg01
|
|
|
|
|
this.isPartyCenter = false
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
@ -205,6 +208,9 @@
|
|
|
|
|
this.topImgUrl = topImg02;
|
|
|
|
|
this.showWorkBenchButton = true;
|
|
|
|
|
}
|
|
|
|
|
} else if (this.href === '#/partyCenter/party') {
|
|
|
|
|
this.topImgUrl = topImgPartyBuild
|
|
|
|
|
this.isPartyCenter = true
|
|
|
|
|
} else {
|
|
|
|
|
this.rightWidth = 30;
|
|
|
|
|
this.topImgUrl = topImg01;
|
|
|
|
|