index.html 1.5 KB

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