From aaf2e5aed7df2d082935cf91a538a037557c368e Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期三, 02 三月 2022 15:09:44 +0800
Subject: [PATCH] #
---
src/main/webapp/views/index.html | 88 ++++++++++++++++++++++---------------------
1 files changed, 45 insertions(+), 43 deletions(-)
diff --git a/src/main/webapp/views/index.html b/src/main/webapp/views/index.html
index e601f98..4c335ae 100644
--- a/src/main/webapp/views/index.html
+++ b/src/main/webapp/views/index.html
@@ -2,11 +2,11 @@
<html lang="en">
<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/logo1.png" />
+ <link rel="icon" type="image/x-icon" href="../static/image/favicon.ico" />
<link rel="stylesheet" href="../static/layui/css/layui.css" media="all">
<link rel="stylesheet" href="../static/css/admin.css?v=318" media="all">
<link rel="stylesheet" href="../static/css/loader.css" media="all">
@@ -26,8 +26,10 @@
<!-- 澶撮儴 -->
<div class="layui-header">
<div class="layui-logo">
- <img src="../static/image/logo.svg"/>
- <cite>鍦版床 - Emperyland</cite>
+ <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>-->
</div>
<ul class="layui-nav layui-layout-left">
@@ -73,8 +75,8 @@
<div class="layui-body"></div>
<!-- 搴曢儴 -->
<div class="layui-footer layui-text">
- copyright 漏 2021 鍦版床鏂拌兘婧愮鎶�锛堟禉姹燂級鏈夐檺鍏徃 all rights reserved.
- <span class="pull-right">Version 1.1.0</span>
+ copyright 漏 2022 <a href="http://www.zoneyung.com" target="_blank">娴欐睙涓壃绔嬪簱鎶�鏈湁闄愬叕鍙�</a> all rights reserved.
+ <span class="pull-right">Version 1.0.0</span>
</div>
</div>
@@ -89,7 +91,7 @@
<script type="text/javascript" src="../static/js/handlebars/handlebars-v4.5.3.js"></script>
<script type="text/javascript" src="../static/js/common.js"></script>
<script>
- console.log('%c 鍦版床鏂拌兘婧愶紙娴欐睙锛夊钩鍙� %c 1.1.0','background-color:rgb(53,73,94);color: #fff;border-radius:2px 0 0 2px;padding:2px 4px;','background-color:rgb(25,190,107);color: #fff;border-radius:0 2px 2px 0;padding:2px 4px;font: 9pt "Apercu Regular", Georgia, "Times New Roman", Times, serif;');
+ console.log('%c 涓壃绔嬪簱骞冲彴 %c 1.0.0','background-color:rgb(53,73,94);color: #fff;border-radius:2px 0 0 2px;padding:2px 4px;','background-color:rgb(25,190,107);color: #fff;border-radius:0 2px 2px 0;padding:2px 4px;font: 9pt "Apercu Regular", Georgia, "Times New Roman", Times, serif;');
$(function () {
if ("" === localStorage.getItem('token')) {
top.location.href = baseUrl + "/login";
@@ -162,42 +164,42 @@
var url = logout.getAttribute('href');
logout.setAttribute('href', baseUrl + "/login");
- setInterval(function () {
- $.ajax({
- url: baseUrl + "/alarm/index/auth",
- headers: {'token': localStorage.getItem('token')},
- method: 'GET',
- success: function (res) {
- if (res.code === 200) {
- if (res.data != null) {
- notice["error"]({
- theme: "dark",
- animateInside: true,
- layout: 2,
- rtl: false,
- displayMode: 1,
- position: "bottomRight",
- transitionIn: "fadeInLeft",
- transitionOut: "fadeOutRight",
- title: res.data.sensorType$ + "璁惧鎶ヨ",
- message: "#" + res.data.uuid + "#" + res.data.desc,
- pauseOnHover: false,
- resetOnHover: false,
- timeout: false,
- progressBar: false,
- onOpened: function () {
- $(".iziToast-message").css("cursor", "pointer")
- }
- });
- }
- } else if (res.code === 403) {
- top.location.href = baseUrl + "/login";
- } else {
- layer.msg(res.msg, {icon: 2});
- }
- }
- });
- }, 5000);
+ // setInterval(function () {
+ // $.ajax({
+ // url: baseUrl + "/alarm/index/auth",
+ // headers: {'token': localStorage.getItem('token')},
+ // method: 'GET',
+ // success: function (res) {
+ // if (res.code === 200) {
+ // if (res.data != null) {
+ // notice["error"]({
+ // theme: "dark",
+ // animateInside: true,
+ // layout: 2,
+ // rtl: false,
+ // displayMode: 1,
+ // position: "bottomRight",
+ // transitionIn: "fadeInLeft",
+ // transitionOut: "fadeOutRight",
+ // title: res.data.sensorType$ + "璁惧鎶ヨ",
+ // message: "#" + res.data.uuid + "#" + res.data.desc,
+ // pauseOnHover: false,
+ // resetOnHover: false,
+ // timeout: false,
+ // progressBar: false,
+ // onOpened: function () {
+ // $(".iziToast-message").css("cursor", "pointer")
+ // }
+ // });
+ // }
+ // } else if (res.code === 403) {
+ // top.location.href = baseUrl + "/login";
+ // } else {
+ // layer.msg(res.msg, {icon: 2});
+ // }
+ // }
+ // });
+ // }, 5000);
$(document).on('click', '.iziToast-message', function(el) {
var alarmUuid = el.target.innerText.match(/#(\S*)#/)[1];
--
Gitblit v1.9.1