From 1867c2697fa503be3da1a5cddf7f3bb5c36b3cf4 Mon Sep 17 00:00:00 2001 From: hdw <496960745@qq.com> Date: 星期六, 13 十月 2018 09:12:13 +0800 Subject: [PATCH] 更新图标 --- gx_tieta/WebRoot/pages/js/common.js | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/gx_tieta/WebRoot/pages/js/common.js b/gx_tieta/WebRoot/pages/js/common.js index a2f9eaf..74042e7 100644 --- a/gx_tieta/WebRoot/pages/js/common.js +++ b/gx_tieta/WebRoot/pages/js/common.js @@ -423,4 +423,16 @@ gl.CMD.e61850.stop = 83; //鍋滄娴嬭瘯 gl.CMD.e61850.setDischargeParm = 40; //璁剧疆鍙傛暟 gl.CMD.e61850.getDischargeParm = 41; //鑾峰彇鍙傛暟 -})(jQuery, window, document, GLOBAL); \ No newline at end of file +})(jQuery, window, document, GLOBAL); + +// 鐢熸垚闃块噷鍥炬爣鐨勫厓绱� +function create_ali_font(cla, color) { + var i = $('<i class="icon iconfont"></i>'); + i.addClass(cla); + i.css({ + 'color': color + }); + // 鑾峰彇瀛楃涓� + var outerHTML = i[0].outerHTML; + return outerHTML; +} -- Gitblit v1.9.1