59 lines
973 B
Vue
59 lines
973 B
Vue
|
|
<template>
|
||
|
|
<div id="app" >
|
||
|
|
|
||
|
|
<Menu mode="horizontal" theme="dark" active-name="1">
|
||
|
|
|
||
|
|
<Submenu name="3">
|
||
|
|
<template slot="title">
|
||
|
|
<Icon type="ios-stats" />
|
||
|
|
立库运行统计
|
||
|
|
</template>
|
||
|
|
<MenuGroup title="使用">
|
||
|
|
<MenuItem to="/a" name="3-2">运行数据</MenuItem>
|
||
|
|
<MenuItem to="/b" name="3-3">故障记录</MenuItem>
|
||
|
|
</MenuGroup>
|
||
|
|
|
||
|
|
</Submenu>
|
||
|
|
|
||
|
|
</Menu>
|
||
|
|
<div class="contain" >
|
||
|
|
<router-view></router-view>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
</template>
|
||
|
|
|
||
|
|
<script>
|
||
|
|
|
||
|
|
|
||
|
|
export default {
|
||
|
|
name: "App",
|
||
|
|
components: {
|
||
|
|
|
||
|
|
},
|
||
|
|
methods: {
|
||
|
|
loadData() {},
|
||
|
|
},
|
||
|
|
};
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<style >
|
||
|
|
#app {
|
||
|
|
font-family: Avenir, Helvetica, Arial, sans-serif;
|
||
|
|
-webkit-font-smoothing: antialiased;
|
||
|
|
-moz-osx-font-smoothing: grayscale;
|
||
|
|
|
||
|
|
color: #2c3e50;
|
||
|
|
|
||
|
|
|
||
|
|
background-color: #f8f8f9;
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
.contain
|
||
|
|
{
|
||
|
|
padding: 20px;
|
||
|
|
}
|
||
|
|
</style>
|