Showing
3 changed files
with
13 additions
and
3 deletions
@@ -473,7 +473,8 @@ class WebAction extends Controller_Abstract | @@ -473,7 +473,8 @@ class WebAction extends Controller_Abstract | ||
473 | $header = array( | 473 | $header = array( |
474 | 'navbars'=> \Index\HomeModel::getNavBars($channel), | 474 | 'navbars'=> \Index\HomeModel::getNavBars($channel), |
475 | 'gobytype'=> 'gobuy'.$channel, | 475 | 'gobytype'=> 'gobuy'.$channel, |
476 | - 'searchcate'=>'searchcate'.$channel | 476 | + 'searchcate'=>'searchcate'.$channel, |
477 | + 'header'=> true, | ||
477 | ); | 478 | ); |
478 | $this->_view->assign('headerdata', $header); | 479 | $this->_view->assign('headerdata', $header); |
479 | } | 480 | } |
@@ -36,7 +36,7 @@ class PassportModel | @@ -36,7 +36,7 @@ class PassportModel | ||
36 | 'orderHref' => Helpers::url('/home/orders?t=' . time()), //订单中心连接 | 36 | 'orderHref' => Helpers::url('/home/orders?t=' . time()), //订单中心连接 |
37 | 'helpHref' => Helpers::url('/help'), | 37 | 'helpHref' => Helpers::url('/help'), |
38 | ); | 38 | ); |
39 | - $tool+=array( | 39 | + $tool += array( |
40 | 'loginHref' => Helpers::url('/signin.html'), //登录链接,已登录不传 | 40 | 'loginHref' => Helpers::url('/signin.html'), //登录链接,已登录不传 |
41 | 'registerHref' => Helpers::url('/reg.html'), //注册链接,已登录不传 | 41 | 'registerHref' => Helpers::url('/reg.html'), //注册链接,已登录不传 |
42 | ); | 42 | ); |
@@ -45,7 +45,8 @@ class PassportModel | @@ -45,7 +45,8 @@ class PassportModel | ||
45 | 'img' => 'http://static.yohobuy.com/newheader/img/logo_e.png', | 45 | 'img' => 'http://static.yohobuy.com/newheader/img/logo_e.png', |
46 | 'url' => SITE_MAIN | 46 | 'url' => SITE_MAIN |
47 | ), | 47 | ), |
48 | - 'tool' => $tool | 48 | + 'tool' => $tool, |
49 | + 'simpleHeader' => true, | ||
49 | ); | 50 | ); |
50 | return $simpleHeader; | 51 | return $simpleHeader; |
51 | } | 52 | } |
@@ -25,3 +25,11 @@ routes.searchsuggest.match = "/api/suggest" | @@ -25,3 +25,11 @@ routes.searchsuggest.match = "/api/suggest" | ||
25 | routes.searchsuggest.route.module = Product | 25 | routes.searchsuggest.route.module = Product |
26 | routes.searchsuggest.route.controller = Search | 26 | routes.searchsuggest.route.controller = Search |
27 | routes.searchsuggest.route.action = suggest | 27 | routes.searchsuggest.route.action = suggest |
28 | + | ||
29 | + | ||
30 | +;about(品牌介绍) | ||
31 | +routes.brandabout.type = "rewrite" | ||
32 | +routes.brandabout.match = "/about" | ||
33 | +routes.brandabout.route.module = Product | ||
34 | +routes.brandabout.route.controller = Index | ||
35 | +routes.brandabout.route.action = brandIntro |
-
Please register or login to post a comment