index.html 1.6 KB

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