官方 https://element-plus.gitee.io/zh-CN/guide/design.html

  • layout布局
    <el-row :gutter="20"> //块之间间距20px
      <el-col :lg="6" :md="12" :xs="24">//lg 1200px md中992px 小xs 768px
                  <div class="card">
                      <count-sales />
                  </div>
      <el-col :span="6"><div class="grid-content bg-purple"></div></el-col>
      <el-col :span="6"><div class="grid-content bg-purple"></div></el-col>
      <el-col :span="6"><div class="grid-content bg-purple"></div></el-col>
    </el-row>
文档更新时间: 2021-12-31 16:14   作者:Yoby