Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
徐炜
8 years ago
Commit
8e263db4ecd1859193c131a8a0ad194b0c58ea30
1 parent
e5f561d1
修复列表跳动问题
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
public/js/plugin/filter.js
public/js/product/search/list.js
public/js/plugin/filter.js
View file @
8e263db
...
...
@@ -113,7 +113,7 @@ function subClassifyTapEvt($this) {
fCbFn
({
type
:
$sub
.
data
(
'type'
),
id
:
id
});
}
,
true
);
}
if
(
hCbFn
)
{
...
...
public/js/product/search/list.js
View file @
8e263db
...
...
@@ -244,7 +244,7 @@ C_ID = window._ChannelVary[window.cookie('_Channel')];
* 需要执行search的场景:1.点选筛选项;2.relaod为true时切换导航;3.下拉加载
* @param opt {type, id}
*/
function
search
(
opt
)
{
function
search
(
opt
,
filtering
)
{
var
setting
=
{},
ext
,
att
,
...
...
@@ -465,7 +465,7 @@ function search(opt) {
argument
=
setting
;
if
(
!
firstScreen
)
{
if
(
filtering
)
{
$fsgc
.
addClass
(
'hide'
);
}
...
...
@@ -854,7 +854,7 @@ $newList.on('touchstart', 'li', function(e) {
break
;
}
$pre
=
$firstLiDom
;
search
();
search
(
{},
true
);
});
$
(
document
).
on
(
'touchstart'
,
function
(
e
)
{
...
...
Please
register
or
login
to post a comment