This commit is contained in:
parent
0896795582
commit
64527745df
|
@ -1,54 +1,79 @@
|
||||||
<?php
|
<?php
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$this->headTitle($this->config->title->data);
|
$this->headTitle($this->config->title->data);
|
||||||
$this->headTitle('在线数据浏览');
|
$this->headTitle('在线数据清单');
|
||||||
$this->headTitle($this->codename);
|
$this->headTitle($this->codename);
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->nav[] = array('link'=>"/data/offline",'title'=>'在线数据浏览');
|
$this->headLink()->appendStylesheet('/static-sanji-v2/css/dataProduct.css');
|
||||||
$this->headLink()->appendStylesheet('/static-sanji/css/data-list.css');
|
$this->headLink()->appendStylesheet('/static-sanji-v2/css/header-position.css');
|
||||||
?>
|
?>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="col-sm-12">
|
||||||
<div class="col-lg-12">
|
<div class="fixTab">
|
||||||
<?= $this->render('breadcrumbs.phtml') ?>
|
<a href="/">首页</a>
|
||||||
|
<span>/</span>
|
||||||
|
<a href="/data">数据产品</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
</div>
|
||||||
|
<!--搜索框-->
|
||||||
|
<div class="searchBox searchBox2">
|
||||||
|
<div class="container">
|
||||||
|
<div class="col-sm-12">
|
||||||
|
<div class="form-group">
|
||||||
|
<input type="text" class="form-control" placeholder="搜素关键词">
|
||||||
|
</div>
|
||||||
|
<i></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--固定搜索框-->
|
||||||
|
<div class="searchBox searchBox1">
|
||||||
|
<div class="container">
|
||||||
|
<div class="col-sm-12">
|
||||||
|
<div class="form-group">
|
||||||
|
<input type="text" class="form-control" placeholder="搜素关键词">
|
||||||
|
</div>
|
||||||
|
<i></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="searchOne">
|
||||||
|
<div class="container">
|
||||||
<div class="col-lg-12">
|
<div class="col-lg-12">
|
||||||
<?= $this->partial('data/tools.phtml'); ?>
|
<?= $this->partial('data/tools.phtml'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="intro1">
|
||||||
|
<div class="container">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="col-lg-12">
|
<div class="col-lg-12">
|
||||||
<hr />
|
<ul class="newUlList">
|
||||||
<?php foreach($this->paginator as $md) : ?>
|
<?php foreach ($this->paginator as $md) : ?>
|
||||||
<div class="row c-list">
|
<li>
|
||||||
<div class="col-md-3 c-img-box">
|
<div class="newsImgBox">
|
||||||
<div class="c-cover"></div>
|
<a href="/data/<?php echo $md['uuid']; ?>">
|
||||||
<a class="c-cover" href="/data/<?php echo $md['uuid'];?>"></a>
|
<img src="/service/thumb/id/<?php echo $md['id']; ?>">
|
||||||
<div class="c-img" style="background:url('/service/thumb/id/<?php echo $md['id'];?>') no-repeat center; background-size:cover"></div>
|
</a>
|
||||||
<!-- <a href="/service/bigthumb/uuid/--><?//= $md['uuid'] ?><!--" class="pull-left colorbox">-->
|
|
||||||
<!-- <img class="media-object" src="/service/thumb/id/--><?php //echo $md['id'];?><!--">-->
|
|
||||||
<!-- </a>-->
|
|
||||||
</div>
|
|
||||||
<div class="col-md-9 c-list-box">
|
|
||||||
<h4><a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']);?></a></h4>
|
|
||||||
<p class="c-info"><span class="c-click"></span><i><?php echo $md['viewed']?></i> | <span class="c-time"></span><i><?php echo date("d,M,Y",strtotime( $md['ts_published'] )); ?></i></p>
|
|
||||||
<p class="c-con">
|
|
||||||
<?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>
|
|
||||||
<div class="dam clear">
|
|
||||||
<div class="c-left">
|
|
||||||
<i>文件大小</i>
|
|
||||||
<em><?php echo round($md['filesize'] / 2014, 2) > 0.99 ? round($md['filesize'] / 2014, 2) : '小于1'?>MB</em>
|
|
||||||
</div>
|
|
||||||
<a class="c-right" href="/data/<?php echo $md['uuid'];?>">更多</a>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="newRight">
|
||||||
</div>
|
<div class="newTopTitle">
|
||||||
<?php endforeach; ?>
|
<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>
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<a href="">高级搜索</a>
|
<a href="">高级搜索</a>
|
||||||
<a href="/data/browse">数据列表浏览</a>
|
<a href="/data/browse">数据列表浏览</a>
|
||||||
<a href="">在线数据清单</a>
|
<a href="/data/onlinelist">在线数据清单</a>
|
||||||
<a href="">离线数据清单</a>
|
<a href="/data/offlinelist">离线数据清单</a>
|
||||||
<a href="">缩略图浏览</a>
|
<a href="">缩略图浏览</a>
|
||||||
<a href="">时间轴浏览</a>
|
<a href="">时间轴浏览</a>
|
||||||
<a href="">空间浏览</a>
|
<a href="">空间浏览</a>
|
||||||
|
|
Loading…
Reference in New Issue