YOUFANG1.0.4 工具条
This commit is contained in:
@@ -278,6 +278,8 @@ function checkIsLogin(){
|
|||||||
selectNewsCollectList();
|
selectNewsCollectList();
|
||||||
//加载消息列表
|
//加载消息列表
|
||||||
addMessage(mm_itemsPerLoad,0);
|
addMessage(mm_itemsPerLoad,0);
|
||||||
|
//加载工具条
|
||||||
|
loadToolList();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -497,6 +499,9 @@ function openSettingPage() {
|
|||||||
document.addEventListener('plusready', onPlusReady, false);
|
document.addEventListener('plusready', onPlusReady, false);
|
||||||
|
|
||||||
function onPlusReady(){
|
function onPlusReady(){
|
||||||
|
checkIsLogin();
|
||||||
|
}
|
||||||
|
function loadToolList (){
|
||||||
var toolList = new Vue({
|
var toolList = new Vue({
|
||||||
el:"#toolList",
|
el:"#toolList",
|
||||||
data:{
|
data:{
|
||||||
@@ -547,9 +552,7 @@ function onPlusReady(){
|
|||||||
}).catch(function(error){
|
}).catch(function(error){
|
||||||
console.log(error);
|
console.log(error);
|
||||||
});
|
});
|
||||||
checkIsLogin();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$("a[href='#tabList1'],a[href='#tabList2'],a[href='#tabList3']").click(function(){
|
$("a[href='#tabList1'],a[href='#tabList2'],a[href='#tabList3']").click(function(){
|
||||||
var eventType = "";
|
var eventType = "";
|
||||||
var type = $(this).text();
|
var type = $(this).text();
|
||||||
|
|||||||
Reference in New Issue
Block a user