From 09632e6b15189bf87f649c2bf057aeb405edd084 Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期三, 03 一月 2024 13:12:39 +0800
Subject: [PATCH] #
---
zy-asrs-openapi/src/main/webapp/views/index.html | 112 ++++++++-----------------------------------------------
1 files changed, 17 insertions(+), 95 deletions(-)
diff --git a/zy-asrs-openapi/src/main/webapp/views/index.html b/zy-asrs-openapi/src/main/webapp/views/index.html
index 6281b1f..ad90b99 100644
--- a/zy-asrs-openapi/src/main/webapp/views/index.html
+++ b/zy-asrs-openapi/src/main/webapp/views/index.html
@@ -4,108 +4,27 @@
<meta charset="UTF-8">
<title>API寮�鏀惧钩鍙�</title>
<link rel="stylesheet" href="../static/css/element.css">
+ <link rel="stylesheet" href="../static/css/common.css">
<script type="text/javascript" src="../static/js/jquery/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="../static/js/vue.min.js"></script>
<script type="text/javascript" src="../static/js/showdown.min.js"></script>
<script type="text/javascript" src="../static/js/common.js"></script>
<script type="text/javascript" src="../static/js/element.js"></script>
- <style>
- #content {
- width: 80%;
- margin-left: 10%;
- }
-
- #content table {
- background: #fff;
- border: solid 1px #ddd;
- margin-bottom: 1.25rem;
- table-layout: auto
- }
-
- #content table caption {
- background: transparent;
- color: #222;
- font-size: 1rem;
- font-weight: bold
- }
-
- #content table thead {
- background: #F5F5F5
- }
-
- #content table thead tr th,#content table thead tr td {
- color: #222;
- font-size: 0.875rem;
- font-weight: bold;
- padding: 0.5rem 0.625rem 0.625rem
- }
-
- #content table tfoot {
- background: #F5F5F5
- }
-
- #content table tfoot tr th,#content table tfoot tr td {
- color: #222;
- font-size: 0.875rem;
- font-weight: bold;
- padding: 0.5rem 0.625rem 0.625rem
- }
-
- #content table tr th,#content table tr td {
- color: #222;
- font-size: 0.875rem;
- padding: 0.5625rem 0.625rem;
- text-align: left
- }
-
- #content table tr.even,#content table tr.alt,#content table tr:nth-of-type(even) {
- background: #F9F9F9
- }
-
- #content table thead tr th,#content table tfoot tr th,#content table tfoot tr td,#content table tbody tr th,#content table tbody tr td,#content table tr td {
- display: table-cell;
- line-height: 1.125rem
- }
-
- #content pre {
- white-space: pre-wrap; /* css-3 */
- white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
- white-space: -o-pre-wrap; /* Opera 7 */
- word-wrap: break-word; /* Internet Explorer 5.5+ */
- background-color: #f8f8f8;
- border: 1px solid #dfdfdf;
- margin-top: 1.5em;
- margin-bottom: 1.5em;
- padding: 0.125rem 0.3125rem 0.0625rem;
- }
-
- #content pre code {
- background-color: transparent;
- border: 0;
- padding: 0;
- }
-
- .el-dropdown-link {
- cursor: pointer;
- color: #409EFF;
- }
- .el-icon-arrow-down {
- font-size: 12px;
- }
- </style>
</head>
<body>
<div id="app">
<div id="content"></div>
- <div style="position: fixed;top: 20px;right: 20px;width: 100px;">
- <el-menu default-active="1">
- <el-menu-item index="1">
- <span slot="title" @click="introduceClick()">瑙勮寖璇存槑</span>
- </el-menu-item>
- <el-menu-item index="2">
- <span slot="title" @click="keyList()">瀵嗛挜绠$悊</span>
- </el-menu-item>
- </el-menu>
+ <div class="slider">
+ <div><el-button type="text" @click="switchPage('index.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('reportCompleted.html')">浠诲姟鍙栨秷涓婃姤</el-button></div>
+ <div><el-button type="text" @click="switchPage('reportCompleted.html')">搴撳瓨涓婃姤</el-button></div>
+ <div><el-button type="text" @click="switchPage('reportApiManage.html')">涓婃姤API绠$悊</el-button></div>
+ <el-divider></el-divider>
+ <div><el-button type="text" @click="switchPage('generatePakIn.html')">鐢熸垚鍏ュ簱璁㈠崟</el-button></div>
+ <el-divider></el-divider>
+ <div><el-button type="text" @click="keyList()">瀵嗛挜绠$悊</el-button></div>
</div>
<el-dialog title="瀵嗛挜绠$悊" :visible.sync="keyTableVisible">
@@ -139,7 +58,7 @@
data: {
keyTableVisible: false,
keyTableData: [],
- loading: true
+ loading: true,
},
created() {
this.init()
@@ -288,7 +207,10 @@
}
}
});
- }
+ },
+ switchPage(url) {
+ location.href = url
+ },
}
})
</script>
--
Gitblit v1.9.1