update pages
This commit is contained in:
parent
89a78691bc
commit
f9ff4350e5
|
@ -89,6 +89,8 @@ class DataController extends Zend_Controller_Action
|
||||||
}
|
}
|
||||||
function onlinelistAction()
|
function onlinelistAction()
|
||||||
{
|
{
|
||||||
|
$this->_helper->layout->setLayout('layout-sanji');
|
||||||
|
|
||||||
$page=(int)$this->_request->getParam('page');
|
$page=(int)$this->_request->getParam('page');
|
||||||
if (empty($page)) $page=1;
|
if (empty($page)) $page=1;
|
||||||
$limit=30;
|
$limit=30;
|
||||||
|
@ -97,12 +99,15 @@ class DataController extends Zend_Controller_Action
|
||||||
$row=$state->fetchAll();
|
$row=$state->fetchAll();
|
||||||
$sum=$row[0]['count'];
|
$sum=$row[0]['count'];
|
||||||
$select=$this->db->select();
|
$select=$this->db->select();
|
||||||
$select->from('normalmetadata','*')->where('datatype=0')->order('title')->limitPage($page,$limit);
|
$select->from('normalmetadata','*')->joinLeft('mdstat','normalmetadata.uuid=mdstat.uuid', ['viewed','downloaded'])->where('datatype=0')->order('title')->limitPage($page,$limit);
|
||||||
$this->view->metadata = $this->db->fetchAll($select);
|
$this->view->metadata = $this->db->fetchAll($select);
|
||||||
$this->view->page=new Pagination($sum,$page,$limit);
|
|
||||||
|
view::addTextPaginator($select, $this);
|
||||||
}
|
}
|
||||||
function offlinelistAction()
|
function offlinelistAction()
|
||||||
{
|
{
|
||||||
|
$this->_helper->layout->setLayout('layout-sanji');
|
||||||
|
|
||||||
$page=(int)$this->_request->getParam('page');
|
$page=(int)$this->_request->getParam('page');
|
||||||
if (empty($page)) $page=1;
|
if (empty($page)) $page=1;
|
||||||
$limit=30;
|
$limit=30;
|
||||||
|
@ -111,9 +116,9 @@ class DataController extends Zend_Controller_Action
|
||||||
$row=$state->fetchAll();
|
$row=$state->fetchAll();
|
||||||
$sum=$row[0]['count'];
|
$sum=$row[0]['count'];
|
||||||
$select=$this->db->select();
|
$select=$this->db->select();
|
||||||
$select->from('normalmetadata','*')->where('datatype=1')->order('title')->limitPage($page,$limit);
|
$select->from('normalmetadata','*')->joinLeft('mdstat','normalmetadata.uuid=mdstat.uuid', ['viewed','downloaded'])->where('datatype=1')->order('title')->limitPage($page,$limit);
|
||||||
$this->view->metadata = $this->db->fetchAll($select);
|
|
||||||
$this->view->page=new Pagination($sum,$page,$limit);
|
view::addTextPaginator($select, $this);
|
||||||
}
|
}
|
||||||
//展示最近20条离线神情记录情况
|
//展示最近20条离线神情记录情况
|
||||||
function offlineappAction()
|
function offlineappAction()
|
||||||
|
@ -200,21 +205,15 @@ class DataController extends Zend_Controller_Action
|
||||||
$row=$state->fetchAll();
|
$row=$state->fetchAll();
|
||||||
$sum=$row[0]['count'];
|
$sum=$row[0]['count'];
|
||||||
$select=$this->db->select();
|
$select=$this->db->select();
|
||||||
$select->from('metadata','*')->order('id desc')->limitPage($page,$limit);
|
$select->from('metadata','*')->joinLeft('mdstat','metadata.uuid=mdstat.uuid', ['viewed','downloaded'])->order('id desc')->limitPage($page,$limit);
|
||||||
// $this->view->metadata = $this->db->fetchAll($select);
|
|
||||||
// Zend_View_Helper_PaginationControl::setDefaultViewPartial('pagination_text.phtml');
|
|
||||||
// $this->view->page=new Pagination($sum,$page,$limit);
|
|
||||||
|
|
||||||
$paginator = Zend_Paginator::factory($select);
|
view::addTextPaginator($select, $this);
|
||||||
$paginator->setCurrentPageNumber($page);
|
|
||||||
$paginator->setItemCountPerPage($this->view->config->page->max);
|
|
||||||
$paginator->setView($this->view);
|
|
||||||
Zend_View_Helper_PaginationControl::setDefaultViewPartial('pagination_text.phtml');
|
|
||||||
$this->view->paginator=$paginator;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
function tagAction()
|
function tagAction()
|
||||||
{
|
{
|
||||||
|
$this->_helper->layout->setLayout('layout-sanji');
|
||||||
|
|
||||||
$id = (int)$this->_request->getParam('id');
|
$id = (int)$this->_request->getParam('id');
|
||||||
$key = $this->_request->getParam('key');
|
$key = $this->_request->getParam('key');
|
||||||
$keytype = $this->_request->getParam('keytype');
|
$keytype = $this->_request->getParam('keytype');
|
||||||
|
@ -241,7 +240,10 @@ class DataController extends Zend_Controller_Action
|
||||||
$row=$state->fetchAll();
|
$row=$state->fetchAll();
|
||||||
$sum=$row[0]['count'];
|
$sum=$row[0]['count'];
|
||||||
$select=$this->db->select();
|
$select=$this->db->select();
|
||||||
$select->from('normalmetadata','*')->join('keyword','normalmetadata.id=keyword.id')->where('keyword.keyword=?',$key)->order('normalmetadata.title')->limitPage($page,$limit);
|
$select->from('normalmetadata','*')
|
||||||
|
->join('keyword','normalmetadata.id=keyword.id')
|
||||||
|
->where('keyword.keyword=?',$key)
|
||||||
|
->order('normalmetadata.title')->limitPage($page,$limit);
|
||||||
//$sql=$db->quoteInto('select m.* from metadata m,keyword k where m.id=k.id and k.keyword=?',$key);
|
//$sql=$db->quoteInto('select m.* from metadata m,keyword k where m.id=k.id and k.keyword=?',$key);
|
||||||
//$state=$db->query($sql);
|
//$state=$db->query($sql);
|
||||||
$this->view->metadata=$this->db->fetchAll($select);
|
$this->view->metadata=$this->db->fetchAll($select);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?php if(!empty($this->nav)){ ?>
|
<?php if(!empty($this->nav)){ ?>
|
||||||
<div class="container top-position">
|
<div class="top-position">
|
||||||
<?php foreach ($this->nav as $k=>$v){?>
|
<?php foreach ($this->nav as $k=>$v){?>
|
||||||
<a href="<?= $v['link'] ?>"><?= $v['title']?></a>
|
<a href="<?= $v['link'] ?>"><?= $v['title']?></a>
|
||||||
<?php if(isset($this->nav[$k+1])) {?> <span class="divider">/</span> <?php } ?>
|
<?php if(isset($this->nav[$k+1])) {?> <span class="divider">/</span> <?php } ?>
|
||||||
|
|
|
@ -8,35 +8,43 @@
|
||||||
$this->theme->AppendPlus($this,'colorbox');
|
$this->theme->AppendPlus($this,'colorbox');
|
||||||
?>
|
?>
|
||||||
<hr class="c-f">
|
<hr class="c-f">
|
||||||
<?= $this->partial('data/tools.phtml'); ?>
|
|
||||||
<hr class="c-f">
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<?php foreach($this->paginator as $md) : ?>
|
<div class="row">
|
||||||
<div class="row c-list">
|
<div class="col-lg-12">
|
||||||
<div class="col-md-3 c-img-box">
|
<?= $this->partial('data/tools.phtml'); ?>
|
||||||
<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-author"></span><i>Admin</i> | <span class="c-click"></span><i>100</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'])>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>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php endforeach; ?>
|
</div>
|
||||||
|
<hr class="c-f">
|
||||||
|
<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> | <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>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
|
@ -4,25 +4,61 @@ $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->headLink()->appendStylesheet('/css/metadata.css');
|
|
||||||
$this->nav[] = array('link'=>"/data/offline",'title'=>'离线数据浏览');
|
$this->nav[] = array('link'=>"/data/offline",'title'=>'离线数据浏览');
|
||||||
?>
|
$this->headLink()->appendStylesheet('/static-sanji/css/data-list.css');
|
||||||
<div class="row-fluid">
|
?>
|
||||||
<?= $this->render('breadcrumbs.phtml'); ?>
|
<div class="container">
|
||||||
<?= $this->partial('data/tools.phtml'); ?>
|
<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>
|
</div>
|
||||||
<?php echo $this->page->getNavigation(); ?>
|
|
||||||
<hr />
|
|
||||||
<?php foreach($this->metadata as $md) : ?>
|
<div class="container">
|
||||||
<div class="media well well-small">
|
<div class="col-lg-12">
|
||||||
<a href="/service/bigthumb/uuid/<?= $md['uuid'] ?>" class="pull-left colorbox">
|
<hr />
|
||||||
<img class="media-object" src="/service/thumb/id/<?php echo $md['id'];?>">
|
<?php foreach($this->paginator as $md) : ?>
|
||||||
</a>
|
<div class="row c-list">
|
||||||
<div class="media-body">
|
<div class="col-md-3 c-img-box">
|
||||||
<h4 class="media-heading"><a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']);?></a></h4>
|
<div class="c-cover"></div>
|
||||||
<div class="summary"><?php echo str_replace(array("\r\n", "\n", "\r"),'<br />',mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']));?></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> | <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>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<?php endforeach; ?>
|
<div class="container">
|
||||||
<hr />
|
<div class="row">
|
||||||
<?php echo $this->page->getNavigation(); ?>
|
<div class="col-xs-12">
|
||||||
|
<div class="page">
|
||||||
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -4,25 +4,60 @@ $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->headLink()->appendStylesheet('/css/metadata.css');
|
|
||||||
$this->nav[] = array('link'=>"/data/offline",'title'=>'在线数据浏览');
|
$this->nav[] = array('link'=>"/data/offline",'title'=>'在线数据浏览');
|
||||||
?>
|
$this->headLink()->appendStylesheet('/static-sanji/css/data-list.css');
|
||||||
<div>
|
?>
|
||||||
<?= $this->render('breadcrumbs.phtml'); ?>
|
<div class="container">
|
||||||
<?= $this->partial('data/tools.phtml'); ?>
|
<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>
|
</div>
|
||||||
<?php echo $this->page->getNavigation(); ?>
|
|
||||||
<hr />
|
<div class="container">
|
||||||
<?php foreach($this->metadata as $md) : ?>
|
<div class="col-lg-12">
|
||||||
<div class="media well well-small">
|
<hr />
|
||||||
<a href="/service/bigthumb/uuid/<?= $md['uuid'] ?>" class="pull-left colorbox">
|
<?php foreach($this->paginator as $md) : ?>
|
||||||
<img class="media-object" src="/service/thumb/id/<?php echo $md['id'];?>">
|
<div class="row c-list">
|
||||||
</a>
|
<div class="col-md-3 c-img-box">
|
||||||
<div class="media-body">
|
<div class="c-cover"></div>
|
||||||
<h4 class="media-heading"><a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']);?></a></h4>
|
<a class="c-cover" href="/data/<?php echo $md['uuid'];?>"></a>
|
||||||
<div class="summary"><?php echo str_replace(array("\r\n", "\n", "\r"),'<br />',mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']));?></div>
|
<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> | <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>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<?php endforeach; ?>
|
<div class="container">
|
||||||
<hr />
|
<div class="row">
|
||||||
<?php echo $this->page->getNavigation(); ?>
|
<div class="col-xs-12">
|
||||||
|
<div class="page">
|
||||||
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -7,53 +7,93 @@ $this->headLink()->appendStylesheet('/css/metadata.css');
|
||||||
$this->nav[] = array('link'=>"/data/tag",'title'=>'关键词浏览');
|
$this->nav[] = array('link'=>"/data/tag",'title'=>'关键词浏览');
|
||||||
$this->theme->AppendPlus($this,'colorbox');
|
$this->theme->AppendPlus($this,'colorbox');
|
||||||
?>
|
?>
|
||||||
<div id='row-fluid'>
|
<div class="container">
|
||||||
<?= $this->render('breadcrumbs.phtml') ?>
|
<div class="row">
|
||||||
<?= $this->partial('data/tools.phtml'); ?>
|
<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>
|
</div>
|
||||||
<?php if (!empty($this->metadata)) : ?>
|
|
||||||
<div id='metacontent'>
|
<div class="container">
|
||||||
<h1>当前浏览:<?php echo $this->codename; ?></h1>
|
<div class="row">
|
||||||
<?php echo $this->page->getNavigation(); ?>
|
<div class="col-lg-12">
|
||||||
<hr />
|
<?php if (!empty($this->metadata)) : ?>
|
||||||
<?php foreach($this->metadata as $md) : ?>
|
<div id='metacontent'>
|
||||||
<div class="mditem">
|
<h1>当前浏览:<?php echo $this->codename; ?></h1>
|
||||||
<div class="thumb">
|
<hr />
|
||||||
<a href="/service/bigthumb/uuid/<?= $md['uuid'] ?>" class="colorbox">
|
<?php var_dump($this->paginator) ?>
|
||||||
<img src="/service/thumb/id/<?php echo $md['id'];?>" />
|
<?php foreach($this->paginator as $md) : ?>
|
||||||
</a>
|
<div class="row c-list">
|
||||||
</div>
|
<div class="col-md-3 c-img-box">
|
||||||
<h2><a href="/data/<?php echo $md['uuid']; ?>"><?php echo $this->escape($md['title']);?></a></h2>
|
<div class="c-cover"></div>
|
||||||
<span><?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?></span>
|
<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> | <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>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-xs-12">
|
||||||
|
<div class="page">
|
||||||
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<script>
|
||||||
|
$(document).ready(function(){
|
||||||
|
$(".colorbox").colorbox({rel:"colorbox",photo:"true",transition:"fade"});
|
||||||
|
$(".colorbox").colorbox({photo:"true"});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
<?php else : ?>
|
||||||
|
<div id='leftnav'>
|
||||||
|
<?php
|
||||||
|
$keytypezh=array('place'=>'地点关键词','theme'=>'主题关键词','discipline'=>'学科关键词','stratum'=>'地层关键词','temporal'=>'时间关键词');
|
||||||
|
$type='';
|
||||||
|
foreach($this->keywords as $cg) :
|
||||||
|
if ($type!=$cg['keytype']) :
|
||||||
|
if ($type!='') : ?>
|
||||||
|
</ul></fieldset>
|
||||||
|
<?php endif;
|
||||||
|
$type=$cg['keytype'];
|
||||||
|
?>
|
||||||
|
<fieldset><legend><?php echo $keytypezh[$type]; ?></legend>
|
||||||
|
<ul>
|
||||||
|
<li><a href='/data/tag/<?php echo urlencode($cg['keyword']); ?>'><?php echo $cg['keyword']; ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
|
||||||
|
<?php else : ?>
|
||||||
|
<li><a href='/data/tag/<?php echo urlencode($cg['keyword']); ?>'><?php echo $cg['keyword']; ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ul>
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php endforeach; ?>
|
|
||||||
<?php echo $this->page->getNavigation(); ?>
|
|
||||||
</div>
|
|
||||||
<?php else : ?>
|
|
||||||
<div id='leftnav'>
|
|
||||||
<?php
|
|
||||||
$keytypezh=array('place'=>'地点关键词','theme'=>'主题关键词','discipline'=>'学科关键词','stratum'=>'地层关键词','temporal'=>'时间关键词');
|
|
||||||
$type='';
|
|
||||||
foreach($this->keywords as $cg) :
|
|
||||||
if ($type!=$cg['keytype']) :
|
|
||||||
if ($type!='') : ?>
|
|
||||||
</ul></fieldset>
|
|
||||||
<?php endif;
|
|
||||||
$type=$cg['keytype'];
|
|
||||||
?>
|
|
||||||
<fieldset><legend><?php echo $keytypezh[$type]; ?></legend>
|
|
||||||
<ul>
|
|
||||||
<li><a href='/data/tag/<?php echo urlencode($cg['keyword']); ?>'><?php echo $cg['keyword']; ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
|
|
||||||
<?php else : ?>
|
|
||||||
<li><a href='/data/tag/<?php echo urlencode($cg['keyword']); ?>'><?php echo $cg['keyword']; ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
|
|
||||||
<?php endif; ?>
|
|
||||||
<?php endforeach; ?>
|
|
||||||
</ul>
|
|
||||||
</fieldset></div>
|
|
||||||
<?php endif; ?>
|
|
||||||
<script>
|
|
||||||
$(document).ready(function(){
|
|
||||||
$(".colorbox").colorbox({rel:"colorbox",photo:"true",transition:"fade"});
|
|
||||||
$(".colorbox").colorbox({photo:"true"});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
|
@ -1,15 +1,11 @@
|
||||||
<div class="container product-nav">
|
<div class="product-nav">
|
||||||
<div class="row">
|
<ul class="clear fication">
|
||||||
<div class="col-xs-12">
|
<li>浏览方式:</li>
|
||||||
<ul class="clear fication">
|
<li><a href="/data/tag"><i class="icon-tags"></i>关键词浏览</a></li>
|
||||||
<li>分类:</li>
|
<li><a href="/data/series"><i class="icon-th-list"></i>序列浏览</a></li>
|
||||||
<li><a href="/data/tag"><i class="icon-tags"></i>关键词浏览</a></li>
|
<li><a href="/data/category"><i class="icon-th"></i>分类浏览</a></li>
|
||||||
<li><a href="/data/series"><i class="icon-th-list"></i>序列浏览</a></li>
|
<li><a href="/data/timeline"><i class="icon-tasks"></i>时间轴浏览</a></li>
|
||||||
<li><a href="/data/category"><i class="icon-th"></i>分类浏览</a></li>
|
<li><a href="/data/timemap"><i class="icon-film"></i>时空浏览</a></li>
|
||||||
<li><a href="/data/timeline"><i class="icon-tasks"></i>时间轴浏览</a></li>
|
<li><a href="/data/browse"><i class="icon-align-justify"></i>全部浏览</a></li>
|
||||||
<li><a href="/data/timemap"><i class="icon-film"></i>时空浏览</a></li>
|
</ul>
|
||||||
<li><a href="/data/browse"><i class="icon-align-justify"></i>全部浏览</a></li>
|
</div>
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -233,94 +233,94 @@
|
||||||
<div class="swiper-wrapper">
|
<div class="swiper-wrapper">
|
||||||
<div class="swiper-slide">
|
<div class="swiper-slide">
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<img src="/static-sanji/images/cooperator/cooperator1.jpg"><p>北京林业大学</p>
|
<img src="/static-sanji/images/cooperator/cooperator34.png"><p>中国科学院西北生态环境资源研究院</p>
|
||||||
<img src="/static-sanji/images/cooperator/cooperator2.jpg"><p>北京师范大学</p>
|
<img src="/static-sanji/images/cooperator/cooperator35.jpg"><p>中国科学院遥感与数字地球研究所</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<img src="/static-sanji/images/cooperator/cooperator3.jpg"><p>成都高原气象研究所</p>
|
<img src="/static-sanji/images/cooperator/cooperator32.jpg"><p>中国科学院青藏高原研究所</p>
|
||||||
<img src="/static-sanji/images/cooperator/cooperator4.jpg"><p>成都信息工程大学</p>
|
|
||||||
</div>
|
|
||||||
<div class="col-md-3">
|
|
||||||
<img src="/static-sanji/images/cooperator/cooperator5.jpg"><p>俄罗斯莫斯科州立大学</p>
|
|
||||||
<img src="/static-sanji/images/cooperator/cooperator6.png"><p>芬兰气象研究所</p>
|
|
||||||
</div>
|
|
||||||
<div class="col-md-3">
|
|
||||||
<img src="/static-sanji/images/cooperator/cooperator7.jpg"><p>西南科技大学</p>
|
|
||||||
<img src="/static-sanji/images/cooperator/cooperator8.png"><p>华东师范大学</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="swiper-slide">
|
|
||||||
<div class="col-md-3">
|
|
||||||
<img src="/static-sanji/images/cooperator/cooperator9.jpg"><p>兰州大学</p>
|
|
||||||
<img src="/static-sanji/images/cooperator/cooperator10.jpg"><p>美国德克萨斯大学</p>
|
|
||||||
</div>
|
|
||||||
<div class="col-md-3">
|
|
||||||
<img src="/static-sanji/images/cooperator/cooperator11.jpg"><p>美国华盛顿大学</p>
|
|
||||||
<img src="/static-sanji/images/cooperator/cooperator12.jpg"><p>美国加州大学洛杉矶分校</p>
|
|
||||||
</div>
|
|
||||||
<div class="col-md-3">
|
|
||||||
<img src="/static-sanji/images/cooperator/cooperator13.png"><p>美国犹他大学</p>
|
|
||||||
<img src="/static-sanji/images/cooperator/cooperator14.jpg"><p>南方科技大学</p>
|
|
||||||
</div>
|
|
||||||
<div class="col-md-3">
|
|
||||||
<img src="/static-sanji/images/cooperator/cooperator15.png"><p>挪威南森环境遥感中心</p>
|
|
||||||
<img src="/static-sanji/images/cooperator/cooperator16.png"><p>清华大学</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="swiper-slide">
|
|
||||||
<div class="col-md-3">
|
|
||||||
<img src="/static-sanji/images/cooperator/cooperator17.png"><p>瑞士苏黎世大学</p>
|
|
||||||
<img src="/static-sanji/images/cooperator/cooperator18.png"><p>上海师范大学</p>
|
|
||||||
</div>
|
|
||||||
<div class="col-md-3">
|
|
||||||
<img src="/static-sanji/images/cooperator/cooperator19.jpg"><p>西北大学</p>
|
|
||||||
<img src="/static-sanji/images/cooperator/cooperator20.png"><p>西南大学</p>
|
|
||||||
</div>
|
|
||||||
<div class="col-md-3">
|
|
||||||
<img src="/static-sanji/images/cooperator/cooperator21.jpg"><p>香港大学</p>
|
|
||||||
<img src="/static-sanji/images/cooperator/cooperator22.jpg"><p>香港中文大学</p>
|
|
||||||
</div>
|
|
||||||
<div class="col-md-3">
|
|
||||||
<img src="/static-sanji/images/cooperator/cooperator23.jpg"><p>中国地质大学(武汉)</p>
|
|
||||||
<img src="/static-sanji/images/cooperator/cooperator24.jpg"><p>中国极地研究中心</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="swiper-slide">
|
|
||||||
<div class="col-md-3">
|
|
||||||
<img src="/static-sanji/images/cooperator/cooperator25.png"><p>中国科学院测量与地球物理研究所</p>
|
|
||||||
<img src="/static-sanji/images/cooperator/cooperator26.jpg"><p>中国科学院大气物理研究所</p>
|
<img src="/static-sanji/images/cooperator/cooperator26.jpg"><p>中国科学院大气物理研究所</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<img src="/static-sanji/images/cooperator/cooperator27.jpg"><p>中国科学院大学</p>
|
|
||||||
<img src="/static-sanji/images/cooperator/cooperator28.jpg"><p>中国科学院地理科学与资源研究所</p>
|
<img src="/static-sanji/images/cooperator/cooperator28.jpg"><p>中国科学院地理科学与资源研究所</p>
|
||||||
|
<img src="/static-sanji/images/cooperator/cooperator25.png"><p>中国科学院测量与地球物理研究所</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<img src="/static-sanji/images/cooperator/cooperator29.jpg"><p>中国科学院地质与地球物理研究所</p>
|
|
||||||
<img src="/static-sanji/images/cooperator/cooperator30.jpg"><p>中国科学院东北地理与农业生态研究所</p>
|
<img src="/static-sanji/images/cooperator/cooperator30.jpg"><p>中国科学院东北地理与农业生态研究所</p>
|
||||||
</div>
|
<img src="/static-sanji/images/cooperator/cooperator29.jpg"><p>中国科学院地质与地球物理研究所</p>
|
||||||
<div class="col-md-3">
|
|
||||||
<img src="/static-sanji/images/cooperator/cooperator31.jpg"><p>中国科学院南京地理与湖泊研究所</p>
|
|
||||||
<img src="/static-sanji/images/cooperator/cooperator32.jpg"><p>中国科学院青藏高原研究所</p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="swiper-slide">
|
<div class="swiper-slide">
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<img src="/static-sanji/images/cooperator/cooperator33.jpg"><p>中国科学院上海天文台</p>
|
<img src="/static-sanji/images/cooperator/cooperator27.jpg"><p>中国科学院大学</p>
|
||||||
<img src="/static-sanji/images/cooperator/cooperator34.png"><p>中国科学院西北生态环境资源研究院</p>
|
|
||||||
</div>
|
|
||||||
<div class="col-md-3">
|
|
||||||
<img src="/static-sanji/images/cooperator/cooperator35.jpg"><p>中国科学院遥感与数字地球研究所</p>
|
|
||||||
<img src="/static-sanji/images/cooperator/cooperator36.jpg"><p>中国科学院植物研究所</p>
|
<img src="/static-sanji/images/cooperator/cooperator36.jpg"><p>中国科学院植物研究所</p>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="col-md-3">
|
||||||
|
<img src="/static-sanji/images/cooperator/cooperator33.jpg"><p>中国科学院上海天文台</p>
|
||||||
|
<img src="/static-sanji/images/cooperator/cooperator31.jpg"><p>中国科学院南京地理与湖泊研究所</p>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3">
|
||||||
|
<img src="/static-sanji/images/cooperator/cooperator2.jpg"><p>北京师范大学</p>
|
||||||
|
<img src="/static-sanji/images/cooperator/cooperator19.jpg"><p>西北大学</p>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3">
|
||||||
|
<img src="/static-sanji/images/cooperator/cooperator23.jpg"><p>中国地质大学(武汉)</p>
|
||||||
|
<img src="/static-sanji/images/cooperator/cooperator20.png"><p>西南大学</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="swiper-slide">
|
||||||
|
<div class="col-md-3">
|
||||||
|
<img src="/static-sanji/images/cooperator/cooperator18.png"><p>上海师范大学</p>
|
||||||
|
<img src="/static-sanji/images/cooperator/cooperator24.jpg"><p>中国极地研究中心</p>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3">
|
||||||
|
<img src="/static-sanji/images/cooperator/cooperator3.jpg"><p>成都高原气象研究所</p>
|
||||||
|
<img src="/static-sanji/images/cooperator/cooperator16.png"><p>清华大学</p>
|
||||||
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<img src="/static-sanji/images/cooperator/cooperator37.jpg"><p>中国气象科学研究院</p>
|
<img src="/static-sanji/images/cooperator/cooperator37.jpg"><p>中国气象科学研究院</p>
|
||||||
|
<img src="/static-sanji/images/cooperator/cooperator4.jpg"><p>成都信息工程大学</p>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3">
|
||||||
|
<img src="/static-sanji/images/cooperator/cooperator22.jpg"><p>香港中文大学</p>
|
||||||
|
<img src="/static-sanji/images/cooperator/cooperator21.jpg"><p>香港大学</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="swiper-slide">
|
||||||
|
<div class="col-md-3">
|
||||||
|
<img src="/static-sanji/images/cooperator/cooperator14.jpg"><p>南方科技大学</p>
|
||||||
|
<img src="/static-sanji/images/cooperator/cooperator1.jpg"><p>北京林业大学</p>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3">
|
||||||
|
<img src="/static-sanji/images/cooperator/cooperator9.jpg"><p>兰州大学</p>
|
||||||
|
<img src="/static-sanji/images/cooperator/cooperator8.png"><p>华东师范大学</p>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3">
|
||||||
|
<img src="/static-sanji/images/cooperator/cooperator7.jpg"><p>西南科技大学</p>
|
||||||
|
<img src="/static-sanji/images/cooperator/cooperator12.jpg"><p>美国加州大学洛杉矶分校</p>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3">
|
||||||
|
<img src="/static-sanji/images/cooperator/cooperator10.jpg"><p>美国德克萨斯大学</p>
|
||||||
|
<img src="/static-sanji/images/cooperator/cooperator11.jpg"><p>美国华盛顿大学</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="swiper-slide">
|
||||||
|
<div class="col-md-3">
|
||||||
|
<img src="/static-sanji/images/cooperator/cooperator13.png"><p>美国犹他大学</p>
|
||||||
|
<img src="/static-sanji/images/cooperator/cooperator5.jpg"><p>俄罗斯莫斯科州立大学</p>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3">
|
||||||
|
<img src="/static-sanji/images/cooperator/cooperator15.png"><p>挪威南森环境遥感中心</p>
|
||||||
|
<img src="/static-sanji/images/cooperator/cooperator6.png"><p>芬兰气象研究所</p>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3">
|
||||||
|
<img src="/static-sanji/images/cooperator/cooperator17.png"><p>瑞士苏黎世大学</p>
|
||||||
<img src="/static-sanji/images/cooperator/cooperator1.jpg"><p>华东师范大学</p>
|
<img src="/static-sanji/images/cooperator/cooperator1.jpg"><p>华东师范大学</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<img src="/static-sanji/images/cooperator/cooperator1.jpg"><p>华东师范大学</p>
|
<img src="/static-sanji/images/cooperator/cooperator1.jpg"><p>华东师范大学</p>
|
||||||
<img src="/static-sanji/images/cooperator/cooperator1.jpg"><p>华东师范大学</p>
|
<img src="/static-sanji/images/cooperator/cooperator1.jpg"><p>华东师范大学</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div
|
||||||
</div>
|
</div>
|
||||||
<div class="swiper-button-prev"><span class="glyphicon glyphicon-chevron-left"></span></div>
|
<div class="swiper-button-prev"><span class="glyphicon glyphicon-chevron-left"></span></div>
|
||||||
<div class="swiper-button-next"><span class="glyphicon glyphicon-chevron-right"></span></div>
|
<div class="swiper-button-next"><span class="glyphicon glyphicon-chevron-right"></span></div>
|
||||||
|
|
|
@ -28,6 +28,19 @@ class View extends \Zend_Controller_Plugin_Abstract
|
||||||
\Zend_View_Helper_PaginationControl::setDefaultViewPartial('pagination_param.phtml');
|
\Zend_View_Helper_PaginationControl::setDefaultViewPartial('pagination_param.phtml');
|
||||||
$ctl->view->paginator = $paginator;
|
$ctl->view->paginator = $paginator;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static function addTextPaginator($data,$ctl,$limit = 10)
|
||||||
|
{
|
||||||
|
$request = $ctl->getRequest();
|
||||||
|
$page = $request->getParam('page');
|
||||||
|
|
||||||
|
$paginator = \Zend_Paginator::factory($data);
|
||||||
|
$paginator->setCurrentPageNumber($page);
|
||||||
|
$paginator->setItemCountPerPage($limit);
|
||||||
|
$paginator->setView($ctl->view);
|
||||||
|
\Zend_View_Helper_PaginationControl::setDefaultViewPartial('pagination_text.phtml');
|
||||||
|
$ctl->view->paginator = $paginator;
|
||||||
|
}
|
||||||
|
|
||||||
static function Msg($type,$content,$url=''){
|
static function Msg($type,$content,$url=''){
|
||||||
$html = '<div class="alert '.$type.'">'."\r\n";
|
$html = '<div class="alert '.$type.'">'."\r\n";
|
||||||
|
|
|
@ -104,4 +104,59 @@ footer p .footer-link{
|
||||||
color: #d31919 !important;
|
color: #d31919 !important;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
text-decoration: none !important;
|
text-decoration: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.top-position{
|
||||||
|
height: 55px;
|
||||||
|
line-height: 55px;
|
||||||
|
padding-left: 20px;
|
||||||
|
background: #f4f4f4;
|
||||||
|
font-size: 16px;
|
||||||
|
margin-bottom: 1px;
|
||||||
|
}
|
||||||
|
.top-position a{
|
||||||
|
color: #959595;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
.top-position a:last-child{
|
||||||
|
color: #000
|
||||||
|
}
|
||||||
|
|
||||||
|
.product-nav .fication{
|
||||||
|
background: #f4f4f4;
|
||||||
|
height: 56px;
|
||||||
|
}
|
||||||
|
.product-nav .fication:nth-child(2){
|
||||||
|
margin-top: 1px;
|
||||||
|
padding-right:28px;
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.product-nav ul.fication:nth-child(2) span{
|
||||||
|
width:20px;
|
||||||
|
height: 20px;
|
||||||
|
cursor: pointer;
|
||||||
|
position: absolute;
|
||||||
|
right:10px;
|
||||||
|
top:18px;
|
||||||
|
background: url('../images/c-down.png') no-repeat center;
|
||||||
|
background-size: contain;
|
||||||
|
}
|
||||||
|
.product-nav ul.fication li{
|
||||||
|
line-height: 56px;
|
||||||
|
margin-left: 20px;
|
||||||
|
word-break: break-all;
|
||||||
|
display: -webkit-box;
|
||||||
|
-webkit-line-clamp: 2;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
overflow: hidden;
|
||||||
|
float: left;
|
||||||
|
color:#a8a8a8;
|
||||||
|
}
|
||||||
|
.product-nav ul.fication li a{
|
||||||
|
color: #a8a8a8;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
.product-nav ul.fication li a:hover{
|
||||||
|
color:#000;
|
||||||
}
|
}
|
|
@ -166,6 +166,10 @@
|
||||||
.right-list ul li:first-child{
|
.right-list ul li:first-child{
|
||||||
margin-top: 16px;
|
margin-top: 16px;
|
||||||
}
|
}
|
||||||
|
.right-list a{
|
||||||
|
color: #959595;
|
||||||
|
}
|
||||||
|
|
||||||
.space-position img{
|
.space-position img{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 30px 0 50px 0;
|
margin: 30px 0 50px 0;
|
||||||
|
@ -198,6 +202,9 @@
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a.download-btn{
|
||||||
|
color:white;
|
||||||
|
}
|
||||||
a.download-btn:hover{
|
a.download-btn:hover{
|
||||||
color:white;
|
color:white;
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue