{layout name="layout"/} {php} use app\model\Article; use app\model\Category; $childrenMenu = Category::getChildrenByParentId($topCategoryId); $items = Article::getList(Category::CATEGORY_MARKET_SERVICE, $category['number'] ?? 30); $serviceList = Article::getList(Category::CATEGORY_SERVE_LIST, 500); {/php} {include file="public/about_second" /}

{$blocks['market_zhongzheng']['title']}

{$blocks['market_zhongzheng']['value']}
{if isset($blocks['market_slide_mobile']['value']) && !empty($blocks['market_slide_mobile']['value'])} {php}$slideImages = json_decode($blocks['market_slide_mobile']['value'], true);{/php} {foreach $slideImages as $k => $slide}
{$slide.alt ?: '中正社区'}
{/foreach} {/if}

{$blocks['market_list_title']['title']}

{$blocks['market_list_title']['value']}
{foreach $serviceList as $k => $service} {$service.title ?? ''}

{$service.title ?? ''}

{$service.title_en ?? ''}

{/foreach}

{$blocks['market_service_title']['value']}

{$blocks['market_service_title']['title']}
{if isset($blocks['market_service_block']['value']) && !empty($blocks['market_service_block']['value'])} {php}$bannerImages = json_decode($blocks['market_service_block']['value'], true);{/php} {foreach $bannerImages as $k => $banner}
{$banner.title ?? ''}

{$banner.title ?? ''}

{$banner.desc ?? ''}
{/foreach} {/if}