骏飞影业微信小程序API
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

12 lines
988 B

<div class="row dd_input_group no-gutters" id="form_group_{$form[type].name}">
<div class="form-group">
<div class="col-12">
{if $form[type]['elemtype'] == "button" }
<button class="btn btn-flat {$form[type].class|default='btn-primary'}" id="{$form[type].id|default=''}" type="button" {$form[type].data|raw|default=''} {present name="form[type].disabled"}disabled{/present}>
<i class="{$form[type].icon|default=''}"></i> {$form[type]['title']|default=''}</button>
{else /}
<a class="btn btn-flat {$form[type].class|default='btn-primary'} {present name="form[type].disabled"} disabled{/present}" id="{$form[type].id|default=''}" title="{$form[type]['title']|default=''}" target="{$form[type].target|default=''}" href="{$form[type].href|default=''}" {$form[type].data|raw|default=''}><i class="{$form[type].icon|default=''}"></i> {$form[type]['title']|default=''}</a>
{/if}
</div>
</div>
</div>