# HtRow 行

HtRow 自定义行组件,基于el-row实现;
Author andy.ten@tom.com & xukaixing@hotmail.com

# 示例

列1 列2 列1
<template>
   <ht-row :gutter="20"> 
    <ht-col :span="6">
      列1
    </ht-col>
    <ht-col :span="6">
      列2
    </ht-col>
  </ht-row>
   <ht-row>
    <ht-col :span="6">
      列1
    </ht-col>
  </ht-row>
</template>
<script>
export default {
  data() {
    return {
    } 
  }
};
</script>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Expand Copy

# API

# Row Attributes

参数 说明 类型 可选值 默认值
gutter 设置row的列间距 Number 0
tag 设置row渲染的html tag属性 String div

# 版本

  • v1.0.1