长城期货
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.
 
 
 
 
 
 

107 lines
4.2 KiB

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="__TMPL__/static/css/layui.css" />
<!-- 通用 -->
{include file="common/head" /}
<!-- 当前 -->
<link rel="stylesheet" href="__TMPL__/static/css/mixin.css" />
<!-- <link rel="stylesheet" href="__TMPL__/static/css/xiqian.css" /> -->
<link rel="stylesheet" href="__TMPL__/static/scss/fanxiqian.css" />
</head>
<body>
<!-- header start -->
{include file="common/header" /}
<!-- header end -->
<div class="bannerList">
<div class="img">
<img src="__TMPL__/static/images/touzi/img-1.jpg" alt="" />
</div>
<div class="w1280">
<div class="bannerTitle">投资者教育</div>
<div class="bannerTips">
为投资者提供严谨细致的交易、交割、结算、质押等服务
</div>
</div>
</div>
<div class="pageListNav">
<div class="w1280">
{hcTaglib:subcategory pid="5" item="vo" field="id,title" sort="sort asc"}
<a href="{:hcUrl('list/index',['id'=>$vo.id])}" class="{$current_cate['id']==$vo.id?'on':''}">{$vo.title}</a>
{/hcTaglib:subcategory}
</div>
</div>
<div class="investList">
<div class="w1280">
<div class="left">
<div class="tit">
<img src="__TMPL__/static/images/investListImg.png" alt="">
<p>投资者教育</p>
</div>
<ul>
{hcTaglib:allSubcategory pid="5" item="vo" maxLevel="2" field="id,title,parent_id" sort="sort asc"}
<li class="{$current_cate['id']==$vo.id?'on':''}">
<a href="{:hcUrl('list/index',['id'=>$vo.id])}">{$vo.title}<i><img src="__TMPL__/static/images/investListImg2.png" alt=""></i></a>
{if !empty($vo.children) }
<div class="childList">
<div class="center">
{volist name="$vo.children" id="vv"}
<a href="{:hcUrl('list/index',['id'=>$vv.id])}">{$vv.title}</a>
{/volist}
</div>
</div>
{/if}
</li>
{/hcTaglib:allSubcategory}
</ul>
</div>
<div class="right">
<div class="tit">{$current_cate['title']}</div>
<div class="content">
{hcTaglib:contentPage moduleId="1" name="articleList" mainField="id,title,description,publish_time"}
<div class="list">
<a href="{:hcUrl('detail/index',['id'=>$vo.id,'cid'=>$vo.category_id])}">{$vo.title}</a>
<p>{$vo.publish_time|date='Y.m.d'}</p>
</div>
{/hcTaglib:contentPage}
{$articleList|raw}
</div>
</div>
</div>
</div>
<!-- footer start-->
{include file="common/footer" /}
<!-- footer end -->
<!-- 通用 -->
{include file="common/foot" /}
<!-- 当前 -->
<script src="__TMPL__/static/js/layui.js"></script>
<script>
$('.investList .w1280 .left ul li > a').click(function(event){
if($(this).siblings('.childList').children('.center').children('a').length < 1){
}else{
event.preventDefault()
if($(this).hasClass('active')){
$(this).removeClass('active')
$('.investList .w1280 .left ul li .childList').stop().animate({'height':0})
}else{
$(this).addClass('active')
if($(this).siblings('.childList').children('.center').children('a').length > 0){
$(this).siblings().stop().animate({'height':$(this).siblings().children().outerHeight(true)})
return
}
}
}
})
</script>
</body>
</html>