From 5c93d01a4c8100a7a4b306f5ce529e25e37c2942 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期二, 28 七月 2020 15:40:00 +0800 Subject: [PATCH] #当前本版十分完美、冻结 --- src/main/webapp/views/pda/locDetlIframe.html | 27 ++++++++++++++------------- 1 files changed, 14 insertions(+), 13 deletions(-) diff --git a/src/main/webapp/views/pda/locDetlIframe.html b/src/main/webapp/views/pda/locDetlIframe.html index 62ad122..1ec5114 100644 --- a/src/main/webapp/views/pda/locDetlIframe.html +++ b/src/main/webapp/views/pda/locDetlIframe.html @@ -13,7 +13,7 @@ <style> .form-box { padding: 15px 5px 5px 5px; - font-size: 12px; + font-size: 16px; text-align: center; } @@ -22,16 +22,15 @@ } .form-box span { - font-size: 12px; display: inline-block; text-align: right; - width: 50px; + width: 70px; } .form-box input { width: 120px; margin-left: 10px; padding-left: 5px; - height: 20px; + height: 30px; border: 1px solid #777777; overflow:hidden; white-space:nowrap; @@ -51,19 +50,19 @@ } .number-tool button { background-color: #fff; - margin-top: 2px; - font-size: 13px; - height: 18px; + margin-top: 3px; + font-size: 16px; + height: 25px; float: left; - width: 20px; + width: 25px; border: 1px solid #777777; } .number-tool input { text-align: center; - height: 20px; + height: 30px; float: left; margin: 0 5px; - width: 30px; + width: 40px; padding: 0; } @@ -90,7 +89,9 @@ <div class="form-item"> <span style="vertical-align: middle">鏁伴噺</span> <div class="number-tool" style="vertical-align: middle"> - <button onclick="reduce()">-</button><input id="count" type="number"><button onclick="add()">+</button> + <button onclick="reduce()">-</button> + <input id="count" type="number"> +<!-- <button onclick="add()">+</button>--> </div> </div> <button class="form-button" id="save" onclick="save()">淇濆瓨</button> @@ -101,8 +102,8 @@ var countDom = $('#count'); function save() { - if (countDom.val() <= 1) { - alert("鏁伴噺蹇呴』澶т簬0") + console.log(countDom.val()) + if (countDom.val() < 1) { return; } parent.updateTableData({ -- Gitblit v1.9.1