This commit is contained in:
avene 2018-06-22 17:39:16 +08:00
parent 745c9408d2
commit 07e7ecc819
3 changed files with 235 additions and 246 deletions

View File

@ -1,200 +1,102 @@
<?php
$this->headTitle($this->config->title->site);
$this->headTitle('新闻动态');
$this->headTitle('新闻中心');
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/static-sanjy-np/css/index.css');
$this->headLink()->appendStylesheet('/static-sanjy-np/css/about.css')
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('新闻中心');
$this->breadcrumb()->setSeparator(' > ');
$this->headLink()->appendStylesheet('/static-sanji/css/new-list.css');
?>
<!--当前位置-->
<div class="breadcrumb-wrapper">
<div class="container">
<div class="row">
<div class="col-md-3 col-sm-4 bcid-cat">新闻动态</div>
<div class="col-md-9 col-sm-8 location">
<img src="/static-sanjy-np/img/address.png" alt="" />
<span>当前位置:
<a href="../index.html">主页</a> &gt;
<a href="news.html">新闻动态</a>
</span>
</div>
</div>
<div class="body-warp">
<div class="nav" id="nav">
<ul>
<?php
if(count($this->types))
{
foreach($this->types as $k=>$v)
{
$haed = "";
if(!empty($v[$this->deepField])) {$haed = str_repeat(' ',$v[$this->deepField]);}
echo '<li><a href="'.$v['url'].'">'.$haed.$v['title'].'</a></li>';
$haed = "";
}
}
?>
</ul>
</div>
<div class="list-warp container">
<ul>
<li><a href="#">海河流域多尺度地表通量与气象要素观测数据集发布</a><span>2018-02-03</span></li>
<li><a href="#">海河流域多尺度地表通量与气象要素观测数据集数据正式发布</a><span>2018-02-03</span></li>
<li><a href="#">海河流域多尺度地表测数据集数据数据正式发布</a><span>2018-02-03</span></li>
<li><a href="#">海河流域多尺度地表通量与气象要素观测数据集数据正式发布</a><span>2018-02-03</span></li>
<li><a href="#">海河流域多尺度地量与气象要素观测</a><span>2018-02-03</span></li>
<li><a href="#">海河流域多尺度地表通量与气象要素观测数据集数据式发布</a><span>2018-02-03</span></li>
<li><a href="#">海河流域多尺度地表通量与气象要素观测数据集数据正式发布</a><span>2018-02-03</span></li>
<li><a href="#">海河流域多尺度地表通量与气象要素观测数据集数据正式发布</a><span>2018-02-03</span></li>
<li><a href="#">海河流域多尺度地表通量与气象要素数据集数据正式发布</a><span>2018-02-03</span></li>
<li><a href="#">海河流域多尺度地表通量与气象要素观测数据集数据正式据正式发布</a><span>2018-02-03</span></li>
<li><a href="#">海河流域多尺度地表通量与气象要素观测数据式发布</a><span>2018-02-03</span></li>
<li><a href="#">海河流域多尺度地表通量与气象要素观测数据集数据正式发布</a><span>2018-02-03</span></li>
<li><a href="#">海河流域多尺度地表通量与气象要素观测集数数据正式发布</a><span>2018-02-03</span></li>
<li><a href="#">海河流域多尺度地表通量与气象要素观测数据集数据正式发布</a><span>2018-02-03</span></li>
<li><a href="#">海河流域多尺度地表通量与气象要素观据集数据正式发布</a><span>2018-02-03</span></li>
<li><a href="#">海河流域多尺度地表通量与气象要素观测数据集数据正式发布</a><span>2018-02-03</span></li>
<li><a href="#">海河流域多尺度地表通量与气象要素观测数据集数据正式发布</a><span>2018-02-03</span></li>
</ul>
</div>
<div class="page">
<span>共125条记录</span>
<span>共6页</span>
<span><a href="javascript:" class="prev">上一页</a></span>
<span class="pageSize"><a href="javascript:" class="pageClass">[1]</a></span>
<span class="pageSize"><a href="javascript:">2</a></span>
<span class="pageSize"><a href="javascript:">3</a></span>
<span class="pageSize"><a href="javascript:">4</a></span>
<span><a href="javascript:" class="next">下一页</a></span>
<span><a href="#">返回顶部</a></span>
</div>
</div>
<div class="content content1">
<div class="container">
<div class="col-md-3" style="padding-left: 0;">
<div class="in_left float_l">
<h2 class="font24 t_big"><b>新闻动态</b></h2>
<p class="font24 t_big1">NEWS</p>
<img src="/static-sanjy-np/img/tie_suo.jpg" width="179" height="14">
<ul class="in_list font14">
<li><a href="news.html" class="active">平台新闻</a></li>
<li><a href="news.html">今日三江源</a></li>
<li><a href="news.html">物种监测</a></li>
<li><a href="news.html">环境监测</a></li>
</ul>
<p><img src="/static-sanjy-np/img/map_img.jpg" width="183" height="174"></p>
<div class="in_phone"><p class="y_1 color_3">02164057520</p><span class="y_2">欢迎您来电咨询</span></div>
</div>
<div class="row">
<div class="span3">
<div class="sidebar-nav bs-review-nav">
<ul class="nav nav-list bs-review-sidenav">
<li class="active"><a href="/archives"><i class="icon-chevron-right"></i>新闻中心</a></li>
<?php
if(count($this->types))
{
foreach($this->types as $k=>$v)
{
$haed = "";
if(!empty($v[$this->deepField])) {$haed = str_repeat(' ',$v[$this->deepField]);}
echo '<li><a href="'.$v['url'].'"><i class="icon-chevron-right"></i>'.$haed.$v['title'].'</a></li>';
$haed = "";
}
}
?>
</ul>
</div>
<div class="main inner-left col-md-9" style="padding-right:0 ;">
<div class="blog-article hentry format-image">
<figure>
<img class="img-responsive" src="/static-sanjy-np/img/2.jpg">
</figure>
<div class="entry-summary post-summary">
<header class="entry-header">
<h2 class="entry-title post-title">昨天早晚高峰 10辆电动汽车公益接送市民</h2>
</header>
<div class="entry-meta post-meta">
<ul>
<li class="entry-date date">
<time class="entry-date"><i class="time"></i>2018-05-12</time>
</li>
<li class="tags">
<i class="icon1"></i>今日三江源
</li>
</ul>
</div>
<div class="entry-content">
<p>大众汽车营销和销售负责人尤尔根斯塔克曼Jrgen Stackmann日前向媒体表示汽车市场新进入者将看到当前条件下的机遇不过我们并不担忧面临他们的挑战。显而易见如今我们...</p>
</div>
<a href="newsDetail.html" class="read-more-link">查看详情</a>
</div>
</div>
<div class="blog-article hentry format-image">
<figure>
<img src="../img/1.jpg">
</figure>
<div class="entry-summary post-summary">
<header class="entry-header">
<h2 class="entry-title post-title">大众不惧苹果谷歌 全新电动车充电仅需15分钟</h2>
</header>
<div class="entry-meta post-meta">
<ul>
<li class="entry-date date">
<time class="entry-date"><i class="time"></i>2018-05-12</time>
</li>
<li class="tags">
<i class="icon1"></i>平台新闻
</li>
</ul>
</div>
<div class="entry-content">
<p>大众汽车营销和销售负责人尤尔根斯塔克曼Jrgen Stackmann日前向媒体表示汽车市场新进入者将看到当前条件下的机遇不过我们并不担忧面临他们的挑战。显而易见如今我们...</p>
</div>
<a href="newsDetail.html" class="read-more-link">查看详情</a>
</div>
</div>
<div class="blog-article hentry format-image">
<figure>
<img class="img-responsive" src="../img/3.jpg">
</figure>
<div class="entry-summary post-summary">
<header class="entry-header">
<h2 class="entry-title post-title">杨裕生院士:电动汽车这么补贴下去是大跃进</h2>
</header>
<div class="entry-meta post-meta">
<ul>
<li class="entry-date date">
<time class="entry-date"><i class="time"></i>2018-05-12</time>
</li>
<li class="tags">
<i class="icon1"></i>环境监测
</li>
</ul>
</div>
<div class="entry-content">
<p>大众汽车营销和销售负责人尤尔根斯塔克曼Jrgen Stackmann日前向媒体表示汽车市场新进入者将看到当前条件下的机遇不过我们并不担忧面临他们的挑战。显而易见如今我们...</p>
</div>
<a href="newsDetail.html" class="read-more-link">查看详情</a>
</div>
</div>
<div class="blog-article hentry format-image">
<figure>
<img class="img-responsive" src="../img/2.jpg">
</figure>
<div class="entry-summary post-summary">
<header class="entry-header">
<h2 class="entry-title post-title">昨天早晚高峰 10辆电动汽车公益接送市民</h2>
</header>
<div class="entry-meta post-meta">
<ul>
<li class="entry-date date">
<time class="entry-date"><i class="time"></i>2018-05-12</time>
</li>
<li class="tags">
<i class="icon1"></i>今日三江源
</li>
</ul>
</div>
<div class="entry-content">
<p>大众汽车营销和销售负责人尤尔根斯塔克曼Jrgen Stackmann日前向媒体表示汽车市场新进入者将看到当前条件下的机遇不过我们并不担忧面临他们的挑战。显而易见如今我们...</p>
</div>
<a href="newsDetail.html" class="read-more-link">查看详情</a>
</div>
</div>
<div class="blog-article hentry format-image">
<figure>
<img class="img-responsive" src="../img/banner02.jpg">
</figure>
<div class="entry-summary post-summary">
<header class="entry-header">
<h2 class="entry-title post-title">昨天早晚高峰 10辆电动汽车公益接送市民</h2>
</header>
<div class="entry-meta post-meta">
<ul>
<li class="entry-date date">
<time class="entry-date"><i class="time"></i>2018-05-12</time>
</li>
<li class="tags">
<i class="icon1"></i>物种监测
</li>
</ul>
</div>
<div class="entry-content">
<p>大众汽车营销和销售负责人尤尔根斯塔克曼Jrgen Stackmann日前向媒体表示汽车市场新进入者将看到当前条件下的机遇不过我们并不担忧面临他们的挑战。显而易见如今我们...</p>
</div>
<a href="newsDetail.html" class="read-more-link">查看详情</a>
</div>
</div>
<div class="blog-article hentry format-image">
<figure>
<img class="img-responsive" src="../img/2.jpg">
</figure>
<div class="entry-summary post-summary">
<header class="entry-header">
<h2 class="entry-title post-title">昨天早晚高峰 10辆电动汽车公益接送市民</h2>
</header>
<div class="entry-meta post-meta">
<ul>
<li class="entry-date date">
<time class="entry-date"><i class="time"></i>2018-05-12</time>
</li>
<li class="tags">
<i class="icon1"></i>今日三江源
</li>
</ul>
</div>
<div class="entry-content">
<p>大众汽车营销和销售负责人尤尔根斯塔克曼Jrgen Stackmann日前向媒体表示汽车市场新进入者将看到当前条件下的机遇不过我们并不担忧面临他们的挑战。显而易见如今我们...</p>
</div>
<a href="newsDetail.html" class="read-more-link">查看详情</a>
</div>
</div>
<div class="pagination-wrap">
<div class="page">
<div class="pagenavi">
<ul class="pagination">
<li class="disabled"><a href="javascript:;">«</a></li>
<li class="active"><a href="javascript:void(0);">1</a></li>
<li><a href="javascript:void(0);">2</a></li>
<li class="disabled"><a href="javascript:;">»</a></li>
</div>
<div class="span9">
<div class="row" id="container">
<?php
foreach($this->lists as $v)
{?>
<?php if(count($v['list'])>0) {?>
<div class="span4 items">
<h3><a href="<?= $v['url'] ?>"><?= $v['title'] ?></a></h3>
<div class="list-content">
<ul class="unstyled">
<?php foreach($v['list'] as $arc){?>
<li><small>[<?php echo date("Y-m-d",strtotime( $arc['ts_published'] )); ?>]</small>
<a href="<?= $arc['url']?>"><?= $arc['title'] ?></a></li>
<?php }?>
</ul>
</div>
</div>
</div>
<?php } }
?>
</div>
</div>
</div>

