fehelper_jsonformat.html 1.4 KB

1234567891011121314151617181920212223242526272829303132
  1. <!DOCTYPE HTML>
  2. <html lang="zh-CN">
  3. <head>
  4. <title>Json格式化查看工具</title>
  5. <meta charset="UTF-8">
  6. <link rel="stylesheet" href="../static/css/fe-jsonformat.css" />
  7. <script type="text/javascript" src="../static/js/core/jquery-1.5.min.js"></script>
  8. <script type="text/javascript" src="../static/js/mod/mod_jsonformat.js"></script>
  9. </head>
  10. <body>
  11. <div class="mod-json">
  12. <div class="format-item clearfix">
  13. <fieldset>
  14. <legend>JSON格式化查看:请在下面粘贴你的JSON字符串</legend>
  15. <textarea id="jsonSource" placeholder="在这里粘贴您需要进行格式化的JSON代码"></textarea>
  16. <div><button id="btnFormat">格式化</button></div>
  17. </fieldset>
  18. </div>
  19. <div class="rst-item">
  20. <div id="formattingMsg">
  21. <svg id="spinner" width="16" height="16" viewBox="0 0 300 300" xmlns="http://www.w3.org/2000/svg" version="1.1">
  22. <path d="M 150,0 a 150,150 0 0,1 106.066,256.066 l -35.355,-35.355 a -100,-100 0 0,0 -70.711,-170.711 z" fill="#3d7fe6"></path>
  23. </svg>
  24. 加载中...
  25. </div>
  26. <div id="jfContent"></div>
  27. <pre id="jfContent_pre"></pre>
  28. </div>
  29. </div>
  30. </body>
  31. </html>