| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 | 
							- <!DOCTYPE html>
 
- <html lang="zh">
 
-     <head>
 
-         <meta charset="UTF-8"/>
 
-         <link rel="icon" href="/favicon.ico"/>
 
-         <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
 
-         <link rel="stylesheet" href="/plugins/element-plus/index.css"/>
 
-         <link rel="stylesheet" href="/plugins/element-plus/theme-chalk/dark/css-vars.css"/>
 
-         <link rel="stylesheet" href="/plugins/remixicon/remixicon.css"/>
 
-         <link rel="stylesheet" href="/plugins/fonts/index.css"/>
 
-         <title></title>
 
-     </head>
 
-     <body>
 
-         <div id="app"></div>
 
-         <script type="text/javascript" src="/plugins/uni.webview.1.5.5.js"></script>
 
-         <script>
 
-             //监听uni-app的事件
 
-             window.appType = {};
 
-             document.addEventListener('UniAppJSBridgeReady', () => {
 
-                 uni.getEnv(res => {
 
-                     window.appType = res;
 
-                 });
 
-                 //接受子页面传递过来的消息数据
 
-                 window.addEventListener('message', (event) => {
 
-                     if (event.data.source === 'web') {
 
-                         uni.postMessage({
 
-                             data: event.data
 
-                         });
 
-                     }
 
-                 });
 
-             });
 
-             //app改变显示模式
 
-             function editTypeClick(type) {
 
-                 window?.postMessage({
 
-                     type: 'editTypeClick',
 
-                     source: 'app',
 
-                     data: type,
 
-                 })
 
-             }
 
-             //app的表单提交保存
 
-             function formSave() {
 
-                 window?.postMessage({
 
-                     type: 'formSave',
 
-                     source: 'app',
 
-                     data: {},
 
-                 })
 
-             }
 
-         </script>
 
-         <script type="module" src="/src/main.js"></script>
 
-     </body>
 
- </html>
 
 
  |