Merge branch 'YOUFANGAPP1.1' of 192.168.0.27:dev0/youfang-app into YOUFANGAPP1.1
This commit is contained in:
@@ -89,7 +89,7 @@ $.config = {router: false}
|
|||||||
<script type="text/javascript" src="../../js/common.js" ></script>
|
<script type="text/javascript" src="../../js/common.js" ></script>
|
||||||
<script type="text/javascript" src="../../js/log/log_stat.js" ></script>
|
<script type="text/javascript" src="../../js/log/log_stat.js" ></script>
|
||||||
<script>
|
<script>
|
||||||
|
window.viewsPage="bindingMobile";
|
||||||
timer = {
|
timer = {
|
||||||
countdown:60,
|
countdown:60,
|
||||||
start:function(){
|
start:function(){
|
||||||
|
|||||||
@@ -104,7 +104,7 @@ $.config = {router: false}
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
|
window.viewsPage="codeSms";
|
||||||
/* 勾选-已阅读 */
|
/* 勾选-已阅读 */
|
||||||
$(".check").on("click", function () {
|
$(".check").on("click", function () {
|
||||||
var a = $(this).find(".checkImg").css("display");
|
var a = $(this).find(".checkImg").css("display");
|
||||||
@@ -125,10 +125,11 @@ window.onresize=function(){
|
|||||||
//软键盘弹起与隐藏 都会引起窗口的高度发生变化
|
//软键盘弹起与隐藏 都会引起窗口的高度发生变化
|
||||||
var resizeHeight=document.documentElement.clientHeight || document.body.clientHeight;
|
var resizeHeight=document.documentElement.clientHeight || document.body.clientHeight;
|
||||||
if(resizeHeight*1<originalHeight*1){ //resizeHeight<originalHeight证明窗口被挤压了
|
if(resizeHeight*1<originalHeight*1){ //resizeHeight<originalHeight证明窗口被挤压了
|
||||||
plus.webview.currentWebview().setStyle({
|
if(window.viewsPage=="codeSms"){
|
||||||
|
plus.webview.currentWebview().setStyle({
|
||||||
height:originalHeight
|
height:originalHeight
|
||||||
});
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user