|
@@ -1,6 +1,7 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
<div v-if="!$isMobile" class="layout" :class="{isShow:isShow}">
|
|
|
+ {{isShow}}
|
|
|
<img class="bg" :src="require(`@/assets/images/aside_bg.jpg`)" alt="">
|
|
|
<ul class="aside">
|
|
|
<li :class="{active:item.id===activeIdx}" v-for="(item,i) in asdie" :key="i" @click="handleItem(item)" >
|
|
@@ -149,15 +150,24 @@ export default {
|
|
|
},
|
|
|
methods:{
|
|
|
handleItem(item){
|
|
|
+
|
|
|
+
|
|
|
this.$hideBroadcast()
|
|
|
if (!item.path) {
|
|
|
return
|
|
|
}
|
|
|
if (item.type === 'switch') {
|
|
|
this.isOutScene = !this.isOutScene
|
|
|
+ if (!this.isOutScene) {
|
|
|
+ setTimeout(() => {
|
|
|
+ this.isShow = !this.isShow
|
|
|
+ });
|
|
|
+ }
|
|
|
}
|
|
|
+
|
|
|
this.$router.push(item.path)
|
|
|
this.activeIdx = item.id
|
|
|
+
|
|
|
},
|
|
|
mobileHandleClick(path) {
|
|
|
this.$router.push({path:path})
|