Browse Source

小程序首页

zwq 2 years ago
parent
commit
409826e58d

+ 10 - 3
nngkxxdp/src/main/resources/static/nnzwminiapp/pages/index/index.js

@@ -207,21 +207,28 @@ Page({
         type: 'value',
         min: 0,
         max: 150000,
+        axisLabel:{
+          fontSize: 18
+        }
       },
       yAxis = {
         type: 'category',
         data: [
           '非常不满意', '不满意', '基本满意', '满意', '非常满意'
-        ]
+        ],
+        axisLabel:{
+          fontSize: 18
+        }
       },
       grid = {
         left: '20%',
-        top: '0%',
+        top: '10%',
+        bottom: '10%'
       },
       series = [{
         data: [123, 200, 15220, 80333, 1073671],
         type: 'bar',
-        barWidth: 14,
+        barWidth: 25,
         itemStyle: {
           color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [{
               offset: 0,

+ 2 - 2
nngkxxdp/src/main/resources/static/nnzwminiapp/pages/index/index.wxml

@@ -134,7 +134,7 @@
 
   <!-- 数据中心 -->
   <view class="data-cneter"
-    style="height: 969rpx;width: 100%;background-color:#F5F5F5;position:relative;padding-top: 30rpx">
+    style="height: 1029rpx;width: 100%;background-color:#F5F5F5;position:relative;padding-top: 30rpx">
     <!-- 数据中心 -->
     <view class="data-center-contain">
       <!-- 标题 -->
@@ -260,7 +260,7 @@
             </view>
           </view>
           <!-- 图表 -->
-          <view style="width: 100%;height: 250rpx;">
+          <view style="width: 100%;height: 300rpx;">
             <ec-canvas id="streetlinechart3" canvas-id="streetlinechart3" ec="{{ streetlinechartec }}" />
           </view>
         </view>