kefu/static/templates/default/nav.html

66 lines
2.5 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>
<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 menuLeftItemLogout" v-on:click="logout()">
<i class="el-icon-switch-button"></i>
<span slot="title"><{flyLang.logout}></span>
</div>
</div>
{{end}}