fixed #212
This commit is contained in:
梁灏 2017-01-17 12:04:33 +08:00
parent 49d380cf99
commit fa0241a535
3 changed files with 70 additions and 30 deletions

View file

@ -1,28 +1,51 @@
<template>
<Menu mode="horizontal" theme="primary" active-key="1">
<Submenu key="1">
<template slot="title">
<Icon type="soup-can-outline"></Icon>
数据管理
</template>
<Menu-group title="使用">
<Menu-item key="1-1">新增和启动新增和启动</Menu-item>
<Menu-item key="1-2">活跃分析</Menu-item>
<Menu-item key="1-3">时段分析</Menu-item>
</Menu-group>
<Menu-group title="留存">
<Menu-item key="1-4">用户留存</Menu-item>
<Menu-item key="1-5">流失用户</Menu-item>
</Menu-group>
</Submenu>
</Menu>
<br>
<p>切换主题</p>
<Radio-group :model.sync="theme1">
<Radio value="light"></Radio>
<Radio value="dark"></Radio>
<Radio value="primary"></Radio>
</Radio-group>
<div style="margin: 50px;position:relative;top: 0;left: 0;">
<Menu mode="horizontal" :theme="theme1" active-key="1">
<Menu-item key="1">
<Icon type="ios-paper"></Icon>
内容管理
</Menu-item>
<Menu-item key="2">
<Icon type="ios-people"></Icon>
用户管理
</Menu-item>
<Menu-item key="1">
<Icon type="ios-paper"></Icon>
内容管理
</Menu-item>
<Menu-item key="2">
<Icon type="ios-people"></Icon>
用户管理
</Menu-item>
<Menu-item key="1">
<Icon type="ios-paper"></Icon>
内容管理
</Menu-item>
<Menu-item key="2">
<Icon type="ios-people"></Icon>
用户管理
</Menu-item>
<Submenu key="3">
<template slot="title">
<Icon type="stats-bars"></Icon>
统计分析
</template>
<Menu-group title="使用">
<Menu-item key="3-1">新增和新</Menu-item>
<Menu-item key="3-2">活跃分析</Menu-item>
<Menu-item key="3-3">时段分析</Menu-item>
</Menu-group>
<Menu-group title="留存">
<Menu-item key="3-4">用户留存</Menu-item>
<Menu-item key="3-5">流失用户</Menu-item>
</Menu-group>
</Submenu>
<Menu-item key="4">
<Icon type="settings"></Icon>
综合设置
</Menu-item>
</Menu>
</div>
</template>
<script>
export default {