index.html 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>私塾家作业批改后台</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  7. <!-- <meta name="viewport" content="width=1920, target-densityDpi=device-dpi, user-scalable=no"> -->
  8. <!-- <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" /> -->
  9. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  10. <meta name="viewport" content="width=device-width, initial-scale=1">
  11. <script>
  12. window.onload = function () {
  13. // js增加svg的outerHTML
  14. Object.defineProperty(SVGElement.prototype, "outerHTML", {
  15. get: function () {
  16. return new XMLSerializer().serializeToString(this)
  17. }
  18. })
  19. Object.defineProperty(SVGElement.prototype, "innerHTML", {
  20. get: function () {
  21. var s = this.outerHTML
  22. var ropen = new RegExp("<" + this.nodeName + '\\b(?:(["\'])[^"]*?(\\1)|[^>])*>', "i")
  23. var rclose = new RegExp("<\/" + this.nodeName + ">$", "i")
  24. return s.replace(ropen, "").replace(rclose, "")
  25. }
  26. })
  27. }
  28. </script>
  29. </head>
  30. <body>
  31. <script type='text/javascript' src="https://res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js"></script>
  32. <script src="./static/ckeditor_4.10.0/ckeditor.js"></script>
  33. <div id="app"></div>
  34. <!-- built files will be auto injected -->
  35. </body>
  36. </html>