添加web查询界面
This commit is contained in:
58
NX.ERP.Webapp/src/App.vue
Normal file
58
NX.ERP.Webapp/src/App.vue
Normal file
@@ -0,0 +1,58 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user