Selaa lähdekoodia

图表样式修改

zhouna 6 vuotta sitten
vanhempi
commit
083bf8b605

+ 0 - 1
src/components/AssessResult/index.jsx

@@ -113,7 +113,6 @@ class AssessResult extends Component {
                            handleChange={this.handleChooseChange.bind(this,i)}
                            selecteds={chooseSelecteds[i]||{}} ></ChooseItem>;
       case 10:   //数据来源于后台
-        console.log(indexData)
         return <ChartItem title={name}
                           data={chartData||{}}
                           names={indexNames||{}}

+ 2 - 2
src/components/AssessResult/index.less

@@ -73,7 +73,7 @@
     min-width: 302px;
     width: 49%;
     height: 250px;
-    margin-bottom: 20px;
+    margin: 15px 0 5px;
     position: relative;
     .chart-box{
       width: 100%;
@@ -170,7 +170,7 @@
 }
 .legend{
   padding: 0 36px;
-  margin-bottom: 15px;
+  /*margin-bottom: 15px;*/
   &>div{
     display: inline-block;
     margin-top: 10px;