feat: 完成首页界面搭建

This commit is contained in:
橙子
2023-03-03 23:56:37 +08:00
parent 61f8a07753
commit a55cba4c1f
4 changed files with 95 additions and 12 deletions

View File

@@ -1,9 +1,71 @@
<template>
<div class="about">
<h1>这个是首页</h1>
</div>
<el-row :gutter="20" class="top-div">
<el-col :span="18">
<el-row class="left-top-div" :gutter="20" >
<el-col v-for="i in 9" :key="i" :span="2">
</el-col>
</el-row>
<el-row class="left-div" >
<el-col :span="24">
</el-col>
<el-col :span="24">
</el-col>
<el-col :span="24">
</el-col>
<el-col :span="24">
</el-col>
<el-col :span="24">
</el-col>
<el-col :span="24">
</el-col>
</el-row>
</el-col>
<el-col :span="6">
<el-row class="right-div">
<el-col :span="24">
</el-col>
<el-col :span="24">
</el-col>
<el-col :span="24">
</el-col>
<el-col :span="24">
</el-col>
<el-col :span="24">
</el-col>
</el-row>
</el-col>
</el-row>
</template>
<style scoped>
<style scoped >
.left-div .el-col{
background-color: #FFFFFF;
min-height: 12rem;
margin-bottom: 1rem;
}
.right-div .el-col
{
background-color:#FFFFFF;
min-height: 10rem;
margin-bottom: 1rem;
}
.left-top-div .el-col
{
min-height: 2rem;
background-color:#f21b1b;
margin-bottom: 1rem;
margin-right :10px;
margin-left :10px;
}
.top-div
{
padding-top: 1rem;
}
</style>