Authored by tmq

多图

... ... @@ -30,10 +30,9 @@
<div class="detail-slide-ctrl">
<ul class="detail-slide-ctrl-tabs clearfix">
<?php foreach($this->view->info['pics'] as $pic):?>
<li>
<li class="box">
<a href="javascript:;">
<span class="border"></span>
<span class="arrow"></span>
<span class="cover"></span>
<img class="lazy" data-original="<?php echo Lib_Images::getImageUrl($pic, 'source','fragmentimg');?>" alt=""
src="<?php echo Lib_Images::getImageUrl($pic, 'source','fragmentimg');?>?imageMogr2/thumbnail/!0100x0065r/crop/0100x0065/strip/quality/100" style="display: block;">
</a>
... ... @@ -185,7 +184,11 @@
<script type="text/javascript">
seajs.use('yohood',function(yohood){
yohood.detailNews(<?php echo $this->view->info['id'];?>);
yohood.detail();
//yohood.detail();
})
seajs.use(['jquery', 'channel'], function($, channel) {
channel.common();
channel.detail();
})
</script>
<?php $this->_endblock();?>
\ No newline at end of file
... ...