From 0a936b5550c0d2b2125977fb8f956720b7ed0e4c Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期六, 27 六月 2020 16:25:12 +0800
Subject: [PATCH] #
---
src/main/webapp/views/pda/comb.html | 27 +++++++++++++++++++++++++--
1 files changed, 25 insertions(+), 2 deletions(-)
diff --git a/src/main/webapp/views/pda/comb.html b/src/main/webapp/views/pda/comb.html
index 482e69b..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;
@@ -79,10 +86,10 @@
<header>
<div class="layui-input-inline">
<label class="layui-form-label">鏉$爜</label>
- <input class="layui-input" type="text" id="code" placeholder="璇锋壂鐮佹垨杈撳叆" autocomplete="off">
+ <input class="layui-input" type="text" id="code" placeholder="鎵爜/杈撳叆" autocomplete="off">
</div>
<div style="margin: 5px 5px">
- <button type="button" class="layui-btn layui-btn-normal layui-btn-xs"><i class="layui-icon">+</i>鎻愬彇</button>
+ <button type="button" class="layui-btn layui-btn-normal layui-btn-xs" onclick="getMat()"><i class="layui-icon">+</i>鎻愬彇</button>
</div>
</header>
@@ -122,5 +129,21 @@
});
});
+
+ window.onload = function(){document.getElementById("code").focus();}
+
+ function getMat() {
+ matCodeLayerIdx = layer.open({
+ type: 2,
+ 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')
+ }
+ });
+ }
</script>
</html>
\ No newline at end of file
--
Gitblit v1.9.1