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