index.html 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. <link rel="icon" href="static/favicon.ico">
  12. <script>
  13. window.onload = function () {
  14. // js增加svg的outerHTML
  15. Object.defineProperty(SVGElement.prototype, "outerHTML", {
  16. get: function () {
  17. return new XMLSerializer().serializeToString(this)
  18. }
  19. })
  20. Object.defineProperty(SVGElement.prototype, "innerHTML", {
  21. get: function () {
  22. var s = this.outerHTML
  23. var ropen = new RegExp("<" + this.nodeName + '\\b(?:(["\'])[^"]*?(\\1)|[^>])*>', "i")
  24. var rclose = new RegExp("<\/" + this.nodeName + ">$", "i")
  25. return s.replace(ropen, "").replace(rclose, "")
  26. }
  27. })
  28. }
  29. </script>
  30. </head>
  31. <body>
  32. <script type='text/javascript' src="https://res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js"></script>
  33. <script src="./static/ckeditor_4.10.0/ckeditor.js"></script>
  34. <div id="app"></div>
  35. <!-- built files will be auto injected -->
  36. </body>
  37. </html>