Ming 4 年之前
父节点
当前提交
79d7706d06
共有 2 个文件被更改,包括 2 次插入6 次删除
  1. 1 4
      pages/index/components/chart/chart.vue
  2. 1 2
      pages/index/components/chart2/chart2.vue

+ 1 - 4
pages/index/components/chart/chart.vue

@@ -22,16 +22,13 @@
 			
 		  },
 		data() {
-	
+
 			return {
 				aa:0
 
 			}
 		},
 		onLoad() {
-			
-		
-	
 
 		},
 		methods: {

+ 1 - 2
pages/index/components/chart2/chart2.vue

@@ -1,6 +1,5 @@
 <template>
 	<view class="content">
-
 		<view @click="echarts.onClick" :prop="option" :change:prop="echarts.updateEcharts" id="echarts2"
 			class="echarts"></view>
 
@@ -38,7 +37,7 @@
 						text: '{val|' + (parseInt(this.bindData.alarm_count) + parseInt(this.bindData
 								.event_count) + parseInt(this.bindData.hidden_danger_count)) + '}\n{name|' +
 							title + '}',
-						top: '30%',
+						top: '27%',
 						left: 'center',
 						textStyle: {
 							rich: {