You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
142 lines
6.8 KiB
142 lines
6.8 KiB
<!DOCTYPE html>
|
|
<!--[if IE 8]> <html class="ie ie8"> <![endif]-->
|
|
<!--[if IE 9]> <html class="ie ie9"> <![endif]-->
|
|
<!--[if gt IE 9]><!--> <html> <!--<![endif]-->
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>{$menu.menu_seo_title|default=$site_seo_title} {$site_name}</title>
|
|
<meta name="keywords" content="{$menu.menu_seo_key|default=$site_seo_keywords}" />
|
|
<meta name="description" content="{$menu.menu_seo_des|default=$site_seo_description}">
|
|
{include file="public:head" /}
|
|
</head>
|
|
<body class="detailsbg">
|
|
<div class="contenter">
|
|
{include file="public:nav" /}
|
|
<div id="main-cmf">
|
|
<!--banner开始-->
|
|
<div class="detailsbanner"></div>
|
|
<!--banner结束-->
|
|
<!--body开始-->
|
|
<div class="content modeub bodymb">
|
|
<!--mode left开始-->
|
|
<div class="modeleft ">
|
|
<div class="modelefttop modeub modever modeac modepc">
|
|
<div class="lefttutitle">{$parent.menu_name}</div>
|
|
<div class="leften">{$parent.menu_enname}</div>
|
|
</div>
|
|
<div class="modeleftmenu">
|
|
{foreach name="childs" id="vo"}
|
|
<div class=" modepc {if condition="isset($vo['childs']) and count($vo['childs']) neq 0"}subNav{/if} leftmenu modeub modeac {if condition="$menu_id eq $vo['id'] or (isset($vo['active']) and $vo['active'])"}modeleftmenuactive{/if} button bubble-right " onmouseout="removeMenuStyle_whsb(this)" onmousemove="addMenuStyle_whsb(this)">
|
|
<div class="modef1 jiesh" {if condition="isset($vo['menu_address']) and $vo['menu_address']"} {if condition="trim($vo['menu_target']) eq '_blank'"}onclick="javascript:window.open('{$vo.menu_address}')"{else} onclick="javascript:window.location.href='{$vo.menu_address}'"{/if} {/if}>{:html_entity_decode($vo.menu_name)}</div>
|
|
<div class="icon-huiseweixuanzhong iconfont modekuai"></div>
|
|
</div>
|
|
{if condition="isset($vo['childs']) and count($vo['childs']) neq 0"}
|
|
<div class="samlltitve navContent" style="{if condition="(isset($vo['active']) and $vo['active']) or ($menu_id eq $vo['id'] or (isset($vo['active']) and $vo['active']))"}display:block;{/if}">
|
|
{volist name="vo['childs']" id="jo"}
|
|
{if condition="$jo['menu_address'] eq '#'"}
|
|
<div class="zhidutitle {if condition="($menu_id eq $jo.id) or (isset($jo['active']) and $jo['active'])"}modeleftmenuactive{/if}" onmouseout="removeMenuStyle_b_whsb(this)" onmousemove="addMenuStyle_whsb(this)">{$jo.menu_name}</div>
|
|
{else}
|
|
<div class="zhidutitle {if condition="($menu_id eq $jo.id) or (isset($jo['active']) and $jo['active'])"}modeleftmenuactive{/if}" {if condition="trim($jo['menu_target']) eq '_blank'"}onclick="javascript:window.open('{$jo.jump}')"{else} onclick="javascript:window.location.href='{$jo.jump}'"{/if} onmouseout="removeMenuStyle_b_whsb(this)" onmousemove="addMenuStyle_whsb(this)">{$jo.menu_name}</div>
|
|
{/if}
|
|
|
|
{if condition="isset($jo['childs']) and count($jo['childs']) neq 0"}
|
|
<div class="samlltitve navContent" style="{if condition="(isset($jo['active']) and $jo['active']) or ($menu_id eq $jo['id'] or (isset($jo['active']) and $jo['active']))"}display:block;{/if}">
|
|
{volist name="jo['childs']" id="ko"}
|
|
{if condition="$ko['menu_address'] eq '#'"}
|
|
<div class="zhidutitle {if condition="($menu_id eq $ko.id) or (isset($ko['active']) and $ko['active'])"}modeleftmenuactive{/if}" style="padding-left:50px;" onmouseout="removeMenuStyle_b_whsb(this)" onmousemove="addMenuStyle_whsb(this)">{$ko.menu_name}</div>
|
|
{else}
|
|
<div class="zhidutitle {if condition="($menu_id eq $ko.id) or (isset($ko['active']) and $ko['active'])"}modeleftmenuactive{/if}" style="padding-left:50px;" {if condition="trim($ko['menu_target']) eq '_blank'"}onclick="javascript:window.open('{$ko.jump}')"{else} onclick="javascript:window.location.href='{$ko.jump}'"{/if} onmouseout="removeMenuStyle_b_whsb(this)" onmousemove="addMenuStyle_whsb(this)">{$ko.menu_name}</div>
|
|
{/if}
|
|
{/volist}
|
|
</div>
|
|
{/if}
|
|
|
|
{/volist}
|
|
</div>
|
|
{/if}
|
|
{/foreach}
|
|
</div>
|
|
</div>
|
|
<!--mode left结束-->
|
|
<!--mode right开始-->
|
|
<div class="modef1 moderight">
|
|
<div class="moderighttag modeub modeac">
|
|
<div class="tagtitle">{$current.menu_name}</div>
|
|
{if condition="$current['menu_enname']"}
|
|
<div class="tagline">/</div>
|
|
<div class="tagtitleen">{$current.menu_enname}</div>
|
|
{/if}
|
|
</div>
|
|
{if condition="$current['menu_content']"}<div class="righttagdes modeub">{$current.menu_content}</div>{/if}
|
|
<div class="advercon divhidden">
|
|
{volist name="lists" id="vo"}
|
|
<div class="adverleft guideleft adverleftmr adverleftmb" style="cursor: pointer" data-pic="{$vo.vd_img|get_imgurl}" data-video="{$vo.vd_video|get_imgurl|htmlspecialchars_decode|urldecode}">
|
|
<div class="adverleftimg logobackimg"><img width="214" src="{$vo.vd_img|get_imgurl|htmlspecialchars_decode|urldecode}"><span></span></div>
|
|
<div class="advertitle modeub modeac modepc" style="text-overflow: ellipsis;white-space: nowrap;overflow: hidden;width:100%;display:block !important;" title="{$vo.vd_name}">{$vo.vd_name}</div>
|
|
</div>
|
|
{/volist}
|
|
|
|
</div>
|
|
<div class="list-page" align="center">{$page}</div>
|
|
</div>
|
|
<!--mode right结束-->
|
|
|
|
</div>
|
|
<!--body结束-->
|
|
</div>
|
|
</div>
|
|
{include file="public:footer"/}
|
|
<script>
|
|
$(function() {
|
|
$(".subNav").click(function() {
|
|
$(this).next(".navContent").slideToggle(300).siblings(".navContent").slideUp(500);
|
|
})
|
|
$(".jiesh").click(function(event) {
|
|
event.preventDefault();
|
|
var href=$(this).attr("href");
|
|
if(typeof href!='undefined'){
|
|
console.log(href);
|
|
window.location.href=href;
|
|
}
|
|
})
|
|
})
|
|
|
|
var video=$("#video");
|
|
//about视频页面弹出
|
|
$(".adverleftmb").click(function () {
|
|
video.attr("src", "").attr("poster", "");
|
|
var spUrl = $(this).data('video');//视频地址
|
|
var tpUrl = $(this).data('pic');//图片地址
|
|
console.log("spUrl",spUrl);
|
|
video.attr("src", spUrl).attr("poster", tpUrl);
|
|
$(".about_v_msk").show();
|
|
});
|
|
$(".about_v_msk a").click(function () {
|
|
video.attr("src", "").attr("poster", "");
|
|
$(".about_v_msk").hide();
|
|
});
|
|
|
|
function addMenuStyle_whsb(t){
|
|
$(t).addClass("modeleftmenuactive");
|
|
}
|
|
function removeMenuStyle_whsb(t){
|
|
if($(t).siblings(".modeleftmenuactive").length==1){
|
|
$(t).removeClass("modeleftmenuactive");
|
|
}
|
|
}
|
|
function removeMenuStyle_b_whsb(t){
|
|
if($(t).parent().prev().attr("class").indexOf("modeleftmenuactive")>=0){
|
|
if($(t).siblings(".modeleftmenuactive").length==1){
|
|
$(t).removeClass("modeleftmenuactive");
|
|
}
|
|
}else{
|
|
if($(t).siblings(".modeleftmenuactive").length==0){
|
|
$(t).removeClass("modeleftmenuactive");
|
|
}
|
|
}
|
|
|
|
}
|
|
</script>
|
|
<script src="{$yf_theme_path}public/js/leftmenu.js"></script>
|
|
</body>
|
|
</html>
|