|
@@ -14,17 +14,18 @@ function autoFlashHeight(){
|
|
|
$(".main-data-not").height($(window).height()-headerHeight-1);
|
|
|
$(".main-data-side-search").height($(window).height()-headerHeight-toolsbarHeight-64);
|
|
|
$(".side-content").height($(window).height()-headerHeight );
|
|
|
- $(".poj-list").height($(window).height()-headerHeight-ftoolsbarHeight);
|
|
|
+ $(".poj-list").height($(window).height()-headerHeight-toolsbarHeight);
|
|
|
+ $(".form-view").height($(window).height()-headerHeight-ftoolsbarHeight);
|
|
|
$(".form-list").height($(window).height()-headerHeight-50 );
|
|
|
};
|
|
|
$(window).resize(autoFlashHeight);
|
|
|
/*全局自适应高度结束*/
|
|
|
$(function(){
|
|
|
-/*侧滑*/
|
|
|
-$(".open-sidebar").click(function(){
|
|
|
- $(".slide-sidebar").animate({width:"800"}).addClass("open");
|
|
|
-});
|
|
|
-$("body").click(function(event){
|
|
|
+ /*侧滑*/
|
|
|
+ $(".open-sidebar").click(function(){
|
|
|
+ $(".slide-sidebar").animate({width:"800"}).addClass("open");
|
|
|
+ });
|
|
|
+ $("body").click(function(event){
|
|
|
var e = event || window.event; //浏览器兼容性
|
|
|
if(!$(event.target).is('a')) {
|
|
|
var elem = event.target || e.srcElement;
|
|
@@ -38,10 +39,13 @@ $("body").click(function(event){
|
|
|
}
|
|
|
|
|
|
});
|
|
|
-/*侧滑*/
|
|
|
-/*工具提示*/
|
|
|
-$(function () {
|
|
|
- $('[data-toggle="tooltip"]').tooltip()
|
|
|
-});
|
|
|
-/*工具提示*/
|
|
|
+ /*侧滑*/
|
|
|
+ /*工具提示*/
|
|
|
+ $(function () {
|
|
|
+ $('[data-toggle="tooltip"]').tooltip()
|
|
|
+ });
|
|
|
+ /*工具提示*/
|
|
|
+ $(function () {
|
|
|
+ $('[data-toggle="popover"]').popover()
|
|
|
+ });
|
|
|
});
|