parent
2a0ba9ebcc
commit
ab14176145
@ -0,0 +1,20 @@
|
|||||||
|
<template>
|
||||||
|
<div class="container">
|
||||||
|
<el-menu mode="horizontal" style="width: 5%;height: 100vh;">
|
||||||
|
<el-menu-item>123</el-menu-item>
|
||||||
|
<el-menu-item>123</el-menu-item>
|
||||||
|
<el-menu-item>123</el-menu-item>
|
||||||
|
<el-menu-item>123</el-menu-item>
|
||||||
|
</el-menu>
|
||||||
|
<el-main>
|
||||||
|
<slot />
|
||||||
|
</el-main>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: "Container",
|
||||||
|
|
||||||
|
}
|
||||||
|
</script>
|
@ -0,0 +1,51 @@
|
|||||||
|
<template>
|
||||||
|
<el-drawer class="drawer" :visible.sync="drawer" :direction="direction" :withHeader="withHeader" @select="handleSelect">
|
||||||
|
<el-menu class="menu" mode="horizontal">
|
||||||
|
<el-menu-item class="menu-item">抛丸</el-menu-item>
|
||||||
|
<el-menu-item class="menu-item">理料</el-menu-item>
|
||||||
|
<el-menu-item class="menu-item">划线</el-menu-item>
|
||||||
|
<el-menu-item class="menu-item">切割</el-menu-item>
|
||||||
|
</el-menu>
|
||||||
|
</el-drawer>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: "Drawer",
|
||||||
|
data(){
|
||||||
|
return{
|
||||||
|
drawer:true,
|
||||||
|
direction:'ltr',
|
||||||
|
withHeader:false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods:{
|
||||||
|
handleSelect(key,path){
|
||||||
|
console.log(key,path)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.drawer{
|
||||||
|
width: 25%;
|
||||||
|
height: 100vh;
|
||||||
|
|
||||||
|
.menu{
|
||||||
|
width: 100%;
|
||||||
|
height: 100vh;
|
||||||
|
background-color: #002166;
|
||||||
|
|
||||||
|
.menu-item{
|
||||||
|
width: 90%;
|
||||||
|
text-align: center;
|
||||||
|
color: white;
|
||||||
|
margin: 5vh 5px;
|
||||||
|
background: #0d84ff url('../../../assets/kban/cqbg.png') no-repeat;
|
||||||
|
background-size: 100% 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
@ -0,0 +1,14 @@
|
|||||||
|
<template>
|
||||||
|
<Container>
|
||||||
|
<PWanPGong/>
|
||||||
|
</Container>
|
||||||
|
</template>
|
||||||
|
<script>
|
||||||
|
import Container from "@/views/zyjhzx/components/Container.vue";
|
||||||
|
import PWanPGong from "@/views/zyjhzx/pwanpgong/index.vue";
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name:"PWPG",
|
||||||
|
components: {Container,PWanPGong}
|
||||||
|
}
|
||||||
|
</script>
|
Loading…
Reference in new issue