From 40caddc08252ad3276832a14a69cfaf9f71b08c8 Mon Sep 17 00:00:00 2001
From: cp <513960435@qq.com>
Date: 星期二, 05 十一月 2024 08:53:41 +0800
Subject: [PATCH] 完善

---
 zy-asrs-wms/src/main/webapp/views/index.html |   22 +++++++++++++++++++++-
 1 files changed, 21 insertions(+), 1 deletions(-)

diff --git a/zy-asrs-wms/src/main/webapp/views/index.html b/zy-asrs-wms/src/main/webapp/views/index.html
index 8050c51..0d8647b 100644
--- a/zy-asrs-wms/src/main/webapp/views/index.html
+++ b/zy-asrs-wms/src/main/webapp/views/index.html
@@ -27,7 +27,7 @@
   <!-- 澶撮儴 -->
   <div class="layui-header">
     <div class="layui-logo">
-      <img src="../static/image/logo.png" style="display: inline-block; width: 60%;height: auto">
+<!--      <img src="../static/image/logo.png" style="display: inline-block; width: 60%;height: auto">-->
       <!--          <span style="margin-top: 0; letter-spacing: 10px">涓壃绔嬪簱</span>-->
       <!--          <img src="../static/image/logo.svg"/>-->
       <!--          <cite>涓壃 - Zoneyung</cite>-->
@@ -48,6 +48,9 @@
 <!--      <li class="layui-nav-item" lay-unselect>-->
 <!--        <a ew-event="note" title="渚跨"><i class="layui-icon layui-icon-note"></i></a>-->
 <!--      </li>-->
+      <li class="layui-nav-item" lay-unselect id="licenseShow" style="display: none;user-select: none;">
+        <div style="color: red;">璁稿彲璇佹湁鏁堟湡锛�<span id="licenseDays">29</span>澶�</div>
+      </li>
       <li class="layui-nav-item layui-hide-xs" lay-unselect>
         <a ew-event="fullScreen" title="鍏ㄥ睆"><i class="layui-icon layui-icon-screen-full"></i></a>
       </li>
@@ -166,6 +169,23 @@
       }
     });
 
+    // $.ajax({
+    //   url: baseUrl + "/license/getLicenseDays",
+    //   headers: {'token': localStorage.getItem('token')},
+    //   method: 'POST',
+    //   success: function (res) {
+    //     if (res.code == 200) {
+    //       let days = res.data
+    //       if (days <= 30) {
+    //         $("#licenseShow").show()
+    //         $("#licenseDays").html(days)
+    //       }
+    //     }else {
+    //       top.location.href = baseUrl + "/login";
+    //     }
+    //   }
+    // });
+
     // 榛樿鍔犺浇涓婚〉
     index.loadHome({
       menuPath: baseUrl + '/views/home/navigation.html',

--
Gitblit v1.9.1