Authored by whb

修改bug

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