浏览代码

listen样式调整

Hu Jie 7 年之前
父节点
当前提交
d367638a8e
共有 2 个文件被更改,包括 4 次插入10 次删除
  1. 3 0
      src/main/webapp/WEB-INF/views/normal/listen.html
  2. 1 10
      src/main/webapp/resources/js/common/listen.js

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

@@ -33,6 +33,9 @@
         text-overflow: ellipsis;
         text-overflow: ellipsis;
         white-space: nowrap;
         white-space: nowrap;
     }
     }
+    .fonts-color {
+        color:#00FF00;
+    }
     #loadingDiv {
     #loadingDiv {
         position: absolute;
         position: absolute;
         left: 0;
         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++) {
             for (var i = 0; i < listenList.length; i++) {
                 var trow = getDataRow(listenList[i], i); //定义一个方法,返回tr数据
                 var trow = getDataRow(listenList[i], i); //定义一个方法,返回tr数据
                 tbody.appendChild(trow);
                 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);
     row.appendChild(dateCell);
 
 
     var statusCell = document.createElement('td'); //状态
     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-toggle", "tooltip");
     statusCell.setAttribute("data-placement", "right");
     statusCell.setAttribute("data-placement", "right");
     statusCell.setAttribute("title", listen.description);
     statusCell.setAttribute("title", listen.description);