1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover" />
- <title>美育作品上传</title>
- <style>
- html,
- body {
- height: 100%;
- width: 100%;
- }
-
- .el-select-dropdown__item.selected {
- color: rgb(81, 201, 154) !important;
- }
- </style>
- </head>
- <body>
- <div id="app"></div>
- <!-- built files will be auto injected -->
- <script>
- let htmlwidth = document.documentElement.clientWidth || document.body.clientWidth
- let htmlDom = document.getElementsByTagName('html')[0];
- if (htmlwidth > 750) {
- htmlwidth = 750
- }
- htmlDom.style.fontSize = htmlwidth / 20 + 'px';
- window.onresize = function() {
- let htmlwidth = document.documentElement.clientWidth || document.body.clientWidth
- let htmlDom = document.getElementsByTagName('html')[0];
- if (htmlwidth > 750) {
- htmlwidth = 750
- }
- htmlDom.style.fontSize = htmlwidth / 20 + 'px';
- };
- </script>
- </body>
- </html>
|