diff --git a/fangija-zsyf/views/house/add.html b/fangija-zsyf/views/house/add.html
index 6a4162f..11884c6 100644
--- a/fangija-zsyf/views/house/add.html
+++ b/fangija-zsyf/views/house/add.html
@@ -1553,7 +1553,8 @@ $("#evaluation_btn").on("click", function () {
$("input[name='name']").val(district.name)
$("input[name='region']").val(district.region)
$("#input_city").val(district.city)
- addEvaluation();
+
+
}else{
// $("#nextBtn").attr("disabled", false)
console.log("error");
@@ -1565,6 +1566,17 @@ $("#evaluation_btn").on("click", function () {
});
});
+//判断是否登录
+//var loginFlag=false;
+function checkIsLogin(){
+ if(localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == ""){
+ clicked('/views/user/passLogin.html',true,false,{},{},function(){
+ //checkIsLogin();
+ })
+ }else{
+ addEvaluation();
+ }
+}
function addEvaluation(){
axios.get("/rest/index/checkEvalPrice", {
@@ -1582,13 +1594,7 @@ function addEvaluation(){
.then(function (response) {
if(response.data.data!=null && response.data.data.success){
var id = response.data.data.id;
- mui.openWindow({
- url: 'detail.html',
- id:'detail.html',
- extras:{
- id:id
- }
- });
+ clicked('detail.html',true,false,{},{id:id})
}else{
$.toast(response.data.message);
}
@@ -1596,39 +1602,6 @@ function addEvaluation(){
.catch(function (error) {
console.log(error);
});
-
-
- /*$.ajax({
- url:"${basePath}/fsh/checkEvalPrice",
- dataType:'json',
- data:$("form").serialize(),
- success:function (data) {
- console.log()
- var str = "/house/add?city="+$("#input_city").val()+"®ion="+$("input[name=region]").val()+"&name="+$("#input_address").val()+"&address="+$("input[name=address]").val()+"&estateType="+$("#input_houseType").val()+"&building="+$("#input_building").val()+"&floors="+$("#input_floor").val()+"&area="+$("#input_area").val();
- if(data.success){
- $.showIndicator();
- window.location.href="${basePath}/house/doEvaluation?id="+data.id+"&backUrl=${backUrl!}";
- }else{
- if (data.data == 0){
- $.toast(data.message);
- var sstr = "${basePath}/user/smsLogin";
- console.log(sstr);
- //window.location.href = sstr;
- clicked(sstr,true);
- }
- if(data.message!=undefined && data.message!=""){
- $.hidePreloader();
- $.toast(data.message);
- }else{
- $.hidePreloader();
- $.toast("该地址不支持估价!");
- }
- }
- },
- error:function () {
- $.toast("估价失败请重试!")
- }
- })*/
}
/* 信息输入弹窗 */
diff --git a/fangija-zsyf/views/house/houseList.html b/fangija-zsyf/views/house/houseList.html
index 61a9b49..31750c7 100644
--- a/fangija-zsyf/views/house/houseList.html
+++ b/fangija-zsyf/views/house/houseList.html
@@ -24,12 +24,31 @@
.list-block .item-title em{font-size:0.8rem;color:#EB5F34;}
.list-block .item-title .tag small{font-size:80%;color:#F5A100;}
-
-
+
+
+
+
+
+

+
管理房产,房价、房租一手掌握
+
+
+
+
+
+
+