zzwy2/view/page/business.html

57 lines
2.2 KiB
HTML
Executable File

{layout name="layout_two"/}
{php}
use app\model\Category;
$position = Category::getPosition($category["id"]);
{/php}
<div class="bannerdata">
<div class="img"><img src="{$category['src']}" alt="{$category['title']}"></div>
</div>
<div class="searceboxtop">
<div class="cont w1360">
<div class="navminbox">
{$position|raw}
</div>
</div>
</div>
<div class="contentboxer">
<div class="searceboxone business padding">
<div class="cont w1360">
<div class="img" style=" background: url({$blocks['b_img']['value']}) no-repeat center; "><img src="{$blocks["b_img"]['value']??''}" alt=""></div>
<div class="img imgphone" style=" background: url({$blocks['b_img_mobile']['value']}) no-repeat center / cover; "><img src="{$blocks["b_img_mobile"]['value']??''}" alt=""></div>
<div class="text">
<div>
<div class="h1 wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">{$blocks["BUSINESS-COOPERATION"]['value']??''}</div>
<div class="h2 wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0.1s">{$blocks["BUSINESS-COOPERATION"]['title']??''}</div>
<div class="em wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0.2s"></div>
<div class="add wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0.3s">
<div>公司地址:{$system['addr']??''}</div>
<div>邮箱地址:{$system['email']??''}</div>
<div>服务热线:{$system['landline']??''}</div>
</div>
<div class="weah wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0.4s">
<div class="l"><img src="{$system['img_float_wechat']??''}" alt=""></div>
<div class="l"><img src="{$system['img_float_wechat2']??''}" alt=""></div>
</div>
</div>
</div>
</div>
</div>
<div class="businessmap" id="map1"></div>
<script src="__STATIC__/web/js/bdmap.js" type="text/javascript"></script>
{php}
$map = json_decode($blocks['map']['value'],true);
{/php}
<script type="text/javascript">
ShowMap("map1",{
city:'{$blocks['city']['value']}',
addr:'{$map['address']}',
title:'{$blocks['map']['title']}',
lawfirm:'{$map['address']}',
tel:'',
mapx:'{$map['lng']},{$map['lat']}',
ismove:'0',
piobj:'nxp',
zoom:17
});
</script>
</div>