From 45e7b03b52e1505cdf198cff8412da5e6847d183 Mon Sep 17 00:00:00 2001
From: vincent <1341870251@qq.com>
Date: 星期一, 01 六月 2020 10:19:11 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/crn.html     |   19 +++++++++++++++++--
 src/main/webapp/static/css/crn.css |   18 +++++++++++++-----
 2 files changed, 30 insertions(+), 7 deletions(-)

diff --git a/src/main/webapp/static/css/crn.css b/src/main/webapp/static/css/crn.css
index e749bbc..9cd71f8 100644
--- a/src/main/webapp/static/css/crn.css
+++ b/src/main/webapp/static/css/crn.css
@@ -90,19 +90,19 @@
     text-align: center;
 }
 #crn-msg-table td, #crn-msg-table th {
-    border: 1px solid #cad9ea;
+    border: 1px solid #f1f1f1;
     color: #666;
-    height: 25px;
+    height: 30px;
 }
 #crn-msg-table thead th {
-    background-color: #CCE8EB;
+    background-color: #fff;
     width: 400px;
 }
 #crn-msg-table tr:nth-child(odd) {
     background: #fff;
 }
 #crn-msg-table tr:nth-child(even) {
-    background: #F5FAFA;
+    background: #fff;
 }
 
 /* 绗笁妯″潡 */
@@ -114,10 +114,18 @@
     box-shadow: 0 0 3px rgba(0,0,0,.3);
 }
 
-.crn-output {
+/* 绗洓妯″潡 */
+.crn-output-board {
     margin-top: 10px;
     height: 23%;
     background-color: #fff;
     border-radius: 5px;
     box-shadow: 0 0 3px rgba(0,0,0,.3);
 }
+#crn-output {
+    border: 1px solid #b9b9b9;
+    width: 100%;
+    height: 100%;
+    overflow: auto;
+    resize:none;
+}
\ No newline at end of file
diff --git a/src/main/webapp/views/crn.html b/src/main/webapp/views/crn.html
index 02f6e9d..c13a10d 100644
--- a/src/main/webapp/views/crn.html
+++ b/src/main/webapp/views/crn.html
@@ -80,13 +80,18 @@
 <!-- 鎵嬪姩鎿嶄綔 -->
 <div class="crn-operation">
 
+    <div class=""></div>
+
+    <div class=""></div>
+
 </div>
 <!-- 鍫嗗灈鏈烘棩蹇楄緭鍑� -->
-<div class="crn-output">
-
+<div class="crn-output-board">
+    <textarea id="crn-output"></textarea>
 </div>
 </body>
 <script>
+    var crnOutputDom = document.getElementById("crn-output");
 
     // 绌虹櫧琛ㄦ牸娓叉煋
     $(document).ready(function() {
@@ -138,5 +143,15 @@
         $('#crn-msg-table tbody').after(html2);
     });
 
+    // 鏃ュ織杈撳嚭妗�
+    function crnOutput(content){
+        crnOutputDom.value += content;
+        crnOutputDom.scrollTop = crnOutputDom.scrollHeight;
+    }
+    setInterval(function () {
+        crnOutput("\n" +new Date().toLocaleString() + "銆�2020-5-29 13:14:22銆戞壂鎻弍lcA 鐩爣绔�--273283723728327636432343234323422732837237283276364323432343234227328372372832763643234323432342");
+    },500);
+
+
 </script>
 </html>
\ No newline at end of file

--
Gitblit v1.9.1