mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-11-30 02:49:03 +08:00
21 lines
1.3 KiB
HTML
21 lines
1.3 KiB
HTML
<div class="layout-container">
|
|
{{if !empty($layout_data) and is_array($layout_data)}}
|
|
{{foreach $layout_data as $k=>$v}}
|
|
{{if !empty($v['value']) and !empty($v['children']) and is_array($v['children']) and !empty($v['value_arr']) and count($v['children']) eq count($v['value_arr']) and $v['status'] eq 1}}
|
|
<div class="layout-view">
|
|
<div class="layout-content-children {{if !empty($v['config']) and !empty($v['config']['frontend_config'])}}{{$v.config.frontend_config.ent}}{{/if}}" style="{{if !empty($v['config']) and !empty($v['config']['frontend_config'])}}{{$v.config.frontend_config.style}}{{/if}}">
|
|
{{foreach $v.children as $ks=>$vs}}
|
|
{{if count($v['value_arr']) eq 1}}
|
|
{{include file="../../../layout/view/public/common/module_view" /}}
|
|
{{else /}}
|
|
<div class="am-u-md-{{$v['value_arr'][$ks]}}">
|
|
{{include file="../../../layout/view/public/common/module_view" /}}
|
|
</div>
|
|
{{/if}}
|
|
{{/foreach}}
|
|
</div>
|
|
</div>
|
|
{{/if}}
|
|
{{/foreach}}
|
|
{{/if}}
|
|
</div> |