EApplet 支持的类型:有 list,simple-list,search-list,new,edit,detail,popup-detail,header-detail。EApplet/detail 组件一般用来支持实体详情不需要编辑的场景下的展示。
EApplet
EApplet/detail
EApplet-detail 组件内可以搭配使用 EFieldLine 与 EFieldGroup 来进行内容填充。
EApplet-detail
EFieldLine
EFieldGroup
<template> <EBlock class="e-applet-detail-showcase" style="margin: 10px; "> <EBlock style="margin: 10px; border: 1px solid #aaa; width: 500px;"> <EApplet template="detail"> <EFieldLine> <EField value="张三" template="input" label="客户名" /> <EField value="超级管理员" template="select" label="类型" :options="['A', 'B']" /> </EFieldLine> <EFieldLine> <EField value="1999年10月1日" template="input" label="生日" :options="['A', 'B']" /> <EField value="2015年10月创建,请在一个月内使用,过期禁用,请注意" template="input" label="备注" /> </EFieldLine> <EFieldGroup label="其他信息"> <EFieldLine> <EField value="1999年10月1日" template="input" label="生日" :options="['A', 'B']" /> <EField value="2015年10月创建,请在一个月内使用,过期禁用,请注意" template="input" label="备注" /> </EFieldLine> </EFieldGroup> </EApplet> </EBlock> </EBlock> </template>
← EApplet/edit EApplet/header-detail →