From ef80f7abdf44f66b28a55739c37c8cfefdf44334 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期四, 02 七月 2020 11:05:52 +0800
Subject: [PATCH] #

---
 src/main/webapp/static/css/common.css          |   28 ++++++++++++++++++++++++----
 src/main/webapp/static/js/trayCode/trayCode.js |    2 +-
 src/main/webapp/views/trayCode/tray.html       |   30 +++++++++++++++++++++++++++++-
 3 files changed, 54 insertions(+), 6 deletions(-)

diff --git a/src/main/webapp/static/css/common.css b/src/main/webapp/static/css/common.css
index a430141..af20387 100644
--- a/src/main/webapp/static/css/common.css
+++ b/src/main/webapp/static/css/common.css
@@ -8,6 +8,30 @@
 body {
     background-color: #fff;
 }
+
+input::placeholder {
+    color: #b4b4b4;
+}
+input::-webkit-input-placeholder { /* WebKit browsers 閫傞厤璋锋瓕 */
+    color: #b4b4b4;
+}
+.layui-input input:-moz-placeholder { /* Mozilla Firefox 4 to 18 閫傞厤鐏嫄 */
+    color: #b4b4b4;
+}
+.layui-input input::-moz-placeholder { /* Mozilla Firefox 19+ 閫傞厤鐏嫄 */
+    color: #b4b4b4;
+}
+.layui-input input:-ms-input-placeholder { /* Internet Explorer 10+  閫傞厤ie*/
+    color: #b4b4b4;
+}
+
+/* layui浼樺寲 */
+.layui-form-label {
+    /*color: #595959;*/
+}
+.layui-input:focus {
+    border-color: #007bff !important;
+}
 /*鎼滅储鏍�*/
 .layui-form.layui-card-header {
     padding: 20px 0 5px 0;
@@ -40,7 +64,6 @@
 #data-search-btn.layui-btn-container .layui-btn{
     margin-right: 20px;
 }
-
 
 /*澶村伐鍏锋爮*/
 .layui-table-tool-temp {
@@ -153,8 +176,6 @@
     height: 200px;
 }
 
-
-
 /*
     甯冨眬
  */
@@ -168,7 +189,6 @@
 .col{
     height: inherit;
 }
-
 
 /*鏉冮檺*/
 #btn-add {
diff --git a/src/main/webapp/static/js/trayCode/trayCode.js b/src/main/webapp/static/js/trayCode/trayCode.js
index 81a5b95..c8bb9e0 100644
--- a/src/main/webapp/static/js/trayCode/trayCode.js
+++ b/src/main/webapp/static/js/trayCode/trayCode.js
@@ -106,7 +106,7 @@
                 layer.open({
                     type: 2,
                     title: '鐢熸垚鎵樼洏鐮�',
-                    area: ['500px'],
+                    area: ['360px'],
                     shadeClose: true,
                     content: 'tray.html',
                     success: function(layero, index){
diff --git a/src/main/webapp/views/trayCode/tray.html b/src/main/webapp/views/trayCode/tray.html
index 79aa48d..9084356 100644
--- a/src/main/webapp/views/trayCode/tray.html
+++ b/src/main/webapp/views/trayCode/tray.html
@@ -16,10 +16,38 @@
     <script type="text/javascript" src="../../static/js/handlebars/handlebars-v4.5.3.js"></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>
+    <style>
+        .layui-form {
+            padding: 25px 30px 0 0;
+        }
+        .layui-form-label {
+            padding: 8px 15px;
+            box-sizing: content-box;
+            -webkit-box-sizing: content-box;
+        }
+        .layui-form-required:before {
+            content: "*";
+            display: inline-block;
+            font-family: SimSun,serif;
+            margin-right: 4px;
+            font-size: 14px;
+            line-height: 1;
+            color: #ed4014;
+        }
+        .layui-input {
+            height: 36px;
+            border-radius: 4px;
+        }
+    </style>
 </head>
 <body>
 <form class="layui-form">
-
+    <div class="layui-form-item">
+        <label class="layui-form-label layui-form-required">搴忓垪鍙�:</label>
+        <div class="layui-input-block">
+            <input name="startNo" placeholder="璇疯緭鍏ュ簭鍒楀彿" class="layui-input" lay-vertype="tips" lay-verify="required|number" required="">
+        </div>
+    </div>
 </form>
 </body>
 <script>

--
Gitblit v1.9.1