Authored by Rock Zhang

添加筛选的拼接字段

@@ -91,6 +91,7 @@ class ListProcess @@ -91,6 +91,7 @@ class ListProcess
91 $result = array( 91 $result = array(
92 'title' => '品牌', 92 'title' => '品牌',
93 'name' => '所有品牌', 93 'name' => '所有品牌',
  94 + 'dataType' => 'brand',
94 'subs' => array( 95 'subs' => array(
95 array( 96 array(
96 'chosed' => true, 97 'chosed' => true,
@@ -119,6 +120,7 @@ class ListProcess @@ -119,6 +120,7 @@ class ListProcess
119 $result = array( 120 $result = array(
120 'title' => '颜色', 121 'title' => '颜色',
121 'name' => '所有颜色', 122 'name' => '所有颜色',
  123 + 'dataType' => 'color',
122 'subs' => array( 124 'subs' => array(
123 array( 125 array(
124 'chosed' => true, 126 'chosed' => true,
@@ -144,6 +146,7 @@ class ListProcess @@ -144,6 +146,7 @@ class ListProcess
144 $result = array( 146 $result = array(
145 'title' => '折扣', 147 'title' => '折扣',
146 'name' => '所有商品', 148 'name' => '所有商品',
  149 + 'dataType' => 'p_d',
147 'subs' => array( 150 'subs' => array(
148 array( 151 array(
149 'chosed' => true, 152 'chosed' => true,
@@ -169,6 +172,7 @@ class ListProcess @@ -169,6 +172,7 @@ class ListProcess
169 $result = array( 172 $result = array(
170 'title' => '性别', 173 'title' => '性别',
171 'name' => '所有性别', 174 'name' => '所有性别',
  175 + 'dataType' => 'gender',
172 'subs' => array( 176 'subs' => array(
173 array( 177 array(
174 'chosed' => true, 178 'chosed' => true,
@@ -176,11 +180,11 @@ class ListProcess @@ -176,11 +180,11 @@ class ListProcess
176 'name' => '所有性别' 180 'name' => '所有性别'
177 ), 181 ),
178 array( 182 array(
179 - 'dataId' => 1, 183 + 'dataId' => 'boys',
180 'name' => '男' 184 'name' => '男'
181 ), 185 ),
182 array( 186 array(
183 - 'dataId' => 2, 187 + 'dataId' => 'girls',
184 'name' => '女' 188 'name' => '女'
185 ), 189 ),
186 ) 190 )
@@ -194,6 +198,7 @@ class ListProcess @@ -194,6 +198,7 @@ class ListProcess
194 $result = array( 198 $result = array(
195 'title' => '品类', 199 'title' => '品类',
196 'name' => '所有品类', 200 'name' => '所有品类',
  201 + 'dataType' => 'msort',
197 'subs' => array( 202 'subs' => array(
198 array( 203 array(
199 'chosed' => true, 204 'chosed' => true,
@@ -232,6 +237,7 @@ class ListProcess @@ -232,6 +237,7 @@ class ListProcess
232 $result = array( 237 $result = array(
233 'title' => '价格', 238 'title' => '价格',
234 'name' => '所有价格', 239 'name' => '所有价格',
  240 + 'dataType' => 'price',
235 'subs' => array( 241 'subs' => array(
236 array( 242 array(
237 'chosed' => true, 243 'chosed' => true,
@@ -256,6 +262,7 @@ class ListProcess @@ -256,6 +262,7 @@ class ListProcess
256 $result = array( 262 $result = array(
257 'title' => '尺码', 263 'title' => '尺码',
258 'name' => '所有尺码', 264 'name' => '所有尺码',
  265 + 'dataType' => 'size',
259 'subs' => array( 266 'subs' => array(
260 array( 267 array(
261 'chosed' => true, 268 'chosed' => true,
@@ -35,7 +35,7 @@ class ListController extends AbstractAction @@ -35,7 +35,7 @@ class ListController extends AbstractAction
35 'goodList' => array( 35 'goodList' => array(
36 'brand' => 0, 36 'brand' => 0,
37 'msort' => 0, 37 'msort' => 0,
38 - 'gender' => $this->getCookie('_Channel', '1,2'), 38 + 'gender' => $this->getCookie('_Channel', 'boys'),
39 'sort' => 0, 39 'sort' => 0,
40 'price' => 0, 40 'price' => 0,
41 'size' => 0, 41 'size' => 0,
@@ -104,7 +104,7 @@ class ListController extends AbstractAction @@ -104,7 +104,7 @@ class ListController extends AbstractAction
104 // 转换性别 104 // 转换性别
105 if($gender === 'boys') 105 if($gender === 'boys')
106 { 106 {
107 - $gender = '1,2'; 107 + $gender = '1,3';
108 } 108 }
109 elseif($gender === 'girls') 109 elseif($gender === 'girls')
110 { 110 {
@@ -180,7 +180,7 @@ class ListController extends AbstractAction @@ -180,7 +180,7 @@ class ListController extends AbstractAction
180 ), 180 ),
181 'brand' => $brand, 181 'brand' => $brand,
182 'msort' => 0, 182 'msort' => 0,
183 - 'gender' => $this->getCookie('_Channel', '1,3'), 183 + 'gender' => $this->getCookie('_Channel', 'boys'),
184 'sort' => 0, 184 'sort' => 0,
185 'price' => 0, 185 'price' => 0,
186 'size' => 0, 186 'size' => 0,