update
This commit is contained in:
@@ -1646,7 +1646,9 @@
|
||||
"images/start.png",
|
||||
"css/theme-blue.css"
|
||||
],
|
||||
"refer": [],
|
||||
"refer": [
|
||||
"views/house/add.html"
|
||||
],
|
||||
"priority": 0
|
||||
},
|
||||
"views/user/passLogin.html": {
|
||||
|
||||
@@ -69,7 +69,7 @@ Vue.component('city_increase_ranking',{
|
||||
reloadCityPotentialRanking()
|
||||
if(type == 0){
|
||||
var curDatas = cityDetaiVue.$data.citys
|
||||
if(curDatas && curDatas.length>0){
|
||||
if(curDatas && curDatas.length>=0){
|
||||
if(!IsInArray(curDatas, city)){
|
||||
cityDetaiVue.$data.citys.push(city);
|
||||
}
|
||||
|
||||
@@ -106,8 +106,7 @@ Vue.component('city_potential_ranking',{
|
||||
reloadCityIncreaseRanking()
|
||||
if(type == 0){
|
||||
var curDatas = cityDetaiVue.$data.citys
|
||||
if(curDatas && curDatas.length>0){
|
||||
console.log("ddd");
|
||||
if(curDatas && curDatas.length>=0){
|
||||
if(!IsInArray(curDatas, city)){
|
||||
cityDetaiVue.$data.citys.push(city);
|
||||
}
|
||||
|
||||
@@ -75,8 +75,8 @@ function reloadMyFocus(){
|
||||
$("#myFocusFirstPage").hide();
|
||||
$("#myFocus").hide();
|
||||
}else{
|
||||
|
||||
myFocusDatas.myFocusList = response.data.data;
|
||||
$("#myFocus").show()
|
||||
}
|
||||
}).catch(function(error){
|
||||
console.log(error)
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div id="myFocusFirstPage">
|
||||
<div id="myFocusFirstPage" v-cloak>
|
||||
<my_focus></my_focus>
|
||||
</div>
|
||||
<div class="cardNearbyBox cardNearbyBox01 cardRankingBox cardRankingBox01" id="countryRank" v-cloak>
|
||||
@@ -1239,6 +1239,18 @@ $.config = {router: false}
|
||||
}
|
||||
});
|
||||
|
||||
var allCityVue = new Vue({
|
||||
el: '#countryInfo',
|
||||
data: {
|
||||
nowYear : "",
|
||||
nowMonth : "",
|
||||
cityCount : "",
|
||||
upRate : "",
|
||||
downRate : "",
|
||||
avgUpRate :"",
|
||||
avgUownRate : ""
|
||||
}
|
||||
})
|
||||
var cityDetaiVue = new Vue({
|
||||
el: '#tabCityDiv',
|
||||
data: {
|
||||
@@ -1246,6 +1258,14 @@ $.config = {router: false}
|
||||
}
|
||||
})
|
||||
|
||||
var cityRankVue = new Vue({
|
||||
el: '#countryRank',
|
||||
data: {
|
||||
datas : ""
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
document.addEventListener('plusready', onPlusReady, false);
|
||||
function onPlusReady(){
|
||||
var city = "";
|
||||
@@ -1401,19 +1421,14 @@ $.config = {router: false}
|
||||
}
|
||||
})
|
||||
.then(function (response) {
|
||||
new Vue({
|
||||
el: '#countryInfo',
|
||||
data: {
|
||||
nowYear : year,
|
||||
nowMonth : month,
|
||||
cityCount : response.data.data.cityCount,
|
||||
upRate : response.data.data.upRate,
|
||||
downRate : response.data.data.downRate,
|
||||
avgUpRate : response.data.data.avgUpRate,
|
||||
avgUownRate : response.data.data.avgUownRate
|
||||
}
|
||||
})
|
||||
|
||||
allCityVue.nowYear = year;
|
||||
allCityVue.nowMonth = month;
|
||||
allCityVue.cityCount = response.data.data.cityCount;
|
||||
allCityVue.upRate = response.data.data.upRate;
|
||||
allCityVue.downRate = response.data.data.downRate;
|
||||
allCityVue.avgUpRate = response.data.data.avgUpRate;
|
||||
allCityVue.avgUownRate = response.data.data.avgUownRate;
|
||||
})
|
||||
.catch(function (error) {
|
||||
console.log(error);
|
||||
@@ -1426,12 +1441,8 @@ $.config = {router: false}
|
||||
})
|
||||
.then(function (response) {
|
||||
//0:涨幅排行 1:潜力排行 2:均价排行
|
||||
new Vue({
|
||||
el: '#countryRank',
|
||||
data: {
|
||||
datas : response.data.data
|
||||
}
|
||||
})
|
||||
|
||||
cityRankVue.datas = response.data.data
|
||||
|
||||
})
|
||||
.catch(function (error) {
|
||||
@@ -1570,7 +1581,7 @@ function addFocus(city){
|
||||
plus.webview.getWebviewById('views/user/userInfo.html').reload();
|
||||
|
||||
var curDatas = response.data.data
|
||||
if(curDatas && curDatas.length>0){
|
||||
if(curDatas && curDatas.length>=0){
|
||||
if(!IsInArray(curDatas, city)){
|
||||
cityDetaiVue.$data.citys.push(city);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user