From 964c095a69cc70115b6c5c185c0682aeb68da5ab Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期一, 12 九月 2022 14:47:27 +0800 Subject: [PATCH] # --- src/main/webapp/static/css/style.css | 25 ++++++++---- src/main/webapp/views/index_datashow2.html | 25 +++++++----- src/main/webapp/views/index_datashow.html | 20 +++++---- src/main/webapp/views/index_datashow3.html | 14 ------ 4 files changed, 42 insertions(+), 42 deletions(-) diff --git a/src/main/webapp/static/css/style.css b/src/main/webapp/static/css/style.css index 052688b..f8fc7aa 100644 --- a/src/main/webapp/static/css/style.css +++ b/src/main/webapp/static/css/style.css @@ -3,16 +3,22 @@ /*overflow: hidden;*/ font-size: 10px; } -html,body{ - height: 100%; +html { + height: 100%; +} + +body{ + background-color: #2e4e7e; + height: 500px; + width: 100%; } /* 鐢诲竷 */ #root { - height: 100%; - width: 100%; - margin: 0; - background-color: /* #2C3E50 */ #2e4e7e; - position: absolute; + /*height: 100%;*/ + width: 100%; + /*margin: 0;*/ + /*background-color: !* #2C3E50 *! #2e4e7e;*/ + position: relative; } #top-tab { width: 100%; @@ -68,9 +74,10 @@ #main-tab { margin-top: 1%; width: 98%; - align: center; color: #d9d9d9; margin-left: 1%; + margin-right: 1%; + margin-bottom: 10%; } #main-tab,th,td{ border: 1px solid #fff; @@ -120,7 +127,7 @@ background-color: #FFF; box-shadow: 0px 5px 20px #000; border-radius: 15px; - position: relative; + position: absolute; top:30%; left:35%; display: none; diff --git a/src/main/webapp/views/index_datashow.html b/src/main/webapp/views/index_datashow.html index d58879a..7e11191 100644 --- a/src/main/webapp/views/index_datashow.html +++ b/src/main/webapp/views/index_datashow.html @@ -27,17 +27,19 @@ <table id="proType" cellspacing="0" cellpadding="0"> <thead id="type-header"></thead> </table> - <table id="main-tab" cellspacing="0" cellpadding="0"> - <!-- 琛ㄥご --> - <thead id="tab-header"> + <div> + <table id="main-tab" cellspacing="0" cellpadding="0"> + <!-- 琛ㄥご --> + <thead id="tab-header"> - </thead> - <!-- 琛ㄨ韩浣� --> - <tbody id="tab-body"> </tbody> - <!-- 娉ㄦ剰浜嬮」 --> - <tr><th>娉ㄦ剰浜嬮」</th></tr> + </thead> + <!-- 琛ㄨ韩浣� --> + <tbody id="tab-body"> </tbody> + <!-- 娉ㄦ剰浜嬮」 --> + <tr><th>娉ㄦ剰浜嬮」</th></tr> - </table> + </table> + </div> </div> </div> diff --git a/src/main/webapp/views/index_datashow2.html b/src/main/webapp/views/index_datashow2.html index 38575aa..73fcfc7 100644 --- a/src/main/webapp/views/index_datashow2.html +++ b/src/main/webapp/views/index_datashow2.html @@ -26,17 +26,20 @@ <table id="proType" cellspacing="0" cellpadding="0"> <thead id="type-header"></thead> </table> - <table id="main-tab" cellspacing="0" cellpadding="0"> - <!-- 琛ㄥご --> - <thead id="tab-header"> - - </thead> - <!-- 琛ㄨ韩浣� --> - <tbody id="tab-body"> </tbody> - <!-- 娉ㄦ剰浜嬮」 --> - <tr><th>娉ㄦ剰浜嬮」</th></tr> - - </table> + <div> + <table id="main-tab" cellspacing="0" cellpadding="0"> + <!-- 琛ㄥご --> + <thead id="tab-header"> + + </thead> + <!-- 琛ㄨ韩浣� --> + <tbody id="tab-body"> </tbody> + <!-- 娉ㄦ剰浜嬮」 --> + <tr><th>娉ㄦ剰浜嬮」</th></tr> + + </table> + </div> + </div> <div id="details"> <div class="head"> diff --git a/src/main/webapp/views/index_datashow3.html b/src/main/webapp/views/index_datashow3.html index 53cce78..cb841ce 100644 --- a/src/main/webapp/views/index_datashow3.html +++ b/src/main/webapp/views/index_datashow3.html @@ -41,6 +41,7 @@ <!-- 娉ㄦ剰浜嬮」 --> <tr><th>娉ㄦ剰浜嬮」</th></tr> </table> + </div> </div> @@ -59,8 +60,6 @@ </table> </div> </div> - - <div id="tips"> <h3>鎻愮ず</h3> <div id="text">褰撳墠椤圭洰璁″垝鏃堕棿涓嶅畬鏁达紱璇疯ˉ鍏呭畬鎴愬悗閲嶈瘯!</div> @@ -86,14 +85,6 @@ <button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog">鍙栨秷</button> </div> </form> - <!--<div id="realTime" >--> - <!-- <h3 class="text">鎻愮ず</h3>--> - <!-- <div class="input">--> - <!-- <text>缁撴潫鏃堕棿锛�</text>--> - <!-- <input id="realEndTime" placeholder="璇疯緭鍏ュ疄闄呭畬鎴愭椂闂�">--> - <!-- </div>--> - <!-- <button id="closeed" onclick="">纭� 璁�</button>--> - <!--</div>--> </script> <script type="text/javascript"> @@ -102,8 +93,5 @@ }) $("#closee").on("click",function(){ $("#tips").attr("style","display:none") - }) - $("#closeed").on("click",function(){ - }) </script> \ No newline at end of file -- Gitblit v1.9.1