From 6f027ced715654072cb57d4c40daafaf8da7b1ce Mon Sep 17 00:00:00 2001
From: hdw <496960745@qq.com>
Date: 星期六, 13 十月 2018 14:26:54 +0800
Subject: [PATCH] 提交内容

---
 gx_tieta/WebRoot/pages/js/common.js |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/gx_tieta/WebRoot/pages/js/common.js b/gx_tieta/WebRoot/pages/js/common.js
index 74042e7..47b449f 100644
--- a/gx_tieta/WebRoot/pages/js/common.js
+++ b/gx_tieta/WebRoot/pages/js/common.js
@@ -426,12 +426,16 @@
 })(jQuery, window, document, GLOBAL);
 
 // 鐢熸垚闃块噷鍥炬爣鐨勫厓绱�
-function create_ali_font(cla, color) {
+function create_ali_font(cla, color, data) {
 	var i = $('<i class="icon iconfont"></i>');
 	i.addClass(cla);
 	i.css({
 		'color': color
 	});
+	Object.keys(data).forEach(function(key) {
+		var attr = 'data-'+key
+		i.attr(attr, data[key]);
+	});
 	// 鑾峰彇瀛楃涓�
 	var outerHTML = i[0].outerHTML;
 	return outerHTML;

--
Gitblit v1.9.1