投诉建议

master
yin5th 2022-10-13 10:21:33 +08:00
parent 3e33e15fe2
commit 16e341ba31
2 changed files with 23 additions and 26 deletions

View File

@ -1,33 +1,28 @@
{layout name="layout_two"/}
{layout name="layout"/}
{php}
use app\model\Article;
use app\model\Category;
$position = Category::getPosition($category["id"]);
$childrenMenu = Category::getChildrenByParentId($topCategoryId);
{/php}
<div class="bannerdata">
<div class="img"><img src="{$category['src']}" alt=""></div>
</div>
<div class="searceboxtop">
<div class="cont w1360">
<div class="navminbox">
{$position|raw}
</div>
</div>
</div>
<div class="contentboxer">
<div class="advicebox w1360">
<div class="left">
<div class="m wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0"><img src="{$blocks['logo']['value']}" alt=""></div>
<div class="tel wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0.2s">
<div class="k"><img src="__STATIC__/web/images/icon13.png" alt=""></div>
<div>
<div class="p">{$blocks['accept-only']['value']}</div>
<div class="h1">{$blocks['tel']['value']}</div>
</div>
{include file="public/about_second" /}
<!-- 内容 -->
<div class="pull-section pull-content-bg content-bg-white join-detail-bg min-heigh-box wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">
<div class="complaint flex w1360 wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">
<div class="left wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">
<div class="complaint-logo flex wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0"><img src="{$blocks['logo']['value']}" alt="{$blocks['logo']['alt']}"></div>
<div class="complaint-phone flex wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0.2s">
<img src="__STATIC__/web/images/icon/ico-complaint-phone.png" alt="投诉建议电话">
<a href="tel:400-852-1199">
<span>{$blocks['accept-only']['value']}</span>
<strong>{$blocks['tel']['value']}</strong>
</a>
</div>
</div>
<div class="right">
<div class="h1 wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">{$blocks['title']['value']}</div>
<div class="wt wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0.2s">
<div class="right wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">
<div class="complaint-title wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">{$blocks['title']['value']}</div>
<div class="rich-txt wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0.2s">
{$blocks['info']['value']|raw}
</div>
</div>

View File

@ -15,8 +15,10 @@
<a href="{$path['route'] ?? 'javascript:;'}">{$path['title'] ?? ''}</a>
{/if}
{/foreach}
{if $category['id'] != 40}
{if !in_array($category['id'],[39,40]) && $Request.Action != 'index'}
<a href="{$category['route'] ?? 'javascript:;'}">{$category['title'] ?? ''}</a>
{elseif $Request.Action == 'index'}
{$category['title'] ?? ''}
{/if}
{$Request.Action == 'detail' ? ($item.title ?? '') : ''}
</div>