This commit is contained in:
avene 2018-05-12 00:13:48 +08:00
parent 06ea3d9821
commit 95c73c1901
2 changed files with 171 additions and 39 deletions

View File

@ -28,52 +28,65 @@ $this->theme->AppendPlus($this, 'colorbox');
</div>
<div class="container">
<div class="col-lg-12">
<?php foreach ($this->paginator as $md) : ?>
<div class="row c-list">
<div class="col-md-3 c-img-box">
<div class="c-cover"></div>
<a class="c-cover" href="/data/<?php echo $md['uuid']; ?>"></a>
<div class="c-img"
style="background:url('/service/thumb/id/<?php echo $md['id']; ?>') no-repeat center; background-size:cover"></div>
<!-- <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> | &nbsp;<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']) > 200 ? $this->escape(mb_substr($md['description'], 0, 200, '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 class="row">
<?php foreach ($this->paginator as $key => $md) : ?>
<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><?php echo $this->escape($md['title']); ?></h6>
<p><?php echo str_replace(array("\r\n", "\n", "\r"), '<br />', mb_strlen($md['description']) > 200 ? $this->escape(mb_substr($md['description'], 0, 200, 'UTF-8') . '...') : $this->escape($md['description'])); ?></p>
<span>创健时间:<?php echo date("Y-m-d", strtotime($md['ts_published'])); ?></span>
</div>
</div>
</a>
</div>
<?php endforeach; ?>
</div>
</div>
</div>
<div class="container">
<!--<div class="container">
<div class="row">
<div class="col-xs-12">
<div class="page">
<div class="pagenavi"><?= $this->paginator; ?></div>
<div class="pagenavi"><?/*= $this->paginator; */?></div>
</div>
</div>
</div>
</div>-->
<div class="intro1">
<div class="container">
<h2 class="title">数据资源查找</h2>
</div>
</div>
<div class="container">
<?= $this->partial('data/resource-find.phtml'); ?>
</div>
<!--数据服务-->
<div class="intro1">
<div class="container">
<h2 class="title">数据服务</h2>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-sm-12">
<div class="col-sm-6 col-md-4 addOne">
<a href="" class="a1">离线数据服务记录(最近20个)</a>
</div>
<div class="col-sm-6 col-md-4 addOne">
<a href="" class="a2">如何从西部数据中心申请数据</a>
</div>
<div class="col-sm-6 col-md-4 addOne">
<a href="" class="a3">如何在西部数据中心发布数据</a>
</div>
</div>
</div>
</div>
<script src="/static-sanji/js/data-list.js"></script>
<script type="text/javascript" charset="utf-8">
//$(document).ready(function(){

View File

