index.html 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>PBL教师端</title><link rel="shortcut icon" type=image/x-icon href=static/logo.ico><style>@charset "utf-8";
  2. div::-webkit-scrollbar {
  3. /*滚动条整体样式*/
  4. width: 6px;
  5. /*高宽分别对应横竖滚动条的尺寸*/
  6. height: 6px;
  7. }
  8. /*定义滚动条轨道 内阴影+圆角*/
  9. div::-webkit-scrollbar-track {
  10. border-radius: 10px;
  11. background-color: rgba(0, 0, 0, 0.1);
  12. }
  13. /*定义滑块 内阴影+圆角*/
  14. div::-webkit-scrollbar-thumb {
  15. border-radius: 10px;
  16. -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
  17. background-color: rgba(0, 0, 0, 0.1);
  18. }
  19. html,
  20. body {
  21. height: 100%;
  22. width: 100%;
  23. background: #e6eaf0;
  24. <<<<<<< HEAD
  25. }</style><link href=./static/css/app.1ea0745f8759c3ccb5b47f66c4bd31d9.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3512a67a6213c2df4180.js></script><script type=text/javascript src=./static/js/vendor.b01159b52abeac4e6216.js></script><script type=text/javascript src=./static/js/app.64f9c3f2d941ed21657e.js></script></body></html><script>function stopSafari() {
  26. =======
  27. <<<<<<< HEAD
  28. }</style><link href=./static/css/app.8db61530cac78e086e080ad56f8b3372.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.4ae2783fdfe7ab52e4d5.js></script><script type=text/javascript src=./static/js/vendor.b01159b52abeac4e6216.js></script><script type=text/javascript src=./static/js/app.a8d9b67ee56036db82da.js></script></body></html><script>function stopSafari() {
  29. =======
  30. }</style><link href=./static/css/app.58a6b41197bea4871a9880be0e71c882.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3512a67a6213c2df4180.js></script><script type=text/javascript src=./static/js/vendor.b01159b52abeac4e6216.js></script><script type=text/javascript src=./static/js/app.fe4284aa32465342a4e0.js></script></body></html><script>function stopSafari() {
  31. >>>>>>> 02df65c2f33f546c3b41100979e63a9a1d4d6f96
  32. >>>>>>> 69e7b6e8668f04bafa6685cf32902519d369efb9
  33. //阻止safari浏览器双击放大功能
  34. let lastTouchEnd = 0 //更新手指弹起的时间
  35. document.documentElement.addEventListener("touchstart", function (event) {
  36. //多根手指同时按下屏幕,禁止默认行为
  37. if (event.touches.length > 1) {
  38. event.preventDefault();
  39. }
  40. });
  41. document.documentElement.addEventListener("touchend", function (event) {
  42. let now = (new Date()).getTime();
  43. if (now - lastTouchEnd <= 300) {
  44. //当两次手指弹起的时间小于300毫秒,认为双击屏幕行为
  45. event.preventDefault();
  46. } else { // 否则重新手指弹起的时间
  47. lastTouchEnd = now;
  48. }
  49. }, false);
  50. //阻止双指放大页面
  51. document.documentElement.addEventListener("gesturestart", function (event) {
  52. event.preventDefault();
  53. });
  54. }
  55. window.onload = () => {
  56. stopSafari();
  57. }
  58. document.domain = document.domain.split(".").slice(-2).join(".");</script>