|
@@ -3,61 +3,37 @@
|
|
|
<el-row>
|
|
|
<el-col :span="24" class="top">
|
|
|
<div class="w_1200">
|
|
|
- <top :topInfo="topInfo"></top>
|
|
|
+ 头部
|
|
|
</div>
|
|
|
</el-col>
|
|
|
- <el-col :span="24">
|
|
|
- <el-col :span="24" class="menu" :style="`background:${backColor}`">
|
|
|
- <div class="w_1200">
|
|
|
- <native></native>
|
|
|
- </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="24" class="mainInfo">
|
|
|
- <el-col :span="6" class="mainLeft">
|
|
|
- <mainLeft :mainLeftList="mainLeftList"></mainLeft>
|
|
|
- </el-col>
|
|
|
- <el-col :span="17" class="mainRight">
|
|
|
- <mainRight :mainRightList="mainRightList"></mainRight>
|
|
|
- </el-col>
|
|
|
+ <el-col :span="6" class="mainLeft">
|
|
|
+ 左侧导航
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="17" class="mainRight">
|
|
|
+ 右侧列表展示
|
|
|
</el-col>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
<el-col :span="24" class="down">
|
|
|
- <div class="w_1200">
|
|
|
- <footDown :downList="downList"></footDown>
|
|
|
- </div>
|
|
|
+ <div class="w_1200">底部</div>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import top from '../../layout/list/top.vue';
|
|
|
-import native from '../../layout/index/native.vue';
|
|
|
-import mainLeft from '../../layout/list/mainLeft.vue';
|
|
|
-import mainRight from '../../layout/list/mainRight.vue';
|
|
|
-import footDown from '../../layout/index/foot.vue';
|
|
|
export default {
|
|
|
name: 'list',
|
|
|
- props: {
|
|
|
- topInfo: null,//头部
|
|
|
- mainLeftList: null,//主体左侧导航
|
|
|
- mainRightList: null,//主体右侧导航
|
|
|
- downList: null,//底部
|
|
|
- },
|
|
|
- components: {
|
|
|
- top,
|
|
|
- native,
|
|
|
- mainLeft,
|
|
|
- mainRight,
|
|
|
- footDown,
|
|
|
- },
|
|
|
- data: () => ({
|
|
|
- backColor: '#850000',
|
|
|
- }),
|
|
|
+ props: {},
|
|
|
+ components: {},
|
|
|
+ data: () => ({}),
|
|
|
created() { },
|
|
|
computed: {},
|
|
|
methods: {},
|
|
@@ -70,33 +46,32 @@ export default {
|
|
|
margin: 0 auto;
|
|
|
}
|
|
|
.top {
|
|
|
- padding: 15px 0;
|
|
|
+ height: 100px;
|
|
|
border: 1px solid #ccc;
|
|
|
}
|
|
|
.menu {
|
|
|
+ margin-bottom: 20px;
|
|
|
height: 40px;
|
|
|
+ border: 1px solid #ccc;
|
|
|
}
|
|
|
.main {
|
|
|
min-height: 500px;
|
|
|
- background-color: #f0f0f0;
|
|
|
-}
|
|
|
-.mainInfo {
|
|
|
- margin: 20px 0;
|
|
|
+ margin-bottom: 20px;
|
|
|
+ border: 1px solid #ccc;
|
|
|
}
|
|
|
-.mainLeft {
|
|
|
- min-height: 44px;
|
|
|
- background-color: #fff;
|
|
|
+.main .mainLeft {
|
|
|
+ min-height: 500px;
|
|
|
border: 1px solid #ccc;
|
|
|
}
|
|
|
-.mainRight {
|
|
|
+.main .mainRight {
|
|
|
float: right;
|
|
|
width: 880px;
|
|
|
- background-color: #fff;
|
|
|
- padding: 20px 30px;
|
|
|
- min-height: 460px;
|
|
|
+ min-height: 500px;
|
|
|
+ border: 1px solid #ccc;
|
|
|
}
|
|
|
.down {
|
|
|
height: 100px;
|
|
|
- background-color: #333;
|
|
|
+ border: 1px solid #ccc;
|
|
|
}
|
|
|
</style>
|
|
|
+
|