View File

@ -0,0 +1,70 @@
<?php
$this->headTitle($this->config->title->site);
$this->headTitle('新闻中心');
$this->headTitle()->setSeparator(' - ');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/archives/">新闻中心</a>');
$this->breadcrumb($this->title);
$this->breadcrumb()->setSeparator(' > ');
$this->headLink()->appendStylesheet('/static-sanji-v2/css/archive.css');
?>
<div class="content-warp">
<div class="list-warp container" >
<div class="row">
<div class="col-md-3">
<div class="list-group">
<a href="#" class="list-group-item active">
新闻动态
</a>
<?php
if(count($this->types))
{
foreach($this->types as $k=>$v)
{
$haed = "";
if(!empty($v[$this->deepField])) {$haed = str_repeat(' ',$v[$this->deepField]);}
echo '<a href="'.$v['url'].'" class="list-group-item">'.$haed.$v['title'].'</a>';
$haed = "";
}
}
?>
</div>
<a href="#" class="thumbnail">
<img src="/images/sea-ice.jpg" alt="sea ice">
</a>
</div>
<div class="col-md-8">
<ol class="breadcrumb">
<li><a href="/">首页</a></li>
<li><a href="/archives/news/localnews" class="active">新闻动态</a></li>
</ol>
<ul class="news-list">
<?php
if(count($this->paginator))
{
foreach ($this->paginator as $v)
{
?>
<li><a href="<?php echo $v['url']; ?>"><?php echo $v['title']; ?></a><span class="pull-right"><?php echo date("Y-m-d",strtotime( $v['ts_published'] )); ?></span></li>
<?php
}
} else {
echo '暂无数据';
}
?>
</ul>
<div class="page">
<div class="pagenavi"><?= $this->paginator; ?></div>
</div>
</div>
</div>
</div>
</div>

