Initial commit

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-15 13:57:10 +08:00
co-authored by Claude Opus 5
commit 8679200f41
1897 changed files with 257900 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 718 B

File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
+77
View File
@@ -0,0 +1,77 @@
@import 'page.css';
/* @font-face {
font-family: 'PingFang';
src: url('./fonts/PingFang.ttc');
} */
/* 通用样式 */
* {
padding: 0;
margin: 0;
color: rgba(255, 255, 255, 255);
text-decoration: none;
box-sizing: border-box;
font-family: 'sans-serif';
-webkit-touch-callout: none; /*系统默认菜单被禁用*/
-webkit-user-select: none; /*webkit浏览器*/
-khtml-user-select: none; /*早期浏览器*/
-moz-user-select: none; /*火狐*/
-ms-user-select: none; /*IE10*/
user-select: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-tap-highlight-color: transparent;
-moz-touch-callout: none;
-ms-touch-callout: none;
touch-callout: none;
}
body,
html {
height: 100%;
}
.container {
display: flex;
justify-content: space-between;
align-items: center;
overflow-y: hidden;
max-height: 100vh;
flex-wrap: nowrap;
}
.box {
min-width: 100%;
min-height: 100vh;
font-size: 16px;
font-family: 'PingFang';
background: rgb(0, 0, 0);
flex: 1;
overflow-y: hidden;
align-self: flex-start;
}
.box-row {
margin-top: 25px;
height: 22px;
/* background: red; */
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}
.span1 {
width: 90%;
text-indent: 1em;
}
.span3 {
width: 90%;
text-indent: 1em;
}
img {
width: 8px;
height: 15px;
margin-right: 16px;
}
+44
View File
@@ -0,0 +1,44 @@
/* @font-face {
font-family: 'PingFang';
src: url('../fonts/PingFang.ttc');
} */
/* 通用样式 */
* {
padding: 0;
margin: 0;
}
.page {
position: absolute;
width: 100%;
z-index: 100;
left: 0;
top: 0;
background: rgb(0, 0, 0);
display: none;
padding: 0 16px;
}
h3 {
font-size: 16px;
color: rgba(255, 255, 255, 1);
font-family: 'PingFang';
margin-bottom: 15px;
height: 22px;
}
p {
font-size: 14px;
color: rgba(255, 255, 255, 0.5);
font-family: 'PingFang';
margin-bottom: 10px;
line-height: 20px;
}
.p1 {
margin-top: 29px;
}
.p2 {
margin-bottom: 30px;
}
+136
View File
@@ -0,0 +1,136 @@
/* http://meyerweb.com/eric/tools/css/reset/ */
/* v1.0 | 20080212 */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
}
body {
line-height: 1;
}
ol,
ul {
list-style: none;
}
blockquote,
q {
quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
content: '';
content: none;
}
/* remember to define focus styles! */
:focus {
outline: 0;
}
/* remember to highlight inserts somehow! */
ins {
text-decoration: none;
}
del {
text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
border-collapse: collapse;
border-spacing: 0;
}
* {
box-sizing: border-box;
font-family: 'sans-serif';
-webkit-touch-callout: none; /*系统默认菜单被禁用*/
-webkit-user-select: none; /*webkit浏览器*/
-khtml-user-select: none; /*早期浏览器*/
-moz-user-select: none; /*火狐*/
-ms-user-select: none; /*IE10*/
user-select: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-tap-highlight-color: transparent;
}
input,
textarea {
-webkit-user-select: auto; /*webkit浏览器*/
margin: 0px;
padding: 0px;
outline: none;
}
+39
View File
@@ -0,0 +1,39 @@
/**
* 动态设置rem
*/
var BASE_SIZE = 20; // 基本字体大小
var MAX_SIZE = 50; // 最大字体大小
var DESIGN_WIDTH = 720; // iphone 6
var MIN_DESIGN_WIDTH = 320;
var htmlEl = document.querySelector('html');
var fontSize = 20;
var setFontSize = function (size) {
htmlEl.style.fontSize = size + 'px';
fontSize = size;
};
var calc = function () {
var device_width = document.body.clientWidth || window.innerWidth;
var scale = device_width / DESIGN_WIDTH;
var distSize = scale * BASE_SIZE;
if (distSize > MAX_SIZE) {
distSize = MAX_SIZE;
}
if (device_width < MIN_DESIGN_WIDTH) return;
setFontSize(Math.round(distSize));
};
window.addEventListener('resize', calc);
document.addEventListener('DOMContentLoaded', calc);
window.rem = function (size) {
return size / BASE_SIZE + 'rem';
};
window.renderPx = function (size) {
return Math.round((size / BASE_SIZE) * fontSize);
};
+31
View File
@@ -0,0 +1,31 @@
var os = (function () {
var ua = navigator.userAgent,
isWindowsPhone = /(?:Windows Phone)/.test(ua),
isSymbian = /(?:SymbianOS)/.test(ua) || isWindowsPhone,
isAndroid = /(?:Android)/.test(ua),
isFireFox = /(?:Firefox)/.test(ua),
isChrome = /(?:Chrome|CriOS)/.test(ua),
isTablet = /(?:iPad|PlayBook)/.test(ua) || (isAndroid && !/(?:Mobile)/.test(ua)) || (isFireFox && /(?:Tablet)/.test(ua)),
isPhone = /(?:iPhone)/.test(ua) && !isTablet,
isWx = /MicroMessenger/.test(ua),
isPc = !isPhone && !isAndroid && !isSymbian;
return {
isTablet: isTablet,
isPhone: isPhone,
isAndroid: isAndroid,
isPc: isPc,
isWx: isWx
};
})();
var parseQuery = function (url) {
let query = {};
if (url.indexOf("?") !== -1) {
url.split("?")[1]
.split("&")
.forEach(entry => {
let _query = entry.split("=");
query[_query[0]] = _query[1];
});
}
return query;
};