调整首页新闻标题字数
This commit is contained in:
parent
74be7bd74e
commit
2e905bcb69
|
@ -46,7 +46,7 @@
|
|||
<?php foreach($this->list_news as $k=>$v){ ?>
|
||||
<li>
|
||||
<span class="pull-right">[<?= date("Y-m-d",strtotime($v['ts_published']))?>]</span>
|
||||
<a href="<?= $v['url'] ?>" title="<?= $v['title'] ?>"><?= mb_strlen($v['title']) > 26 ? mb_substr($v['title'],0,26,'utf-8')."...":$v['title'] ?></a>
|
||||
<a href="<?= $v['url'] ?>" title="<?= $v['title'] ?>"><?= mb_strlen($v['title']) > 26 ? mb_substr($v['title'],0,23,'utf-8')."...":$v['title'] ?></a>
|
||||
</li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
|
@ -58,7 +58,7 @@
|
|||
<div class="span12 data-unit">
|
||||
<div class="well well-small" style="padding:0px;">
|
||||
<div class="row">
|
||||
<div class="span12"><h4>青海省生态环境遥感监测中心</h4></div>
|
||||
<div class="span12"><h4><a href="/data/organization/name/青海省生态环境遥感监测中心">青海省生态环境遥感监测中心</a></h4></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="span4">
|
||||
|
|
Loading…
Reference in New Issue