|
@@ -192,10 +192,17 @@ export default {
|
|
|
}
|
|
}
|
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
|
this.stiky = this.$refs.top.$el.childNodes[0];
|
|
this.stiky = this.$refs.top.$el.childNodes[0];
|
|
|
- this.$el.parentNode.childNodes[1].style.backgroundColor = '#131313';
|
|
|
|
|
|
|
+ this.$el.parentNode.childNodes[1].className =
|
|
|
|
|
+ this.$el.parentNode.childNodes[1].className.replace(/ bgBack/, '') + ' bgBack';
|
|
|
});
|
|
});
|
|
|
this.checkLogin();
|
|
this.checkLogin();
|
|
|
},
|
|
},
|
|
|
|
|
+ beforeRouteLeave() {
|
|
|
|
|
+ this.$el.parentNode.childNodes[1].className = this.$el.parentNode.childNodes[1].className.replace(
|
|
|
|
|
+ / bgBack/,
|
|
|
|
|
+ ''
|
|
|
|
|
+ );
|
|
|
|
|
+ },
|
|
|
methods: {
|
|
methods: {
|
|
|
getList() {
|
|
getList() {
|
|
|
if (!this.isLogin) {
|
|
if (!this.isLogin) {
|