YOUFANG 房产行情+评估报告

This commit is contained in:
zongzhimin
2018-04-12 11:17:25 +08:00
parent 4ae3da435a
commit 26b3ba1525
2 changed files with 18 additions and 12 deletions
+18 -11
View File
@@ -142,10 +142,10 @@ $.config = {router: false}
<script type="text/javascript" src="../../js/axiosPlugin.js"></script>
<script type="text/javascript" src="../../js/log/log_stat.js" ></script>
<script>
// document.addEventListener('plusready', onPlusReady, false);
// function onPlusReady(){
// var self = plus.webview.currentWebview();
// var hid = self.hid;
document.addEventListener('plusready', onPlusReady, false);
function onPlusReady(){
var self = plus.webview.currentWebview();
var hid = self.hid;
var houseStatus = ""
hid = '104631167348637696';
var house_info = new Vue({
@@ -183,14 +183,13 @@ $.config = {router: false}
var price_feedback = new Vue({
el:"#price_feedback",
data:{
isShow:"none"
isShow:"display"
},
methods:{
feedback:function(i,event){
if($(event.target).hasClass("theme")){
return;
}
//return;
axios.post("/rest/evaluate/feedBack",{
hid:hid,
reason:i
@@ -199,11 +198,19 @@ $.config = {router: false}
$("#price_feedback").hide();
}).catch(function(error){console.log(error)})
},
feedbackable:function(){
isFeedback:function(){
axios.get("/rest/evaluate/isFeedBack",{params:{
id:hid
}}).then(function(response){
if(response.data.status){
if(1==response.data.data){
price_feedback.isShow="none"
}
}
}).catch(function(error){console.log(error)})
}
},mounted(){
},mounted:function(){
this.isFeedback();
}
})
@@ -266,7 +273,7 @@ $.config = {router: false}
console.log(error)
})
// }
}
//添加管理AJAX请求
@@ -498,7 +498,6 @@ $.config = {router: false}
coordsType:'bd09ll'
}
);
alert(city)
var myFocus = new Vue({
el:"#myFocus"
})