View File

@ -1,70 +1,87 @@
<?php
$this->headTitle($this->config->title->site);
$this->headTitle('新闻中心');
$this->headTitle('新闻动态');
$this->headTitle()->setSeparator(' - ');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/archives/">新闻中心</a>');
$this->breadcrumb($this->title);
$this->breadcrumb()->setSeparator(' > ');
$this->headLink()->appendStylesheet('/static-sanji-v2/css/archive.css');
$this->headLink()->appendStylesheet('/static-sanjy-np/css/index.css');
$this->headLink()->appendStylesheet('/static-sanjy-np/css/about.css')
?>
<div class="content-warp">
<div class="list-warp container" >
<!--当前位置-->
<div class="breadcrumb-wrapper">
<div class="container">
<div class="row">
<div class="col-md-3">
<div class="list-group">
<a href="#" class="list-group-item active">
新闻动态
</a>
<?php
if(count($this->types))
{
foreach($this->types as $k=>$v)
{
$haed = "";
if(!empty($v[$this->deepField])) {$haed = str_repeat(' ',$v[$this->deepField]);}
echo '<a href="'.$v['url'].'" class="list-group-item">'.$haed.$v['title'].'</a>';
$haed = "";
}
}
?>
</div>
<a href="#" class="thumbnail">
<img src="/images/sea-ice.jpg" alt="sea ice">
</a>
<div class="col-md-3 col-sm-4 bcid-cat">新闻动态</div>
<div class="col-md-9 col-sm-8 location">
<img src="/static-sanjy-np/img/address.png" alt=""/>
<span>当前位置:
<a href="/">主页</a> &gt;
<a href="/archives">新闻动态</a>
</span>
</div>
<div class="col-md-8">
<ol class="breadcrumb">
<li><a href="/">首页</a></li>
<li><a href="/archives/news/localnews" class="active">新闻动态</a></li>
</ol>
<ul class="news-list">
<?php
if(count($this->paginator))
{
foreach ($this->paginator as $v)
{
?>
<li><a href="<?php echo $v['url']; ?>"><?php echo $v['title']; ?></a><span class="pull-right"><?php echo date("Y-m-d",strtotime( $v['ts_published'] )); ?></span></li>
<?php
}
} else {
echo '暂无数据';
}
?>
</ul>
<div class="page">
<div class="pagenavi"><?= $this->paginator; ?></div>
</div>
</div>
</div>
</div>
</div>
<div class="content content1">
<div class="container">
<div class="col-md-3" style="padding-left: 0;">
<div class="in_left float_l">
<h2 class="font24 t_big"><b>新闻动态</b></h2>
<p class="font24 t_big1">NEWS</p>
<img src="/static-sanjy-np/img/tie_suo.jpg" width="179" height="14">
<ul class="in_list font14">
<li><a href="news.html" class="active">平台新闻</a></li>
<li><a href="news.html">今日三江源</a></li>
<li><a href="news.html">物种监测</a></li>
<li><a href="news.html">环境监测</a></li>
</ul>
<p><img src="/static-sanjy-np/img/map_img.jpg" width="183" height="174"></p>
<div class="in_phone"><p class="y_1 color_3">02164057520</p><span class="y_2">欢迎您来电咨询</span></div>
</div>
</div>
<div class="main inner-left col-md-9" style="padding-right:0 ;">
<?php
if (count($this->paginator)) {
foreach ($this->paginator as $v) {
?>
<div class="blog-article hentry format-image">
<figure>
<img class="img-responsive" src="/static-sanjy-np/img/2.jpg">
</figure>
<div class="entry-summary post-summary">
<header class="entry-header">
<h2 class="entry-title post-title"><?php echo $v['title']; ?></h2>
</header>
<div class="entry-meta post-meta">
<ul>
<li class="entry-date date">
<time class="entry-date"><i
class="time"></i><?php echo date("Y-m-d",strtotime( $v['ts_published'] )); ?>
</time>
</li>
<li class="tags">
<i class="icon1"></i>今日三江源
</li>
</ul>
</div>
<div class="entry-content">
<p><?php echo $v['description']?></p>
</div>
<a href="<?php echo $v['url']; ?>" class="read-more-link">查看详情</a>
</div>
</div>
<?php
}
} else {
echo '暂无数据';
}
?>
<div class="pagination-wrap">
<div class="page">
<div class="page">
<div class="pagenavi"><?= $this->paginator; ?></div>
</div>
</div>
</div>
</div>
</div>
</div>