48 lines
1.3 KiB
HTML
48 lines
1.3 KiB
HTML
<!doctype html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
|
|
<title>wkit test page</title>
|
|
<style>
|
|
body {line-height: 1.5;font-size:14px;background:var(--page-color);color:var(--text-color);}
|
|
::-webkit-scrollbar {
|
|
width: 6px;
|
|
}
|
|
::-webkit-scrollbar-track {
|
|
border-radius: 10px;
|
|
background: var(--summary-bg-color);
|
|
}
|
|
::-webkit-scrollbar-thumb {
|
|
border-radius: 3px;
|
|
background: var(--border-color-dark);
|
|
}
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: var(--summary-color);
|
|
}
|
|
@media screen and (max-width: 480px) {
|
|
::-webkit-scrollbar {
|
|
display: none;
|
|
width: 0;
|
|
}
|
|
}
|
|
</style>
|
|
<script type="importmap">
|
|
{
|
|
"imports":{
|
|
"es.shim":"//jscdn.ink/es.shim/latest/index.js",
|
|
"wkit":"//127.0.0.1:9999/src/index.js",
|
|
"wkitd":"//jscdn.ink/wkitd/1.3.10/index.js",
|
|
"fetch":"//jscdn.ink/@bytedo/fetch/latest/next.js",
|
|
"@bd/ui/":"//jscdn.ink/@bd/ui/0.1.16/"
|
|
}
|
|
}
|
|
</script>
|
|
<script type="module" src="./test.js"></script>
|
|
</head>
|
|
<body>
|
|
<wc-app></wc-app>
|
|
</body>
|
|
</html>
|
JavaScript
97%
HTML
3%