From 4a4e38a39625f177c4878906add596c0649728f7 Mon Sep 17 00:00:00 2001 From: raoyanhui Date: Thu, 12 Apr 2018 20:36:26 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=9F=8E=E5=B8=82?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fangija-zsyf/views/loan/loanInfo.html | 45 +++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/fangija-zsyf/views/loan/loanInfo.html b/fangija-zsyf/views/loan/loanInfo.html index a15ba34..500cae2 100644 --- a/fangija-zsyf/views/loan/loanInfo.html +++ b/fangija-zsyf/views/loan/loanInfo.html @@ -135,6 +135,13 @@ 按城市等级 +
+
+
+
+
+
+
@@ -1057,6 +1064,44 @@ $(".checkbox").on("click", function () { $(this).find("i").addClass("current"); }); +function req(city){ + //city=city.replace("","") + $("#input_city").val(city); + //potenialIndex(city); +} +//城市选择 +//$("#cityCopy").html($('.tabs').html()) +var getAllCitys = function() { + var list = new Array(); + $("#tabCity1 #cityContainer .city p").each(function(i, o) { + list.push($(o).text()); + }); + return list; +} + +var search = function(){ + var city = $("#citySearchInp").val(); + $("#selectContainer .city-list").empty(); + $("#selectContainer").show(); + var cityList = getAllCitys(); + for(var i=0;i"+cityList[i]+"

"); + } + } + if(city == ""){ + $("#selectContainer").hide(); + } +} + +$("#citySearchInp").bind('input propertychange keyup', function() { + search(); +}); + +$("#citySearchInp").bind('keyup', function() { + search(); +}); + From 94dbbd247ca7a81262909223ce32ed46a2667bf8 Mon Sep 17 00:00:00 2001 From: raoyanhui Date: Thu, 12 Apr 2018 20:37:21 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E8=B0=83=E6=95=B4seeting=20=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E9=80=80=E5=87=BA=20=E5=8A=A0=E8=BD=BD=20userinfo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fangija-zsyf/views/setting/setting.html | 26 ++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/fangija-zsyf/views/setting/setting.html b/fangija-zsyf/views/setting/setting.html index d520c2d..53b4c9d 100644 --- a/fangija-zsyf/views/setting/setting.html +++ b/fangija-zsyf/views/setting/setting.html @@ -106,8 +106,12 @@ mui.init({ function logout() { localStorage.removeItem("user_token"); localStorage.removeItem("user_token_add_time"); - back(); + //退出登录之前loading下个人中心 + plus.webview.getWebviewById('views/house/houseManageList.html').reload(); + plus.webview.getWebviewById('views/user/userInfo.html').reload(); + timer.start(); } + function download(imgUrl) { var suffix = '/qun.png'; var downLoader = plus.downloader.createDownload(imgUrl, { @@ -138,6 +142,26 @@ mui.plusReady(function() { }); }); +//退出登录等待两秒 +timer = { + countdown:2, + start:function(){ + countdown = 2 + timer.down() + }, + down:function(){ + countdown -- + if(countdown <= 0){ + back(); + return; + }else{ + setTimeout(timer.down, 1000) + } + }, + cancel:function(){ + countdown = 0 + } +} \ No newline at end of file From b92e98ef1b707cab9c4e9304271c27ee073ac9b6 Mon Sep 17 00:00:00 2001 From: raoyanhui Date: Thu, 12 Apr 2018 20:38:12 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=B8=AA=E4=BA=BA?= =?UTF-8?q?=E4=B8=AD=E5=BF=83=E9=9A=90=E8=97=8F=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fangija-zsyf/views/user/userInfo.html | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/fangija-zsyf/views/user/userInfo.html b/fangija-zsyf/views/user/userInfo.html index b3d8722..1e4776a 100644 --- a/fangija-zsyf/views/user/userInfo.html +++ b/fangija-zsyf/views/user/userInfo.html @@ -50,7 +50,7 @@

立即登录

-
+