Merge branch 'YOUFANGAPP1.1' of 192.168.0.27:dev0/youfang-app into YOUFANGAPP1.1
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
</header>
|
||||
|
||||
<div class="content" id="cityInfo" v-cloak>
|
||||
<div class="card cardPrice cardPrice01 cardCity01" v-bind:hrefid="myCityMap.hrefId">
|
||||
<div class="card cardPrice cardPrice01 cardCity01 dn" id="priceDiv" v-bind:hrefid="myCityMap.hrefId">
|
||||
<div class="card-header">
|
||||
<label>{{myCityMap.city}}</label>
|
||||
<a v-if="collecd" class="button collection collection02" @click="collectCity(myCityMap.city, 1)">取消关注</a>
|
||||
@@ -45,7 +45,7 @@
|
||||
<div class="card-header">
|
||||
<span>当前参考均价</span>
|
||||
</div>
|
||||
<div class="card-content">
|
||||
<div class="card-content" >
|
||||
<div class="card-content-inner" v-if="myCityMap.cityTopMonthAvgPrice">{{myCityMap.cityTopMonthAvgPrice}}<span>元/㎡</span></div>
|
||||
<div class="card-content-inner" v-else>暂无</div>
|
||||
</div>
|
||||
@@ -151,8 +151,14 @@ $.config = {router: false}
|
||||
var date = new Date();
|
||||
var year = date.getFullYear()+'年';
|
||||
var month = date.getMonth()+1+'月';
|
||||
var city = "神农架"
|
||||
var cityInfoVue = new Vue({
|
||||
var city = "普洱"
|
||||
var cityInfoVue;
|
||||
|
||||
document.addEventListener('plusready', onPlusReady, false);
|
||||
function onPlusReady() {
|
||||
var self = plus.webview.currentWebview();
|
||||
city = self.city
|
||||
cityInfoVue = new Vue({
|
||||
el: '#cityInfo',
|
||||
data: {
|
||||
city:"",
|
||||
@@ -162,12 +168,7 @@ var cityInfoVue = new Vue({
|
||||
myCityMap : []
|
||||
}
|
||||
});
|
||||
|
||||
document.addEventListener('plusready', onPlusReady, false);
|
||||
function onPlusReady() {
|
||||
var self = plus.webview.currentWebview();
|
||||
var city = self.city
|
||||
cityInfoVue.$data.city = city;
|
||||
cityInfoVue.$data.city = city;
|
||||
loadCurCity(city);
|
||||
loadCityPriceInfo(city)
|
||||
loadUpOrDown(city);
|
||||
@@ -176,11 +177,6 @@ function onPlusReady() {
|
||||
|
||||
}
|
||||
|
||||
//loadCurCity(city);
|
||||
// loadCityPriceInfo(city)
|
||||
// loadUpOrDown(city);
|
||||
// loadHotDistrict(city)
|
||||
// loadCityPricesAndCounts(city)
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -228,34 +228,26 @@
|
||||
</div>
|
||||
<div class="topic">
|
||||
<div class="topicTitle">小区走势分析</div>
|
||||
<div class="topicContent" style="padding:0;">
|
||||
<div class="content-block content-block01 content-block01a">
|
||||
<div class="buttons-row theme" id="trendTabDiv">
|
||||
<a href="#tabChart1" class="tab-link button active" id="tabAvgDiv">均价</a>
|
||||
<a href="#tabChart2" class="tab-link button" id="tabRentDiv">租金</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tabs">
|
||||
<div id="tabChart1" class="tab tabChart1 active">
|
||||
<div class="content-block content-block01a" style="margin:0;padding-left:0;padding-right:0;">
|
||||
<div class="buttons-row theme" style="padding:0 0.75rem;" id="trendDiv1">
|
||||
<a t-v="6" class="tab-link button active" onclick="showTrends(6)">半年</a>
|
||||
<a t-v="12" class="tab-link button" onclick="showTrends(12)">一年</a>
|
||||
<a t-v="36" class="tab-link button" onclick="showTrends(36)">三年</a>
|
||||
</div>
|
||||
<div class="chart" id="chart01" style="height:360px;"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="tabChart2" class="tab tabChart2" style="display: block;">
|
||||
<div class="content-block content-block01a" style="margin:0;padding-left:0;padding-right:0;">
|
||||
<div class="buttons-row theme" style="padding:0 0.75rem;" id="trendDiv2">
|
||||
<a t-v="2" id="trendDivTab2" class="tab-link button active" onclick="showLoadRentTrends(2)">半年</a>
|
||||
<a t-v="3" id="trendDivTab3" class="tab-link button" onclick="showLoadRentTrends(3)">一年</a>
|
||||
</div>
|
||||
<div class="chart" id="chart02" style="margin-top:0.75rem;"></div>
|
||||
<div class="topicContent" style="padding:0;padding-bottom:0.75rem;">
|
||||
<div class="topicTitle topicTitle01" style="position:relative;">均价
|
||||
<div class="content-block">
|
||||
<div class="buttons-row theme" id="trendDiv1">
|
||||
<a t-v="6" class="tab-link button active" onclick="showTrends(6)">半年</a>
|
||||
<a t-v="12" class="tab-link button" onclick="showTrends(12)">一年</a>
|
||||
<a t-v="36" class="tab-link button" onclick="showTrends(36)">三年</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="chart" id="chart01" style="height:270px;"></div>
|
||||
<div class="topicTitle topicTitle01" style="position:relative;border-top:solid 1px #e7e7e7;">租金
|
||||
<div class="content-block">
|
||||
<div class="buttons-row theme" id="trendDiv2">
|
||||
<a t-v="2" id="trendDivTab2" class="tab-link button active" onclick="showLoadRentTrends(2)">半年</a>
|
||||
<a t-v="3" id="trendDivTab3" class="tab-link button" onclick="showLoadRentTrends(3)">一年</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="chart" id="chart02"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="topic" v-show="rentRooms.length>0">
|
||||
|
||||
Reference in New Issue
Block a user