1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width,initial-scale=1.0">
- <title>pbl-student</title>
- <base target="_blank">
- <style>
-
- div::-webkit-scrollbar {
-
- width: 6px;
-
- height: 6px;
- }
-
- div::-webkit-scrollbar-track {
- border-radius: 10px;
- background-color: rgba(0, 0, 0, 0.1);
- }
-
- div::-webkit-scrollbar-thumb {
- border-radius: 10px;
- -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
- background-color: rgba(0, 0, 0, 0.1);
- }
- html,
- body{
- font-family: '黑体';
- }
- </style>
- </head>
- <body>
- <div id="app"></div>
-
- </body>
- </html>
- <script>
- function stopSafari() {
-
- let lastTouchEnd = 0
- document.documentElement.addEventListener("touchstart", function (event) {
-
- if (event.touches.length > 1) {
- event.preventDefault();
- }
- });
- document.documentElement.addEventListener("touchend", function (event) {
- let now = (new Date()).getTime();
- if (now - lastTouchEnd <= 300) {
-
- event.preventDefault();
- } else {
- lastTouchEnd = now;
- }
- }, false);
-
- document.documentElement.addEventListener("gesturestart", function (event) {
- event.preventDefault();
- });
- }
- window.onload = () => {
- stopSafari();
- }
-
- document.domain = "cocorobo.cn"
- </script>
|