UI、logo
This commit is contained in:
30
src/main/webapp/jsp/bigScreen.jsp
Normal file
30
src/main/webapp/jsp/bigScreen.jsp
Normal file
@ -0,0 +1,30 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>水厂大屏展示</title>
|
||||
<style>
|
||||
body, html {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: auto; /* Allow scrolling if window is smaller */
|
||||
}
|
||||
.screen-container {
|
||||
width: 6500px;
|
||||
height: 1800px;
|
||||
background-image: url('<%=request.getContextPath()%>/IMG/screen1.png');
|
||||
background-size: 100% 100%;
|
||||
background-repeat: no-repeat;
|
||||
position: relative;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="screen-container">
|
||||
<!-- Content placeholder -->
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
29
src/main/webapp/jsp/bigScreen2.jsp
Normal file
29
src/main/webapp/jsp/bigScreen2.jsp
Normal file
@ -0,0 +1,29 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>区域管线大屏展示</title>
|
||||
<style>
|
||||
body, html {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
}
|
||||
.screen-container {
|
||||
width: 6500px;
|
||||
height: 1800px;
|
||||
background-image: url('<%=request.getContextPath()%>/IMG/screen2.png');
|
||||
background-size: 100% 100%;
|
||||
background-repeat: no-repeat;
|
||||
position: relative;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="screen-container">
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
29
src/main/webapp/jsp/bigScreen3.jsp
Normal file
29
src/main/webapp/jsp/bigScreen3.jsp
Normal file
@ -0,0 +1,29 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>排污户大屏展示</title>
|
||||
<style>
|
||||
body, html {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
}
|
||||
.screen-container {
|
||||
width: 6500px;
|
||||
height: 1800px;
|
||||
background-image: url('<%=request.getContextPath()%>/IMG/screen3.png');
|
||||
background-size: 100% 100%;
|
||||
background-repeat: no-repeat;
|
||||
position: relative;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="screen-container">
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@ -197,6 +197,19 @@
|
||||
</div>
|
||||
</a>
|
||||
<p class="text-center no-margin" style="font-size: 12px">黄白</p>
|
||||
</li>
|
||||
<li style="float:left; width: 25%; padding: 5px;">
|
||||
<a onclick="doSaveTheme('skin-app-style');" data-skin="skin-app-style" style="cursor: pointer;display: block; box-shadow: 0 0 3px rgba(0,0,0,0.4)" class="clearfix full-opacity-hover">
|
||||
<div>
|
||||
<span style="display:block; width: 20%; float: left; height: 11px; background: #78d363"></span>
|
||||
<span style="display:block; width: 80%; float: left; height: 11px; background: linear-gradient(90deg, #78d363 0%, #2ea7e0 100%);"></span>
|
||||
</div>
|
||||
<div>
|
||||
<span style="display:block; width: 20%; float: left; height: 24px; background: #f9fafc"></span>
|
||||
<span style="display:block; width: 80%; float: left; height: 24px; background: #f4f5f7"></span>
|
||||
</div>
|
||||
</a>
|
||||
<p class="text-center no-margin" style="font-size: 12px">App风格</p>
|
||||
</li>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@ -60,7 +60,7 @@
|
||||
<link rel="stylesheet" href="<%=contextPath%>/node_modules/iconfont/iconfont.css"></link>
|
||||
<!-- AdminLTE样式 -->
|
||||
<link rel="stylesheet" href="<%=contextPath%>/plugins/AdminLTE/css/AdminLTE.min.css"></link>
|
||||
<link rel="stylesheet" href="<%=contextPath%>/plugins/AdminLTE/css/skins/_all-skins.min.css"></link>
|
||||
<link rel="stylesheet" href="<%=contextPath%>/plugins/AdminLTE/css/skins/_all-skins.css"></link>
|
||||
<!-- Google Font -->
|
||||
<!-- <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic"/> -->
|
||||
<!-- select2 -->
|
||||
@ -84,6 +84,7 @@
|
||||
<!-- BEGIN 布局样式 -->
|
||||
<%-- 自定义Bootstrap主题样式 --%>
|
||||
<%-- <link rel="stylesheet" href="<%=contextPath%>/CSS/bootstrap-override.css" type="text/css"> --%>
|
||||
<link rel="stylesheet" href="<%=contextPath%>/CSS/comm.css" type="text/css">
|
||||
<%-- 引入js --%>
|
||||
<%-- 引入jQuery --%>
|
||||
<script type="text/javascript" src="<%=contextPath%>/node_modules/jquery/dist/jquery.min.js" charset="utf-8"></script>
|
||||
|
||||
@ -4,6 +4,20 @@
|
||||
function searchMenu(){
|
||||
var search_name = $('#search_name_menu').val();
|
||||
$.post(ext.contextPath+"/user/showMenuListByCu.do" , {search_name:search_name}, function(result) {
|
||||
var bigScreenHtml = '<li class="treeview">' +
|
||||
'<a href="#">' +
|
||||
'<i class="fa fa-desktop"></i> <span>大屏展示</span>' +
|
||||
'<span class="pull-right-container">' +
|
||||
'<i class="fa fa-angle-left pull-right"></i>' +
|
||||
'</span>' +
|
||||
'</a>' +
|
||||
'<ul class="treeview-menu">' +
|
||||
'<li><a href="javascript:void(0);" onclick="window.open(\'' + ext.contextPath + '/jsp/bigScreen.jsp\', \'_blank\');"><i class="fa fa-circle-o"></i> 水厂大屏</a></li>' +
|
||||
'<li><a href="javascript:void(0);" onclick="window.open(\'' + ext.contextPath + '/jsp/bigScreen2.jsp\', \'_blank\');"><i class="fa fa-circle-o"></i> 区域管线大屏</a></li>' +
|
||||
'<li><a href="javascript:void(0);" onclick="window.open(\'' + ext.contextPath + '/jsp/bigScreen3.jsp\', \'_blank\');"><i class="fa fa-circle-o"></i> 排污户大屏</a></li>' +
|
||||
'</ul>' +
|
||||
'</li>';
|
||||
result = result + bigScreenHtml;
|
||||
$('#menu').html(result);
|
||||
sessionStorage.setItem("menu",result);
|
||||
var $li=$('#menu').find("li:first");
|
||||
|
||||
@ -4,33 +4,203 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD
|
||||
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
|
||||
<style type="text/css">
|
||||
.select2-container .select2-selection--single {
|
||||
height: 34px;
|
||||
line-height: 34px;
|
||||
/* 覆盖Bootstrap Modal样式以匹配APP风格 */
|
||||
.modal-dialog {
|
||||
width: 46%;
|
||||
margin: 30px auto;
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.modal-dialog {
|
||||
width: 94%;
|
||||
margin: 10px auto;
|
||||
}
|
||||
}
|
||||
|
||||
.select2-selection__arrow {
|
||||
margin-top: 3px;
|
||||
.modal-content {
|
||||
border-radius: 16px;
|
||||
border: none;
|
||||
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
|
||||
overflow: hidden;
|
||||
font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
|
||||
}
|
||||
|
||||
/*.layout{*/
|
||||
/* display: flex;*/
|
||||
/* padding-left: 15px;*/
|
||||
/*}*/
|
||||
.modal-header {
|
||||
/* 截图中的蓝绿渐变背景 */
|
||||
background: linear-gradient(135deg, #4CD964 0%, #20E2D7 50%, #12B7F5 100%);
|
||||
color: white;
|
||||
padding: 20px 25px;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.modal-title {
|
||||
font-weight: 600;
|
||||
font-size: 18px;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
.close {
|
||||
color: white;
|
||||
opacity: 0.8;
|
||||
text-shadow: none;
|
||||
font-size: 28px;
|
||||
margin-top: -5px;
|
||||
}
|
||||
|
||||
.close:hover {
|
||||
color: #fff;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.modal-body {
|
||||
padding: 25px 30px;
|
||||
background-color: #f9fbfd; /* 极淡的背景色 */
|
||||
}
|
||||
|
||||
/* 表单样式优化 */
|
||||
.form-horizontal {
|
||||
padding-top: 20px;
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.form-group {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.form-group label {
|
||||
font-weight: 500;
|
||||
color: #555;
|
||||
font-size: 14px;
|
||||
padding-top: 10px !important; /* 垂直居中 */
|
||||
}
|
||||
|
||||
.form-control {
|
||||
border-radius: 8px;
|
||||
border: 1px solid #e0e0e0;
|
||||
box-shadow: none;
|
||||
height: 40px;
|
||||
background-color: #fff;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
|
||||
.form-control:focus {
|
||||
border-color: #20E2D7;
|
||||
box-shadow: 0 0 0 3px rgba(32, 226, 215, 0.1);
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
/* 只读输入框样式 */
|
||||
.form-control[readonly] {
|
||||
background-color: #f5f7fa;
|
||||
color: #777;
|
||||
cursor: pointer; /* 如果有点击事件 */
|
||||
}
|
||||
|
||||
/* Select2 样式覆盖 */
|
||||
.select2-container .select2-selection--single {
|
||||
height: 40px !important;
|
||||
border: 1px solid #e0e0e0 !important;
|
||||
border-radius: 8px !important;
|
||||
line-height: 40px !important;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.select2-container--default .select2-selection--single .select2-selection__rendered {
|
||||
line-height: 40px !important;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.select2-container--default .select2-selection--single .select2-selection__arrow {
|
||||
height: 38px !important;
|
||||
right: 5px;
|
||||
}
|
||||
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__choice {
|
||||
background-color: white;
|
||||
background-color: #e3f2fd;
|
||||
border: 1px solid #bbdefb;
|
||||
color: #1e88e5;
|
||||
border-radius: 4px;
|
||||
margin-top: 7px;
|
||||
}
|
||||
|
||||
.select2-container .select2-selection--multiple {
|
||||
min-height: 40px !important;
|
||||
border: 1px solid #e0e0e0 !important;
|
||||
border-radius: 8px !important;
|
||||
}
|
||||
|
||||
/* 底部按钮区 */
|
||||
.modal-footer {
|
||||
border-top: none;
|
||||
padding: 20px 30px 30px;
|
||||
background-color: #f9fbfd;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.btn {
|
||||
border-radius: 25px; /* 圆角胶囊按钮 */
|
||||
padding: 8px 30px;
|
||||
font-size: 14px;
|
||||
border: none;
|
||||
font-weight: 500;
|
||||
letter-spacing: 1px;
|
||||
transition: transform 0.2s, box-shadow 0.2s;
|
||||
}
|
||||
|
||||
.btn:active {
|
||||
transform: scale(0.98);
|
||||
}
|
||||
|
||||
.btn-default {
|
||||
background-color: #edf2f7;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.btn-default:hover {
|
||||
background-color: #e2e8f0;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
/* 按钮也使用渐变 */
|
||||
background: linear-gradient(90deg, #20E2D7 0%, #12B7F5 100%);
|
||||
color: white;
|
||||
box-shadow: 0 4px 12px rgba(18, 183, 245, 0.3);
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
background: linear-gradient(90deg, #1CD1C7 0%, #10A6DF 100%);
|
||||
box-shadow: 0 6px 15px rgba(18, 183, 245, 0.4);
|
||||
color: white;
|
||||
}
|
||||
|
||||
/* 日期选择器图标 */
|
||||
.input-group-addon {
|
||||
background-color: #fff;
|
||||
border: 1px solid #e0e0e0;
|
||||
border-left: none;
|
||||
border-top-right-radius: 8px;
|
||||
border-bottom-right-radius: 8px;
|
||||
color: #12B7F5;
|
||||
}
|
||||
|
||||
.input-group .form-control {
|
||||
border-top-right-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
}
|
||||
|
||||
/* 其他 */
|
||||
.right {
|
||||
margin-left: 50px;
|
||||
}
|
||||
|
||||
|
||||
/* 必填项星号颜色 */
|
||||
.control-label:before {
|
||||
/*content: "*";*/
|
||||
/*color: #f56c6c;*/
|
||||
/*margin-right: 4px;*/
|
||||
}
|
||||
/* 针对现有HTML中写在label里的*号进行颜色处理,如果有的话 */
|
||||
.control-label {
|
||||
position: relative;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
|
||||
@ -71,7 +241,7 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD
|
||||
return repo.text;
|
||||
} // 函数用于呈现当前的选择
|
||||
});
|
||||
$(".select2-selection--single").css({'height': '30px', 'paddingTop': '4px'});
|
||||
/* $(".select2-selection--single").css({'height': '30px', 'paddingTop': '4px'}); */
|
||||
select_3.val('${bean.jobType}'.split(",")).trigger("change");
|
||||
}
|
||||
|
||||
@ -305,7 +475,7 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD
|
||||
|
||||
</script>
|
||||
<div class="modal fade" id="subModal">
|
||||
<div class="modal-dialog" style="width: 46%">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
@ -314,7 +484,7 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-xs-13">
|
||||
<div class="col-md-12 col-xs-12">
|
||||
<!-- 新增界面formid强制为editForm -->
|
||||
<form class="form-horizontal" id="editForm" enctype="multipart/form-data">
|
||||
<div id="alertDiv"></div>
|
||||
|
||||
@ -1051,7 +1051,7 @@
|
||||
var topRightWidth=$('#topRight').outerWidth();
|
||||
var titleWidth=topWidth-topRightWidth-50;
|
||||
$("#topTitle").css('width',titleWidth);
|
||||
$("#topTitle").text("智慧水务云平台");
|
||||
$("#topTitle").text("碳谷绿湾云平台");
|
||||
});*/
|
||||
|
||||
</script>
|
||||
@ -1061,9 +1061,14 @@
|
||||
<!-- Logo -->
|
||||
<a onclick="goToMainTab();" style="cursor:pointer " class="logo">
|
||||
<!-- mini logo for sidebar mini 50x50 pixels -->
|
||||
<span class="logo-mini"><b id="logo-mini">平台</b></span>
|
||||
<span class="logo-mini">
|
||||
<img src="<%=request.getContextPath()%>/IMG/logo.png" style="height: 30px; margin-top: 10px;" alt="Logo"/>
|
||||
</span>
|
||||
<!-- logo for regular state and mobile devices -->
|
||||
<span class="logo-lg"><b id="logo-lg"><%-- ${cu._pname} --%></b></span>
|
||||
<span class="logo-lg">
|
||||
<img src="<%=request.getContextPath()%>/IMG/logo.png" style="height: 30px; margin-right: 5px; vertical-align: middle;" alt="Logo"/>
|
||||
<b id="logo-lg" style="vertical-align: middle; font-size: 18px;">上海金山卫污水厂</b>
|
||||
</span>
|
||||
</a>
|
||||
<!-- Navbar Right Menu -->
|
||||
<div id="logo-top-title" class="pull-left hidden-xs hidden-sm"
|
||||
|
||||
Reference in New Issue
Block a user