zzwy2/view/article/service_detail.html

63 lines
2.4 KiB
HTML
Raw Permalink Normal View History

2022-10-12 09:53:40 +00:00
{layout name="layout" /}
{php}
use app\model\Category;
$childrenMenu = Category::getChildrenByParentId($topCategoryId);
{/php}
{include file="public/about_second" /}
<!-- 活动详情 -->
<div class="pull-section pull-content-bg content-bg-white">
<div class="activities-detail w1360 wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">
2022-10-17 07:07:42 +00:00
<div class="detail-top">
2022-10-12 09:53:40 +00:00
<!-- 轮播 -->
<div class="detail-swiper swiper">
<div class="swiper-wrapper">
{if !empty($images)}
{foreach $images as $img}
<div class="swiper-slide">
<a href="{$img['link'] ?: 'javascript:;'}">
2022-11-07 10:33:18 +00:00
<img src="{$img.src ?? ''}" alt="{$img.alt ?? ''}">
2022-10-12 09:53:40 +00:00
</a>
</div>
{/foreach}
{/if}
</div>
<!-- 切换按钮 -->
<div class="swiper-button-prev"></div>
<div class="swiper-button-next"></div>
<!-- 分页器 -->
<div class="swiper-pagination"></div>
</div>
<!-- 标题 -->
2022-10-17 08:13:28 +00:00
<div class="detai-title">
2022-10-12 09:53:40 +00:00
<h1 class="color-blue wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">{$item.title}</h1>
<div class="sub-bid wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0.2s">{$item.sub_title}</div>
2022-10-17 07:07:42 +00:00
<a href="{$category['url'] ?: $category['route']}" class="back-btn wap-show flex">返回列表</a>
2022-10-12 09:53:40 +00:00
</div>
</div>
<!-- 详情 -->
<div class="activities-detail-txt flex wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">
<div class="rich-txt color-66 wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">
{$item.content|raw}
</div>
</div>
2022-11-05 15:51:57 +00:00
<div class="resource-advantage wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">
{if !empty($resource)}
{foreach $resource as $res}
2022-11-07 10:33:18 +00:00
<img src="{$res.src ?? ''}" alt="{$res.alt ?? ''}" style="width: 100%;padding-top: 5px;">
2022-11-05 15:51:57 +00:00
{/foreach}
{/if}
</div>
2022-10-12 09:53:40 +00:00
<!-- 上下篇 -->
<div class="part-list flex">
{if !empty($prev)}
<div class="item flex"><strong class="color-blue">上一篇:</strong><a class="clips1" href="/service/{$prev.id}.html">{$prev['title']}</a></div>
{/if}
<em></em>
{if !empty($next)}
<div class="item flex"><strong class="color-blue">下一篇:</strong><a class="clips1" href="/service/{$next.id}.html">{$next['title']}</a></div>
{/if}
</div>
</div>
</div>