2022-10-12 09:53:40 +00:00
|
|
|
{layout name="layout"/}
|
|
|
|
{php}
|
|
|
|
use app\model\Category;
|
|
|
|
use app\model\Article;
|
|
|
|
use app\model\Block;
|
|
|
|
$childrenMenu = Category::getChildrenByParentId($topCategoryId);
|
|
|
|
$childrenCate = Category::getChildrenByParentId(Category::CATEGORY_NEWS);
|
|
|
|
|
|
|
|
$topNews = Article::getLastTopList($category["id"],1,[],["top"=>"desc"]);
|
|
|
|
if (!$topNews->isEmpty()) {
|
|
|
|
$topNews = empty($topNews)?[]: ($topNews[0] ?? []);
|
|
|
|
$topNewsYm = date('Y.m', $topNews['create_time']);
|
|
|
|
$topNewsDay = date('d', $topNews['create_time']);
|
|
|
|
}
|
|
|
|
{/php}
|
|
|
|
|
|
|
|
{include file="public/about_second" /}
|
|
|
|
<!-- 服务列表 -->
|
2022-11-03 09:21:38 +00:00
|
|
|
<div class="pull-section pull-content-bg pull-section-wap content-bg-white wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">
|
2022-10-12 09:53:40 +00:00
|
|
|
<div class="services-list w1360">
|
|
|
|
{foreach $items as $item}
|
|
|
|
<a href="/service/{$item.id}.html" class="item flex wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">
|
|
|
|
<div class="img"><img src="{$isMobile ? $item['src_mobile'] : $item['src']}" alt="{$item.title}"></div>
|
|
|
|
<div class="item-mask"></div>
|
|
|
|
<div class="txt">
|
|
|
|
<h2 class="color-coffee wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">{$item.title}</h2>
|
|
|
|
<p class="capitalize wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">{$item.title_en}</p>
|
2022-11-03 09:21:38 +00:00
|
|
|
<span class="srevices-more-btn wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0"><img src="__STATIC__/web/images/icon/icon-srevices-more.png" alt="查看详情"></span>
|
2022-10-12 09:53:40 +00:00
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
{/foreach}
|
|
|
|
</div>
|
|
|
|
</div>
|