Authored by microTT

bug

... ... @@ -8,6 +8,9 @@
<p>
<?php echo $this->view->info['description'];?>
</p>
</div>
<div>
<a href="<?php echo $this->view->info['link'];?>" target="_blank">进入品牌店铺</a>
</div>
</div>
... ... @@ -15,9 +18,9 @@
<?php if(!empty($this->view->news)):?>
<div class="related-post brand-related-post">
<h3>相关资讯</h3>
<?php foreach($this->view->news as $val):?>
<div class="post-list main-layout">
<div class="layout-item tiled">
<div class="post-list main-layout clearfix">
<?php foreach($this->view->news as $val):?>
<div class="layout-item tiled clearfix">
<div class="image-box">
<a href="<?php echo url('news/detail',array('id' => $val['id']))?>" title="<?php echo Lib_Utils_StringHelper::stripTags($val['title']);?>" target="_blank">
<img src="<?php echo Lib_Images::getImageUrl($val['thumb'],'0230x0130','fragmentimg', 'thumbnail');?>" alt="">
... ... @@ -35,8 +38,8 @@
<p class="time"><?php $en = array('01'=>'January','02'=>'February','03'=>'March','04'=>'April','05'=>'May','06'=>'June','07'=>'July','08'=>'August','09'=>'September','10'=>'October','11'=>'November','12'=>'December');$m=date('m', $val['create_time']);echo $en[$m]?>&nbsp;&nbsp;&nbsp;<?php ECHO $m=date('d.Y', $val['create_time'])?></p>
</div>
</div>
<?php endforeach;?>
</div>
<?php endforeach;?>
</div>
<?php endif;?>
</div>
\ No newline at end of file
... ...
... ... @@ -172,10 +172,6 @@ EOL;
<script type="text/javascript">
seajs.use('yohood',function(yohood){
yohood.brand();
})
seajs.use(['jquery', 'channel'], function($, channel) {
channel.common();
channel.index();
})
});
</script>
<?php $this->_endblock();?>
... ...
... ... @@ -198,8 +198,5 @@
yohood.detailNews(<?php echo $this->view->info['id'];?>);
yohood.detail();
})
seajs.use(['jquery', 'channel'], function($, channel) {
channel.common();
})
</script>
<?php $this->_endblock();?>
\ No newline at end of file
... ...