Authored by 毕凯

增加价格筛选自定义价格

@@ -489,6 +489,10 @@ @@ -489,6 +489,10 @@
489 }, 489 },
490 ... 490 ...
491 ], 491 ],
  492 + customPrice: {
  493 + min: 1,
  494 + max: 99
  495 + },
492 color: [ 496 color: [
493 { 497 {
494 href: '', 498 href: '',
@@ -133,9 +133,9 @@ @@ -133,9 +133,9 @@
133 133
134 <div class="ud-price-range"> 134 <div class="ud-price-range">
135 ¥ 135 ¥
136 - <input type="text" class="min limit"> 136 + <input type="text" class="min limit" value="{{customPrice.min}}">
137 <span class="price-sep">-</span> 137 <span class="price-sep">-</span>
138 - <input type="text" class="max limit"> 138 + <input type="text" class="max limit" value="{{customPrice.max}}">
139 139
140 <button class="price-sure hide">确定</button> 140 <button class="price-sure hide">确定</button>
141 </div> 141 </div>
@@ -198,6 +198,10 @@ class Index1Controller extends AbstractAction @@ -198,6 +198,10 @@ class Index1Controller extends AbstractAction
198 'name' => '240-329' 198 'name' => '240-329'
199 ) 199 )
200 ), 200 ),
  201 + 'customPrice' => array(
  202 + 'min' => 1,
  203 + 'max' => 99
  204 + ),
201 'color' => array( 205 'color' => array(
202 array( 206 array(
203 'href' => '', 207 'href' => '',