Showing
2 changed files
with
13 additions
and
0 deletions
@@ -753,4 +753,9 @@ define('yohood', function(require, exports) { | @@ -753,4 +753,9 @@ define('yohood', function(require, exports) { | ||
753 | //图片转换 | 753 | //图片转换 |
754 | imgTransform($(".image-box img")); | 754 | imgTransform($(".image-box img")); |
755 | } | 755 | } |
756 | + //推荐 | ||
757 | + exports.recommend = function() { | ||
758 | + $(".wrapper").attr("class", ""); | ||
759 | + $(".bd").attr("class", ""); | ||
760 | + } | ||
756 | }); | 761 | }); |
@@ -68,4 +68,12 @@ | @@ -68,4 +68,12 @@ | ||
68 | <a href="http://www.yohobuy.com/" target="_blank"><img height="243" src="<?php echo SITE_RES?>/images/yohood/special/blank.png" width="1000"></a></div> | 68 | <a href="http://www.yohobuy.com/" target="_blank"><img height="243" src="<?php echo SITE_RES?>/images/yohood/special/blank.png" width="1000"></a></div> |
69 | </div> | 69 | </div> |
70 | </div> | 70 | </div> |
71 | +<?php $this->_endblock();?> | ||
72 | +<?php $this->_block('js');?> | ||
73 | +<script type="text/javascript"> | ||
74 | +seajs.use('yohood',function(yohood) | ||
75 | +{ | ||
76 | + yohood.recommend(); | ||
77 | +}); | ||
78 | +</script> | ||
71 | <?php $this->_endblock();?> | 79 | <?php $this->_endblock();?> |
-
Please register or login to post a comment