Title标题

<template>
  <avue-form v-model="form"
             :option="option"></avue-form>
</template>
<script>
export default {
  data () {
    return {
      form: {
        title: '我是头部标题',
        title1: '我是尾部标题'
      },
      option: {
        column: [{
          label: "",
          labelWidth: 20,
          type: 'title',
          prop: "title",
          span: 24,
          styles: {
            color: 'red',
            fontSize: '24px'
          }
        },
        {
          label: '输入框',
          prop: 'text'
        }, {
          label: "",
          labelWidth: 20,
          type: 'title',
          prop: "title1",
          span: 24,
          styles: {
            color: 'green',
            fontSize: '18px'
          }
        },
        ]
      }
    };
  }
}
</script>
显示代码
Last Updated:
Contributors: smallwei
您正在浏览基于Avue 3.x文档; 点击这里 查看Avue 2.x 的文档