Merge branch 'YOUFANGAPP1.1' of 192.168.0.27:dev0/youfang-app into xh-youfangApp1.1
This commit is contained in:
@@ -21,7 +21,7 @@ $(document).on("click",".open-about01", function () {
|
|||||||
if(collects){
|
if(collects){
|
||||||
if(collects.indexOf(text)>-1){
|
if(collects.indexOf(text)>-1){
|
||||||
$(this).addClass("collectionCity");
|
$(this).addClass("collectionCity");
|
||||||
$(this).find("i").addClass("icon-collection03");
|
//$(this).find("i").addClass("icon-collection03");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -496,6 +496,7 @@ function docollectCity(city, type){
|
|||||||
}).then(function (response) {
|
}).then(function (response) {
|
||||||
var msg = response.data.message;
|
var msg = response.data.message;
|
||||||
if(msg){
|
if(msg){
|
||||||
|
|
||||||
if(msg == "取消关注成功"){
|
if(msg == "取消关注成功"){
|
||||||
try{
|
try{
|
||||||
cityInfoVue.$data.collecd = false;
|
cityInfoVue.$data.collecd = false;
|
||||||
@@ -503,7 +504,7 @@ function docollectCity(city, type){
|
|||||||
var da = cityDetaiVue.$data.citys
|
var da = cityDetaiVue.$data.citys
|
||||||
if(da && da.length>0){
|
if(da && da.length>0){
|
||||||
var index = da.indexOf(city)
|
var index = da.indexOf(city)
|
||||||
if(index>0){
|
if(index>=0){
|
||||||
da.splice(index, 1)
|
da.splice(index, 1)
|
||||||
cityDetaiVue.$data.citys = da;
|
cityDetaiVue.$data.citys = da;
|
||||||
if(da.length>0){
|
if(da.length>0){
|
||||||
|
|||||||
@@ -1545,7 +1545,8 @@
|
|||||||
"error.html",
|
"error.html",
|
||||||
"views/rent/rent.html",
|
"views/rent/rent.html",
|
||||||
"views/district/detail.html",
|
"views/district/detail.html",
|
||||||
"views/house/houseList.html"
|
"views/house/houseList.html",
|
||||||
|
"views/house/cityDetail.html"
|
||||||
],
|
],
|
||||||
"priority": 0
|
"priority": 0
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -82,7 +82,14 @@ Vue.component('city_increase_ranking',{
|
|||||||
$(event.target).addClass("dn");
|
$(event.target).addClass("dn");
|
||||||
reloadMyFocus()
|
reloadMyFocus()
|
||||||
reloadCityPotentialRanking()
|
reloadCityPotentialRanking()
|
||||||
cityDetaiVue.$data.citys.push(city);
|
if(type == 0){
|
||||||
|
var curDatas = cityDetaiVue.$data.citys
|
||||||
|
if(curDatas && curDatas.length>0){
|
||||||
|
if(!IsInArray(curDatas, city)){
|
||||||
|
cityDetaiVue.$data.citys.push(city);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}).catch(function(error){
|
}).catch(function(error){
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ Vue.component('city_potential_ranking',{
|
|||||||
if(localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == ""){
|
if(localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == ""){
|
||||||
clicked('/views/user/passLogin.html',true,false,{},{},function(){
|
clicked('/views/user/passLogin.html',true,false,{},{},function(){
|
||||||
if(localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == ""){
|
if(localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == ""){
|
||||||
alert("rrrr")
|
|
||||||
}else{
|
}else{
|
||||||
axios.get("/rest/quotations/collectCity",{params:{city:city, type:type}}).then(function(response){
|
axios.get("/rest/quotations/collectCity",{params:{city:city, type:type}}).then(function(response){
|
||||||
|
|
||||||
@@ -101,7 +101,14 @@ Vue.component('city_potential_ranking',{
|
|||||||
$(event.target).addClass("dn");
|
$(event.target).addClass("dn");
|
||||||
reloadMyFocus()
|
reloadMyFocus()
|
||||||
reloadCityIncreaseRanking()
|
reloadCityIncreaseRanking()
|
||||||
cityDetaiVue.$data.citys.push(city);
|
if(type == 0){
|
||||||
|
var curDatas = cityDetaiVue.$data.citys
|
||||||
|
if(curDatas && curDatas.length>0){
|
||||||
|
if(!IsInArray(curDatas, city)){
|
||||||
|
cityDetaiVue.$data.citys.push(city);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
//plus.webview.getWebviewById('views/user/userInfo.html').reload();
|
//plus.webview.getWebviewById('views/user/userInfo.html').reload();
|
||||||
}
|
}
|
||||||
}).catch(function(error){
|
}).catch(function(error){
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
</button>
|
</button>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div class="content" id="cityInfo">
|
<div class="content" id="cityInfo" v-cloak>
|
||||||
<div class="card cardPrice cardPrice01 cardCity01" v-bind:hrefid="myCityMap.hrefId">
|
<div class="card cardPrice cardPrice01 cardCity01" v-bind:hrefid="myCityMap.hrefId">
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
<label>{{myCityMap.city}}</label>
|
<label>{{myCityMap.city}}</label>
|
||||||
|
|||||||
@@ -1565,7 +1565,14 @@ function addFocus(city){
|
|||||||
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
|
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
|
||||||
plus.webview.getWebviewById('views/house/houseManageList.html').reload();
|
plus.webview.getWebviewById('views/house/houseManageList.html').reload();
|
||||||
plus.webview.getWebviewById('views/user/userInfo.html').reload();
|
plus.webview.getWebviewById('views/user/userInfo.html').reload();
|
||||||
createData(city, myDatasVue.$data.cityDatas.length);
|
|
||||||
|
var curDatas = response.data.data
|
||||||
|
if(curDatas && curDatas.length>0){
|
||||||
|
if(!IsInArray(curDatas, city)){
|
||||||
|
cityDetaiVue.$data.citys.push(city);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}).catch(function(error){
|
}).catch(function(error){
|
||||||
console.log(error)
|
console.log(error)
|
||||||
})
|
})
|
||||||
@@ -1577,7 +1584,15 @@ function addFocus(city){
|
|||||||
reloadMyFocus()
|
reloadMyFocus()
|
||||||
reloadCityIncreaseRanking()
|
reloadCityIncreaseRanking()
|
||||||
reloadCityPotentialRanking()
|
reloadCityPotentialRanking()
|
||||||
cityDetaiVue.$data.citys.push(city);
|
|
||||||
|
var curDatas = cityDetaiVue.$data.citys
|
||||||
|
if(curDatas && curDatas.length>0){
|
||||||
|
|
||||||
|
if(!IsInArray(curDatas, city)){
|
||||||
|
cityDetaiVue.$data.citys.push(city);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
$.toast(response.data.message);
|
$.toast(response.data.message);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -89,7 +89,7 @@ $.config = {router: false}
|
|||||||
<script type="text/javascript" src="../../js/common.js" ></script>
|
<script type="text/javascript" src="../../js/common.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>
|
||||||
|
window.viewsPage="bindingMobile";
|
||||||
timer = {
|
timer = {
|
||||||
countdown:60,
|
countdown:60,
|
||||||
start:function(){
|
start:function(){
|
||||||
|
|||||||
@@ -104,7 +104,7 @@ $.config = {router: false}
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
|
window.viewsPage="codeSms";
|
||||||
/* 勾选-已阅读 */
|
/* 勾选-已阅读 */
|
||||||
$(".check").on("click", function () {
|
$(".check").on("click", function () {
|
||||||
var a = $(this).find(".checkImg").css("display");
|
var a = $(this).find(".checkImg").css("display");
|
||||||
@@ -125,10 +125,11 @@ window.onresize=function(){
|
|||||||
//软键盘弹起与隐藏 都会引起窗口的高度发生变化
|
//软键盘弹起与隐藏 都会引起窗口的高度发生变化
|
||||||
var resizeHeight=document.documentElement.clientHeight || document.body.clientHeight;
|
var resizeHeight=document.documentElement.clientHeight || document.body.clientHeight;
|
||||||
if(resizeHeight*1<originalHeight*1){ //resizeHeight<originalHeight证明窗口被挤压了
|
if(resizeHeight*1<originalHeight*1){ //resizeHeight<originalHeight证明窗口被挤压了
|
||||||
plus.webview.currentWebview().setStyle({
|
if(window.viewsPage=="codeSms"){
|
||||||
|
plus.webview.currentWebview().setStyle({
|
||||||
height:originalHeight
|
height:originalHeight
|
||||||
});
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -713,8 +713,8 @@
|
|||||||
<div class="city-list">
|
<div class="city-list">
|
||||||
<span class="city-letter" id="City1">一线城市</span>
|
<span class="city-letter" id="City1">一线城市</span>
|
||||||
<div>
|
<div>
|
||||||
<p class="close-popup collectionCity">北京<i class="icon-collection03"></i></p>
|
<p class="close-popup collectionCity">北京</p>
|
||||||
<p class="close-popup collectionCity active">上海<i class="icon-collection03"></i></p>
|
<p class="close-popup collectionCity active">上海</p>
|
||||||
<p class="close-popup">广州<i></i></p>
|
<p class="close-popup">广州<i></i></p>
|
||||||
<p class="close-popup">深圳<i></i></p>
|
<p class="close-popup">深圳<i></i></p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user