Commit e1e571f5 by 肖康

列表加购问题

parent 05f8c073
......@@ -127,11 +127,13 @@ define('brandlist', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], functio
if (num > max_num) {
$(this).val(max_num)
liexin_pop.Tip({ title: "At Most " + max_num })
brandlist.onePriceRow($(this).parents(".td-group"))
return
}
if (num < min_num) {
$(this).val(min_num)
liexin_pop.Tip({ title: "At Least " + min_num })
brandlist.onePriceRow($(this).parents(".td-group"))
return
}
......
......@@ -74,12 +74,12 @@ define('car', ['tool', 'liexin_pop', 'artTemplate'], function (require, exports,
if(num>max_num){
$(this).val(max_num)
liexin_pop.Tip({ title: "At Most "+max_num })
return
}
if(num<min_num){
$(this).val(min_num)
liexin_pop.Tip({ title: "At Least "+min_num })
return
}
var data_={
goods_id:$(this).attr("goods_id"),
......
......@@ -135,11 +135,13 @@ define('class_p', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], function
if (num > max_num) {
$(this).val(max_num)
liexin_pop.Tip({ title: "At Most " + max_num })
class_p.onePriceRow($(this).parents(".td-group"))
return
}
if (num < min_num) {
$(this).val(min_num)
liexin_pop.Tip({ title: "At Least " + min_num })
class_p.onePriceRow($(this).parents(".td-group"))
return
}
......
......@@ -125,11 +125,13 @@ define('search', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], function (
if(num>max_num){
$(this).val(max_num)
liexin_pop.Tip({ title: "At Most "+max_num })
search.onePriceRow($(this).parents(".td-group"))
return
}
if(num<min_num){
$(this).val(min_num)
liexin_pop.Tip({ title: "At Least "+min_num })
search.onePriceRow($(this).parents(".td-group"))
return
}
......
......@@ -64,7 +64,7 @@
<div class="check">
<i class="icon iconfont icon-gou"></i>
</div>
<p>Show what's available</p>
<p>Exact Match</p>
</div>
</div>
<div class="datalistcon boxsiz">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment