diff --git a/fangija-zsyf/views/evaluate/evaluateReport.html b/fangija-zsyf/views/evaluate/evaluateReport.html index 4b09b02..4c4fa79 100644 --- a/fangija-zsyf/views/evaluate/evaluateReport.html +++ b/fangija-zsyf/views/evaluate/evaluateReport.html @@ -333,7 +333,6 @@ function addManagement(id, houseStatus, liveStatus){ $.toast(response.data.data); plus.webview.getWebviewById('views/house/houseManageList.html').reload(); plus.webview.getWebviewById('views/user/userInfo.html').reload(); - plus.webview.getWebviewById('views/house/houseList.html').reload(); }else{ $.toast(response.data.message); } diff --git a/fangija-zsyf/views/house/detail.html b/fangija-zsyf/views/house/detail.html index 7d4a77a..42e362d 100644 --- a/fangija-zsyf/views/house/detail.html +++ b/fangija-zsyf/views/house/detail.html @@ -94,7 +94,7 @@ 出售分析 --> -
+
出租管理
@@ -109,6 +109,38 @@
+
+
+
+
    +
  • +
    +
    目前状态
    +
    出租
    +
    +
  • +
  • +
    +
    出租日期
    +
    2018/02/01 - 2018/07/31
    +
    +
  • +
  • +
    +
    每期租金
    +
    5,000元 (1月/次)
    +
    +
  • +
  • +
    +
    下次收租
    +
    3月1日
    +
    +
  • +
+
+
+
@@ -297,7 +329,7 @@ $.config = {router: false} diff --git a/fangija-zsyf/views/rent/rentManager.html b/fangija-zsyf/views/rent/rentManager.html index 2599ff8..19ed821 100644 --- a/fangija-zsyf/views/rent/rentManager.html +++ b/fangija-zsyf/views/rent/rentManager.html @@ -126,7 +126,7 @@ $.config = {router: false} document.addEventListener('plusready', onPlusReady, false); function onPlusReady() { var self = plus.webview.currentWebview(); - id = self.id + id = self.houseId axios.get('/rest/rent/queryHouseRent',{params:{id:id}}).then(function(response){ var data = response.data.data.houses; $.each(data,function(i){ @@ -281,6 +281,7 @@ function onPlusReady() { } axios.post("/rest/rent/changeStatus",d).then(function(response){ + plus.webview.getWebviewById('views/house/detail.html').reload(); back(),plus.nativeUI.closeWaiting(); }).catch(function(error){ console.log(error) diff --git a/fangija-zsyf/views/user/codeSms.html b/fangija-zsyf/views/user/codeSms.html index 3516c1e..6bcba36 100644 --- a/fangija-zsyf/views/user/codeSms.html +++ b/fangija-zsyf/views/user/codeSms.html @@ -119,6 +119,18 @@ $(".check").on("click", function () { function openView() { clicked(BASE_PATH + '/user/agreement',true) } + +var originalHeight=document.documentElement.clientHeight || document.body.clientHeight; +window.onresize=function(){ + //软键盘弹起与隐藏 都会引起窗口的高度发生变化 + var resizeHeight=document.documentElement.clientHeight || document.body.clientHeight; + if(resizeHeight*1