This commit is contained in:
gongjin
2018-04-17 11:31:15 +08:00
parent 0bb01e798a
commit 27852e6018
3 changed files with 200 additions and 203 deletions
+12 -7
View File
@@ -382,9 +382,9 @@ var option01 = {
type: 'slider', type: 'slider',
xAxisIndex: [0, 1], xAxisIndex: [0, 1],
realtime: false, realtime: false,
start: 5, start: 1,
end: 95, end: 99,
top: 65, top: 5,
height: 20, 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', 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',
handleSize: '120%' handleSize: '120%'
@@ -425,12 +425,17 @@ var option01 = {
min: 'dataMin', min: 'dataMin',
max: 'dataMax', max: 'dataMax',
axisPointer: { axisPointer: {
//type: 'shadow', type: 'line',
lineStyle: {
color: '#fff',
width: 1,
type: 'solid'
},
label: {show: false}, label: {show: false},
triggerTooltip: true, triggerTooltip: true,
handle: { handle: {
show: true, show: true,
margin: -20, margin: -70,
color: '#F18D00' color: '#F18D00'
} }
} }
@@ -473,7 +478,7 @@ var option01 = {
grid: [{ grid: [{
left: 20, left: 20,
right: 20, right: 20,
top: 110, top: 60,
height: 120 height: 120
}, { }, {
left: 20, left: 20,
@@ -521,7 +526,7 @@ var option01 = {
} }
} }
}] }]
}; };
/*$("#trendDiv2 a").click(function(){ /*$("#trendDiv2 a").click(function(){
+1 -1
View File
@@ -118,7 +118,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="chart" id="chart01" style="height:320px;margin-top:-2.75rem;"></div> <div class="chart" id="chart01" style="height:270px;"></div>
<div class="topicTitle topicTitle01" style="position:relative;border-top:solid 1px #e7e7e7;">租金 <div class="topicTitle topicTitle01" style="position:relative;border-top:solid 1px #e7e7e7;">租金
<div class="content-block"> <div class="content-block">
<div class="buttons-row theme" id="trendDiv2"> <div class="buttons-row theme" id="trendDiv2">
+9 -17
View File
@@ -228,34 +228,26 @@
</div> </div>
<div class="topic"> <div class="topic">
<div class="topicTitle">小区走势分析</div> <div class="topicTitle">小区走势分析</div>
<div class="topicContent" style="padding:0;"> <div class="topicContent" style="padding:0;padding-bottom:0.75rem;">
<div class="content-block content-block01 content-block01a"> <div class="topicTitle topicTitle01" style="position:relative;">均价
<div class="buttons-row theme" id="trendTabDiv"> <div class="content-block">
<a href="#tabChart1" class="tab-link button active" id="tabAvgDiv">均价</a> <div class="buttons-row theme" id="trendDiv1">
<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="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="12" class="tab-link button" onclick="showTrends(12)">一年</a>
<a t-v="36" class="tab-link button" onclick="showTrends(36)">三年</a> <a t-v="36" class="tab-link button" onclick="showTrends(36)">三年</a>
</div> </div>
<div class="chart" id="chart01" style="height:360px;"></div>
</div> </div>
</div> </div>
<div id="tabChart2" class="tab tabChart2" style="display: block;"> <div class="chart" id="chart01" style="height:270px;"></div>
<div class="content-block content-block01a" style="margin:0;padding-left:0;padding-right:0;"> <div class="topicTitle topicTitle01" style="position:relative;border-top:solid 1px #e7e7e7;">租金
<div class="buttons-row theme" style="padding:0 0.75rem;" id="trendDiv2"> <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="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> <a t-v="3" id="trendDivTab3" class="tab-link button" onclick="showLoadRentTrends(3)">一年</a>
</div> </div>
<div class="chart" id="chart02" style="margin-top:0.75rem;"></div>
</div>
</div> </div>
</div> </div>
<div class="chart" id="chart02"></div>
</div> </div>
</div> </div>
<div class="topic" v-show="rentRooms.length>0"> <div class="topic" v-show="rentRooms.length>0">