Browse Source

listen样式调整

Hu Jie 7 năm trước cách đây
mục cha
commit
d367638a8e

+ 3 - 0
src/main/webapp/WEB-INF/views/normal/listen.html

@@ -33,6 +33,9 @@
         text-overflow: ellipsis;
         white-space: nowrap;
     }
+    .fonts-color {
+        color:#00FF00;
+    }
     #loadingDiv {
         position: absolute;
         left: 0;

+ 1 - 10
src/main/webapp/resources/js/common/listen.js

@@ -41,11 +41,6 @@ function getlistenList(count, page, keyword) {
             for (var i = 0; i < listenList.length; i++) {
                 var trow = getDataRow(listenList[i], i); //定义一个方法,返回tr数据
                 tbody.appendChild(trow);
-                // (function(i) {
-                //     $("#name_detal" + listenList[i].id ).click(function () {
-                //         getDetail(logList[i].detail, logList[i].enName);
-                //     });
-                // })(i);
             }
 
             // 点击搜索
@@ -86,10 +81,6 @@ function getlistenList(count, page, keyword) {
     })
 }
 
-$('#outer').mouseenter(function() {
-    $('#log').append('<div>Handler for .mouseenter() called.</div>');
-});
-
 /**
  * 建立表格数据
  *
@@ -132,7 +123,7 @@ function getDataRow(listen, i) {
     row.appendChild(dateCell);
 
     var statusCell = document.createElement('td'); //状态
-    statusCell.setAttribute("class", "text-center");
+    statusCell.setAttribute("class", "text-center fonts-color");
     statusCell.setAttribute("data-toggle", "tooltip");
     statusCell.setAttribute("data-placement", "right");
     statusCell.setAttribute("title", listen.description);