YOUFANG 房产行情+评估报告
This commit is contained in:
@@ -142,10 +142,10 @@ $.config = {router: false}
|
|||||||
<script type="text/javascript" src="../../js/axiosPlugin.js"></script>
|
<script type="text/javascript" src="../../js/axiosPlugin.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>
|
||||||
// document.addEventListener('plusready', onPlusReady, false);
|
document.addEventListener('plusready', onPlusReady, false);
|
||||||
// function onPlusReady(){
|
function onPlusReady(){
|
||||||
// var self = plus.webview.currentWebview();
|
var self = plus.webview.currentWebview();
|
||||||
// var hid = self.hid;
|
var hid = self.hid;
|
||||||
var houseStatus = ""
|
var houseStatus = ""
|
||||||
hid = '104631167348637696';
|
hid = '104631167348637696';
|
||||||
var house_info = new Vue({
|
var house_info = new Vue({
|
||||||
@@ -183,14 +183,13 @@ $.config = {router: false}
|
|||||||
var price_feedback = new Vue({
|
var price_feedback = new Vue({
|
||||||
el:"#price_feedback",
|
el:"#price_feedback",
|
||||||
data:{
|
data:{
|
||||||
isShow:"none"
|
isShow:"display"
|
||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
feedback:function(i,event){
|
feedback:function(i,event){
|
||||||
if($(event.target).hasClass("theme")){
|
if($(event.target).hasClass("theme")){
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
//return;
|
|
||||||
axios.post("/rest/evaluate/feedBack",{
|
axios.post("/rest/evaluate/feedBack",{
|
||||||
hid:hid,
|
hid:hid,
|
||||||
reason:i
|
reason:i
|
||||||
@@ -199,11 +198,19 @@ $.config = {router: false}
|
|||||||
$("#price_feedback").hide();
|
$("#price_feedback").hide();
|
||||||
}).catch(function(error){console.log(error)})
|
}).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)
|
console.log(error)
|
||||||
})
|
})
|
||||||
|
|
||||||
// }
|
}
|
||||||
|
|
||||||
|
|
||||||
//添加管理AJAX请求
|
//添加管理AJAX请求
|
||||||
|
|||||||
@@ -498,7 +498,6 @@ $.config = {router: false}
|
|||||||
coordsType:'bd09ll'
|
coordsType:'bd09ll'
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
alert(city)
|
|
||||||
var myFocus = new Vue({
|
var myFocus = new Vue({
|
||||||
el:"#myFocus"
|
el:"#myFocus"
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user