update data page
This commit is contained in:
parent
728d5f68a5
commit
00412fdb62
|
@ -31,34 +31,51 @@ $this->nav[] = array('link'=>"/data/onlinelist",'title'=>'在线数据浏览');
|
||||||
<a href="/data/onlinelist">在线数浏览</a>
|
<a href="/data/onlinelist">在线数浏览</a>
|
||||||
<a href="/data/offlinelist">离线浏览</a>
|
<a href="/data/offlinelist">离线浏览</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-3" style="padding-left: 0;">
|
||||||
|
<ul class="newUlList">
|
||||||
|
<?php foreach ($this->paginator as $md) : ?>
|
||||||
|
<li>
|
||||||
|
<div class="newsImgBox">
|
||||||
|
<a href="/data/<?php echo $md['uuid']; ?>">
|
||||||
|
<img src="/service/thumb/id/<?php echo $md['id']; ?>">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="main inner-left col-md-9" style="padding-right:0 ;">
|
||||||
|
<ul class="newUlList">
|
||||||
|
<?php foreach ($this->paginator as $md) : ?>
|
||||||
|
<li>
|
||||||
|
<div class="">
|
||||||
|
<div class="newTopTitle">
|
||||||
|
<span><a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']);?></a></span>
|
||||||
|
<i><?php echo date("Y-m-d", strtotime($md['ts_published'])); ?></i>
|
||||||
|
</div>
|
||||||
|
<p>
|
||||||
|
<?php echo str_replace(array("\r\n", "\n", "\r"), '<br />', mb_strlen($md['description']) > 120 ? $this->escape(mb_substr($md['description'], 0, 120, 'UTF-8') . '...') : $this->escape($md['description'])); ?>
|
||||||
|
</p>
|
||||||
|
<a class="more" href="/data/<?php echo $md['uuid']; ?>">更多</a>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
<div class="col-lg-12">
|
|
||||||
<ul class="newUlList">
|
|
||||||
<?php foreach ($this->paginator as $md) : ?>
|
|
||||||
<li>
|
|
||||||
<div class="newsImgBox">
|
|
||||||
<a href="/data/<?php echo $md['uuid']; ?>">
|
|
||||||
<img src="/service/thumb/id/<?php echo $md['id']; ?>">
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
<div class="newRight">
|
|
||||||
<div class="newTopTitle">
|
|
||||||
<span><a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']);?></a></span>
|
|
||||||
<i><?php echo date("Y-m-d", strtotime($md['ts_published'])); ?></i>
|
|
||||||
</div>
|
|
||||||
<p>
|
|
||||||
<?php echo str_replace(array("\r\n", "\n", "\r"), '<br />', mb_strlen($md['description']) > 120 ? $this->escape(mb_substr($md['description'], 0, 120, 'UTF-8') . '...') : $this->escape($md['description'])); ?>
|
|
||||||
</p>
|
|
||||||
<a class="more" href="/data/<?php echo $md['uuid']; ?>">更多</a>
|
|
||||||
</div>
|
|
||||||
</li>
|
|
||||||
<?php endforeach; ?>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
|
@ -620,7 +620,7 @@ ul.in_list a:hover{
|
||||||
height: 56px;
|
height: 56px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
.newRight a.more {
|
a.more {
|
||||||
float: right;
|
float: right;
|
||||||
display: block;
|
display: block;
|
||||||
width: 90px;
|
width: 90px;
|
||||||
|
|
Loading…
Reference in New Issue