Authored by whb

去掉空白

... ... @@ -121,7 +121,7 @@ class Config_Defines
define('SHOW_SITE_MAIN', 'http://show.test.yoho.cn/');
define('YOHOBUY_API','http://api.open.yohobuy.com/?');
define('SITE_PUBLISH_NEWS_SECRET', '123456');
self::setCache(false, false, false, false);
self::setCache(true, true, true, true);
}
/**
... ...
... ... @@ -59,6 +59,8 @@ class Controller_Abstract extends Framework_YController
$this->beforeExecute();
$callback = $this->_request->query('callback','');
$cookieName = 'callbackUrl';
//获取推荐状态的商品
$this->_view['recom_product_total'] = Facade_Prod::getProdTotal(1);
if(empty($callback))
{
$cookieUrl = Util_Utils_SafeCookie::get($cookieName);
... ...
... ... @@ -118,6 +118,7 @@
$this->_endblock();?>
</div>
</div>
<?php if($this->view->recom_product_total):?>
<div class="ft"> <!-- 限量推荐 -->
<div class="limited-goods">
<h2>限量商品</h2>
... ... @@ -131,6 +132,7 @@
</div>
</div>
</div>
<?php endif;?>
<div class="return-top" style="display:none;">
<a href="javascript:void(0);" id="toTop" class="ifont" style="display: inline;">
<span class="iconfont">&#xe605;</span>
... ...
... ... @@ -37,11 +37,12 @@
</div>
</div>
</div>
<?php if(count($this->view->partnerList)):?>
<div class="cooperation clearfix">
<div class="cooperation-slide-box">
<div class="slide-wrap clearfix">
<?php
$partnerGroups = array();
$partnerGroups = array();
foreach($this->view->partnerList as $partner)
{
foreach($this->view->partnerTypes as $key => $type)
... ... @@ -136,7 +137,8 @@ EOL;
<a class="cooperation-slide-next iconfont" href="javascript:void(0);">&#xe602;</a>
</div>
</div>
<?php endif;?>
<div id="right_banner" style="display:none;" num="<?php echo count($this->view->rightBanners);?>">
<div class="fluid-item layout-item tiled">
<?php
... ...