| | |
| | | <el-main> |
| | | <!-- <NavBar /> --> |
| | | <div class="content"> |
| | | <router-view></router-view> |
| | | <!-- 页面导航区域 --> |
| | | <div class="page-nav" v-if="navFlag"> |
| | | <div> |
| | | <h1>系统设置</h1> |
| | | <div> |
| | | <span >基本设置</span> |
| | | <span >门户设置</span> |
| | | </div> |
| | | <div> |
| | | <span >设备管理</span> |
| | | <span>接入管理</span> |
| | | </div> |
| | | |
| | | |
| | | </div> |
| | | <div>运营管理</div> |
| | | <div>视频巡查</div> |
| | | <div>智能巡查</div> |
| | | </div> |
| | | <router-view v-else></router-view> |
| | | <!-- 底部区域 --> |
| | | <!-- <MyFooter/> --> |
| | | </div> |
| | |
| | | components: { |
| | | // MyFooter, |
| | | NavBar |
| | | }, |
| | | data() { |
| | | return { |
| | | navFlag:true |
| | | } |
| | | }, |
| | | watch:{ |
| | | '$route.path'(newPath,oldPath){ |
| | | newPath === '/home' ? this.navFlag = true : this.navFlag = false |
| | | } |
| | | } |
| | | }; |
| | | </script> |
| | |
| | | padding: 0; |
| | | .content { |
| | | padding: 11px; |
| | | height: 100%; |
| | | } |
| | | } |
| | | </style> |