Showing
6 changed files
with
18 additions
and
3 deletions
@@ -41,7 +41,8 @@ var defaultOpt = { | @@ -41,7 +41,8 @@ var defaultOpt = { | ||
41 | size: $('#size').val(), | 41 | size: $('#size').val(), |
42 | price: $('#price').val(), | 42 | price: $('#price').val(), |
43 | discount: $('#discount').val(), | 43 | discount: $('#discount').val(), |
44 | - query: $('#query').val() | 44 | + query: $('#query').val(), |
45 | + style: $('#style').val() | ||
45 | }; | 46 | }; |
46 | 47 | ||
47 | var $listNav = $('#list-nav'), | 48 | var $listNav = $('#list-nav'), |
@@ -34,7 +34,8 @@ var defaultOpt = { | @@ -34,7 +34,8 @@ var defaultOpt = { | ||
34 | color: $('#color').val(), | 34 | color: $('#color').val(), |
35 | size: $('#size').val(), | 35 | size: $('#size').val(), |
36 | price: $('#price').val(), | 36 | price: $('#price').val(), |
37 | - discount: $('#discount').val() | 37 | + discount: $('#discount').val(), |
38 | + style: $('#style').val() | ||
38 | }; | 39 | }; |
39 | 40 | ||
40 | var $listNav = $('#list-nav'), | 41 | var $listNav = $('#list-nav'), |
@@ -41,7 +41,8 @@ var defaultOpt = { | @@ -41,7 +41,8 @@ var defaultOpt = { | ||
41 | limit: $('#limit').val(), | 41 | limit: $('#limit').val(), |
42 | channel: $('#channel').val(), | 42 | channel: $('#channel').val(), |
43 | p_d: $('#p_d').val(), | 43 | p_d: $('#p_d').val(), |
44 | - dayLimit: 1 | 44 | + dayLimit: 1, |
45 | + style: $('#style').val() | ||
45 | }; | 46 | }; |
46 | 47 | ||
47 | var storeOpt = $.extend({}, defaultOpt); //存储默认筛选条件以便重置 | 48 | var storeOpt = $.extend({}, defaultOpt); //存储默认筛选条件以便重置 |
@@ -90,6 +90,10 @@ | @@ -90,6 +90,10 @@ | ||
90 | <input id="page" type="hidden" value={{page}}> | 90 | <input id="page" type="hidden" value={{page}}> |
91 | {{/if}} | 91 | {{/if}} |
92 | 92 | ||
93 | + {{#if style}} | ||
94 | + <input id="style" type="hidden" value={{style}}> | ||
95 | + {{/if}} | ||
96 | + | ||
93 | {{> product/suspend-cart}} | 97 | {{> product/suspend-cart}} |
94 | </div> | 98 | </div> |
95 | {{> layout/footer}} | 99 | {{> layout/footer}} |
@@ -101,6 +101,10 @@ | @@ -101,6 +101,10 @@ | ||
101 | <input id="discount" type="hidden" value={{discount}}> | 101 | <input id="discount" type="hidden" value={{discount}}> |
102 | {{/if}} | 102 | {{/if}} |
103 | 103 | ||
104 | + {{#if style}} | ||
105 | + <input id="style" type="hidden" value={{style}}> | ||
106 | + {{/if}} | ||
107 | + | ||
104 | {{> product/suspend-cart}} | 108 | {{> product/suspend-cart}} |
105 | </div> | 109 | </div> |
106 | {{> layout/footer}} | 110 | {{> layout/footer}} |
@@ -130,5 +130,9 @@ | @@ -130,5 +130,9 @@ | ||
130 | <input id="query" type="hidden" value={{query}}> | 130 | <input id="query" type="hidden" value={{query}}> |
131 | {{/if}} | 131 | {{/if}} |
132 | 132 | ||
133 | + {{#if style}} | ||
134 | + <input id="style" type="hidden" value={{style}}> | ||
135 | + {{/if}} | ||
136 | + | ||
133 | {{> product/suspend-cart}} | 137 | {{> product/suspend-cart}} |
134 | {{/ goodList}} | 138 | {{/ goodList}} |
-
Please register or login to post a comment