@ -0,0 +1,119 @@
<ul id="myTab" class="nav nav-tabs">
<li class="active">
<a href="#tab1" data-toggle="tab">主题关键词</a>
</li>
<li>
<a href="#tab2" data-toggle="tab">学科关键词</a>
</li>
<li>
<a href="#tab3" data-toggle="tab">地点关键词</a>
</li>
<li>
<a href="#tab4" data-toggle="tab">时间关键词</a>
</li>
</ul>
<div id="myTabContent" class="tab-content">
<div class="tab-pane fade in active" id="tab1">
<a class="btn a-btn btn-default col-sm-2" href="">积雪</a>
<a class="btn a-btn btn-default col-sm-2" href="">冰盖</a>
<a class="btn a-btn btn-default col-sm-2" href="">细菌</a>
<a class="btn a-btn btn-default col-sm-2" href="">城市化</a>
<a class="btn a-btn btn-default col-sm-2" href="">生态系统</a>
<a class="btn a-btn btn-default col-sm-2" href="">气象</a>
<a class="btn a-btn btn-default col-sm-2" href="">农业</a>
<a class="btn a-btn btn-default col-sm-2" href="">水资源</a>
<a class="btn a-btn btn-default col-sm-2" href="">人口</a>
<a class="btn a-btn btn-default col-sm-2" href="">冰川</a>
<a class="btn a-btn btn-default col-sm-2" href="">脆弱性</a>
<a class="btn a-btn btn-default col-sm-2" href="">多样性</a>
<a class="btn a-btn btn-default col-sm-2" href="">产业结构</a>
<a class="btn a-btn btn-default col-sm-2" href="">GDP</a>
<a class="btn a-btn btn-default col-sm-2" href="">雪深</a>
<a class="btn a-btn btn-default col-sm-2" href="">地形</a>
<a class="btn a-btn btn-default col-sm-2" href="">坡向</a>
<a class="btn a-btn btn-default col-sm-2" href="">SAR</a>
<a class="btn a-btn btn-default col-sm-2" href="">MODIS</a>
<a class="btn a-btn btn-default col-sm-2" href="">气温</a>
<a class="btn a-btn btn-default col-sm-2" href="">气象观测</a>
<a class="btn a-btn btn-default col-sm-2" href="">再分析</a>
<a class="btn a-btn btn-default col-sm-2" href="">大气气溶胶</a>
<a class="btn a-btn btn-default col-sm-2" href="">光学特性</a>
</div>
<div class="tab-pane fade" id="tab2">
<a class="btn a-btn btn-default col-sm-2" href="">自然地理学</a>
<a class="btn a-btn btn-default col-sm-2" href="">冰冻圈科学</a>
<a class="btn a-btn btn-default col-sm-2" href="">经济地理学</a>
<a class="btn a-btn btn-default col-sm-2" href="">大气科学</a>
<a class="btn a-btn btn-default col-sm-2" href="">人文地理学</a>
<a class="btn a-btn btn-default col-sm-2" href="">大气物理学</a>
<a class="btn a-btn btn-default col-sm-2" href="">大气化学</a>
<a class="btn a-btn btn-default col-sm-2" href="">地形学</a>
<a class="btn a-btn btn-default col-sm-2" href="">空间大地测量学</a>
<a class="btn a-btn btn-default col-sm-2" href="">遥感</a>
<a class="btn a-btn btn-default col-sm-2" href="">植被指数</a>
<a class="btn a-btn btn-default col-sm-2" href="">气象学</a>
<a class="btn a-btn btn-default col-sm-2" href="">生物学</a>
<a class="btn a-btn btn-default col-sm-2" href="">空间大地测量学InSAR</a>
<a class="btn a-btn btn-default col-sm-2" href="">气候学</a>
<a class="btn a-btn btn-default col-sm-2" href="">冻土学</a>
<a class="btn a-btn btn-default col-sm-2" href="">土地覆盖类型</a>
<a class="btn a-btn btn-default col-sm-2" href="">大气圈科学</a>
<a class="btn a-btn btn-default col-sm-2" href="">微波遥感</a>
<a class="btn a-btn btn-default col-sm-2" href="">植被</a>
<a class="btn a-btn btn-default col-sm-2" href="">InSAR</a>
<a class="btn a-btn btn-default col-sm-2" href="">水体</a>
<a class="btn a-btn btn-default col-sm-2" href="">水文与水资源</a>
<a class="btn a-btn btn-default col-sm-2" href="">水文学</a>
</div>
<div class="tab-pane fade" id="tab3">
<a class="btn a-btn btn-default col-sm-2" href="">青藏高原</a>
<a class="btn a-btn btn-default col-sm-2" href="">全球</a>
<a class="btn a-btn btn-default col-sm-2" href="">南极</a>
<a class="btn a-btn btn-default col-sm-2" href="">欧亚大陆</a>
<a class="btn a-btn btn-default col-sm-2" href="">黄土高原</a>
<a class="btn a-btn btn-default col-sm-2" href="">阿克苏河流域</a>
<a class="btn a-btn btn-default col-sm-2" href="">阿拉斯加</a>
<a class="btn a-btn btn-default col-sm-2" href="">纳木错</a>
<a class="btn a-btn btn-default col-sm-2" href="">黑河流域</a>
<a class="btn a-btn btn-default col-sm-2" href="">叶尔羌河流域</a>
<a class="btn a-btn btn-default col-sm-2" href="">乌鲁木齐河流域</a>
<a class="btn a-btn btn-default col-sm-2" href="">格陵兰岛</a>
<a class="btn a-btn btn-default col-sm-2" href="">玛纳斯河流域</a>
<a class="btn a-btn btn-default col-sm-2" href="">北极</a>
<a class="btn a-btn btn-default col-sm-2" href="">Amery冰架</a>
<a class="btn a-btn btn-default col-sm-2" href="">慕士塔格</a>
<a class="btn a-btn btn-default col-sm-2" href="">普若岗日</a>
<a class="btn a-btn btn-default col-sm-2" href="">格陵兰</a>
<a class="btn a-btn btn-default col-sm-2" href="">格陵兰冰盖</a>
<a class="btn a-btn btn-default col-sm-2" href="">珠峰</a>
<a class="btn a-btn btn-default col-sm-2" href="">珠穆朗玛</a>
<a class="btn a-btn btn-default col-sm-2" href="">祁连山西部地区</a>
<a class="btn a-btn btn-default col-sm-2" href="">藏东南</a>
<a class="btn a-btn btn-default col-sm-2" href="">阿里</a>
</div>
<div class="tab-pane fade" id="tab4">
<a class="btn a-btn btn-default col-sm-2" href="">2010</a>
<a class="btn a-btn btn-default col-sm-2" href="">2015</a>
<a class="btn a-btn btn-default col-sm-2" href="">2014</a>
<a class="btn a-btn btn-default col-sm-2" href="">2005-1-1至2050-12-31</a>
<a class="btn a-btn btn-default col-sm-2" href="">1980</a>
<a class="btn a-btn btn-default col-sm-2" href="">2017</a>
<a class="btn a-btn btn-default col-sm-2" href="">2016</a>
<a class="btn a-btn btn-default col-sm-2" href="">2010-1-1至2050-12-31</a>
<a class="btn a-btn btn-default col-sm-2" href="">2003</a>
<a class="btn a-btn btn-default col-sm-2" href="">2000</a>
<a class="btn a-btn btn-default col-sm-2" href="">2018</a>
<a class="btn a-btn btn-default col-sm-2" href="">2015-2018</a>
<a class="btn a-btn btn-default col-sm-2" href="">2016-12-31</a>
<a class="btn a-btn btn-default col-sm-2" href="">2050-12-31</a>
<a class="btn a-btn btn-default col-sm-2" href="">2013</a>
<a class="btn a-btn btn-default col-sm-2" href="">2005-2050</a>
<a class="btn a-btn btn-default col-sm-2" href="">1999</a>
<a class="btn a-btn btn-default col-sm-2" href="">2003-2015</a>
<a class="btn a-btn btn-default col-sm-2" href="">2005</a>
<a class="btn a-btn btn-default col-sm-2" href="">2002-2011</a>
<a class="btn a-btn btn-default col-sm-2" href="">2005-1-1</a>
<a class="btn a-btn btn-default col-sm-2" href="">1979-1-2至2014-12-31</a>
<a class="btn a-btn btn-default col-sm-2" href="">1970s</a>
</div>
</div>