+ 修改标水界面提示
+ 新增进样序列计算(开发中)
This commit is contained in:
57
injection-sequence.html
Normal file
57
injection-sequence.html
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="zh-CN">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>进样序列(Injection Sequence)</title>
|
||||||
|
<link rel="stylesheet" href="./github.css">
|
||||||
|
<link rel="stylesheet" href="./theme.css">
|
||||||
|
<script src="./decimal.js"></script>
|
||||||
|
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
||||||
|
<script>
|
||||||
|
$(document).ready(function() {
|
||||||
|
var time = document.getElementById("time");
|
||||||
|
var num = document.getElementById("num");
|
||||||
|
var ptime = document.getElementById("ptime");
|
||||||
|
|
||||||
|
$("#ok").click(function () {
|
||||||
|
message("time: " + time.value);
|
||||||
|
message("ptime: " + ptime.value);
|
||||||
|
message("num: " + num.value);
|
||||||
|
});
|
||||||
|
|
||||||
|
$("#clear").click(function () {
|
||||||
|
time.value = "";
|
||||||
|
times.value = "";
|
||||||
|
$(".output").empty();
|
||||||
|
});
|
||||||
|
|
||||||
|
$("#new_page").click(function () {
|
||||||
|
window.open(window.location.href, "_blank");
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
function message(text) {
|
||||||
|
$(".output").append(text, "<br>");
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="input">
|
||||||
|
<div class="inputbox">
|
||||||
|
<input type="number" name="time" id="time" placeholder="多少分钟一针" inputmode="decimal">
|
||||||
|
<input type="number" name="prefix-time" id="p-time" placeholder="时间提前" value='0' inputmode="decimal">
|
||||||
|
<input type="number" name="num" id="num" placeholder="一共有多少针" inputmode="decimal">
|
||||||
|
</div>
|
||||||
|
<div class="buttons">
|
||||||
|
<button id="new_page">新开标签页</button>
|
||||||
|
<button id="clear">清除内容</button>
|
||||||
|
<button id="ok">计算</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="output">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
<script>
|
<script>
|
||||||
var debug = false;
|
var debug = false;
|
||||||
var tip = "<br>" +
|
var tip = "<br>" +
|
||||||
"测试版本,请再次人工核对数据是否准确!" +
|
"请输入三次 F 值" +
|
||||||
"<br>" +
|
"<br>" +
|
||||||
"公式:" +
|
"公式:" +
|
||||||
"<br>" +
|
"<br>" +
|
||||||
|
|||||||
Reference in New Issue
Block a user