Authored by yangyang

修改new页数据,填写banner假数据

@@ -39,6 +39,39 @@ class NewModel @@ -39,6 +39,39 @@ class NewModel
39 $result['data']['filter']['review'] = Search::getRecentReview(); 39 $result['data']['filter']['review'] = Search::getRecentReview();
40 // 组织模板数据 40 // 组织模板数据
41 $data = HelperSearch::getList($result, $options); 41 $data = HelperSearch::getList($result, $options);
  42 +
  43 + //new页面模拟数据
  44 + $data['newMain'] = array(
  45 + 'banner' => 'http://img11.static.yhbimg.com/yhb-img01/2015/11/23/07/010a459d41b99a839cba9377532f1c19b2.jpg?imageView/3/w/970/h/200',
  46 + 'date' => '12月16日',
  47 + 'title' => '新品到着',
  48 + 'brands' => array(
  49 + array(
  50 + 'href' => '',
  51 + 'logo' => 'http://img13.static.yhbimg.com/brandLogo/2012/02/28/15/02b2b5ded161ab31e2e097a327ed475052.jpg?imageView/2/w/170/h/120'
  52 + ),
  53 + array(
  54 + 'href' => '',
  55 + 'logo' => 'http://img13.static.yhbimg.com/brandLogo/2012/11/09/09/023721f44182f775d79904010af421331e.jpg?imageView/2/w/170/h/120'
  56 + ),
  57 + array(
  58 + 'href' => '',
  59 + 'logo' => 'http://img11.static.yhbimg.com/brandLogo/2012/12/13/17/01408fb72646c8f3fa59d870514f08a356.jpg?imageView/2/w/170/h/120'
  60 + ),
  61 + array(
  62 + 'href' => '',
  63 + 'logo' => 'http://img13.static.yhbimg.com/brandLogo/2012/12/24/13/0265b45e37af697c5ba12d5415fb341f27.jpg?imageView/2/w/170/h/120'
  64 + ),
  65 + array(
  66 + 'href' => '',
  67 + 'logo' => 'http://img11.static.yhbimg.com/brandLogo/2015/08/11/15/012d09a5cae187af1f6f3ed246b9b5a4fc.jpg?imageView/2/w/170/h/120'
  68 + ),
  69 + array(
  70 + 'href' => '',
  71 + 'logo' => 'http://img11.static.yhbimg.com/brandLogo/2015/08/20/16/01047ffb3ca182871821d551af31ac2378.jpg?imageView/2/w/170/h/120'
  72 + )
  73 + )
  74 + );
42 } 75 }
43 76
44 return array( 77 return array(