From c4a55e708109402835cb00991eacab9e97c32d5e Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期五, 10 七月 2020 13:25:37 +0800 Subject: [PATCH] # --- src/main/webapp/views/pdaCe/index.html | 17 +++++++++++++---- 1 files changed, 13 insertions(+), 4 deletions(-) diff --git a/src/main/webapp/views/pdaCe/index.html b/src/main/webapp/views/pdaCe/index.html index ede925d..1cfa243 100644 --- a/src/main/webapp/views/pdaCe/index.html +++ b/src/main/webapp/views/pdaCe/index.html @@ -6,9 +6,11 @@ <title>涓壃鐗╂祦</title> <script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script> <style> - * { font-size: 12px; + } + html { + background-color: #fff; } .mat-msg { @@ -110,6 +112,7 @@ </style> </head> <body> +<button onclick="help()" style="padding: 0 3px; position: absolute; top: 0%; right: 0%">?</button> <div> <span>鏉$爜</span> <input type="text" id="code"> @@ -183,7 +186,7 @@ matDetail.style.display = 'none'; var initMatCount = 1; - // window.onload = function(){code.focus();} + window.onload = function(){matMsg.focus();} // 鏌ヨ鐗╂祦 function find(el) { @@ -205,9 +208,9 @@ matName.value = res.data.matName; str1.value = res.data.str1; - count.focus(); + // count.focus(); count.value = initMatCount; - // confirmBtn.focus(); + confirmBtn.focus(); } else { matMsg.style.display = 'block'; btnCon.style.display = 'block'; @@ -502,5 +505,11 @@ // count: 1 // }) // }, 200) + function help() { + window.alert("鈶� 鎸塅1杈撳叆鏉$爜\n" + + "鈶� 鎸塅2杈撳叆鐗╂枡鍙凤紝鎸塃NTER鏌ヨ锛岄�夋嫨鏁伴噺鍚庢彁鍙朶n" + + "鈶� 鎸塅3寮�濮嬬粍鎵榎n" + + "鍏跺畠锛氭寜F5鍒锋柊椤甸潰"); + } </script> </html> \ No newline at end of file -- Gitblit v1.9.1