<%if not in_eycms then response.write("template load fail"):response.end() end if%>
{eycms:include("eycms_top.asp")}
<title>{if eycms.strlen(eycms[seotitle])=0}{eycms[webname]}{else}{eycms[seotitle]}{/if}</title>
<meta name="Keywords" content="{eycms[seokey]}" />
<meta name="Description" content="{eycms[seodesc]}" />
</head>
<body>
{eycms:include("eycms_head.asp")}

<!--首页大图开始-->
<section class="banner width100">
	<div id="focus" class="focus" style="overflow:hidden;">
		<div class="hd"><ul></ul></div>
		<div class="bd">
			<ul>
				{eycms:rs top="5" table="ey_expand_ad" where="classid=5 and islock=1" order="ordnum desc,id desc"}
				{rs:eof}<li><img src="{skins}/common/images/banner.jpg"/></li>{/rs:eof}
				<li style="float: left;"><img src="{$rs[fileurl]}"/></li>
				{/eycms:rs}
			</ul>
		</div>
	</div>
</section>
<script type="text/javascript">
    function show_more(i) {
        $(".news_list dl:not(.dl" + i + ")").each(function() {
            $(this).find('dt').show();
            $(this).find('.t').hide();
            $(this).find('.spec').hide();
        });
        $(".dl" + i).find('dt').hide();
        $(".dl" + i).find('.t').show();
        $(".dl" + i).find('.spec').show();
    }
    TouchSlide({
        slideCell: "#focus",
        titCell: ".hd ul", //开启自动分页 autoPage:true ，此时设置 titCell 为导航元素包裹层
        mainCell: ".bd ul",
        effect: "left",
        autoPlay: true, //自动播放
        autoPage: true, //自动分页
        switchLoad: "_src" //切换加载，真实图片路径为"_src"
    });
</script>
<!--首页大图结束-->

<!--服务范围开始-->
<section class="width100">
	<div class="service_t"><a href="{eycms.getcateurl(20)}" ><img src="{skins}/images/index_t_service.jpg"  class="width100" alt="{eycms.getcatename(20)}" /></a></div>
	<div class="service_list">
		{eycms:rs top="4" table="ey_expand_ad" where="classid=10 and islock=1" order="ordnum desc,id desc"}
			<dl{if i mod 2=1} class="f"{/if}><dt><a href="{$rs[url]}" ><img src="{$rs[fileurl]}"  alt="{$rs[title]}" class="width100" /></a></dt><dd class="t"><a href="{$rs[url]}"  class="f28"><em class="f28">0{i}</em>{$rs[title]}</a></dd><dd class="spec"><a href="{$rs[url]}"  class="f24">{eycms.cutstr($rs[note],40,1)}</a></dd><dd class="btn"><a href="{$rs[url]}" ><img src="{skins}/images/index_btn_service.jpg"  alt="点击查看" class="width100" /></a></dd></dl>
		{/eycms:rs}
		<div class="c"></div>
	</div>
</section>
<!--服务范围结束-->

<!--成功案例开始-->
<section class="width100">
	<div class="case_t"><a href="{eycms.getcateurl(5)}" ><img src="{skins}/images/index_t_case.jpg"  class="width100" alt="{eycms.getcatename(5)}" /></a></div>
	<div class="case_list">
		{eycms:rp top="8" table="ey_model_photo" where="classid in([eycms.get_sonid(5)]) and isnice=1 and ispic=1 and islock=1" join="left join ey_content on ey_model_photo.cid=ey_content.id" order="id desc"}
		<dl><dt><a href="{$rp[link]}"><img src="{if $rp[ispic]=1}{$rp[pic]}{else}{skins}/common/images/no.gif{/if}" class="width100" /></a></dt><dd><a href="{$rp[link]}" class="f24">{eycms.cutstr($rp[title],22,1)}</a></dd></dl>
		{/eycms:rp}
		<div class="c"></div>
	</div>
</section>
<!--成功案例结束-->

<!--新闻资讯开始-->
<section class="width100">
	<div class="news_t"><a href="{eycms.getcateurl(2)}" ><img src="{skins}/images/index_t_news.jpg" class="width100" /></a></div>
	<div class="news_list">
		{eycms:rs top="6" table="ey_model_news" where="classid in([eycms.get_sonid(2)]) and islock=1" join="left join ey_content on ey_model_news.cid=ey_content.id" order="id desc"}
			<dl class="dl{i}"><dt onClick="show_more('1')"><a href="javascript:void(0)" class="f24"><span class="f28">+</span>{eycms.cutstr($rs[title],34,1)}</a></dt><dt class="t"><a href="{$rs[link]}"  class="f24"><span class="f28">-</span>{eycms.cutstr($rs[title],34,1)}</a></dt><dd class="spec"><a href="{$rs[link]}"  class="f20">    {eycms.cutstr(eycms.nohtml($rs[intro]),150,1)}</a></dd></dl>
		{/eycms:rs}
		<div class="btn_more"><a class="f24" href="{eycms.getcateurl(2)}" >查看更多>></a></div>
	</div>
</section>
<!--新闻资讯结束-->
{eycms:include("eycms_foot.asp")}

</body></html>