骏飞影业微信小程序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.
 
 
 
 
 

18 lines
1.2 KiB

<div class="row dd_input_group no-gutters {$form[type].extra_class|default=''}" id="form_group_{$form[type].name}">
<label class="col-3 col-sm-2 col-md-2 col-lg-2 col-xl-1 dd_input_l col-form-label {notempty name="form[type].required"}is-required{/notempty}" for="{$form[type].name}">{$form[type].title|htmlspecialchars}</label>
<div class="col-9 col-sm-9 col-md-9 col-lg-6 col-xl-4 dd_radio_lable_left border-white">
{volist name="form[type].options" id="option"}
<div class="icheck-peterriver icheck-inline">
<input type="radio" name="{$form[type].name}" class="dd_radio" id="{$form[type].name}{$i}" value="{$key}" {eq name="key" value="$form[type].value|default=''" }checked{/eq} {$form[type].extra_attr|raw|default=''}>
<label for="{$form[type].name}{$i}">{$option|raw|htmlspecialchars}</label>
</div>
{/volist}
</div>
{notempty name="form[type].tips"}
<div class="col-12 offset-sm-2 offset-md-2 offset-lg-0 offset-xl-0 col-sm-10 col-md-10 col-lg-4 col-xl-7 dd_ts">
<small class="text-muted">
<i class="fa fa-info-circle"></i> {$form[type].tips|raw}
</small>
</div>
{/notempty}
</div>