投诉建议

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} {php}
use app\model\Article;
use app\model\Category; use app\model\Category;
$position = Category::getPosition($category["id"]); $childrenMenu = Category::getChildrenByParentId($topCategoryId);
{/php} {/php}
<div class="bannerdata">
<div class="img"><img src="{$category['src']}" alt=""></div> {include file="public/about_second" /}
</div>
<div class="searceboxtop"> <!-- 内容 -->
<div class="cont w1360"> <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="navminbox"> <div class="complaint flex w1360 wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">
{$position|raw} <div class="left wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">
</div> <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> <div class="complaint-phone flex wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0.2s">
</div> <img src="__STATIC__/web/images/icon/ico-complaint-phone.png" alt="投诉建议电话">
<div class="contentboxer"> <a href="tel:400-852-1199">
<div class="advicebox w1360"> <span>{$blocks['accept-only']['value']}</span>
<div class="left"> <strong>{$blocks['tel']['value']}</strong>
<div class="m wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0"><img src="{$blocks['logo']['value']}" alt=""></div> </a>
<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>
</div> </div>
</div> </div>
<div class="right"> <div class="right wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">
<div class="h1 wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">{$blocks['title']['value']}</div> <div class="complaint-title 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="rich-txt wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0.2s">
{$blocks['info']['value']|raw} {$blocks['info']['value']|raw}
</div> </div>
</div> </div>

View File

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