- 要设置 type
<el-row type="flex">
<el-col span="5">
<el-card class="custome-card"> </el-card>
</el-col>
<el-col span="19">
<el-card class="custome-card"> </el-card>
</el-col>
</el-row>
2.要设置卡片高度为100%
.custome-card {
height: 100%;
}