1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- <template>
- <div id="listDetail">
- <el-row>
- <el-col :span="24" class="style">
- <el-col :span="24" class="top">
- 头部
- </el-col>
- <el-col :span="24" class="banner">
- <div class="w_1200">
- logo
- </div>
- </el-col>
- <el-col :span="24" class="menu">
- <div class="w_1200">
- 菜单
- </div>
- </el-col>
- <el-col :span="24" class="main">
- <div class="w_1200">
- <el-col :span="5" class="left">
- 左侧列表
- </el-col>
- <el-col :span="18" class="right">
- 右侧详情
- </el-col>
- </div>
- </el-col>
- <el-col :span="24" class="foot">
- <div class="w_1200">
- 底部
- </div>
- </el-col>
- </el-col>
- </el-row>
- </div>
- </template>
- <script>
- import { mapState, createNamespacedHelpers } from 'vuex';
- export default {
- name: 'listDetail',
- props: {},
- components: {},
- data: function() {
- return {};
- },
- created() {},
- methods: {},
- computed: {
- ...mapState(['user']),
- pageTitle() {
- return `${this.$route.meta.title}`;
- },
- },
- metaInfo() {
- return { title: this.$route.meta.title };
- },
- };
- </script>
- <style lang="less" scoped>
- .w_1200 {
- width: 1200px;
- margin: 0 auto;
- }
- .style {
- .top {
- height: 40px;
- }
- .banner {
- height: 220px;
- }
- .menu {
- height: 70px;
- margin: 0 0 10px 0;
- }
- .main {
- min-height: 600px;
- margin: 0 0 10px 0;
- .left {
- min-height: 600px;
- background: #fff;
- margin: 0 10px 0 0;
- }
- .right {
- width: 78%;
- min-height: 600px;
- background: #fff;
- }
- }
- .foot {
- height: 120px;
- }
- }
- </style>
|