2019-09-06 23:53:10 +08:00

73 lines
2.7 KiB
HTML
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{extend name="default/base" /}
{block name="title"}
{$title} - {:WSTConf('CONF.mallName')}{__block__}{/block}
{block name="meta"}
<meta name="keywords" content="资讯中心,{:WSTConf('CONF.mallName')}" />
<meta name="description" content="资讯中心,{:WSTConf('CONF.mallName')}" />
{/block}
{block name="css"}
<link href="__STYLE__/css/articles.css?v={$v}" rel="stylesheet">
{/block}
{block name="main"}
<div class="bc-nav">
<p>
<a href="{:url('/')}">首页</a>
<a href="{:url('home/news/view')}">> 资讯中心</a>
{volist name="$bcNav" id="bc"}
<a href="{:url('home/news/nlist',['catId'=>$bc['catId']])}">> {$bc['catName']}</a>
{/volist}
</p>
</div>
<div class="help-box">
<div class="help-left">
<p class="h-title b-lg">资讯中心</p>
<ul id="parent">
{volist name="$list" id="v" }
<li class="h-cat h-show">
<span>{$v['catName']}<p></p></span>
<ul class="h-list">
{volist name="$v['children']" id="v1" key="k1"}
<a href="{:url('home/News/nList',['catId'=>$v1['catId']])}"><li class="{if ($v1['catId']==$catId)}h-curr{/if}">{$v1['catName']}{$v1['newsCount']}</li></a>
{/volist}
</ul>
</li>
{/volist}
</ul>
</div>
<div class="help-right">
<div class="h-content">
{if(!input("param.catId") && !input("param.id"))}
<div class="head"><p><span>N</span>ews&nbsp;资讯中心</p><div class='wst-clear'></div></div>
<ul class="news-list">
{volist name="$index" id="li"}
<li><div id="g-square"></div><a href="{:url('home/news/view',['id'=>$li['articleId']])}">{$li['articleTitle']}</a><span class="list-time"> {:date('Y-m-d H:i:s',strtotime($li['createTime']))}</span></li>
{/volist}
</ul>
{/if}
{if isset($newsList)}
<div class="head"><p><span>N</span>ews&nbsp;{$bc['catName']}</p><div class='wst-clear'></div></div>
<ul class="news-list">
{if 63 == input("param.catId")}
{volist name="$newsList" id="n"}
<li><div id="g-square"></div><a ">{$n['articleTitle']}</a><span class="list-time"> {:date('Y-m-d H:i:s',strtotime($n['createTime']))}</span>5元</li>
{/volist}
{else /}
{volist name="$newsList" id="n"}
<li><div id="g-square"></div><a href="{:url('home/news/view',['id'=>$n['articleId']])}">{$n['articleTitle']}</a><span class="list-time"> {:date('Y-m-d H:i:s',strtotime($n['createTime']))}</span></li>
{/volist}
{/if}
</ul>
{/if}
{if isset($page)}
<div class="h-page">{$page}<div class='wst-clear'></div></div>
{/if}
</div>
</div>
<div class='wst-clear'></div>
</div>
{/block}
{block name="js"}
<script src="__STYLE__/articles/articles.js"></script>
{/block}
{block name="footer"}{__block__}
{/block}