79 lines
2.8 KiB
HTML
79 lines
2.8 KiB
HTML
{{define "nav"}}
|
|
<div class="mainLeftMenu">
|
|
<!-- 头像 -->
|
|
<div class="menuLeftLogo">
|
|
<el-dropdown @command="changeOnlineStatus">
|
|
<el-badge :type="onlineType" is-dot class="item">
|
|
<el-avatar class="mainLogo" :size="40" :src="adminAvator"></el-avatar>
|
|
</el-badge>
|
|
<el-dropdown-menu slot="dropdown">
|
|
<el-dropdown-item command="1"><{flyLang.online}></el-dropdown-item>
|
|
<el-dropdown-item command="2"><{flyLang.offline}></el-dropdown-item>
|
|
</el-dropdown-menu>
|
|
</el-dropdown>
|
|
</div>
|
|
|
|
|
|
<!-- 面板 -->
|
|
<!-- <div class="menuLeftItem active" v-on:click="openIframeUrl('/mainGuide')">
|
|
<i class="el-icon-platform-eleme"></i>
|
|
<span slot="title"><{flyLang.panel}></span>
|
|
</div> -->
|
|
|
|
<!-- 聊天 -->
|
|
<div class="menuLeftItem" v-on:click="openIframeUrl('/chat_main');countNewMessage=false;">
|
|
<i class="el-icon-chat-dot-round"></i>
|
|
<span slot="title">
|
|
<el-badge :value="haveNewMessage" class="item"><{flyLang.talk}></el-badge>
|
|
</span>
|
|
</div>
|
|
<!-- AI -->
|
|
<!-- <div class="menuLeftItem" v-on:click="openIframeUrl('/aigc');">
|
|
<i class="el-icon-magic-stick"></i>
|
|
<span slot="title">AI</span>
|
|
</div> -->
|
|
|
|
<!-- 部署 -->
|
|
<div class="menuLeftItem" v-on:click="openIframeUrl('/setting?url=setting_deploy')">
|
|
<i class="el-icon-document-copy"></i>
|
|
<span slot="title"><{flyLang.deploy}></span>
|
|
</div>
|
|
<!-- 用户 -->
|
|
<div class="menuLeftItem" v-show="superShow" v-on:click="openIframeUrl('/setting_kefu_list')">
|
|
<i class="el-icon-edit-outline"></i>
|
|
<span slot="title"><{flyLang.agents}></span>
|
|
</div>
|
|
|
|
<!-- 设置 -->
|
|
<div class="menuLeftItem" v-show="false" v-on:click="openIframeUrl('/setting_configs')">
|
|
<i class="el-icon-setting"></i>
|
|
<span slot="title"><{flyLang.setting}></span>
|
|
</div>
|
|
|
|
<!-- 付费 -->
|
|
<div class="menuLeftItem" v-show="menuAdminShow" @click="openIframeUrl('/setting_group')">
|
|
<i class="el-icon-present"></i>
|
|
<span slot="title">付费</span>
|
|
</div>
|
|
|
|
<div class="menuLeftItem" v-on:click="openIframeUrl('/setting')">
|
|
<i class="el-icon-menu"></i>
|
|
<span slot="title"><{flyLang.menu}></span>
|
|
</div>
|
|
<div class="menuLeftItem" v-on:click="openIframeUrl('/extend')">
|
|
<i class="el-icon-menu"></i>
|
|
<span slot="title">AI扩展</span>
|
|
</div>
|
|
<div class="menuLeftItem" v-on:click="openIframeUrl('/digital_human')">
|
|
<i class="el-icon-menu"></i>
|
|
<span slot="title">数字人</span>
|
|
</div>
|
|
<div class="menuLeftItem menuLeftItemLogout" v-on:click="logout()">
|
|
<i class="el-icon-switch-button"></i>
|
|
<span slot="title"><{flyLang.logout}></span>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{end}}
|