mirror of
https://github.com/vxcontrol/ncform.git
synced 2026-07-19 18:23:32 -04:00
docs(CONFIG.md): icon to iconCls
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
help: { // 帮助信息
|
||||
show: true, // 是否显示,默认不显示
|
||||
content: '', // 帮助信息
|
||||
icon: '', // 帮助图标
|
||||
iconCls: '', // 帮助图标样式名
|
||||
text: '' // 帮助文字
|
||||
},
|
||||
itemClass: '', // 给表单项添加的样式名
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
{{renderSchema.ui.label}}<!-- 标签信息 -->
|
||||
|
||||
<a v-if="renderSchema.ui.help.show === true" href="#"><span :class="renderSchema.ui.help.icon">{{renderSchema.ui.help.text}}</span></a>
|
||||
<a v-if="renderSchema.ui.help.show === true" href="#"><span :class="renderSchema.ui.help.iconCls">{{renderSchema.ui.help.text}}</span></a>
|
||||
|
||||
<!-- 说明信息 -->
|
||||
<small v-if="renderSchema.ui.description" class="form-text text-muted" v-html="_analyzeVal(renderSchema.ui.description)">
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
<!-- TODO daniel: 提示信息组件未加 -->
|
||||
<!-- 提示信息 -->
|
||||
<a v-if="fieldSchema.ui.help.show === true" href="#"><span :class="fieldSchema.ui.help.icon">{{fieldSchema.ui.help.text}}</span></a>
|
||||
<a v-if="fieldSchema.ui.help.show === true" href="#"><span :class="fieldSchema.ui.help.iconCls">{{fieldSchema.ui.help.text}}</span></a>
|
||||
</label>
|
||||
|
||||
<slot :name="field"></slot>
|
||||
@@ -45,7 +45,7 @@
|
||||
{{fieldSchema.ui.label}}
|
||||
<!-- TODO daniel: 提示信息组件未加 -->
|
||||
<!-- 提示信息 -->
|
||||
<a v-if="fieldSchema.ui.help.show === true" href="#"><span :class="fieldSchema.ui.help.icon">{{fieldSchema.ui.help.text}}</span></a>
|
||||
<a v-if="fieldSchema.ui.help.show === true" href="#"><span :class="fieldSchema.ui.help.iconCls">{{fieldSchema.ui.help.text}}</span></a>
|
||||
:
|
||||
</label>
|
||||
<div :style="{'margin-left': !isNormalObjSchema(fieldSchema) && !fieldSchema.ui.noLabelSpace ? mergeConfig.labelWidth + ';' : '0px;'}" :class="{'col-md-9': !isNormalObjSchema(fieldSchema) && !fieldSchema.ui.noLabelSpace, 'col-md-12': !(!isNormalObjSchema(fieldSchema) && !fieldSchema.ui.noLabelSpace)}">
|
||||
|
||||
Reference in New Issue
Block a user