1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport"
- content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no,viewport-fit=cover">
- <meta name="format-detection" content="telephone=no,email=no">
- <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate"/>
- <meta http-equiv="Pragma" content="no-cache"/>
- <meta http-equiv="Expires" content="0"/>
- <link rel="icon" href="<%= BASE_URL %>favicon.ico">
- <link rel="stylesheet" href="//unpkg.com/swiper@4.3.5/dist/css/swiper.min.css">
- <title>返不停</title>
- </head>
- <body>
- <noscript>
- <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
- Please enable it to continue.</strong>
- </noscript>
- <div id="app"></div>
- <div id="fbt-qr-code" style="display: none;"></div>
- <canvas id="fbt-canvas" style="display:none;"></canvas>
- <!-- built files will be auto injected -->
- </body>
- <script>
- // 事件监听
- document.addEventListener('DOMContentLoaded', resetRem)
- window.onresize = resetRem
- /**
- * [resetRem 重置Rem数值]
- */
- function resetRem () {
- let documentCtx = document.documentElement
- documentCtx.style.fontSize = documentCtx.clientWidth / 10 + 'px'
- }
- // 加载调试工具
- ;(function () {
- var host = window.location.host
- var domain = host.substring(0, host.indexOf('.')) || host.substring(0, host.indexOf(':'))
- var erudaEl = document.createElement('script')
- erudaEl.src = '//cdn.jsdelivr.net/npm/eruda@2.4.1/eruda.js'
- if (/test/.test(domain)) {
- document.body.appendChild(erudaEl)
- erudaEl.onload = function () {
- eruda.init()
- }
- }
- })()
- </script>
- </html>
|