You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-fly/static/html/setting_left.html

44 lines
2.0 KiB

{{define "setting_left"}}
<el-aside width="200px">
<el-menu
background-color="#222d32"
text-color="#b8c7ce"
active-text-color="#fff"
default-active="{{.tab_index}}" :default-openeds="openIndex">
<el-submenu index="1">
<template slot="title">
<i class="el-icon-s-custom"></i>
<span>账户设置</span>
</template>
<el-menu-item-group>
<el-menu-item index="1-1" v-on:click="openUrl('/setting')">统计信息</el-menu-item>
<el-menu-item index="1-2" v-on:click="openUrl('/setting_welcome')">欢迎语</el-menu-item>
</el-menu-item-group>
</el-submenu>
<el-submenu index="3">
<template slot="title">
<i class="el-icon-s-cooperation"></i>
<span>权限设置</span>
</template>
<el-menu-item-group>
<el-menu-item index="3-2" v-on:click="openUrl('/setting_kefu_list')">用户管理</el-menu-item>
<el-menu-item index="3-1" v-on:click="openUrl('/roles_list')">角色管理</el-menu-item>
</el-menu-item-group>
</el-submenu>
<el-submenu index="2">
<template slot="title">
<i class="el-icon-s-tools"></i>
<span>系统设置</span>
</template>
<el-menu-item-group>
<el-menu-item style="display:none" index="2-1">设置smtp</el-menu-item>
<el-menu-item style="display:none" index="2-2">设置imap</el-menu-item>
<el-menu-item style="display:none" index="2-3" v-on:click="openUrl('/setting')">设置登陆账号</el-menu-item>
<el-menu-item style="display:none" index="2-4" v-on:click="openUrl('/setting_mysql')">设置mysql</el-menu-item>
<el-menu-item index="2-5" v-on:click="openUrl('/setting_deploy')">设置网页部署</el-menu-item>
<el-menu-item index="4-5" v-on:click="openUrl('/setting_ipblack')">IP黑名单</el-menu-item>
</el-menu-item-group>
</el-submenu>
</el-menu>
</el-aside>
{{end}}