{extend name="public:base" /} {block name="content"}

### 网站设置

{foreach name="list" item="config"}
{$config.title} {switch name="config.type"} {case value="0"}
{$config.remark}
{/case} {case value="1"}
{$config.remark}
{/case} {case value="2"}
{$config.value} {$config.remark}
{/case} {case value="3"}
{$config.value} {$config.remark}
{/case} {case value="4"}
{/case} {case value="5"}
{foreach name=":parse_config_attr($config['extra'])" item="vo" key="rk"} {$vo} {/foreach} {$config.remark}
{/case} {case value="6"}
{php} $fontIcon = config($config['name'] . '_font_icon'); $positions= parse_field_attr($config['value']); $maxKey = max(array_keys($positions)); {/php} {foreach name="positions" item="vo" key="pk"}
{if condition="isset($fontIcon[$pk])"}
{/if} {eq name="maxKey" value="$pk"} {/eq}
{/foreach}
{/case} {/switch}
{/foreach}
{/block}