问题:弹窗之后,父窗口总是滑动到顶部
思路:使用锚点的机制,实现关闭弹窗后滑动到锚点
,end:function(){
...
if (location.hash== hash) {
location.hash = '';
}
location.hash = hash;
}
问题:弹窗之后,父窗口总是滑动到顶部
思路:使用锚点的机制,实现关闭弹窗后滑动到锚点
,end:function(){
...
if (location.hash== hash) {
location.hash = '';
}
location.hash = hash;
}
转载于:https://my.oschina.net/u/2003520/blog/3005417