From 2c86a8bd60deed0dd0e044bad6fb83f75d19a332 Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期日, 26 十月 2025 15:05:50 +0800
Subject: [PATCH] Merge branch 'feature-task'
---
app/static/index.html | 39 +++++++++++++++++++++++++++++++++++++++
1 files changed, 39 insertions(+), 0 deletions(-)
diff --git a/app/static/index.html b/app/static/index.html
new file mode 100644
index 0000000..0824d25
--- /dev/null
+++ b/app/static/index.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+ <meta name="renderer" content="webkit">
+ <title><%= htmlWebpackPlugin.options.title %></title>
+ <link rel="shortcut icon" type="image/x-icon" href="<%= BASE_URL %>static/favicon.ico">
+ <script>
+ var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
+ document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')
+
+ // 绂佺敤璺ㄥ煙瀛愭鏋惰嚜鍔ㄨ仛鐒�
+ document.addEventListener('DOMContentLoaded', function() {
+ // 闃绘iframe鍐呯殑鑷姩鑱氱劍
+ document.addEventListener('focusin', function(e) {
+ if (e.target.tagName === 'IFRAME' || e.target.closest('iframe')) {
+ e.preventDefault()
+ e.stopPropagation()
+ }
+ }, true)
+
+ // 闃绘webview鍐呯殑鑷姩鑱氱劍
+ document.addEventListener('focusin', function(e) {
+ if (e.target.tagName === 'WEB-VIEW' || e.target.closest('web-view')) {
+ e.preventDefault()
+ e.stopPropagation()
+ }
+ }, true)
+ })
+ </script>
+ <link rel="stylesheet" href="<%= BASE_URL %>static/index.<%= VUE_APP_INDEX_CSS_HASH %>.css" />
+ </head>
+ <body>
+ <noscript>
+ <strong>鏈珯鐐瑰繀椤昏寮�鍚疛avaScript鎵嶈兘杩愯.</strong>
+ </noscript>
+ <div id="app"></div>
+</html>
\ No newline at end of file
--
Gitblit v1.9.1