优化数据大小显示
This commit is contained in:
parent
cdb91b830a
commit
50911f04f3
|
@ -15,8 +15,7 @@ $this->nav[] = array('link'=>"/data/fund",'title'=>'支持项目浏览');
|
||||||
<?php foreach($this->paginator as $md) : ?>
|
<?php foreach($this->paginator as $md) : ?>
|
||||||
<div class="well">
|
<div class="well">
|
||||||
<h4><a href="/data/fund/id/<?php echo $md['id'];?>"><?php echo $this->escape($md['title']);?></a></h4>
|
<h4><a href="/data/fund/id/<?php echo $md['id'];?>"><?php echo $this->escape($md['title']);?></a></h4>
|
||||||
编号:<?php echo $md['fund_id']; ?> | 类型:<?php echo $md['fund_type']; ?> | 提供数据集:<?php echo $md['datacount']; ?>条,<?php echo $md['filesize']; ?>MB
|
编号:<?php echo $md['fund_id']; ?> | 类型:<?php echo $md['fund_type']; ?> | 提供数据集:<?php echo $md['datacount']; ?>条,<?php ($md['filesize']>5000?echo ($md['filesize']/1024).'GB':echo $md['filesize'].'MB'; ?></div>
|
||||||
</div>
|
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
<div class="pagenavi"><?= $this->paginator; ?></div>
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
||||||
<?php else : ?>
|
<?php else : ?>
|
||||||
|
|
Loading…
Reference in New Issue