From 0abbc58f9cb4811ea77d68abdf46c9dd8b370ff8 Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期三, 10 一月 2024 08:29:55 +0800
Subject: [PATCH] #

---
 zy-asrs-openapi/src/main/webapp/views/index.html |   49 ++++++++++++++++++++++++++++++++++++-------------
 1 files changed, 36 insertions(+), 13 deletions(-)

diff --git a/zy-asrs-openapi/src/main/webapp/views/index.html b/zy-asrs-openapi/src/main/webapp/views/index.html
index 11fe5c6..0c1c354 100644
--- a/zy-asrs-openapi/src/main/webapp/views/index.html
+++ b/zy-asrs-openapi/src/main/webapp/views/index.html
@@ -13,9 +13,31 @@
 </head>
 <body>
     <div id="app">
-        <div id="content"></div>
+        <div id="content">
+            <div class="content-header">
+                <div><img src="../static/images/zy-logo.png" class="header-logo"></div>
+                <h1>API寮�鏀惧钩鍙皏1.0</h1>
+            </div>
+            <div class="content-body">
+                <div>
+                    <div>
+                        <img src="../static/images/generateOrderPakIn.png" style="width: 640px;height: 740px;">
+                    </div>
+                    <div class="content-desc">鐢熸垚鍏ュ簱璁㈠崟</div>
+                </div>
+                <div>
+                    <img src="../static/images/generateOrderPakOut.png" style="width: 640px;height: 740px;">
+                    <div class="content-desc">鐢熸垚鍑哄簱璁㈠崟</div>
+                </div>
+                <div>
+                    <img src="../static/images/createMat.png" style="width: 640px;height: 740px;">
+                    <div class="content-desc">娣诲姞鐗╂枡</div>
+                </div>
+            </div>
+        </div>
         <div class="slider">
-            <div><el-button type="text" @click="switchPage('index.html')">瑙勮寖璇存槑</el-button></div>
+            <div><el-button type="text" @click="switchPage('index.html')">绠�浠�</el-button></div>
+            <div><el-button type="text" @click="switchPage('default.html')">瑙勮寖璇存槑</el-button></div>
             <el-divider></el-divider>
             <div><el-button type="text" @click="switchPage('reportCompleted.html')">璁㈠崟瀹屾垚涓婃姤</el-button></div>
             <div><el-button type="text" @click="switchPage('reportCancel.html')">璁㈠崟鍙栨秷涓婃姤</el-button></div>
@@ -64,6 +86,7 @@
                 keyTableVisible: false,
                 keyTableData: [],
                 loading: true,
+                activeIndex: '1'
             },
             created() {
                 this.init()
@@ -73,16 +96,16 @@
                     this.introduceClick()
                 },
                 introduceClick() {
-                    $.ajax({
-                        url: "md/introduce.md",
-                        headers: {'token': localStorage.getItem('token')},
-                        method: 'GET',
-                        success: function (res) {
-                            // $("#content").html(marked.parse(res))
-                            // console.log(converter.makeHtml(res))
-                            $("#content").html(converter.makeHtml(res))
-                        }
-                    });
+                    // $.ajax({
+                    //     url: "md/introduce.md",
+                    //     headers: {'token': localStorage.getItem('token')},
+                    //     method: 'GET',
+                    //     success: function (res) {
+                    //         // $("#content").html(marked.parse(res))
+                    //         // console.log(converter.makeHtml(res))
+                    //         $("#content").html(converter.makeHtml(res))
+                    //     }
+                    // });
                 },
                 keyList() {
                     let that = this
@@ -215,7 +238,7 @@
                 },
                 switchPage(url) {
                     location.href = url
-                },
+                }
             }
         })
     </script>

--
Gitblit v1.9.1