first commit

This commit is contained in:
2026-01-16 14:13:44 +08:00
commit 903ff8d495
34603 changed files with 8585054 additions and 0 deletions

View File

@ -0,0 +1,28 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Basic NumberBox - jQuery EasyUI Demo</title>
<link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../../themes/icon.css">
<link rel="stylesheet" type="text/css" href="../demo.css">
<script type="text/javascript" src="../../jquery.min.js"></script>
<script type="text/javascript" src="../../jquery.easyui.min.js"></script>
</head>
<body>
<h2>Basic NumberBox</h2>
<p>The NumberBox can only accept inputing numbers.</p>
<div style="margin:20px 0;"></div>
<div class="easyui-panel" style="width:400px;padding:60px 100px;">
<div style="margin-bottom:20px">
<div>List Price:</div>
<input class="easyui-numberbox" precision="2" value="234.56"></input>
</div>
<div style="margin-bottom:20px">
<div>Amount:</div>
<input class="easyui-numberbox" value="100"></input>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,28 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Fluid NumberBox - jQuery EasyUI Demo</title>
<link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../../themes/icon.css">
<link rel="stylesheet" type="text/css" href="../demo.css">
<script type="text/javascript" src="../../jquery.min.js"></script>
<script type="text/javascript" src="../../jquery.easyui.min.js"></script>
</head>
<body>
<h2>Fluid NumberBox</h2>
<p>This example shows how to set the width of NumberBox to a percentage of its parent container.</p>
<div style="margin:20px 0;"></div>
<div class="easyui-panel" style="width:500px;padding:60px 100px;">
<div style="margin-bottom:20px">
<div>width: 100%</div>
<input class="easyui-numberbox" precision="2" value="234.56" style="width:100%">
</div>
<div style="margin-bottom:20px">
<div>width: 50%</div>
<input class="easyui-numberbox" value="100" style="width:50%">
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,40 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Format NumberBox - jQuery EasyUI Demo</title>
<link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../../themes/icon.css">
<link rel="stylesheet" type="text/css" href="../demo.css">
<script type="text/javascript" src="../../jquery.min.js"></script>
<script type="text/javascript" src="../../jquery.easyui.min.js"></script>
</head>
<body>
<h2>Format NumberBox</h2>
<p>Number formatting is the ability to control how a number is displayed.</p>
<div style="margin:20px 0;"></div>
<table>
<tr>
<td>Number in the United States</td>
<td><input class="easyui-numberbox" value="1234567.89" data-options="precision:2,groupSeparator:','"></input></td>
</tr>
<tr>
<td>Number in France</td>
<td><input class="easyui-numberbox" value="1234567.89" data-options="precision:2,groupSeparator:' ',decimalSeparator:','"></input></td>
</tr>
<tr>
<td>Currency:USD</td>
<td><input class="easyui-numberbox" value="1234567.89" data-options="precision:2,groupSeparator:',',decimalSeparator:'.',prefix:'$'"></input></td>
</tr>
<tr>
<td>Currency:EUR</td>
<td><input class="easyui-numberbox" value="1234567.89" data-options="precision:2,groupSeparator:',',decimalSeparator:' ',prefix:'€'"></input></td>
</tr>
<tr>
<td></td>
<td><input class="easyui-numberbox" value="1234567.89" data-options="precision:2,groupSeparator:' ',decimalSeparator:',',suffix:'€'"></input></td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,31 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Number Range - jQuery EasyUI Demo</title>
<link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../../themes/icon.css">
<link rel="stylesheet" type="text/css" href="../demo.css">
<script type="text/javascript" src="../../jquery.min.js"></script>
<script type="text/javascript" src="../../jquery.easyui.min.js"></script>
</head>
<body>
<h2>Number Range</h2>
<p>The value is constrained to a specified range.</p>
<div style="margin:20px 0;"></div>
<div class="easyui-panel" style="width:400px;padding:60px 100px;">
<div style="margin-bottom:20px">
<div>Amount:</div>
<input class="easyui-numberbox" data-options="min:10,max:90,precision:2,required:true">
</div>
<div style="margin-bottom:20px">
<div>Weight:</div>
<input class="easyui-numberbox" data-options="min:10,max:90,required:true">
</div>
<div style="margin-bottom:20px">
<div>Age:</div>
<input class="easyui-numberbox" data-options="min:0,max:100,required:true">
</div>
</div>
</body>
</html>