@gidc-ebank-parts-h5-standard/vx-gidc-form
普通转账表单 后台:双鱼座3.0
Last updated 3 years ago .
MIT · · Tarball · package.json
$ gnpm install @gidc-ebank-parts-h5-standard/vx-gidc-form 
Private package

FormContainer

  • 表单外层容器

引用

import VxFormContainer from '@/components/vx-form-container'

Vue.component(VxFormContainer.name, VxFormContainer)

使用指南

  • 包裹在 ui-form-item、table 外层,用于添加相关标题

代码演示

<template>
  <vx-form-container :title="title" :is-plain="isPlain">
    <!-- 表单内容 -->
    <ui-form-item></ui-form-item>
  </vx-form-container>
</template>

<script>
import VxFormContainer from '@/components/vx-form'

export default {
  name: 'xxx-xxx-pre',
  components: {
    VxFormContainer,
  },
  data() {
    return {
      title: 'XXXXXX',
      isPlain: true,
    }
  },
}
</script>

API

VxFormContainer Props

属性 说明 类型 默认值 备注
title 表单头部标题 String - 非必输
isPlain 表单头部标题是否为朴素样式 Boolean false 非必输

VxFormContainer Slot

default

  • 默认插槽

Current Tags

  • 0.0.4                                ...           latest (3 years ago)

1 Versions

  • 0.0.4                                ...           3 years ago
Maintainers
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dev Dependencies (7)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org | Home |