Authored by 郝肖肖

最新搜索 input query参数对象纠正

... ... @@ -10,20 +10,20 @@ const isProduction = process.env.NODE_ENV === 'production';
const isTest = process.env.NODE_ENV === 'test';
const domains = {
// api: 'http://api-test3.yohops.com:9999/',
// service: 'http://service-test3.yohops.com:9999/',
// liveApi: 'http://testapi.live.yohops.com:9999/',
// singleApi: 'http://api-test3.yohops.com:9999/',
api: 'http://api-test3.yohops.com:9999/',
service: 'http://service-test3.yohops.com:9999/',
liveApi: 'http://testapi.live.yohops.com:9999/',
singleApi: 'http://api-test3.yohops.com:9999/',
// api: 'http://dev-api.yohops.com:9999/',
// service: 'http://dev-service.yohops.com:9999/',
// liveApi: 'http://api.live.yoho.cn/',
// singleApi: 'http://single.yoho.cn/',
api: 'http://api.yoho.yohoops.org/',
service: 'http://service.yoho.yohoops.org/',
liveApi: 'http://api.live.yoho.cn/',
singleApi: 'http://single.yoho.cn/',
// api: 'http://api.yoho.yohoops.org/',
// service: 'http://service.yoho.yohoops.org/',
// liveApi: 'http://api.live.yoho.cn/',
// singleApi: 'http://single.yoho.cn/',
imSocket: 'wss://imsocket.yohobuy.com:443',
imCs: 'https://imhttp.yohobuy.com/api',
... ...
... ... @@ -10,7 +10,7 @@ var $ = require('yoho-jquery'),
Hammer = require('yoho-hammer'),
dialog = require('plugin/dialog');
var $input = $('#search-input input');
var $input = $('#search-input').find('input[name="query"]');
var $clear = $('#search-input .clear-input');
... ...
... ... @@ -31,7 +31,7 @@ var $goodsContainer = $('#goods-container'),
var winH = $(window).height();
window.$ = $;
var $input = $('#search-input input'),
var $input = $('#search-input').find('input[name="query"]'),
$clear = $('#search-input .clear-input'),
$buriedpoint = $('.buriedpoint'),
$search = $('#search');
... ...
... ... @@ -32,7 +32,7 @@ var $goodsContainer = $('#goods-container'),
var winH = $(window).height();
var $input = $('#search-input input'),
var $input = $('#search-input').find('input[name="query"]'),
$clear = $('#search-input .clear-input'),
$buriedpoint = $('.buriedpoint'),
$search = $('#search');
... ...