Showing
7 changed files
with
79 additions
and
71 deletions
@@ -59,8 +59,8 @@ class HelperSearch | @@ -59,8 +59,8 @@ class HelperSearch | ||
59 | $result = array(); | 59 | $result = array(); |
60 | self::$params = $_GET; | 60 | self::$params = $_GET; |
61 | self::$options = $options; | 61 | self::$options = $options; |
62 | - unset(self::$params['/']); | ||
63 | - unset(self::$params['page']); | 62 | +// unset(self::$params['/']); |
63 | +// unset(self::$params['page']); | ||
64 | self::$filter = isset($data['product']['filter']) ? $data['product']['filter'] : array(); | 64 | self::$filter = isset($data['product']['filter']) ? $data['product']['filter'] : array(); |
65 | //产品列表 | 65 | //产品列表 |
66 | $result['goods'] = isset($data['product']['product_list']) ? self::getProductList($data['product']['product_list'], $options['imgSize']) : array(); | 66 | $result['goods'] = isset($data['product']['product_list']) ? self::getProductList($data['product']['product_list'], $options['imgSize']) : array(); |
@@ -157,7 +157,8 @@ class HelperSearch | @@ -157,7 +157,8 @@ class HelperSearch | ||
157 | $goods_list[$k]['url'] = Helpers::getUrlBySkc($val['product_id'], $v['goods_id'], $val['cn_alphabet']); | 157 | $goods_list[$k]['url'] = Helpers::getUrlBySkc($val['product_id'], $v['goods_id'], $val['cn_alphabet']); |
158 | //筛选符合颜色条件的封面图片 | 158 | //筛选符合颜色条件的封面图片 |
159 | if (isset($params['color']) && $params['color'] == $v['color_id']) { | 159 | if (isset($params['color']) && $params['color'] == $v['color_id']) { |
160 | - $val['default_images'] = Images::getImageUrl($v['images_url'],$imgSize[0],$imgSize[1]); | 160 | + $val['default_images'] = $v['images_url']; |
161 | + break; | ||
161 | } | 162 | } |
162 | } | 163 | } |
163 | if (!empty($val['default_images'])) { | 164 | if (!empty($val['default_images'])) { |
@@ -432,7 +433,7 @@ class HelperSearch | @@ -432,7 +433,7 @@ class HelperSearch | ||
432 | else { | 433 | else { |
433 | $this_brand['index'] = strtolower($v['brand_alif']); | 434 | $this_brand['index'] = strtolower($v['brand_alif']); |
434 | } | 435 | } |
435 | - //默认品牌 | 436 | + //默认品牌 TODO |
436 | if (count($result['default']) < 10) { | 437 | if (count($result['default']) < 10) { |
437 | $result['default'][] = $this_brand; | 438 | $result['default'][] = $this_brand; |
438 | } | 439 | } |
@@ -440,6 +441,7 @@ class HelperSearch | @@ -440,6 +441,7 @@ class HelperSearch | ||
440 | $brandList[$v['brand_alif']][] = $this_brand; | 441 | $brandList[$v['brand_alif']][] = $this_brand; |
441 | $brandAll[$v['id']] = $v['brand_name']; | 442 | $brandAll[$v['id']] = $v['brand_name']; |
442 | } | 443 | } |
444 | +// print_r($brandList); exit; | ||
443 | //清空品牌参数 | 445 | //清空品牌参数 |
444 | unset($params['brand']); | 446 | unset($params['brand']); |
445 | //设置选中 | 447 | //设置选中 |
@@ -450,8 +452,9 @@ class HelperSearch | @@ -450,8 +452,9 @@ class HelperSearch | ||
450 | ); | 452 | ); |
451 | } | 453 | } |
452 | ksort($brandList); | 454 | ksort($brandList); |
453 | - //品牌列表排序, 添加品牌索引 | 455 | + //品牌列表排序, 添加品牌索引 TODO |
454 | $index_key = array(); | 456 | $index_key = array(); |
457 | +// print_r($brandList); exit; | ||
455 | foreach ($brandList as $key => $val) { | 458 | foreach ($brandList as $key => $val) { |
456 | if ($key && !in_array($key, $index_key) && !is_numeric($key)) { | 459 | if ($key && !in_array($key, $index_key) && !is_numeric($key)) { |
457 | $index['index'] = strtolower(($key)); | 460 | $index['index'] = strtolower(($key)); |
@@ -581,18 +584,17 @@ class HelperSearch | @@ -581,18 +584,17 @@ class HelperSearch | ||
581 | ); | 584 | ); |
582 | }else{ | 585 | }else{ |
583 | $price = explode(',', $priceId); | 586 | $price = explode(',', $priceId); |
584 | - if (count($price) == 2) { | ||
585 | - if (!$price[0]) { | ||
586 | - $price[0] = 0; | ||
587 | - } | ||
588 | - if (!$price[1]) { | ||
589 | - $price[1] = 99999; | ||
590 | - } | ||
591 | - self::$selected['price'] = array( | ||
592 | - 'name' => self::$params['price'] == '2000,99999' ? '¥2000以上' : '¥' . (int)$price[0] . '-' . (int)$price[1], | ||
593 | - 'href' => self::buildurl($params) | ||
594 | - ); | 587 | + //TODO |
588 | + if (!$price[0]) { | ||
589 | + $price[0] = 0; | ||
595 | } | 590 | } |
591 | + if (!$price[1]) { | ||
592 | + $price[1] = 99999; | ||
593 | + } | ||
594 | + self::$selected['price'] = array( | ||
595 | + 'name' => self::$params['price'] == '2000,99999' ? '¥2000以上' : '¥' . (int)$price[0] . '-' . (int)$price[1], | ||
596 | + 'href' => self::buildurl($params) | ||
597 | + ); | ||
596 | } | 598 | } |
597 | if (self::checkSearch('price')) { | 599 | if (self::checkSearch('price')) { |
598 | return array(); | 600 | return array(); |
@@ -792,7 +794,7 @@ class HelperSearch | @@ -792,7 +794,7 @@ class HelperSearch | ||
792 | } | 794 | } |
793 | 795 | ||
794 | /** | 796 | /** |
795 | - * 是否新品 | 797 | + * 是否新品 TODO |
796 | */ | 798 | */ |
797 | public static function isnew() | 799 | public static function isnew() |
798 | { | 800 | { |
@@ -1096,7 +1098,7 @@ class HelperSearch | @@ -1096,7 +1098,7 @@ class HelperSearch | ||
1096 | //组织静态资源数据格式 | 1098 | //组织静态资源数据格式 |
1097 | public static function getNodeContent($code) | 1099 | public static function getNodeContent($code) |
1098 | { | 1100 | { |
1099 | - $nodeContent = BrandData::getByNodeContent($code); | 1101 | + $nodeContent = BrandData::getByNodeContent($code);//TODO异步 |
1100 | if (isset($nodeContent['code']) && $nodeContent['code'] === 200) { | 1102 | if (isset($nodeContent['code']) && $nodeContent['code'] === 200) { |
1101 | $result = array(); | 1103 | $result = array(); |
1102 | 1104 | ||
@@ -1288,7 +1290,7 @@ class HelperSearch | @@ -1288,7 +1290,7 @@ class HelperSearch | ||
1288 | 1290 | ||
1289 | 1291 | ||
1290 | /** | 1292 | /** |
1291 | - * 获取品牌店铺接口地址 | 1293 | + * 获取品牌店铺接口地址 TODO |
1292 | * @param $param | 1294 | * @param $param |
1293 | * @return string | 1295 | * @return string |
1294 | */ | 1296 | */ |
@@ -38,7 +38,7 @@ class IndexModel | @@ -38,7 +38,7 @@ class IndexModel | ||
38 | $misort = isset($searchCondition['condition']['misort']) ? $searchCondition['condition']['misort'] : false; | 38 | $misort = isset($searchCondition['condition']['misort']) ? $searchCondition['condition']['misort'] : false; |
39 | $positionId = isset($searchCondition['options']['positionId']) ? $searchCondition['options']['positionId'] : ''; | 39 | $positionId = isset($searchCondition['options']['positionId']) ? $searchCondition['options']['positionId'] : ''; |
40 | $gender = $searchCondition['condition']['gender'] == '2,3' ? 2 : 1; | 40 | $gender = $searchCondition['condition']['gender'] == '2,3' ? 2 : 1; |
41 | - if ($msort && $misort) { | 41 | + if ($msort && $misort) {//TODO |
42 | $bannerData = Yohobuy::yarClient(Yohobuy::SERVICE_URL . self::URI_INDEX_TBANNER, 'get', array($positionId,$msort,$misort,$gender,0,0,0,0,0)); | 42 | $bannerData = Yohobuy::yarClient(Yohobuy::SERVICE_URL . self::URI_INDEX_TBANNER, 'get', array($positionId,$msort,$misort,$gender,0,0,0,0,0)); |
43 | if (isset($bannerData['code']) && $bannerData['code'] == '200') { | 43 | if (isset($bannerData['code']) && $bannerData['code'] == '200') { |
44 | $banner = self::formatBanner($bannerData['data']); | 44 | $banner = self::formatBanner($bannerData['data']); |
@@ -31,37 +31,37 @@ class NewModel | @@ -31,37 +31,37 @@ class NewModel | ||
31 | $data = HelperSearch::getList($result, $searchCondition['options']); | 31 | $data = HelperSearch::getList($result, $searchCondition['options']); |
32 | 32 | ||
33 | //new页面模拟数据 | 33 | //new页面模拟数据 |
34 | - $data['newMain'] = array( | ||
35 | - 'banner' => 'http://img11.static.yhbimg.com/yhb-img01/2015/11/23/07/010a459d41b99a839cba9377532f1c19b2.jpg?imageView/3/w/970/h/200', | ||
36 | - 'date' => '12月16日', | ||
37 | - 'title' => '新品到着', | ||
38 | - 'brands' => array( | ||
39 | - array( | ||
40 | - 'href' => '', | ||
41 | - 'logo' => 'http://img13.static.yhbimg.com/brandLogo/2012/02/28/15/02b2b5ded161ab31e2e097a327ed475052.jpg?imageView/2/w/170/h/120' | ||
42 | - ), | ||
43 | - array( | ||
44 | - 'href' => '', | ||
45 | - 'logo' => 'http://img13.static.yhbimg.com/brandLogo/2012/11/09/09/023721f44182f775d79904010af421331e.jpg?imageView/2/w/170/h/120' | ||
46 | - ), | ||
47 | - array( | ||
48 | - 'href' => '', | ||
49 | - 'logo' => 'http://img11.static.yhbimg.com/brandLogo/2012/12/13/17/01408fb72646c8f3fa59d870514f08a356.jpg?imageView/2/w/170/h/120' | ||
50 | - ), | ||
51 | - array( | ||
52 | - 'href' => '', | ||
53 | - 'logo' => 'http://img13.static.yhbimg.com/brandLogo/2012/12/24/13/0265b45e37af697c5ba12d5415fb341f27.jpg?imageView/2/w/170/h/120' | ||
54 | - ), | ||
55 | - array( | ||
56 | - 'href' => '', | ||
57 | - 'logo' => 'http://img11.static.yhbimg.com/brandLogo/2015/08/11/15/012d09a5cae187af1f6f3ed246b9b5a4fc.jpg?imageView/2/w/170/h/120' | ||
58 | - ), | ||
59 | - array( | ||
60 | - 'href' => '', | ||
61 | - 'logo' => 'http://img11.static.yhbimg.com/brandLogo/2015/08/20/16/01047ffb3ca182871821d551af31ac2378.jpg?imageView/2/w/170/h/120' | ||
62 | - ) | ||
63 | - ) | ||
64 | - ); | 34 | +// $data['newMain'] = array( |
35 | +// 'banner' => 'http://img11.static.yhbimg.com/yhb-img01/2015/11/23/07/010a459d41b99a839cba9377532f1c19b2.jpg?imageView/3/w/970/h/200', | ||
36 | +// 'date' => '12月16日', | ||
37 | +// 'title' => '新品到着', | ||
38 | +// 'brands' => array( | ||
39 | +// array( | ||
40 | +// 'href' => '', | ||
41 | +// 'logo' => 'http://img13.static.yhbimg.com/brandLogo/2012/02/28/15/02b2b5ded161ab31e2e097a327ed475052.jpg?imageView/2/w/170/h/120' | ||
42 | +// ), | ||
43 | +// array( | ||
44 | +// 'href' => '', | ||
45 | +// 'logo' => 'http://img13.static.yhbimg.com/brandLogo/2012/11/09/09/023721f44182f775d79904010af421331e.jpg?imageView/2/w/170/h/120' | ||
46 | +// ), | ||
47 | +// array( | ||
48 | +// 'href' => '', | ||
49 | +// 'logo' => 'http://img11.static.yhbimg.com/brandLogo/2012/12/13/17/01408fb72646c8f3fa59d870514f08a356.jpg?imageView/2/w/170/h/120' | ||
50 | +// ), | ||
51 | +// array( | ||
52 | +// 'href' => '', | ||
53 | +// 'logo' => 'http://img13.static.yhbimg.com/brandLogo/2012/12/24/13/0265b45e37af697c5ba12d5415fb341f27.jpg?imageView/2/w/170/h/120' | ||
54 | +// ), | ||
55 | +// array( | ||
56 | +// 'href' => '', | ||
57 | +// 'logo' => 'http://img11.static.yhbimg.com/brandLogo/2015/08/11/15/012d09a5cae187af1f6f3ed246b9b5a4fc.jpg?imageView/2/w/170/h/120' | ||
58 | +// ), | ||
59 | +// array( | ||
60 | +// 'href' => '', | ||
61 | +// 'logo' => 'http://img11.static.yhbimg.com/brandLogo/2015/08/20/16/01047ffb3ca182871821d551af31ac2378.jpg?imageView/2/w/170/h/120' | ||
62 | +// ) | ||
63 | +// ) | ||
64 | +// ); | ||
65 | 65 | ||
66 | return $data; | 66 | return $data; |
67 | } | 67 | } |
@@ -20,7 +20,7 @@ class IndexController extends WebAction | @@ -20,7 +20,7 @@ class IndexController extends WebAction | ||
20 | } | 20 | } |
21 | //根据品牌域名获取品牌id(同时判断品牌域名是否有效),无效跳转首页 | 21 | //根据品牌域名获取品牌id(同时判断品牌域名是否有效),无效跳转首页 |
22 | $fields = 'id,brand_name,brand_name_cn,brand_name_en,brand_domain,brand_alif,brand_banner,brand_ico,static_content_code'; | 22 | $fields = 'id,brand_name,brand_name_cn,brand_name_en,brand_domain,brand_alif,brand_banner,brand_ico,static_content_code'; |
23 | - $result = BrandsModel::getBrandByDomain($domain, $fields); | 23 | + $result = BrandsModel::getBrandByDomain($domain, $fields);//TODO |
24 | if (!$result) { | 24 | if (!$result) { |
25 | $this->go(SITE_MAIN); | 25 | $this->go(SITE_MAIN); |
26 | } | 26 | } |
@@ -33,8 +33,7 @@ class IndexController extends WebAction | @@ -33,8 +33,7 @@ class IndexController extends WebAction | ||
33 | $condition['brand'] = isset($result['brandId']) ? $result['brandId'] : ''; | 33 | $condition['brand'] = isset($result['brandId']) ? $result['brandId'] : ''; |
34 | 34 | ||
35 | //品牌系列参数 | 35 | //品牌系列参数 |
36 | - $folderId = $this->get('folder_id'); | ||
37 | - $condition['folder_id'] = $folderId; | 36 | + $condition['folder_id'] = $this->get('folder_id'); |
38 | 37 | ||
39 | //$options参数数组 | 38 | //$options参数数组 |
40 | $options = array(); | 39 | $options = array(); |
@@ -46,6 +45,7 @@ class IndexController extends WebAction | @@ -46,6 +45,7 @@ class IndexController extends WebAction | ||
46 | $options['brandNameEn'] = isset($result['brandNameEn']) ? $result['brandNameEn'] : ''; | 45 | $options['brandNameEn'] = isset($result['brandNameEn']) ? $result['brandNameEn'] : ''; |
47 | $options['brandNameCn'] = isset($result['brandNameCn']) ? $result['brandNameCn'] : ''; | 46 | $options['brandNameCn'] = isset($result['brandNameCn']) ? $result['brandNameCn'] : ''; |
48 | $options['reviewNum'] = 6; | 47 | $options['reviewNum'] = 6; |
48 | + //TODO | ||
49 | $options['controller'] = $this->_request->controller; | 49 | $options['controller'] = $this->_request->controller; |
50 | $options['action'] = $this->_request->action; | 50 | $options['action'] = $this->_request->action; |
51 | 51 | ||
@@ -57,7 +57,7 @@ class IndexController extends WebAction | @@ -57,7 +57,7 @@ class IndexController extends WebAction | ||
57 | 'searchListPage' => true, | 57 | 'searchListPage' => true, |
58 | 'list' => $data | 58 | 'list' => $data |
59 | ); | 59 | ); |
60 | - | 60 | + //TODO |
61 | $this->setWebNavHeader(); | 61 | $this->setWebNavHeader(); |
62 | //渲染模板 | 62 | //渲染模板 |
63 | $this->_view->display('list',$data); | 63 | $this->_view->display('list',$data); |
@@ -74,7 +74,7 @@ class IndexController extends WebAction | @@ -74,7 +74,7 @@ class IndexController extends WebAction | ||
74 | $uid = $this->getUid(); | 74 | $uid = $this->getUid(); |
75 | 75 | ||
76 | 76 | ||
77 | - //根据品牌域名获取品牌id(同时判断品牌域名是否有效),无效跳转首页 | 77 | + //根据品牌域名获取品牌id(同时判断品牌域名是否有效),无效跳转首页TODO |
78 | $fields = 'id,brand_name,brand_name_cn,brand_banner,brand_ico,brand_intro'; | 78 | $fields = 'id,brand_name,brand_name_cn,brand_banner,brand_ico,brand_intro'; |
79 | $result = BrandsModel::getBrandByDomain($domain, $fields); | 79 | $result = BrandsModel::getBrandByDomain($domain, $fields); |
80 | if (!$result) { | 80 | if (!$result) { |
@@ -114,7 +114,7 @@ class IndexController extends WebAction | @@ -114,7 +114,7 @@ class IndexController extends WebAction | ||
114 | if (!$this->isAjax()) { | 114 | if (!$this->isAjax()) { |
115 | return; | 115 | return; |
116 | } | 116 | } |
117 | - $uid = $this->post('uid'); | 117 | + //$uid = $this->post('uid');TODO |
118 | 118 | ||
119 | $brandId = $this->post('brandId'); | 119 | $brandId = $this->post('brandId'); |
120 | if ($uid && $brandId) { | 120 | if ($uid && $brandId) { |
@@ -122,7 +122,7 @@ class IndexController extends WebAction | @@ -122,7 +122,7 @@ class IndexController extends WebAction | ||
122 | $result = FavoriteData::changeFavoriteBrand($uid, $brandId); | 122 | $result = FavoriteData::changeFavoriteBrand($uid, $brandId); |
123 | if (isset($result['code']) && $result['code'] == 200) { | 123 | if (isset($result['code']) && $result['code'] == 200) { |
124 | $this ->echoJson($result); | 124 | $this ->echoJson($result); |
125 | - } | 125 | + }//TODO |
126 | } | 126 | } |
127 | } | 127 | } |
128 | 128 |
@@ -13,7 +13,7 @@ class ListController extends WebAction | @@ -13,7 +13,7 @@ class ListController extends WebAction | ||
13 | $options = array( | 13 | $options = array( |
14 | 'positionId' => $positionId, | 14 | 'positionId' => $positionId, |
15 | 'reviewNum' => 6, | 15 | 'reviewNum' => 6, |
16 | - 'controller' => $this->_request->controller, | 16 | + 'controller' => $this->_request->controller,//TODO |
17 | 'action' => $this->_request->action | 17 | 'action' => $this->_request->action |
18 | ); | 18 | ); |
19 | 19 | ||
@@ -44,7 +44,7 @@ class ListController extends WebAction | @@ -44,7 +44,7 @@ class ListController extends WebAction | ||
44 | $data = array( | 44 | $data = array( |
45 | 'productListPage' => true, | 45 | 'productListPage' => true, |
46 | 'newSale' => $newData, | 46 | 'newSale' => $newData, |
47 | - 'controller' => $this->_request->controller, | 47 | + 'controller' => $this->_request->controller,//TODO |
48 | 'action' => $this->_request->action | 48 | 'action' => $this->_request->action |
49 | ); | 49 | ); |
50 | $this->setWebNavHeader(); | 50 | $this->setWebNavHeader(); |
@@ -67,7 +67,7 @@ class ListController extends WebAction | @@ -67,7 +67,7 @@ class ListController extends WebAction | ||
67 | 'productListPage' => true, | 67 | 'productListPage' => true, |
68 | 'list' => $list, | 68 | 'list' => $list, |
69 | 'controller' => $this->_request->controller, | 69 | 'controller' => $this->_request->controller, |
70 | - 'action' => $this->_request->action | 70 | + 'action' => $this->_request->action//TODO |
71 | ); | 71 | ); |
72 | $this->setWebNavHeader(); | 72 | $this->setWebNavHeader(); |
73 | $this->_view->display('list', $data); | 73 | $this->_view->display('list', $data); |
@@ -83,7 +83,7 @@ class ListController extends WebAction | @@ -83,7 +83,7 @@ class ListController extends WebAction | ||
83 | if (!$this->isAjax()) { | 83 | if (!$this->isAjax()) { |
84 | return; | 84 | return; |
85 | } | 85 | } |
86 | - $product_skn = $this->post('skn'); | 86 | + $product_skn = $this->post('skn');//TODO |
87 | $uid = $this->getUid(); | 87 | $uid = $this->getUid(); |
88 | 88 | ||
89 | if (!$product_skn) { | 89 | if (!$product_skn) { |
@@ -115,7 +115,7 @@ class ListController extends WebAction | @@ -115,7 +115,7 @@ class ListController extends WebAction | ||
115 | } | 115 | } |
116 | } | 116 | } |
117 | $options['isFavorite'] = $isFavorite; | 117 | $options['isFavorite'] = $isFavorite; |
118 | - SearchModel::getProductPic($product_skn, $options); | 118 | + SearchModel::getProductPic($product_skn, $options);//TODO |
119 | } | 119 | } |
120 | 120 | ||
121 | /** | 121 | /** |
@@ -134,7 +134,7 @@ class ListController extends WebAction | @@ -134,7 +134,7 @@ class ListController extends WebAction | ||
134 | 134 | ||
135 | do { | 135 | do { |
136 | if (!$product_skn && !$uid) { | 136 | if (!$product_skn && !$uid) { |
137 | - break; | 137 | + break;//TODO |
138 | } | 138 | } |
139 | if ($isFavorite) { | 139 | if ($isFavorite) { |
140 | $result = FavoriteData::delUidProductFav($uid, $product_skn); | 140 | $result = FavoriteData::delUidProductFav($uid, $product_skn); |
@@ -14,18 +14,22 @@ class SaleController extends WebAction | @@ -14,18 +14,22 @@ class SaleController extends WebAction | ||
14 | { | 14 | { |
15 | //获取专区ID | 15 | //获取专区ID |
16 | $specialsaleId = $this->get('specialsale_id'); | 16 | $specialsaleId = $this->get('specialsale_id'); |
17 | - $specialInfo = SaleData::getSpecial($specialsaleId); | ||
18 | - if(isset($specialInfo['data'])) { | ||
19 | - $special = $specialInfo['data']; | ||
20 | - } else { | ||
21 | - $special = array(); | ||
22 | - } | 17 | + |
23 | //获取促销ID | 18 | //获取促销ID |
24 | $promotion = $this->get('promotion'); | 19 | $promotion = $this->get('promotion'); |
25 | //专区ID和促销ID都为空时,跳转到主页 | 20 | //专区ID和促销ID都为空时,跳转到主页 |
26 | if (empty($specialsaleId) && empty($promotion)) { | 21 | if (empty($specialsaleId) && empty($promotion)) { |
27 | $this->go(SITE_MAIN); | 22 | $this->go(SITE_MAIN); |
28 | } | 23 | } |
24 | + | ||
25 | + $specialInfo = SaleData::getSpecial($specialsaleId); | ||
26 | + print_r($specialInfo);exit; | ||
27 | + if(isset($specialInfo['data'])) { | ||
28 | + $special = $specialInfo['data']; | ||
29 | + } else { | ||
30 | + $special = array(); | ||
31 | + } | ||
32 | + | ||
29 | 33 | ||
30 | $condition = array(); | 34 | $condition = array(); |
31 | //传品牌ID参数 | 35 | //传品牌ID参数 |
@@ -40,7 +44,7 @@ class SaleController extends WebAction | @@ -40,7 +44,7 @@ class SaleController extends WebAction | ||
40 | } | 44 | } |
41 | 45 | ||
42 | $options = array( | 46 | $options = array( |
43 | - 'controller' => $this->_request->controller, | 47 | + 'controller' => $this->_request->controller,//TODO |
44 | 'action' => $this->_request->action, | 48 | 'action' => $this->_request->action, |
45 | 'reviewNum' => 6 | 49 | 'reviewNum' => 6 |
46 | ); | 50 | ); |
@@ -16,6 +16,8 @@ class SearchController extends WebAction | @@ -16,6 +16,8 @@ class SearchController extends WebAction | ||
16 | 'searchListPage' => true, | 16 | 'searchListPage' => true, |
17 | 'search' => $searchData | 17 | 'search' => $searchData |
18 | ); | 18 | ); |
19 | +// $this->setTitle(); | ||
20 | +// $this->setTitle(); | ||
19 | $this->setWebNavHeader(); | 21 | $this->setWebNavHeader(); |
20 | $this->_view->display('search', $data); | 22 | $this->_view->display('search', $data); |
21 | } | 23 | } |
-
Please register or login to post a comment