Toggle navigation
Toggle navigation
This project
Loading...
Sign in
chenchao
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
毕凯
9 years ago
Commit
3e2bd7919d169a2d9118b20a70f0575e56c56ec3
1 parent
22631f78
增加价格筛选自定义价格
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
docs/web-data-structure.md
template/www.yohobuy.com/partials/product/filter-box.phtml
yohobuy/www.yohobuy.com/application/modules/Product/controllers/Index1.php
docs/web-data-structure.md
View file @
3e2bd79
...
...
@@ -489,6 +489,10 @@
},
...
],
customPrice: {
min: 1,
max: 99
},
color:
[
{
href: '',
...
...
template/www.yohobuy.com/partials/product/filter-box.phtml
View file @
3e2bd79
...
...
@@ -133,9 +133,9 @@
<div class="ud-price-range">
¥
<input type="text" class="min limit">
<input type="text" class="min limit"
value="{{customPrice.min}}"
>
<span class="price-sep">-</span>
<input type="text" class="max limit">
<input type="text" class="max limit"
value="{{customPrice.max}}"
>
<button class="price-sure hide">确定</button>
</div>
...
...
yohobuy/www.yohobuy.com/application/modules/Product/controllers/Index1.php
View file @
3e2bd79
...
...
@@ -198,6 +198,10 @@ class Index1Controller extends AbstractAction
'name'
=>
'240-329'
)
),
'customPrice'
=>
array
(
'min'
=>
1
,
'max'
=>
99
),
'color'
=>
array
(
array
(
'href'
=>
''
,
...
...
Please
register
or
login
to post a comment