|
@ -34,6 +34,11 @@
|
34
|
34
|
checkedindex = this.getAttribute("index");
|
35
|
35
|
var libtn_arr = document.getElementById("fixbtn").getElementsByTagName("li");
|
36
|
36
|
if(checkedindex == 0) {
|
|
37
|
var list1 = plus.webview.getWebviewById('attentions-list2.html');
|
|
38
|
console.log(list1)
|
|
39
|
if(list1==null){
|
|
40
|
return;
|
|
41
|
}
|
37
|
42
|
libtn_arr[0].classList.add("liactive");
|
38
|
43
|
libtn_arr[1].classList.remove("liactive");
|
39
|
44
|
mui.openWindow({
|
|
@ -48,9 +53,13 @@
|
48
|
53
|
bottom: '0px',
|
49
|
54
|
}
|
50
|
55
|
});
|
51
|
|
var list1 = plus.webview.getWebviewById('attentions-list2.html');
|
|
56
|
|
52
|
57
|
list1.close();
|
53
|
58
|
} else {
|
|
59
|
var list2 = plus.webview.getWebviewById('attentions-list.html');
|
|
60
|
if(list2==null){
|
|
61
|
return;
|
|
62
|
}
|
54
|
63
|
libtn_arr[1].classList.add("liactive");
|
55
|
64
|
libtn_arr[0].classList.remove("liactive");
|
56
|
65
|
|
|
@ -66,7 +75,7 @@
|
66
|
75
|
bottom: '0px',
|
67
|
76
|
}
|
68
|
77
|
});
|
69
|
|
var list2 = plus.webview.getWebviewById('attentions-list.html');
|
|
78
|
|
70
|
79
|
list2.close();
|
71
|
80
|
}
|
72
|
81
|
})
|