| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <!DOCTYPE html>
- <html lang="zh-CN">
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="referrer" content="no-referrer" />
- <meta name="viewport"
- content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
- <title><%= htmlWebpackPlugin.options.title %></title>
- <script>
- var UA = window.navigator.userAgent.toLowerCase();
- var isAndroid = UA.indexOf('android') > 0;
- var isIOS = /iphone|ipad|ipod|ios/.test(UA);
- if (!(isAndroid || isIOS)) {
- // 正式发布的时候使用,开发期间不启用。
- // window.location.href = '/demo/picture/website/pcguide.html';
- }
- </script>
- <script>
- document.addEventListener('DOMContentLoaded', function() {
- document.documentElement.style.fontSize = document.documentElement.clientWidth / 20 + 'px'
- })
- </script>
- <link rel="stylesheet" href="<%= BASE_URL %>static/index.css" />
- <style>
- /* #ifdef H5 */
- /* 在桌面浏览器中限制宽度为375px并居中显示 */
- @media screen and (min-width: 375px) {
- body {
- background-color: #f5f5f5;
- display: flex;
- justify-content: center;
- align-items: flex-start;
- min-height: 100vh;
- margin: 0;
- padding: 0;
- }
- .uni-app--maxwidth {
- width: 400px;
- min-height: 100vh;
- background-color: #ffffff;
- box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
- }
- }
- /* #endif */
- </style>
- </head>
- <body>
- <!-- 该文件为 H5 平台的模板 HTML,并非应用入口,请勿直接运行此文件。 -->
- <!-- 详见文档: https://uniapp.dcloud.io/collocation/manifest?id=h5-template -->
- <noscript>
- <strong>Please enable JavaScript to continue.</strong>
- </noscript>
- <div id="app"></div>
- <!-- 微信SDK文件 -->
- <script src="<%= BASE_URL %>static/mp-h5/jweixin-1.4.0.js"></script>
- </body>
- </html>
|