phonegap+jquery iOS画面跳转闪烁问题解决

来源:互联网 发布:行知实践园手抄报 编辑:程序博客网 时间:2024/04/29 13:27
在html所用到的css加入如下: 

.ui-mobile, .ui-mobile .ui-page, .ui-mobile [data-role="page"], 
.ui-mobile [data-role="dialog"], .ui-page, .ui-mobile .ui-page-active { 
overflow: hidden; 
-webkit-backface-visibility: hidden; 
} 
.ui-header { 
position: fixed; 
z-index:10; 
top:0; 
width:100%; 
padding:0 0; 

} 
.ui-content { 
padding-top: 57px; 
padding-bottom: 54px; 
overflow: auto; 
position: absolute; 
top: 0; 
right: 0; 
bottom: 0; 
left: 0; 
} 
.ui-footer { 
position: fixed; 
z-index:10; 
bottom:0; 
width:100%; 
} 

并将header footer 的 data-position="fixed"去掉