update
This commit is contained in:
@@ -852,9 +852,6 @@ input::-webkit-input-placeholder{
|
||||
/* 图表 */
|
||||
.chart{width:100%;height:250px;}
|
||||
.chart tspan{font-size:0.6rem;text-shadow:none;}
|
||||
#tabChart{width:100%;height:360px;}
|
||||
#tabChart1{width:100%;position:absolute;z-index:1;}
|
||||
#tabChart2{width:100%;display:block;position:absolute;z-index:-1;}
|
||||
.scoreBox{height:130px;position:relative;}
|
||||
.score{width:250px;height:250px;margin:0 auto;margin-top:1rem;}
|
||||
.scoreText{width:250px;height:150px;position:absolute;top:0;left:50%;margin-left:-125px;}
|
||||
@@ -874,7 +871,7 @@ input::-webkit-input-placeholder{
|
||||
.priceBox div em.up i{background:url(../images/up.png) no-repeat center center;background-size:100%;}
|
||||
.priceBox div em.down i{background:url(../images/down.png) no-repeat center center;background-size:100%;}
|
||||
|
||||
.topic .topicTitle > div.content-block{float:right;margin-top:0.6rem;padding:0;}
|
||||
.topic .topicTitle > div.content-block{padding:0;margin:0;position:absolute;top:0.6rem;right:0;z-index:100;}
|
||||
.topic .date{text-align:right;font-size:0.75rem;color:#ccc;padding-right:0.75rem;margin:0;}
|
||||
.buttons-row .button{height:1.35rem;line-height:1.35rem;}
|
||||
.buttons-row01 .button{border-radius:0.1rem;margin-left:0.5rem;padding:0;font-size:0.65rem;}
|
||||
|
||||
@@ -343,7 +343,7 @@ var option01 = {
|
||||
legend: {
|
||||
show: false,
|
||||
top: 30,
|
||||
data: ['均价', '成交量']
|
||||
data: ['均价']
|
||||
},
|
||||
tooltip: {
|
||||
triggerOn: 'none',
|
||||
@@ -382,8 +382,8 @@ var option01 = {
|
||||
type: 'slider',
|
||||
xAxisIndex: [0, 1],
|
||||
realtime: false,
|
||||
start: 0,
|
||||
end: 100,
|
||||
start: 5,
|
||||
end: 95,
|
||||
top: 65,
|
||||
height: 20,
|
||||
handleIcon: 'M10.7,11.9H9.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7V23h6.6V24.4z M13.3,19.6H6.7v-1.4h6.6V19.6z',
|
||||
@@ -454,7 +454,7 @@ var option01 = {
|
||||
formatter: '{value}\n'
|
||||
}
|
||||
}, {
|
||||
name: '成交量(套)',
|
||||
name: '',
|
||||
nameRotate: 90,
|
||||
nameLocation: 'center',
|
||||
nameGap: 5,
|
||||
@@ -514,10 +514,10 @@ var option01 = {
|
||||
borderColor0: '#88D053'
|
||||
},
|
||||
emphasis: {
|
||||
color: 'black',
|
||||
color0: '#333',
|
||||
borderColor: 'black',
|
||||
borderColor0: '#333'
|
||||
color: '#F18D00',
|
||||
color0: '#666',
|
||||
borderColor: '#F18D00',
|
||||
borderColor0: '#666'
|
||||
}
|
||||
}
|
||||
}]
|
||||
|
||||
@@ -27,7 +27,7 @@ Vue.component('base-info-component', {
|
||||
<li>
|
||||
<a class="item-content">
|
||||
<div class="item-inner" style="padding-top:0;">
|
||||
<div class="item-title-row">
|
||||
<div class="item-title-row" style="width:100%;">
|
||||
<div class="item-title row">
|
||||
<div class="col-50">
|
||||
<p>
|
||||
|
||||
@@ -30,9 +30,6 @@
|
||||
.cardNearbyBox01 .cardNearby .card-header{padding-top:0;}
|
||||
.topic .topicTitle > span.star{float:none;}
|
||||
.topic .topicTitle > span.star .icon{vertical-align:middle;}
|
||||
.tabs{width:100%;height:350px;}
|
||||
.tabChart1{z-index:1;}
|
||||
.tabChart2{z-index:-1;}
|
||||
|
||||
.mark-icon-box {width:24px;height:30px;position:absolute;z-index:98;}
|
||||
.mark-icon-box .mark-icon {width: 20px;height: 30px;display: block;cursor: pointer;font-size: 14px; color: #fff;font-weight: bold;text-align: center;line-height: 24px;background: url(../../images/dw.png) no-repeat;}
|
||||
@@ -111,8 +108,29 @@
|
||||
</div>
|
||||
<div class="topic">
|
||||
<div class="topicTitle">小区走势分析</div>
|
||||
<div class="topicContent" style="padding:0;">
|
||||
<div class="content-block content-block01 content-block01a">
|
||||
<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:320px;margin-top:-2.75rem;"></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 class="content-block content-block01 content-block01a">
|
||||
<div class="buttons-row theme" id="trendTabDiv">
|
||||
<a href="#tabChart1" class="tab-link button active" id="tabAvgDiv" @click="showChat(1)">均价</a>
|
||||
<a href="#tabChart2" class="tab-link button" id="tabRentDiv" @click="showChat(2)">租金</a>
|
||||
@@ -138,7 +156,7 @@
|
||||
<div class="chart" id="chart02" style="margin-top:0.75rem;"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>-->
|
||||
</div>
|
||||
</div>
|
||||
<!--<div class="card cardPrice cardPrice02" style="border-bottom:solid 0.5rem #f3f3f3;">
|
||||
@@ -238,8 +256,8 @@ $.config = {router: false}
|
||||
|
||||
<script>
|
||||
var city = "上海"
|
||||
var region = "嘉定"
|
||||
var name = "世盟壹天地"
|
||||
var region = "长宁"
|
||||
var name = "新泾三村"
|
||||
//var lat = 31.292437
|
||||
//var lng = 121.48703
|
||||
|
||||
@@ -316,50 +334,50 @@ function onPlusReady() {
|
||||
|
||||
|
||||
|
||||
/*baseInfo = new Vue({
|
||||
el: '#districtBaseInfo',
|
||||
data: {
|
||||
name : "",
|
||||
city:"",
|
||||
region: "",
|
||||
address: "",
|
||||
avgPrice:"",
|
||||
oneMonthUpDownRange:"",
|
||||
priceRate:"",
|
||||
cityPrice:"",
|
||||
finishBuildingDate:"",
|
||||
householdCount:"",
|
||||
cubagePercent:"",
|
||||
carSiteCount:"",
|
||||
virescencePercent:"",
|
||||
estateCharge:"",
|
||||
moreArea:"",
|
||||
developer:"",
|
||||
estateCompany:"",
|
||||
tags:[],
|
||||
nearDists:[],
|
||||
regionIndex:"",
|
||||
schoolIndex:""
|
||||
|
||||
},
|
||||
methods:{
|
||||
showChat: function(type){
|
||||
if(type == 2) {
|
||||
document.getElementById("tabChart2").style = "z-index:1";
|
||||
document.getElementById("tabChart1").style = "z-index:-1";
|
||||
} else {
|
||||
document.getElementById("tabChart2").style = "z-index:-1";
|
||||
document.getElementById("tabChart1").style = "z-index:1";
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
})*/
|
||||
|
||||
/* 小区均价分析 */
|
||||
//loadKLineData(city, region, name);
|
||||
/* 小区租金走势 */
|
||||
//loadRentTrends(city, region, name,2);
|
||||
//baseInfo = new Vue({
|
||||
// el: '#districtBaseInfo',
|
||||
// data: {
|
||||
// name : "",
|
||||
// city:"",
|
||||
// region: "",
|
||||
// address: "",
|
||||
// avgPrice:"",
|
||||
// oneMonthUpDownRange:"",
|
||||
// priceRate:"",
|
||||
// cityPrice:"",
|
||||
// finishBuildingDate:"",
|
||||
// householdCount:"",
|
||||
// cubagePercent:"",
|
||||
// carSiteCount:"",
|
||||
// virescencePercent:"",
|
||||
// estateCharge:"",
|
||||
// moreArea:"",
|
||||
// developer:"",
|
||||
// estateCompany:"",
|
||||
// tags:[],
|
||||
// nearDists:[],
|
||||
// regionIndex:"",
|
||||
// schoolIndex:""
|
||||
//
|
||||
// },
|
||||
// methods:{
|
||||
// showChat: function(type){
|
||||
// if(type == 2) {
|
||||
// document.getElementById("tabChart2").style = "z-index:1";
|
||||
// document.getElementById("tabChart1").style = "z-index:-1";
|
||||
// } else {
|
||||
// document.getElementById("tabChart2").style = "z-index:-1";
|
||||
// document.getElementById("tabChart1").style = "z-index:1";
|
||||
// }
|
||||
//
|
||||
// }
|
||||
// }
|
||||
// })
|
||||
//
|
||||
// /* 小区均价分析 */
|
||||
// loadKLineData(city, region, name);
|
||||
// /* 小区租金走势 */
|
||||
// loadRentTrends(city, region, name,2);
|
||||
|
||||
function openMapWindow(){
|
||||
clicked('arround.html',true,false,{},{city:city,region:region,name:name,lat:lat,lng:lng});
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
<div class="card cardPrice cardPrice01 cardCity01" 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)">取消</a>
|
||||
<a v-if="collecd" class="button theme collection collection02 " @click="collectCity(myCityMap.city)">取消关注</a>
|
||||
<a v-else class="button theme collection collection01" @click="collectCity(myCityMap.city)">关注</a>
|
||||
|
||||
</div>
|
||||
@@ -162,24 +162,24 @@ var cityInfoVue = new Vue({
|
||||
}
|
||||
});
|
||||
|
||||
//document.addEventListener('plusready', onPlusReady, false);
|
||||
//function onPlusReady() {
|
||||
// var self = plus.webview.currentWebview();
|
||||
// var city = self.city
|
||||
// cityInfoVue.$data.city = city;
|
||||
// loadCurCity(city);
|
||||
// loadCityPriceInfo(city)
|
||||
// loadUpOrDown(city);
|
||||
// loadHotDistrict(city)
|
||||
// loadCityPricesAndCounts(city)
|
||||
//
|
||||
//}
|
||||
|
||||
loadCurCity(city);
|
||||
document.addEventListener('plusready', onPlusReady, false);
|
||||
function onPlusReady() {
|
||||
var self = plus.webview.currentWebview();
|
||||
var city = self.city
|
||||
cityInfoVue.$data.city = city;
|
||||
loadCurCity(city);
|
||||
loadCityPriceInfo(city)
|
||||
loadUpOrDown(city);
|
||||
loadHotDistrict(city)
|
||||
loadCityPricesAndCounts(city)
|
||||
|
||||
}
|
||||
|
||||
//loadCurCity(city);
|
||||
// loadCityPriceInfo(city)
|
||||
// loadUpOrDown(city);
|
||||
// loadHotDistrict(city)
|
||||
// loadCityPricesAndCounts(city)
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -172,7 +172,7 @@
|
||||
<div class="card cardPrice cardPrice01 cardCity01" 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)">取消</a>
|
||||
<a v-if="collecd" class="button theme collection collection02 " @click="collectCity(myCityMap.city)">取消关注</a>
|
||||
<a v-else class="button theme collection collection01" @click="collectCity(myCityMap.city)">关注</a>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -61,8 +61,8 @@
|
||||
<div class="item-title"><i class="icon icon-address02"></i>{{city}}{{region}}{{address}}</div>
|
||||
|
||||
<div class="item-after">
|
||||
<a class="button theme collection collection01">关注</a>
|
||||
<a class="button collection collection02 dn">取消关注</a>
|
||||
<a class="button theme collection collection01" onclick="doAddCollect()">关注</a>
|
||||
<a class="button collection collection02 dn" onclick="removeCollect()">取消关注</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-subtitle">
|
||||
@@ -212,17 +212,17 @@ function onPlusReady() {
|
||||
})
|
||||
}
|
||||
|
||||
/*baseInfo = new Vue({
|
||||
el: '#districtBaseInfo',
|
||||
data: {
|
||||
name : "",
|
||||
city:"",
|
||||
region: "",
|
||||
address: "",
|
||||
tags:[]
|
||||
}
|
||||
})*/
|
||||
|
||||
//baseInfo = new Vue({
|
||||
// el: '#districtBaseInfo',
|
||||
// data: {
|
||||
// name : "",
|
||||
// city:"",
|
||||
// region: "",
|
||||
// address: "",
|
||||
// tags:[]
|
||||
// }
|
||||
// })
|
||||
//
|
||||
|
||||
/* 小区租金走势 */
|
||||
loadRentTrends(city, region, name);
|
||||
|
||||
Reference in New Issue
Block a user