Authored by whb

修改bug

... ... @@ -20,7 +20,7 @@
<div class="layout-item tiled">
<div class="image-box">
<a href="<?php echo url('news/detail',array('id' => $val['id']))?>" title="<?php echo $val['title']?>" target="_blank">
<img src="<?php echo Lib_Images::getImageUrl($val['thumb'],'0230x0230','fragmentimg');?>" alt="">
<img src="<?php echo Lib_Images::getImageUrl($val['thumb'],'0230x0130','fragmentimg', 'thumbnail');?>" alt="">
<?php if(trim($val['tag']) == '视频'):?>
<i class="play-icon"></i>
<?php endif;?>
... ...
... ... @@ -16,7 +16,7 @@
<li>
<a class="clearfix" href="<?php echo url('news/detail',array('id' => $val['id']))?>" target="_blank">
<div class="image-box">
<img src="<?php echo Lib_Images::getImageUrl($val['thumb'],'0230x0230','fragmentimg');?>" alt="">
<img src="<?php echo Lib_Images::getImageUrl($val['thumb'],'source','fragmentimg');?>" alt="">
</div>
<div class="content"><?php echo Util_StringHelper::substr_cn($val['title'], 36);?></div>
</a>
... ...