YOUFANG 房产行情 house_detail
This commit is contained in:
@@ -44,10 +44,10 @@ Vue.component('my_focus',{
|
||||
},
|
||||
methods:{
|
||||
loadMyFocus:function(){
|
||||
// if(localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == ""){
|
||||
// $("#myFocusFirstPage").hide()
|
||||
// $("#myFocus").hide();
|
||||
// }else{
|
||||
if(localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == ""){
|
||||
$("#myFocusFirstPage").hide()
|
||||
$("#myFocus").hide();
|
||||
}else{
|
||||
axios.get("/rest/quotations/userCollectCityInfo").then(function(response){
|
||||
if(response.data.data.length==0){
|
||||
$("#myFocusFirstPage").hide();
|
||||
@@ -58,7 +58,7 @@ Vue.component('my_focus',{
|
||||
}).catch(function(error){
|
||||
console.log(error)
|
||||
})
|
||||
// }
|
||||
}
|
||||
}
|
||||
},mounted:function(){
|
||||
this.loadMyFocus();
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
</span>
|
||||
</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><small>您的反馈很重要,是我们努力的动力</small></p>
|
||||
<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/log/log_stat.js" ></script>
|
||||
<script>
|
||||
document.addEventListener('plusready', onPlusReady, false);
|
||||
function onPlusReady(){
|
||||
var self = plus.webview.currentWebview();
|
||||
var hid = self.hid;
|
||||
//init();
|
||||
// document.addEventListener('plusready', onPlusReady, false);
|
||||
// function onPlusReady(){
|
||||
// var self = plus.webview.currentWebview();
|
||||
// var hid = self.hid;
|
||||
var houseStatus = ""
|
||||
// hid = '104631167348637696';
|
||||
hid = '104631167348637696';
|
||||
var house_info = new Vue({
|
||||
el:'#house_info',
|
||||
data:{
|
||||
@@ -184,7 +183,7 @@ $.config = {router: false}
|
||||
var price_feedback = new Vue({
|
||||
el:"#price_feedback",
|
||||
data:{
|
||||
|
||||
isShow:"none"
|
||||
},
|
||||
methods:{
|
||||
feedback:function(i,event){
|
||||
@@ -196,9 +195,15 @@ $.config = {router: false}
|
||||
hid:hid,
|
||||
reason:i
|
||||
}).then(function(response){
|
||||
|
||||
alert("感谢您的反馈!")
|
||||
$("#price_feedback").hide();
|
||||
}).catch(function(error){console.log(error)})
|
||||
},
|
||||
feedbackable:function(){
|
||||
|
||||
}
|
||||
},mounted(){
|
||||
|
||||
}
|
||||
})
|
||||
|
||||
@@ -261,7 +266,7 @@ $.config = {router: false}
|
||||
console.log(error)
|
||||
})
|
||||
|
||||
}
|
||||
// }
|
||||
|
||||
|
||||
//添加管理AJAX请求
|
||||
|
||||
@@ -486,7 +486,19 @@ $.config = {router: false}
|
||||
document.addEventListener('plusready', onPlusReady, false);
|
||||
function onPlusReady(){
|
||||
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({
|
||||
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 () {
|
||||
// markFocus();
|
||||
// $.popup(".popup-about01");
|
||||
|
||||
Reference in New Issue
Block a user