index.html 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>全排列软件</title>
  6. <script type="text/javascript" src="js/js.js"></script>
  7. <style>
  8. .div-1 {
  9. float: left;
  10. width: 49%;
  11. }
  12. .div-2 {
  13. float: right;
  14. width: 49%;
  15. }
  16. .div-1-1 {
  17. height: 425px;
  18. border: 1px solid;
  19. }
  20. .text-0 {
  21. overflow-x: scroll;
  22. overflow-y: scroll;
  23. }
  24. </style>
  25. </head>
  26. <body>
  27. <div class="div-1">
  28. <div>
  29. <p>输入</p>
  30. </div>
  31. <div id="thingsBox" class="div-1-1">
  32. </div>
  33. <br>
  34. <div>
  35. <input id="in">
  36. <button onclick="add()">添加</button>
  37. <button onclick="delall()">清空</button>
  38. <button onclick="start()">开始</button>
  39. </div>
  40. </div>
  41. <div class="div-2">
  42. <p>全排列</p>
  43. <textarea class="text-0" id="texts" rows="30" cols="40"></textarea>
  44. </div>
  45. </body>
  46. </html>