Authored by 周少峰

add shop search url

@@ -47,6 +47,8 @@ class ShopProcess @@ -47,6 +47,8 @@ class ShopProcess
47 self::$shopData['shopIntroHref'] = Helpers::url('/product/index/intro', array('shop_id' => self::$shopId)); 47 self::$shopData['shopIntroHref'] = Helpers::url('/product/index/intro', array('shop_id' => self::$shopId));
48 //全部商品链接 48 //全部商品链接
49 self::$shopData['allGoods'] = Helpers::url('', array('shop_id' => self::$shopId, 'title' => '全部商品'), 'search'); 49 self::$shopData['allGoods'] = Helpers::url('', array('shop_id' => self::$shopId, 'title' => '全部商品'), 'search');
  50 + //搜索链接
  51 + self::$shopData['url'] = Helpers::url('', array('shop_id' => self::$shopId), 'search');
50 } 52 }
51 53
52 /** 54 /**
@@ -462,10 +462,8 @@ class IndexController extends AbstractAction @@ -462,10 +462,8 @@ class IndexController extends AbstractAction
462 private function shop($shopId) 462 private function shop($shopId)
463 { 463 {
464 $uid = $this->getUid(true); 464 $uid = $this->getUid(true);
465 - $title = '';  
466 $data = ListModel::shopData($shopId, $uid); 465 $data = ListModel::shopData($shopId, $uid);
467 - $this->setTitle($title);  
468 - $this->setNavHeader($title, true, SITE_MAIN); 466 + $this->setNavHeader('', true, SITE_MAIN);
469 $this->_view->display('shop', array( 467 $this->_view->display('shop', array(
470 'shopIndex' => $data, 468 'shopIndex' => $data,
471 'shopPage' => true 469 'shopPage' => true