|
@@ -1,26 +1,47 @@
|
|
|
<template>
|
|
<template>
|
|
|
<div>
|
|
<div>
|
|
|
<div>
|
|
<div>
|
|
|
- <nav class="navbar navbar-default">
|
|
|
|
|
|
|
+ <nav class="navbar navbar-default navBack">
|
|
|
<div class="container-fluid">
|
|
<div class="container-fluid">
|
|
|
|
|
+ <!-- Brand and toggle get grouped for better mobile display -->
|
|
|
<div class="navbar-header">
|
|
<div class="navbar-header">
|
|
|
|
|
+ <button
|
|
|
|
|
+ type="button"
|
|
|
|
|
+ class="navbar-toggle collapsed"
|
|
|
|
|
+ data-toggle="collapse"
|
|
|
|
|
+ data-target="#bs-example-navbar-collapse-1"
|
|
|
|
|
+ aria-expanded="false"
|
|
|
|
|
+ >
|
|
|
|
|
+ <span class="sr-only">Toggle navigation</span>
|
|
|
|
|
+ <span class="icon-bar" />
|
|
|
|
|
+ <span class="icon-bar" />
|
|
|
|
|
+ <span class="icon-bar" />
|
|
|
|
|
+ </button>
|
|
|
<a
|
|
<a
|
|
|
class="navbar-brand"
|
|
class="navbar-brand"
|
|
|
|
|
|
|
|
- @click="$emit('menuVisibleChanged')"
|
|
|
|
|
|
|
+ @click="showMenu"
|
|
|
>
|
|
>
|
|
|
- <i class="fa fa-bars" />
|
|
|
|
|
|
|
+ <i v-if="visible" class="glyphicon glyphicon-chevron-right" />
|
|
|
|
|
+ <i v-if="visible==false" class="glyphicon glyphicon-chevron-left" />
|
|
|
</a>
|
|
</a>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <TopNavUserInfo :login-info="loginInfo" />
|
|
|
|
|
- <TopNavClientSelect :login-info="loginInfo" />
|
|
|
|
|
- <TopNavMessage :login-info="loginInfo" />
|
|
|
|
|
- <TopNavVideoCallCenter />
|
|
|
|
|
- <TopNavDownload />
|
|
|
|
|
- <LoginNotice />
|
|
|
|
|
|
|
+ <!-- Collect the nav links, forms, and other content for toggling -->
|
|
|
|
|
+ <div
|
|
|
|
|
+ id="bs-example-navbar-collapse-1"
|
|
|
|
|
+ class="collapse navbar-collapse"
|
|
|
|
|
+ >
|
|
|
|
|
+ <TopNavUserInfo :login-info="loginInfo" />
|
|
|
|
|
+ <TopNavClientSelect :login-info="loginInfo" />
|
|
|
|
|
+ <TopNavMessage :login-info="loginInfo" />
|
|
|
|
|
+ <TopNavVideoCallCenter />
|
|
|
|
|
+ <TopNavDownload />
|
|
|
|
|
+ <LoginNotice />
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <!-- /.navbar-collapse -->
|
|
|
</div>
|
|
</div>
|
|
|
-
|
|
|
|
|
|
|
+ <!-- /.container-fluid -->
|
|
|
<div class="clearfix" />
|
|
<div class="clearfix" />
|
|
|
</nav>
|
|
</nav>
|
|
|
</div>
|
|
</div>
|
|
@@ -38,7 +59,6 @@ import TopNavDownload from './top-nav-download.vue';
|
|
|
import LoginNotice from './LoginNotice.vue';
|
|
import LoginNotice from './LoginNotice.vue';
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
-
|
|
|
|
|
components: {
|
|
components: {
|
|
|
AuthImage,
|
|
AuthImage,
|
|
|
TopNavClientSelect,
|
|
TopNavClientSelect,
|
|
@@ -55,12 +75,11 @@ export default {
|
|
|
loginInfo: '',
|
|
loginInfo: '',
|
|
|
webSocket: undefined,
|
|
webSocket: undefined,
|
|
|
clientCanAccessList: [],
|
|
clientCanAccessList: [],
|
|
|
|
|
+ visible:true,
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
- watch: {
|
|
|
|
|
-
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ watch: {},
|
|
|
|
|
|
|
|
mounted: function () {
|
|
mounted: function () {
|
|
|
this.getLocalStorage();
|
|
this.getLocalStorage();
|
|
@@ -72,9 +91,16 @@ export default {
|
|
|
var json = localStorage.getItem('#LoginInfo');
|
|
var json = localStorage.getItem('#LoginInfo');
|
|
|
this.loginInfo = JSON.parse(json);
|
|
this.loginInfo = JSON.parse(json);
|
|
|
},
|
|
},
|
|
|
|
|
+ showMenu:function(){
|
|
|
|
|
+ this.visible = !this.visible;
|
|
|
|
|
+ this.$emit('menuVisibleChanged');
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
};
|
|
};
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped>
|
|
<style scoped>
|
|
|
|
|
+.navBack{
|
|
|
|
|
+ z-index: 9999999;
|
|
|
|
|
+}
|
|
|
</style>
|
|
</style>
|