From 59448c6902359f36001d9c49b52941e139d8db28 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期六, 27 六月 2020 15:41:26 +0800
Subject: [PATCH] #
---
src/main/webapp/views/pda/comb.html | 20 +++++-
src/main/webapp/views/pda/login.html | 14 ++++
src/main/webapp/views/pda/matQuery.html | 91 ++++++++++++++++++++++++++++++
3 files changed, 119 insertions(+), 6 deletions(-)
diff --git a/src/main/webapp/views/pda/comb.html b/src/main/webapp/views/pda/comb.html
index 6023f09..8e39c1e 100644
--- a/src/main/webapp/views/pda/comb.html
+++ b/src/main/webapp/views/pda/comb.html
@@ -51,6 +51,13 @@
width: 70px;
}
+ /* layer */
+ .layui-layer-title {
+ font-size: 11px;
+ height: 20px;
+ line-height: 20px;
+ }
+
/* 涓讳綋 */
.layui-table, .layui-table-view {
margin: 0;
@@ -123,15 +130,18 @@
});
+ window.onload = function(){document.getElementById("code").focus();}
+
function getMat() {
matCodeLayerIdx = layer.open({
type: 2,
- title: '鎻愬彇鐗╂枡',
- maxmin: true,
- area: [top.detailWidth, top.detailHeight],
- shadeClose: true,
- content: '../pakStore/matQuery.html',
+ title: '鐗╂枡',
+ shade: [0.3,'#000'],
+ area: ['90%', '90%'],
+ content: 'matQuery.html',
success: function(layero, index){
+ $('.layui-layer-title').css('height', '20px').css('line-height', '20px').css('font-size', '12px').css('padding-left', '10px')
+ $('.layui-layer-setwin').css("top", '2px').css('right', '3px')
}
});
}
diff --git a/src/main/webapp/views/pda/login.html b/src/main/webapp/views/pda/login.html
index 9bf1c23..a7878d6 100644
--- a/src/main/webapp/views/pda/login.html
+++ b/src/main/webapp/views/pda/login.html
@@ -12,6 +12,18 @@
height: 100%;
overflow: hidden;
}
+ body.login-bg {
+ color: #777;
+ height: 100%;
+ background-image: linear-gradient(to right, #ff9569 0%, #e92758 100%);
+ /*background-image: linear-gradient(-90deg, #29bdd9 0%, #276ace 100%);*/
+ /*background: -webkit-linear-gradient(red, blue); !* Safari 5.1 - 6.0 *!;*/
+ /*background-image: url("../static/image/login_bg.jpg");*/
+ /*background-repeat: no-repeat;*/
+ /*background-size: cover;*/
+ /*background-position: top center;*/
+ }
+
#login-wrapper {
box-sizing:border-box;
background: #fff;
@@ -58,7 +70,7 @@
}
</style>
</head>
-<body>
+<body class="login-bg">
<div id="login-wrapper">
<header>
diff --git a/src/main/webapp/views/pda/matQuery.html b/src/main/webapp/views/pda/matQuery.html
new file mode 100644
index 0000000..c12fdec
--- /dev/null
+++ b/src/main/webapp/views/pda/matQuery.html
@@ -0,0 +1,91 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, target-densitydpi=high-dpi, initial-scale=1.0, user-scalable=no"/>
+ <title>鐗╂枡鎻愬彇</title>
+ <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
+ <script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
+ <script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
+ <script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
+ <script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
+ <script type="text/javascript" src="../../static/js/handlebars/handlebars-v4.5.3.js"></script>
+ <style>
+
+ .form-box {
+ padding: 15px 5px 5px 5px;
+ font-size: 12px;
+ text-align: center;
+ }
+
+ .form-item {
+ margin-bottom: 10px;
+ }
+
+ .form-box span {
+ font-size: 12px;
+ display: inline-block;
+ text-align: right;
+ width: 50px;
+ }
+ .form-box input {
+ width: 120px;
+ margin-left: 10px;
+ padding-left: 5px;
+ height: 20px;
+ }
+ .form-box button {
+ padding: 5px 20px;
+ }
+ </style>
+</head>
+<body>
+
+<div class="form-box">
+ <div class="form-item">
+ <span>鐗╂枡缂栫爜</span>
+ <input id="matNo" type="text" placeholder="鎵爜/杈撳叆">
+ </div>
+ <div class="form-item">
+ <span>鐗╂枡鍚嶇О</span>
+ <input type="text" disabled="disabled">
+ </div>
+ <div class="form-item">
+ <span>鐗╂枡鎻忚堪</span>
+ <input type="text" disabled="disabled">
+ </div>
+ <div class="form-item">
+ <span>鍗曚綅</span>
+ <input type="text" disabled="disabled">
+ </div>
+ <div class="form-item">
+ <span>鏁伴噺</span>
+ <input type="number" >
+ </div>
+ <button id="confirm">鎻愬彇</button>
+</div>
+
+</body>
+<script>
+ var pageCurr;
+ layui.use(['table','laydate', 'form'], function() {
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+
+ });
+
+ window.onload = function(){document.getElementById("matNo").focus();}
+ $(document).on('click','#confirm', function () {
+ })
+
+ $('body').keydown(function () {
+ if (event.keyCode === 13) {
+ $("#confirm").click();
+ }
+ });
+
+</script>
+</html>
\ No newline at end of file
--
Gitblit v1.9.1