图表图片
This commit is contained in:
@@ -872,8 +872,11 @@ input::-webkit-input-placeholder{
|
||||
#chart01{height:270px;}
|
||||
#chart01a{height:270px;}
|
||||
.topic .topicTitle > div.icon01Box{overflow:hidden;float:none;display:inline-block;vertical-align:middle;margin-left:-0.5rem;}
|
||||
.icon-chart01a{width:1.1rem;height:1rem;background:url(../images/icon-chart01a.png) no-repeat center center;background-size:45%;float:left;padding:0 1rem;}
|
||||
.icon-chart01{width:1.1rem;height:1rem;background:url(../images/icon-chart01.png) no-repeat center center;background-size:45%;float:left;padding:0 1rem;}
|
||||
.icon-chart01a{width:1.1rem;height:1rem;background:url(../images/icon-chart01a.png) no-repeat center center;background-size:55%;float:left;padding:0 0.8rem;}
|
||||
.icon-chart01{width:1.1rem;height:1rem;background:url(../images/icon-chart01.png) no-repeat center center;background-size:55%;float:left;padding:0 0.8rem;}
|
||||
|
||||
.icon-chart01a-no{width:1.1rem;height:1rem;background:url(../images/icon-chart01a_common.png) no-repeat center center;background-size:55%;float:left;padding:0 0.8rem;}
|
||||
.icon-chart01-no{width:1.1rem;height:1rem;background:url(../images/icon-chart01_common.png) no-repeat center center;background-size:55%;float:left;padding:0 0.8rem;}
|
||||
|
||||
.scoreBox{height:130px;position:relative;}
|
||||
.score{width:250px;height:250px;margin:0 auto;margin-top:1rem;}
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 594 B |
Binary file not shown.
|
After Width: | Height: | Size: 920 B |
@@ -117,7 +117,8 @@ function clickLineChart(type){
|
||||
}
|
||||
|
||||
/* 图表切换 */
|
||||
function lineChart() {
|
||||
|
||||
/*function lineChart() {
|
||||
mode = "kLine"
|
||||
$(".icon-chart01a").hide();
|
||||
$(".icon-chart01").show();
|
||||
@@ -138,7 +139,33 @@ function kLineChart() {
|
||||
$("#chart01a").show();
|
||||
$("#chart01").hide();
|
||||
loadLineData(city, region, name, type);
|
||||
};
|
||||
};*/
|
||||
|
||||
$("body").delegate(".icon-chart01a-no", "click", function () {
|
||||
$(this).addClass("icon-chart01a");
|
||||
$(this).removeClass("icon-chart01a-no");
|
||||
$(this).parent().find(".icon-chart01").addClass("icon-chart01-no")
|
||||
$(this).parent().find("i").removeClass("icon-chart01")
|
||||
mode = "line"
|
||||
var type = $("#trendDiv1 a.active").attr("t-v");
|
||||
$("#chart01a").show();
|
||||
$("#chart01").hide();
|
||||
loadLineData(city, region, name, type);
|
||||
})
|
||||
|
||||
$("body").delegate(".icon-chart01-no", "click", function () {
|
||||
|
||||
$(this).addClass("icon-chart01");
|
||||
$(this).removeClass("icon-chart01-no");
|
||||
$(this).parent().find(".icon-chart01a").addClass("icon-chart01a-no")
|
||||
$(this).parent().find("i").removeClass("icon-chart01a")
|
||||
mode = "kLine"
|
||||
var type = $("#trendDiv1 a.active").attr("t-v");
|
||||
$("#chart01a").hide();
|
||||
$("#chart01").show();
|
||||
loadKLineData(city, region, name, type);
|
||||
|
||||
})
|
||||
|
||||
|
||||
function showLoadRentTrends(type) {
|
||||
|
||||
@@ -124,8 +124,8 @@
|
||||
<div class="topicContent" style="padding:0;padding-bottom:0.75rem;">
|
||||
<div class="topicTitle topicTitle01" style="position:relative;">均价
|
||||
<div class="icon01Box">
|
||||
<i class="icon icon-chart01a" onclick="lineChart()"></i>
|
||||
<i class="icon icon-chart01 dn" onclick="kLineChart()"></i>
|
||||
<i class="icon icon-chart01a" ></i>
|
||||
<i class="icon icon-chart01-no"></i>
|
||||
</div>
|
||||
<div class="content-block" id="trendDiv1">
|
||||
<div class="buttons-row theme">
|
||||
|
||||
@@ -234,8 +234,8 @@
|
||||
<div class="topicContent" style="padding:0;padding-bottom:0.75rem;">
|
||||
<div class="topicTitle topicTitle01" style="position:relative;">均价
|
||||
<div class="icon01Box">
|
||||
<i class="icon icon-chart01a" onclick="lineChart()"></i>
|
||||
<i class="icon icon-chart01 dn" onclick="kLineChart()"></i>
|
||||
<i class="icon icon-chart01a" ></i>
|
||||
<i class="icon icon-chart01-no"></i>
|
||||
</div>
|
||||
<div class="content-block" id="trendDiv1">
|
||||
<div class="buttons-row theme">
|
||||
|
||||
Reference in New Issue
Block a user