Authored by 周少峰

add shop search url

... ... @@ -47,6 +47,8 @@ class ShopProcess
self::$shopData['shopIntroHref'] = Helpers::url('/product/index/intro', array('shop_id' => self::$shopId));
//全部商品链接
self::$shopData['allGoods'] = Helpers::url('', array('shop_id' => self::$shopId, 'title' => '全部商品'), 'search');
//搜索链接
self::$shopData['url'] = Helpers::url('', array('shop_id' => self::$shopId), 'search');
}
/**
... ...
... ... @@ -462,10 +462,8 @@ class IndexController extends AbstractAction
private function shop($shopId)
{
$uid = $this->getUid(true);
$title = '';
$data = ListModel::shopData($shopId, $uid);
$this->setTitle($title);
$this->setNavHeader($title, true, SITE_MAIN);
$this->setNavHeader('', true, SITE_MAIN);
$this->_view->display('shop', array(
'shopIndex' => $data,
'shopPage' => true
... ...