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

23 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-8 col-xl-7">
<textarea id="{$form[type].name}" name="{$form[type].name}" {$form[type].extra_attr|raw} style="width:100%;height: {$form[type].height}px">{$form[type].value}</textarea>
</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-2 col-xl-4 dd_ts">
<small class="text-muted">
<i class="fa fa-info-circle"></i> {$form[type].tips|raw}
</small>
</div>
{/notempty}
</div>
<script>
{if $system.editor == '1'}
UE.delEditor('{$form[type].name}');
UE.getEditor('{$form[type].name}', {
serverUrl: "{:url('Upload/index',['from'=>'ueditor'])}",
});
{else}
CKEDITOR.replace('{$form[type].name}', {height: '{$form[type].height}px'});
{/if}
</script>