From 814af138b09eb09e00d090df65a21de06836e966 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期五, 31 七月 2020 09:08:21 +0800
Subject: [PATCH] #当前本版十分完美、冻结
---
src/main/webapp/views/index.html | 28 ++++++++++++++++++----------
1 files changed, 18 insertions(+), 10 deletions(-)
diff --git a/src/main/webapp/views/index.html b/src/main/webapp/views/index.html
index f878f38..b435b01 100644
--- a/src/main/webapp/views/index.html
+++ b/src/main/webapp/views/index.html
@@ -2,10 +2,11 @@
<html>
<head>
<meta charset="utf-8">
- <title>鑷姩浠撳偍绠$悊绯荤粺</title>
+ <title>鑷姩浠撳偍 - 绠$悊绯荤粺</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
+ <link rel="icon" type="image/x-icon" href="../static/image/log.png" />
<link rel="stylesheet" href="../static/layuiadmin/layui/css/layui.css" media="all">
<link rel="stylesheet" href="../static/layuiadmin/style/admin.css" media="all">
<style>
@@ -24,17 +25,19 @@
font-weight: bold
}
- /*todo:luxiaotao*/
.layui-layout-admin .layui-logo {
letter-spacing: 2px;
font-size: 22px;
- height: 80px;
- padding: 20px 0;
- font-weight: 400;
- color: white;
+ height: 110px;
+ padding: 20px 10px;
+ font-weight: bolder;
+ /*color: #2c7dc2;*/
+ color: #f3f3f3;
+ text-align: center;
+ line-height: 40px;
}
.layui-side-menu .layui-nav {
- margin-top: 80px;
+ margin-top: 110px;
}
</style>
</head>
@@ -84,7 +87,7 @@
<dd><a lay-href="detail.html">鍩烘湰璧勬枡</a></dd>
<!--<dd><a lay-href="set/user/password.html">淇敼瀵嗙爜</a></dd>-->
<hr>
- <dd style="text-align: center;"><a id="logout" href="/asrs">閫�鍑�</a></dd>
+ <dd style="text-align: center;"><a id="logout" href="/">閫�鍑�</a></dd>
</dl>
</li>
</ul>
@@ -94,8 +97,8 @@
<div class="layui-side layui-side-menu">
<div class="layui-side-scroll">
<div class="layui-logo" lay-href="home/console.html">
- <!--<img src="..../../static/image/logo.jpg">-->
- <span>涓壃鍌ㄥ瓨璁惧</span>
+ <img src="../static/image/logo.png" style="display: inline-block; width: 90%;height: auto">
+ <span style="margin-top: 0">涓壃鐗╂祦瑁呭</span>
</div>
<ul class="layui-nav layui-nav-tree" lay-shrink="all" id="LAY-system-side-menu" lay-filter="layadmin-system-side-menu">
@@ -152,6 +155,11 @@
var element = layui.element;
var $ = layui.jquery;
+ // 鏇挎崲閫�鍑烘寜閽彉閲�
+ var logout = document.getElementById('logout');
+ var url = logout.getAttribute('href');
+ logout.setAttribute('href', baseUrl + url);
+
$('#person-username').text(localStorage.getItem('username'));
$(function () {
--
Gitblit v1.9.1