Authored by xuqi

修正模板页bug

... ... @@ -201,7 +201,7 @@ exports.init = function() {
nav.end = true;
}
nav.reload = false;
nav.deviation = setting.deviation + len;
nav.start++;
//重置可请求标识
canLoadAjax = true;
... ... @@ -341,8 +341,7 @@ exports.init = function() {
*/
function doFilter(id, type, name, navName) {
var $shower = $('#show-' + type),
att,
req;
att;
//更新当前过滤项
curFilter[type] = id;
... ... @@ -370,8 +369,8 @@ exports.init = function() {
function subScTouchEvt(e) {
var $cur = $(e.currentTarget),
$parent = $cur.closest('ul'),
id = $cur.data(id),
type = $parent[0].dataset.type,
id = $cur.data('id'),
type = $parent.data('type'),
name = $cur.children('.text').text();
$parent.children('li.chosed').removeClass('chosed');
... ...