YOUFANG 房产行情 house_detail
This commit is contained in:
@@ -44,10 +44,10 @@ Vue.component('my_focus',{
|
|||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
loadMyFocus:function(){
|
loadMyFocus:function(){
|
||||||
// if(localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == ""){
|
if(localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == ""){
|
||||||
// $("#myFocusFirstPage").hide()
|
$("#myFocusFirstPage").hide()
|
||||||
// $("#myFocus").hide();
|
$("#myFocus").hide();
|
||||||
// }else{
|
}else{
|
||||||
axios.get("/rest/quotations/userCollectCityInfo").then(function(response){
|
axios.get("/rest/quotations/userCollectCityInfo").then(function(response){
|
||||||
if(response.data.data.length==0){
|
if(response.data.data.length==0){
|
||||||
$("#myFocusFirstPage").hide();
|
$("#myFocusFirstPage").hide();
|
||||||
@@ -58,7 +58,7 @@ Vue.component('my_focus',{
|
|||||||
}).catch(function(error){
|
}).catch(function(error){
|
||||||
console.log(error)
|
console.log(error)
|
||||||
})
|
})
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
},mounted:function(){
|
},mounted:function(){
|
||||||
this.loadMyFocus();
|
this.loadMyFocus();
|
||||||
|
|||||||
@@ -81,7 +81,7 @@
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>-->
|
</div>-->
|
||||||
<div class="content-block priceRecovery" id="price_feedback">
|
<div class="content-block priceRecovery" id="price_feedback" v-bind:style="{display:isShow}">
|
||||||
<p><label>估的准吗?</label></p>
|
<p><label>估的准吗?</label></p>
|
||||||
<p><small>您的反馈很重要,是我们努力的动力</small></p>
|
<p><small>您的反馈很重要,是我们努力的动力</small></p>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@@ -142,13 +142,12 @@ $.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;
|
||||||
//init();
|
|
||||||
var houseStatus = ""
|
var houseStatus = ""
|
||||||
// hid = '104631167348637696';
|
hid = '104631167348637696';
|
||||||
var house_info = new Vue({
|
var house_info = new Vue({
|
||||||
el:'#house_info',
|
el:'#house_info',
|
||||||
data:{
|
data:{
|
||||||
@@ -184,7 +183,7 @@ $.config = {router: false}
|
|||||||
var price_feedback = new Vue({
|
var price_feedback = new Vue({
|
||||||
el:"#price_feedback",
|
el:"#price_feedback",
|
||||||
data:{
|
data:{
|
||||||
|
isShow:"none"
|
||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
feedback:function(i,event){
|
feedback:function(i,event){
|
||||||
@@ -196,9 +195,15 @@ $.config = {router: false}
|
|||||||
hid:hid,
|
hid:hid,
|
||||||
reason:i
|
reason:i
|
||||||
}).then(function(response){
|
}).then(function(response){
|
||||||
|
alert("感谢您的反馈!")
|
||||||
|
$("#price_feedback").hide();
|
||||||
}).catch(function(error){console.log(error)})
|
}).catch(function(error){console.log(error)})
|
||||||
|
},
|
||||||
|
feedbackable:function(){
|
||||||
|
|
||||||
}
|
}
|
||||||
|
},mounted(){
|
||||||
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -261,7 +266,7 @@ $.config = {router: false}
|
|||||||
console.log(error)
|
console.log(error)
|
||||||
})
|
})
|
||||||
|
|
||||||
}
|
// }
|
||||||
|
|
||||||
|
|
||||||
//添加管理AJAX请求
|
//添加管理AJAX请求
|
||||||
|
|||||||
@@ -486,7 +486,19 @@ $.config = {router: false}
|
|||||||
document.addEventListener('plusready', onPlusReady, false);
|
document.addEventListener('plusready', onPlusReady, false);
|
||||||
function onPlusReady(){
|
function onPlusReady(){
|
||||||
var city = "";
|
var city = "";
|
||||||
getPosition();
|
plus.geolocation.getCurrentPosition(function(p){
|
||||||
|
//province = p.address.province;
|
||||||
|
city = p.address.city;
|
||||||
|
//region = p.address.district;
|
||||||
|
}, function(e){
|
||||||
|
},
|
||||||
|
{
|
||||||
|
provider:'baidu',
|
||||||
|
enableHighAccuracy:true,
|
||||||
|
coordsType:'bd09ll'
|
||||||
|
}
|
||||||
|
);
|
||||||
|
alert(city)
|
||||||
var myFocus = new Vue({
|
var myFocus = new Vue({
|
||||||
el:"#myFocus"
|
el:"#myFocus"
|
||||||
})
|
})
|
||||||
@@ -654,21 +666,6 @@ $(document).ready(function () {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
function getPosition(){
|
|
||||||
plus.geolocation.getCurrentPosition(function(p){
|
|
||||||
province = p.address.province;
|
|
||||||
city = p.address.city;
|
|
||||||
region = p.address.district;
|
|
||||||
}, function(e){
|
|
||||||
|
|
||||||
},
|
|
||||||
{
|
|
||||||
provider:'baidu',
|
|
||||||
enableHighAccuracy:true,
|
|
||||||
coordsType:'bd09ll'
|
|
||||||
}
|
|
||||||
);
|
|
||||||
}
|
|
||||||
//$(document).on("click",".open-about01", function () {
|
//$(document).on("click",".open-about01", function () {
|
||||||
// markFocus();
|
// markFocus();
|
||||||
// $.popup(".popup-about01");
|
// $.popup(".popup-about01");
|
||||||
|
|||||||
Reference in New Issue
Block a user