Authored by 周少峰

hide shop head nav in app

@@ -463,7 +463,9 @@ class IndexController extends AbstractAction @@ -463,7 +463,9 @@ class IndexController extends AbstractAction
463 { 463 {
464 $uid = $this->getUid(true); 464 $uid = $this->getUid(true);
465 $data = ListModel::shopData($shopId, $uid); 465 $data = ListModel::shopData($shopId, $uid);
466 - $this->setNavHeader('', true, SITE_MAIN); 466 + if (!$this->isApp()) {
  467 + $this->setNavHeader('', true, SITE_MAIN);
  468 + }
467 $this->_view->display('shop', array( 469 $this->_view->display('shop', array(
468 'shopIndex' => $data, 470 'shopIndex' => $data,
469 'shopPage' => true 471 'shopPage' => true