修改新界面

This commit is contained in:
johlanse 2022-08-07 18:38:10 +08:00
parent 5c8a054fc1
commit 241a1e953f
4 changed files with 34765 additions and 34839 deletions

0
docs/scheme.md Normal file
View File

View File

@ -28,9 +28,9 @@ const RESOURCES = {
"icons/Icon-512.png": "96e752610906ba2a93c65f8abe1645f1", "icons/Icon-512.png": "96e752610906ba2a93c65f8abe1645f1",
"icons/Icon-maskable-192.png": "c457ef57daa1d16f64b27b786ec2ea3c", "icons/Icon-maskable-192.png": "c457ef57daa1d16f64b27b786ec2ea3c",
"icons/Icon-maskable-512.png": "301a7604d45b3e739efc881eb04896ea", "icons/Icon-maskable-512.png": "301a7604d45b3e739efc881eb04896ea",
"index.html": "a4d2cc43aea9f1a41014d30bd3bde531", "index.html": "482db2f1eb72ded72e20a83474838ddd",
"/": "a4d2cc43aea9f1a41014d30bd3bde531", "/": "482db2f1eb72ded72e20a83474838ddd",
"main.dart.js": "351e67173f791c7e162b02aac23b524d", "main.dart.js": "14992a7be14f038738797c976e95f49d",
"manifest.json": "2b20bee3db6bef587cd7faa16ac930a9", "manifest.json": "2b20bee3db6bef587cd7faa16ac930a9",
"version.json": "c334b2139fab2d7372c81ad374b72e90" "version.json": "c334b2139fab2d7372c81ad374b72e90"
}; };

68
web/app/index.html Normal file
View File

@ -0,0 +1,68 @@
<!DOCTYPE html>
<html>
<head>
<!--
If you are serving your web app in a path other than the root, change the
href value below to reflect the base path you are serving from.
The path provided below has to start and end with a slash "/" in order for
it to work correctly.
For more details:
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
This is a placeholder for base href that will be replaced by the value of
the `--base-href` argument provided to `flutter build`.
-->
<!-- <base href="/">-->
<base href="/new/app/">
<meta charset="UTF-8">
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
<meta name="description" content="a xxqg app">
<!-- iOS meta tags & icons -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="study_xxqg">
<link rel="apple-touch-icon" href="icons/Icon-192.png">
<!-- Favicon -->
<link rel="icon" type="image/png" href="favicon.png"/>
<title>study_xxqg</title>
<link rel="manifest" href="manifest.json">
<script>
// The value below is injected by flutter build, do not touch.
var serviceWorkerVersion = '3485202308';
</script>
<!-- This script adds the flutter initialization JS code -->
<script src="flutter.js" defer></script>
</head>
<body>
<script>
window.addEventListener('load', function(ev) {
// Download main.dart.js
_flutter.loader.loadEntrypoint({
serviceWorker: {
serviceWorkerVersion: serviceWorkerVersion,
}
}).then(function(engineInitializer) {
return engineInitializer.initializeEngine();
}).then(function(appRunner) {
return appRunner.runApp();
});
});
</script>
<script>
function go(url){
console.log("调用了go方法")
const a = document.createElement('a'); // 创建a标签
a.setAttribute('download', '');// download属性
a.setAttribute('href', url);// href链接
a.click();// 自执行点击事件
}
</script>
</body>
</html>

File diff suppressed because one or more lines are too long