vue element ui - Layout 布局

说明

通过基础的 24 分栏,迅速简便地创建布局。

官网:见链接

例子

代码

<div style="margin-left:10px;">
    <el-row :gutter="1">
        <el-col :span="2">
            <el-button type="primary" style="width:80%">申请</el-button>
        </el-col>
        <el-col :span="4">
            <el-input
                placeholder="申请人"
                prefix-icon="el-icon-search"
                v-model="applicant">
            </el-input>
        </el-col>
        <el-col :span="2">
            <el-button type="primary">查询</el-button>
        </el-col>
    </el-row>
</div>

原文出处:/show_1IX2sACZbZg1.html