{layout name="layout"/} {php} use app\model\Article; use app\model\Category; $childrenMenu = Category::getChildrenByParentId($topCategoryId); $where = []; $where['category_id'] = Category::CATEGORY_BRAND_ACTIVITY; $where['size'] = $category['number'] ?? 4; $where['where'] = [['is_prev', '=',0]]; $items = Article::getListByWhere($where); $previewList = Article::getList(Category::CATEGORY_BRAND_ACTIVITY, 10, null, ['is_prev']); {/php} {include file="public/about_second" /}

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

{$blocks['brand_activity']['title']}
{foreach $items as $k => $item}
{$item.title}

{$item.title}

{$item.summary}

查看更多
{/foreach}
点击加载更多

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

{$blocks['event_preview']['title']}
{foreach $previewList as $prev}
{$prev.title}

{$prev.title}

{$prev.summary}

查看详情查看详情 Events
{/foreach}
向前
向后