|
|
@@ -1,31 +1,51 @@
|
|
|
<template>
|
|
|
-<div class='system'>
|
|
|
- 系统管理
|
|
|
-</div>
|
|
|
+ <div class="system0">
|
|
|
+ <TabList />
|
|
|
+ <div class="right">
|
|
|
+ <div class="top">
|
|
|
+ <el-breadcrumb separator="/">
|
|
|
+ <el-breadcrumb-item to="">首页</el-breadcrumb-item>
|
|
|
+ <el-breadcrumb-item to="">系统管理</el-breadcrumb-item>
|
|
|
+ <el-breadcrumb-item id="mytitle">库房设置</el-breadcrumb-item>
|
|
|
+ </el-breadcrumb>
|
|
|
+ </div>
|
|
|
+ <div class="conten">
|
|
|
+ <div class="conten_left">
|
|
|
+ <div class="btn">
|
|
|
+ <el-button type="primary">新建库区</el-button>
|
|
|
+ <el-button type="danger">删除</el-button>
|
|
|
+ </div>
|
|
|
+ <div class="title">
|
|
|
+ <i class="el-icon-arrow-down" v-if="0"></i>
|
|
|
+ <i class="el-icon-arrow-up" v-else></i>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="conten_right"></div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+import TabList from '@/components/tabLeft4.vue'
|
|
|
export default {
|
|
|
- name: 'system',
|
|
|
- components: {},
|
|
|
+ name: 'system0',
|
|
|
+ // import引入的组件需要注入到对象中才能使用
|
|
|
+ components: { TabList },
|
|
|
data () {
|
|
|
- return {
|
|
|
-
|
|
|
- }
|
|
|
+ // 这里存放数据
|
|
|
+ return {}
|
|
|
},
|
|
|
+ // 监听属性 类似于data概念
|
|
|
computed: {},
|
|
|
+ // 监控data中的数据变化
|
|
|
watch: {},
|
|
|
- methods: {
|
|
|
-
|
|
|
- },
|
|
|
+ // 方法集合
|
|
|
+ methods: {},
|
|
|
// 生命周期 - 创建完成(可以访问当前this实例)
|
|
|
- created () {
|
|
|
-
|
|
|
- },
|
|
|
+ created () {},
|
|
|
// 生命周期 - 挂载完成(可以访问DOM元素)
|
|
|
- mounted () {
|
|
|
-
|
|
|
- },
|
|
|
+ mounted () {},
|
|
|
beforeCreate () {}, // 生命周期 - 创建之前
|
|
|
beforeMount () {}, // 生命周期 - 挂载之前
|
|
|
beforeUpdate () {}, // 生命周期 - 更新之前
|
|
|
@@ -37,5 +57,52 @@ export default {
|
|
|
</script>
|
|
|
<style lang='less' scoped>
|
|
|
//@import url(); 引入公共css类
|
|
|
-
|
|
|
+.system0 {
|
|
|
+ /deep/#mytitle > span {
|
|
|
+ font-weight: 800;
|
|
|
+ }
|
|
|
+ display: flex;
|
|
|
+ .right {
|
|
|
+ width: 100%;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ .top {
|
|
|
+ padding-left: 35px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ box-shadow: 1px 1px 10px 1px;
|
|
|
+ margin-left: 2px;
|
|
|
+ height: 40px;
|
|
|
+ background-color: #fff;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .conten {
|
|
|
+ flex: 1;
|
|
|
+ display: flex;
|
|
|
+ background-color: #fff;
|
|
|
+ margin: 20px 20px 40px;
|
|
|
+ padding: 30px 60px 0;
|
|
|
+ .conten_left {
|
|
|
+ width: 380px;
|
|
|
+ height: 650px;
|
|
|
+ border: 1px solid #ccc;
|
|
|
+ margin-right: 30px;
|
|
|
+ .btn {
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ height: 80px;
|
|
|
+ }
|
|
|
+ .title {
|
|
|
+ height: 55px;
|
|
|
+ background-color: #f2f2f2;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .conten_right {
|
|
|
+ flex: 1;
|
|
|
+ height: 650px;
|
|
|
+ border: 1px solid #ccc;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
</style>
|