| | |
| | | </h1> |
| | | </div> --> |
| | | <el-row> |
| | | <el-col :span="24" style="height: 100px;background-color:blue"> |
| | | <el-col :span="24" class="my_navbar_body"> |
| | | <div> |
| | | <el-row> |
| | | <el-col :span="16" :offset="4"> |
| | | <center style="margin-top:2%"> |
| | | <img src="~@/assets/img/navbar/navbar_streetlight_icon.png" height="40px" style="margin-top:-20px"> |
| | | <span style="color:white;font-size:40px">智慧路灯大数据监控平台</span> |
| | | </center> |
| | | </el-col> |
| | |
| | | }, |
| | | methods: { |
| | | handleSelect (key, keyPath) { |
| | | // alert(key, keyPath) |
| | | switch (key) { |
| | | case '1': { |
| | | this.$router.push({ name: 'home' }) |
| | | break |
| | | } |
| | | case '2': { |
| | | this.$router.push({ name: 'streetlight' }) |
| | | break |
| | | } |
| | | case '3': { |
| | | this.$router.push({ name: 'led' }) |
| | | break |
| | | } |
| | | case '4': { |
| | | this.$router.push({ name: 'charge' }) |
| | | break |
| | | } |
| | | case '5': { |
| | | this.$router.push({ name: 'camera' }) |
| | | break |
| | | } |
| | | case '6': { |
| | | this.$router.push({ name: 'weather' }) |
| | | break |
| | | } |
| | | } |
| | | }, |
| | | // 修改密码 |
| | | updatePasswordHandle () { |
| | |
| | | } |
| | | </script> |
| | | <style lang="scss" scoped> |
| | | |
| | | .my_navbar_body { |
| | | height: 100px; |
| | | background:url(~@/assets/img/navbar/navbar_bg.png); |
| | | background-size: 100% 100%; |
| | | } |
| | | </style> |