后台表单提交方式

This commit is contained in:
2020-04-07 17:17:02 +08:00
parent 6ea3686f0b
commit 8c440e75e8
22 changed files with 89 additions and 74 deletions

View File

@@ -51,9 +51,9 @@
</select>
{/case}
{case value="bool"}
<input id="c-switch" name="config[{$item['name']}]" type="hidden" value="0">
<a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-switch" data-yes="1" data-no="0" >
<i class="fa fa-toggle-on text-success {eq name="item['value']" value="$key"}fa-flip-horizontal text-gray{/eq} fa-2x"></i>
<input id="switch_{$item['name']}" name="config[{$item['name']}]" type="hidden" value="0">
<a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="switch_{$item['name']}" data-yes="1" data-no="0" >
<i class="fa fa-toggle-on text-success {eq name="item['value']" value="0"}fa-flip-horizontal text-gray{/eq} fa-2x"></i>
</a>
{/case}
{case value="image"}