Selaa lähdekoodia

一些样式修改

zhaowenli 5 vuotta sitten
vanhempi
commit
596a12935c

+ 7 - 3
src/main/resources/templates/admin/government/land_statistic/plate.html

@@ -174,6 +174,8 @@
         }
 
         .chartContent{
+            padding-left: 20px;
+            padding-right: 20px;
             border-bottom: 1px solid #ded7d5;
         }
     </style>
@@ -216,7 +218,6 @@
     <span class="date_tab_item" data-type="-7">7天</span>
     <span class="date_tab_item" data-type="-14">14天</span>
     <span class="date_tab_item" style="border-right: 1px solid #e2e3e3;" data-type="-30">30天</span>
-    <input type="text" name="starttime" class="form-control" id="starttime">
 </div>
 <div class="chartContent">
 
@@ -426,6 +427,7 @@
                 bottom: 10,
                 data: legendData
             },
+            color: ['#61A5E8','#EECB5F'],
             series: [
                 {
                     name: title,
@@ -515,7 +517,7 @@
                 {
                     name: '',
                     type: 'bar',
-                    barWidth: '60%',
+                    barWidth: '40%',
                     label: {
                         normal: {
                             show: true,
@@ -554,6 +556,7 @@
                 bottom: 10,
                 data: legendData
             },
+            color: ['#7ECF51', '#B9646E', '#E3935D'],
             series: [
                 {
                     name: title,
@@ -612,6 +615,7 @@
             legend: {
                 data: legendData
             },
+            color: ['#61A5E8', '#E3935D', '#7ECF51', '#B9646E'],
             grid: {
                 left: '3%',
                 right: '4%',
@@ -644,7 +648,7 @@
 
         // 指定图表的配置项和数据
         option = {
-            color: ['#003366', '#006699', '#4cabce', '#e5323e'],
+            color: ['#61A5E8', '#E3935D', '#7ECF51', '#B9646E'],
             tooltip: {
                 trigger: 'axis',
                 axisPointer: {

+ 9 - 3
src/main/resources/templates/admin/government/land_statistic/region.html

@@ -183,6 +183,8 @@
         }
 
         .chartContent{
+            padding-left: 20px;
+            padding-right: 20px;
             border-bottom: 1px solid #ded7d5;
         }
     </style>
@@ -482,6 +484,7 @@
                 bottom: 10,
                 data: legendData
             },
+            color: ['#61A5E8','#EECB5F'],
             series: [
                 {
                     name: title,
@@ -571,7 +574,7 @@
                 {
                     name: '',
                     type: 'bar',
-                    barWidth: '60%',
+                    barWidth: '40%',
                     label: {
                         normal: {
                             show: true,
@@ -610,6 +613,7 @@
                 bottom: 10,
                 data: legendData
             },
+            color: ['#7ECF51', '#B9646E', '#E3935D'],
             series: [
                 {
                     name: title,
@@ -688,7 +692,7 @@
             //     currentIndex: 11,
             //     data: getMonth()
             // },
-            color: ['#003366', '#006699', '#4cabce', '#e5323e'],
+            color: ['#61A5E8', '#E3935D', '#7ECF51', '#B9646E'],
             tooltip: {
                 trigger: 'axis',
                 axisPointer: {
@@ -744,7 +748,7 @@
 
         // 指定图表的配置项和数据
         option = {
-            color: ['#006699', '#4cabce', '#e5323e'],
+            color: ['#7ECF51', '#B9646E', '#EECB5F'],
             tooltip: {
                 trigger: 'axis',
                 axisPointer: {            // 坐标轴指示器,坐标轴触发有效
@@ -847,6 +851,8 @@
                 getTypeStatistic("", startTime, endTime);
             }
         }
+        let initOffset = (0 - (Math.ceil(dataArr.length / 9) - 1) * 1170)
+        $('.date_tab_list').css('left', initOffset)
         $("#date_line").append(str);
 
         // 点击前一页