Showing
1 changed file
with
7 additions
and
4 deletions
@@ -30,10 +30,9 @@ | @@ -30,10 +30,9 @@ | ||
30 | <div class="detail-slide-ctrl"> | 30 | <div class="detail-slide-ctrl"> |
31 | <ul class="detail-slide-ctrl-tabs clearfix"> | 31 | <ul class="detail-slide-ctrl-tabs clearfix"> |
32 | <?php foreach($this->view->info['pics'] as $pic):?> | 32 | <?php foreach($this->view->info['pics'] as $pic):?> |
33 | - <li> | 33 | + <li class="box"> |
34 | <a href="javascript:;"> | 34 | <a href="javascript:;"> |
35 | - <span class="border"></span> | ||
36 | - <span class="arrow"></span> | 35 | + <span class="cover"></span> |
37 | <img class="lazy" data-original="<?php echo Lib_Images::getImageUrl($pic, 'source','fragmentimg');?>" alt="" | 36 | <img class="lazy" data-original="<?php echo Lib_Images::getImageUrl($pic, 'source','fragmentimg');?>" alt="" |
38 | src="<?php echo Lib_Images::getImageUrl($pic, 'source','fragmentimg');?>?imageMogr2/thumbnail/!0100x0065r/crop/0100x0065/strip/quality/100" style="display: block;"> | 37 | src="<?php echo Lib_Images::getImageUrl($pic, 'source','fragmentimg');?>?imageMogr2/thumbnail/!0100x0065r/crop/0100x0065/strip/quality/100" style="display: block;"> |
39 | </a> | 38 | </a> |
@@ -185,7 +184,11 @@ | @@ -185,7 +184,11 @@ | ||
185 | <script type="text/javascript"> | 184 | <script type="text/javascript"> |
186 | seajs.use('yohood',function(yohood){ | 185 | seajs.use('yohood',function(yohood){ |
187 | yohood.detailNews(<?php echo $this->view->info['id'];?>); | 186 | yohood.detailNews(<?php echo $this->view->info['id'];?>); |
188 | - yohood.detail(); | 187 | + //yohood.detail(); |
188 | + }) | ||
189 | + seajs.use(['jquery', 'channel'], function($, channel) { | ||
190 | + channel.common(); | ||
191 | + channel.detail(); | ||
189 | }) | 192 | }) |
190 | </script> | 193 | </script> |
191 | <?php $this->_endblock();?> | 194 | <?php $this->_endblock();?> |
-
Please register or login to post a comment