Authored by Rock Zhang

添加筛选的拼接字段

... ... @@ -91,6 +91,7 @@ class ListProcess
$result = array(
'title' => '品牌',
'name' => '所有品牌',
'dataType' => 'brand',
'subs' => array(
array(
'chosed' => true,
... ... @@ -119,6 +120,7 @@ class ListProcess
$result = array(
'title' => '颜色',
'name' => '所有颜色',
'dataType' => 'color',
'subs' => array(
array(
'chosed' => true,
... ... @@ -144,6 +146,7 @@ class ListProcess
$result = array(
'title' => '折扣',
'name' => '所有商品',
'dataType' => 'p_d',
'subs' => array(
array(
'chosed' => true,
... ... @@ -169,6 +172,7 @@ class ListProcess
$result = array(
'title' => '性别',
'name' => '所有性别',
'dataType' => 'gender',
'subs' => array(
array(
'chosed' => true,
... ... @@ -176,11 +180,11 @@ class ListProcess
'name' => '所有性别'
),
array(
'dataId' => 1,
'dataId' => 'boys',
'name' => '男'
),
array(
'dataId' => 2,
'dataId' => 'girls',
'name' => '女'
),
)
... ... @@ -194,6 +198,7 @@ class ListProcess
$result = array(
'title' => '品类',
'name' => '所有品类',
'dataType' => 'msort',
'subs' => array(
array(
'chosed' => true,
... ... @@ -232,6 +237,7 @@ class ListProcess
$result = array(
'title' => '价格',
'name' => '所有价格',
'dataType' => 'price',
'subs' => array(
array(
'chosed' => true,
... ... @@ -256,6 +262,7 @@ class ListProcess
$result = array(
'title' => '尺码',
'name' => '所有尺码',
'dataType' => 'size',
'subs' => array(
array(
'chosed' => true,
... ...
... ... @@ -35,7 +35,7 @@ class ListController extends AbstractAction
'goodList' => array(
'brand' => 0,
'msort' => 0,
'gender' => $this->getCookie('_Channel', '1,2'),
'gender' => $this->getCookie('_Channel', 'boys'),
'sort' => 0,
'price' => 0,
'size' => 0,
... ... @@ -104,7 +104,7 @@ class ListController extends AbstractAction
// 转换性别
if($gender === 'boys')
{
$gender = '1,2';
$gender = '1,3';
}
elseif($gender === 'girls')
{
... ... @@ -180,7 +180,7 @@ class ListController extends AbstractAction
),
'brand' => $brand,
'msort' => 0,
'gender' => $this->getCookie('_Channel', '1,3'),
'gender' => $this->getCookie('_Channel', 'boys'),
'sort' => 0,
'price' => 0,
'size' => 0,
... ...