...
|
...
|
@@ -648,6 +648,8 @@ var goodsgird = new common.grid({ |
|
|
if (common.util.__input('min-price') && common.util.__input('max-price')) {
|
|
|
price = common.util.__input('min-price') + "," + common.util.__input('max-price');
|
|
|
}
|
|
|
//加上是否搜索BLK的标识
|
|
|
var appType = $("#goodsgird").attr("appType");
|
|
|
return {
|
|
|
status: 1,
|
|
|
sales: "Y",
|
...
|
...
|
@@ -659,7 +661,8 @@ var goodsgird = new common.grid({ |
|
|
style: Bll2.getIds(Bll.sorts[1].list),//风格先不管
|
|
|
msort: Bll2.getIds(Bll.sorts[2].list),
|
|
|
brand: Bll2.getIds(Bll.sorts[3].list),
|
|
|
gender: Bll2.getIds(Bll.sorts[4].list)
|
|
|
gender: Bll2.getIds(Bll.sorts[4].list),
|
|
|
app_type:appType
|
|
|
};
|
|
|
},
|
|
|
columns: [
|
...
|
...
|
@@ -830,6 +833,20 @@ $(document).on("click", ".hand", function () { |
|
|
*/
|
|
|
$(document).on("click", "#search", function () {
|
|
|
$(".goods-list").show();
|
|
|
$("#goodsgird").attr("appType","0");
|
|
|
if (goodsgird.grid) {
|
|
|
goodsgird.reload(1);
|
|
|
} else {
|
|
|
goodsgird.init('/yohosearch/search');
|
|
|
}
|
|
|
});
|
|
|
|
|
|
/**
|
|
|
* 手动输入中“搜索BLK商品”按钮
|
|
|
*/
|
|
|
$(document).on("click", "#searchBLK", function () {
|
|
|
$(".goods-list").show();
|
|
|
$("#goodsgird").attr("appType","1");
|
|
|
if (goodsgird.grid) {
|
|
|
goodsgird.reload(1);
|
|
|
} else {
|
...
|
...
|
@@ -956,6 +973,15 @@ $(document).on("click", "#search-tag", function () { |
|
|
*/
|
|
|
$(document).on("click", "#search2", function () {
|
|
|
$(".goods-list").show();
|
|
|
$("#goodsgird").attr("appType","0");
|
|
|
goodsgird.init('/yohosearch/search');
|
|
|
});
|
|
|
/**
|
|
|
* 标签搜索中 “搜索BLK商品”按钮
|
|
|
*/
|
|
|
$(document).on("click", "#searchBLK2", function () {
|
|
|
$(".goods-list").show();
|
|
|
$("#goodsgird").attr("appType","1");
|
|
|
goodsgird.init('/yohosearch/search');
|
|
|
});
|
|
|
/**
|
...
|
...
|
|