显示页签

This commit is contained in:
amarsoft 2018-06-15 15:27:31 +08:00
parent 83677c5882
commit 9c629077c2

View File

@ -24,7 +24,7 @@ var tabCompent = new TabStrip("T01", "
if(datas[i][0] != "true") continue;
nums.push(i);
tabCompent.addDataItem(self.name+i,'', datas[i][2], datas[i][3]=="false"?false:true, datas[i][4]=="true"?true:false, datas[i][5]);
tabCompent.addDataItem(self.name+i,datas[i][1], datas[i][2], datas[i][3]=="false"?false:true, datas[i][4]=="true"?true:false, datas[i][5]);
}
if(nums.indexOf(first) < 0) first = nums[0];
tabCompent.setSelectedItem(self.name+first);
@ -35,7 +35,7 @@ var tabCompent = new TabStrip("T01", "
$(window).resize(function(){
if(bts) $("#window1").height($("body").height() - $(bts).height());
if(tabCompent._view=="tab") $(".tabs_content").height($("#window1").height()-$(".tabs_button").height()-7);
$(".handle").hide();
//$(".handle").hide();
}).resize();
})(<%=CurPage.getAttribute("TabStrip")%>, <%=_first%>);