basic.html 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  6. <title>Basic Form - jQuery EasyUI Mobile Demo</title>
  7. <link rel="stylesheet" type="text/css" href="../../themes/metro/easyui.css">
  8. <link rel="stylesheet" type="text/css" href="../../themes/mobile.css">
  9. <link rel="stylesheet" type="text/css" href="../../themes/icon.css">
  10. <script type="text/javascript" src="../../jquery.min.js"></script>
  11. <script type="text/javascript" src="../../jquery.easyui.min.js"></script>
  12. <script type="text/javascript" src="../../jquery.easyui.mobile.js"></script>
  13. </head>
  14. <body>
  15. <div class="easyui-navpanel" style="position:relative;padding:20px">
  16. <header>
  17. <div class="m-toolbar">
  18. <div class="m-title">Basic Form</div>
  19. <div class="m-right">
  20. <a href="javascript:void(0)" class="easyui-linkbutton" plain="true" outline="true" onclick="$('#ff').form('reset')" style="width:60px">Reset</a>
  21. </div>
  22. </div>
  23. </header>
  24. <form id="ff">
  25. <div style="margin-bottom:10px">
  26. <input class="easyui-textbox" label="Full name:" prompt="Full name" style="width:100%">
  27. </div>
  28. <div style="margin-bottom:10px">
  29. <input class="easyui-datebox" label="Birthday:" prompt="Birthday" data-options="editable:false,panelWidth:220,panelHeight:240,iconWidth:30" style="width:100%">
  30. </div>
  31. <div style="margin-bottom:10px">
  32. <input class="easyui-passwordbox" label="Password:" prompt="Password" style="width:100%">
  33. </div>
  34. <div style="margin-bottom:10px">
  35. <input class="easyui-numberbox" label="Number:" prompt="Number" style="width:100%">
  36. </div>
  37. <div style="margin-bottom:10px">
  38. <label class="textbox-label">Switch:</label><!--
  39. --><input class="easyui-switchbutton">
  40. </div>
  41. </form>
  42. </div>
  43. </body>
  44. </html>