$ gnpm install @gidc-pc-base/gidc-ebank-parts-h5-standard-vx-gidc-form
import VxFormContainer from '@/components/vx-form-container'
Vue.component(VxFormContainer.name, VxFormContainer)
<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>
属性 | 说明 | 类型 | 默认值 | 备注 |
---|---|---|---|---|
title |
表单头部标题 | String |
- | 非必输 |
isPlain |
表单头部标题是否为朴素样式 | Boolean |
false | 非必输 |
Copyright 2013 - present © cnpmjs.org | Home |