- <div id="right">
- <h2>重大新闻</h2>
- <!--{block name="spacenews" parameter="type/puji/category/36/order/i.dateline DESC/limit/0,7/cachetime/86400/subjectlen/50/subjectdot/1/showdetail/1/messagelen/80/messagedot/1/cachename/xdfas/tpl/data"}-->
- <!--{loop $_SBLOCK['xdfas'] $value}-->
- <div class="news_lists">
- <span class="data_time">
- #date('M d', $value['dateline'])#
- </span>
- <h4><a href="$value[url]">$value[subject]</a></h4>
- <p>$value[message]</p>
- </div><!--{/loop}-->
- <div id="mor">
- <a href="#"> 更多</a>
- </div>
- .news_lists{
- float: left;
- width: 290px;
- }
- .news_lists h4{
- margin-top: 25px;
- }
- .news_lists h4 a{
- font-weight: normal;
- color: #003399;
- text-decoration: underline;
- }
- .news_lists .data_time{
- background-image: url(../images/data.gif);
- background-repeat: no-repeat;
- display: block;
- padding: 20px;
- float: left;
- height: 70px;
- width: 30px;
- color: #FFFFFF;
- font-weight: bold;
- background-position: center 25px;
- text-align: center;
- line-height: 25px;
- }
- #right #mor{float: left;width: 260px;}
- #right #mor a{
- font-size: 16px;
- line-height: 25px;
- background-image: url(../images/bomm.gif);
- background-repeat: no-repeat;
- text-align: center;
- float: right;
- height: 25px;
- width: 79px;
- display: block;
- color: #FFFFFF;
- }
新闻热点
疑难解答