From 0cce8cd45143eb6aa19423554ec5bb1f59f3ebfc Mon Sep 17 00:00:00 2001
From: 81041 <81041@192.168.10.23>
Date: 星期一, 12 十一月 2018 14:11:57 +0800
Subject: [PATCH] Merge branch 'dev_lxw' of https://whyclxw1@gitlab.com/whyclxw1/gx_tieta.git into dev_lxw

---
 gx_tieta/WebRoot/js/elecircle.js |   23 ++++++++++++++++++-----
 1 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/gx_tieta/WebRoot/js/elecircle.js b/gx_tieta/WebRoot/js/elecircle.js
index bf440a4..24a9ab2 100644
--- a/gx_tieta/WebRoot/js/elecircle.js
+++ b/gx_tieta/WebRoot/js/elecircle.js
@@ -312,7 +312,7 @@
 	var opts = $.extend({}, defaults, options || {});
 	
 	// 鏍规嵁寮�鍏崇殑绫诲瀷鍜屽揩鍏崇殑鐘舵�佽缃畍alue鐨勫�艰幏鍙栫嚎鍖呯數鍘�
-	var lineVol = '绾垮寘鐢靛帇:';
+	/*var lineVol = '绾垮寘鐢靛帇:';
 	if(opts.id == 'ko') {
 		if(opts.stats == 'on') {
 			lineVol =lineVol + '0V';
@@ -325,7 +325,7 @@
 		}else {
 			lineVol =lineVol + '0V';
 		}
-	}
+	}*/
 	
 	
 	
@@ -495,7 +495,7 @@
 	}
 	
 	// 缁樺埗鑳屾櫙鑹�
-	this.context.beginPath();
+	/*this.context.beginPath();
 	this.context.fillStyle = '#FFFFFF';
 	var strWidth = getStringWidth(lineVol);
 	this.context.rect(valueTxtX,valueTxtY-12,strWidth,14);
@@ -504,7 +504,7 @@
 	this.context.strokStyle = '#0000DD';
 	this.context.fillStyle = '#0000DD';
 	this.context.font = 'bold 12px Arial';
-	this.context.fillText(lineVol, valueTxtX, valueTxtY);
+	this.context.fillText(lineVol, valueTxtX, valueTxtY);*/
 
 	var switchBtnInfor = {
 		options: opts,
@@ -812,17 +812,30 @@
 	
 	this.context.setLineDash([]);	// 鎭㈠瀹炵嚎
 	
+	if(opts.name.length > 0) {
+		this.context.beginPath();
+		this.context.fillStyle = '#FFFFFF';
+		this.context.rect(opts.startX-20,opts.startY+16*2+156, 30,32);
+		this.context.fill();
+	}
+	
+	
 	var textList = opts.name.split('&');
+	this.context.fillStyle = opts.strokeStyle;
 	var lineHeight = 16;
 	for(var i=0; i<textList.length; i++) {
 		this.context.fillText(textList[i], opts.startX-20, opts.startY+lineHeight*i+200);
 	}
 	
+	
+	
+	
+	
 	// 瀛樺偍鍐呭
 	var dotLineInfor = {
 		options: opts,
 		type:'drawDotLine',
-	}
+	};
 	this.opts.push(dotLineInfor);
 	
 	

--
Gitblit v1.9.1