This commit is contained in:
parent
7922029c75
commit
c9afbfaf30
|
@ -0,0 +1,66 @@
|
|||
<?php
|
||||
$this->headTitle($this->config->title->site);
|
||||
$this->headTitle($this->config->title->data);
|
||||
$this->headTitle('缩略图浏览');
|
||||
$this->headTitle()->setSeparator(' - ');
|
||||
$this->headLink()->appendStylesheet('/static-sanji/css/data-list.css');
|
||||
$this->nav[] = array('link'=>"/data/thumb",'title'=>'缩略图浏览');
|
||||
$this->theme->AppendPlus($this,'masonry');
|
||||
$this->theme->AppendPlus($this,'colorbox');
|
||||
?>
|
||||
<hr class="c-f">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<?= $this->render('breadcrumbs.phtml'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<?= $this->partial('data/tools.phtml'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="c-f">
|
||||
|
||||
<div class="container">
|
||||
<?php if($this->paginator) { ?>
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<ul class="thumb unstyled" id="container">
|
||||
<?php foreach($this->paginator as $md) : ?>
|
||||
<li class="col-lg-3 items">
|
||||
<h4><a href="/data/<?php echo $md['uuid'];?>"><?= $this->escape($md['title']);?></a></h4>
|
||||
<a href="/service/bigthumb/uuid/<?= $md['uuid'] ?>" class="thumbnail colorbox">
|
||||
<img src="/service/thumb/id/<?php echo $md['id'];?>" alt="">
|
||||
</a>
|
||||
<div class="caption">
|
||||
<p>
|
||||
<?php echo mb_strlen($md['description'])>120?$this->escape(mb_substr($md['description'],0,120,'UTF-8').'...'):$this->escape($md['description']);?>
|
||||
</p>
|
||||
</div>
|
||||
<span class="pull-right"><a href="/data/<?php echo $md['uuid'];?>" class="btn"><i class="icon-zoom-in"></i>查看</a></span>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="page">
|
||||
<div class="pagenavi"><?= $this->paginator; ?></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
$(document).ready(function(){
|
||||
$(".colorbox").colorbox({rel:"colorbox",photo:"true",transition:"fade"});
|
||||
$(".colorbox").colorbox({photo:"true"});
|
||||
$('#container').masonry({
|
||||
itemSelector : '.items'
|
||||
});
|
||||
});
|
||||
</script>
|
|
@ -3,46 +3,75 @@ $this->headTitle($this->config->title->site);
|
|||
$this->headTitle($this->config->title->data);
|
||||
$this->headTitle('缩略图浏览');
|
||||
$this->headTitle()->setSeparator(' - ');
|
||||
$this->headLink()->appendStylesheet('/static-sanji/css/data-list.css');
|
||||
$this->nav[] = array('link'=>"/data/thumb",'title'=>'缩略图浏览');
|
||||
$this->theme->AppendPlus($this,'masonry');
|
||||
$this->theme->AppendPlus($this,'colorbox');
|
||||
$this->headLink()->appendStylesheet('/static-sanji-v2/css/dataProduct.css');
|
||||
$this->headLink()->appendStylesheet('/static-sanji-v2/css/header-position.css');
|
||||
?>
|
||||
<hr class="c-f">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<?= $this->render('breadcrumbs.phtml'); ?>
|
||||
<div class="col-sm-12">
|
||||
<div class="fixTab">
|
||||
<a href="/">首页</a>
|
||||
<span>/</span>
|
||||
<a href="/data">数据产品</a>
|
||||
</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">
|
||||
<?= $this->partial('data/tools.phtml'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="c-f">
|
||||
<div class="intro1">
|
||||
<div class="container">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<?php if ($this->paginator) { ?>
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<ul class="thumb unstyled" id="container">
|
||||
<div class="row">
|
||||
<?php foreach ($this->paginator as $md) : ?>
|
||||
<li class="col-lg-3 items">
|
||||
<h4><a href="/data/<?php echo $md['uuid'];?>"><?= $this->escape($md['title']);?></a></h4>
|
||||
<a href="/service/bigthumb/uuid/<?= $md['uuid'] ?>" class="thumbnail colorbox">
|
||||
<img src="/service/thumb/id/<?php echo $md['id'];?>" alt="">
|
||||
</a>
|
||||
<div class="caption">
|
||||
<div class="col-sm-6 col-md-6">
|
||||
<a href="/data/<?php echo $md['uuid'];?>">
|
||||
<div class="dataBox">
|
||||
<img src="/service/thumb/id/<?php echo $md['id'];?>" alt=""/>
|
||||
<div class="rightBox">
|
||||
<h6><?= $this->escape($md['title']);?></h6>
|
||||
<p>
|
||||
<?php echo mb_strlen($md['description'])>120?$this->escape(mb_substr($md['description'],0,120,'UTF-8').'...'):$this->escape($md['description']);?>
|
||||
</p>
|
||||
<span class="pull-right">查看</span>
|
||||
</div>
|
||||
<span class="pull-right"><a href="/data/<?php echo $md['uuid'];?>" class="btn"><i class="icon-zoom-in"></i>查看</a></span>
|
||||
</li>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<a href="/data/browse">数据列表浏览</a>
|
||||
<a href="/data/onlinelist">在线数据清单</a>
|
||||
<a href="/data/offlinelist">离线数据清单</a>
|
||||
<a href="">缩略图浏览</a>
|
||||
<a href="/data/thumb">缩略图浏览</a>
|
||||
<!--<a href="">时间轴浏览</a>-->
|
||||
<!--<a href="">空间浏览</a>-->
|
||||
<a href="">单位浏览</a>
|
||||
|
|
Loading…
Reference in New Issue