Vue学习笔记之ElementUI 最大值最小值

速记:

使用ElementUI时候,需要填写最大值和最小值时候,在该col内套用一个row,然后再用3个col分割即可

<el-row :gutter="15">
  <el-col :span="8">
    <el-row >
      <el-col :span="11">
        <el-form-item label="预计可建筑面积">
          <el-input placeholder="最小值" v-model="searchParams.planBuildingAreaMin">
          </el-input>
        </el-form-item>
      </el-col>
      <el-col :span="1">
        <el-form-item label-width="0" style="display: flex;justify-content: space-between" >
          --
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label-width="0">
          <el-input placeholder="最大值" v-model="searchParams.planBuildingAreaMax">
          </el-input>
        </el-form-item>
      </el-col>
    </el-row>
  </el-col>
</el-row>

 

posted @ 2023-03-06 09:18  时光飞逝,逝者如斯  阅读(347)  评论(0编辑  收藏  举报