|
@@ -1349,6 +1349,12 @@
|
|
|
if (countLength > 1) {
|
|
|
paddingLeft = (countLength + 1) * 9;
|
|
|
}
|
|
|
+ //收藏处理
|
|
|
+ if (sessionStorage.getItem('listCollSessionId')&&sessionStorage.getItem('listCollSessionId')==obj["_id"]){
|
|
|
+ obj["collection"] = sessionStorage.getItem('listCollSessionBool');
|
|
|
+ sessionStorage.removeItem('listCollSessionId')
|
|
|
+ sessionStorage.removeItem('listCollSessionBool')
|
|
|
+ }
|
|
|
//是否浏览过
|
|
|
var visited = "";
|
|
|
if (obj.ca_isvisit == 1) {
|
|
@@ -1969,10 +1975,12 @@
|
|
|
tempS.removeClass('hover')
|
|
|
}, 50)
|
|
|
})
|
|
|
- document.querySelector('.screen').addEventListener('touchmove', stopScroll, {passive: false});
|
|
|
- document.querySelector('.tab_left').addEventListener('touchmove', stopScroll, {passive: false});
|
|
|
- document.querySelector('.tab_right').addEventListener('touchmove', stopScroll, {passive: false});
|
|
|
- document.querySelector('.handle_menu').addEventListener('touchmove', stopScroll, {passive: false});
|
|
|
+ try{
|
|
|
+ document.querySelector('.screen').addEventListener('touchmove', stopScroll, {passive: false});
|
|
|
+ document.querySelector('.tab_left').addEventListener('touchmove', stopScroll, {passive: false});
|
|
|
+ document.querySelector('.tab_right').addEventListener('touchmove', stopScroll, {passive: false});
|
|
|
+ document.querySelector('.handle_menu').addEventListener('touchmove', stopScroll, {passive: false});
|
|
|
+ }catch(e){}
|
|
|
if (firstTime != "" && firstTime != null) {
|
|
|
date = formatDate(firstTime / 1000, "1");
|
|
|
}
|