Lv110版本源码上传

This commit is contained in:
西瓜°
2024-11-04 15:00:40 +08:00
parent a6dbccdead
commit e029da72e4
6642 changed files with 131203 additions and 136087 deletions
+160 -48
View File
@@ -3,25 +3,28 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, minimum-scale=1.0, shrink-to-fit=no"
/>
<title>纸飞机计算器</title>
<!-- <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/themes/vue.css"> -->
<meta http-equiv="Expires" content="0" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Cache-control" content="no-cache" />
<meta http-equiv="Cache" content="no-cache" />
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1.0, shrink-to-fit=no" />
<link rel="icon" href="img/logo.ico" />
<title>DNF计算器</title>
<link rel="stylesheet" href="src/vue.css" />
<link rel="stylesheet" href="src/style.css">
<meta name="baidu-site-verification" content="codeva-U1BnBxOPtX" />
<!-- 1. Theme -->
<link
rel="stylesheet"
href="https://unpkg.com/docsify-themeable/dist/css/theme-simple.css"
/>
<!-- <link rel="stylesheet" href="https://unpkg.com/docsify-themeable/dist/css/theme-simple.css" /> -->
<!-- <link rel="stylesheet" href="https://unpkg.com/docsify-themeable/dist/css/theme-simple-dark.css"> -->
<!-- <link rel="stylesheet" href="https://unpkg.com/docsify-themeable/dist/css/theme-defaults.css"> -->
<!-- <link rel="stylesheet" href="https://unpkg.com/docsify-themeable/dist/css/theme-defaults.css" /> -->
<!-- 2. PrismJS Themes -->
<!-- <link rel="stylesheet" href="https://unpkg.com/prism-github/prism-github.css"> -->
<!-- <link rel="stylesheet" href="https://unpkg.com/prism-github/prism-github.css" /> -->
<!-- <link rel="stylesheet" href="https://unpkg.com/prism-theme-one-dark/prism-onedark.css"> -->
<!-- 3. Custom Theme Properties -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-J0NPDEYQJS"></script>
<style>
:root {
/* Reduce the font size */
@@ -36,22 +39,66 @@
--code-font-weight: bolder;
/* Add sidebar navigation bullets */
/* --sidebar-nav-link-before-content-l1: '😀';
/* --sidebar-nav-link-before-content-l1: '😀';
--sidebar-nav-link-before-content-l2: '💩'; */
}
.cover .mask {
background: linear-gradient(
to left bottom,
hsl(172, 100%, 85%) 0%,
hsl(15, 100%, 85%) 100%
);
background: linear-gradient(to left bottom, hsl(172, 100%, 85%) 0%, hsl(15, 100%, 85%) 100%);
visibility: visible;
}
section.cover .cover-main .linkButton > p:last-child a {
border-color: #42b983;
border-color: var(--theme-color, #42b983);
border-radius: 2rem;
border-style: solid;
border-width: 1px;
box-sizing: border-box;
color: #42b983;
color: var(--theme-color, #42b983);
display: inline-block;
font-size: 1.05rem;
letter-spacing: 0.1rem;
margin: 0.5rem 1rem;
padding: 0.75em 2rem;
text-decoration: none;
transition: all 0.15s ease;
}
section.cover .cover-main .linkButton > p:nth-last-child(-n + 3) a:nth-last-child(-n + 3) {
/* background-color: #42b983; */
background-color: var(--theme-color, #42b983);
color: #fff;
}
.cover h1 span {
text-shadow: grey 3px 3px 3px;
}
.markdown-section img {
max-width: 100%;
}
.markdown-section > p > img {
display: block;
margin: 0 auto;
}
.markdown-section {
position: relative;
max-width: 60em;
margin: 0 auto;
padding: 2rem 45px;
}
.version {
text-shadow: none;
top: 0;
font-size: 1.2rem;
position: absolute;
font-weight: bolder;
text-shadow: grey 1px 1px 1px;
}
.sidebar ul li a {
color: #505d6b;
font-size: 14px;
@@ -61,20 +108,45 @@
text-overflow: ellipsis;
white-space: nowrap;
}
td:nth-child(1)::before {
content: "" !important;
}
.markdown-section td {
padding: 5px 10px !important;
}
</style>
<script>
var _hmt = _hmt || []
;(function () {
const hm = document.createElement("script")
hm.src = "https://hm.baidu.com/hm.js?472775d2edd6fb31b00828eef60ba388"
const s = document.querySelectorAll("script")[0]
s.parentNode.insertBefore(hm, s)
})()
// Google 分析
window.dataLayer = window.dataLayer || []
function gtag() {
dataLayer.push(arguments)
}
gtag("js", new Date())
gtag("config", "G-J0NPDEYQJS")
</script>
</head>
<body>
<!-- <a href="http://dnf.17173.com/" target="_blank" style="position: absolute;z-index: 40;top: 30px;right:30px">
<img src="https://ue.17173cdn.com/a/www/index/2016v2/img/logo-2018.png">
</a> -->
<div id="app"></div>
<div id="app"> </div>
<script>
// 4. Docsify Configuration
window.$docsify = {
name: "DNF计算器",
repo: "https://github.com/wxh0402/DNFCalculating",
repo: "https://gitee.com/dcalc/dnfcalculating_110",
coverpage: "HTMLSet/coverpage.md",
homepage: "README.md",
// homepage : 'https://raw.githubusercontent.com/jhildenbiddle/docsify-themeable/master/README.md',
@@ -84,47 +156,87 @@
maxLevel: 3,
onlyCover: false,
topMargin: 90,
// 5. docsify-themeable
routerMode: "history", // 5. docsify-themeable
nameLink: "/",
crossOriginLinks: ["https://dnftools.com/"],
relativePath: true,
beian: {
ICP: "赣ICP备2023003492号",
NISMSP: {
number: "",
url: ""
}
},
themeable: {
// readyTransition : false,
// responsiveTables: false
},
plugins: [
function (hook, vm) {
// load livere
hook.beforeEach(function (content) {
var comment = "";
if (content.indexOf("和计算器相关的BUG、意见可在此处反馈") > 0)
comment =
"<div id='lv-container' data-id='city' data-uid='MTAyMC80NjcwNC8yMzIxNA=='></div>\n\n----\n";
return content + comment;
});
hook.doneEach(content => {
if (!conent.includes("目录")) {
return
}
const imgs = document.querySelectorAll("img")
imgs.forEach(a => {
a.setAttribute("data-src", a.getAttribute("src"))
a.setAttribute("style", "width:100%;height:auto;min-height:500px")
a.setAttribute("src", "")
})
hook.doneEach(function () {
(function (d, s) {
var j,
e = d.getElementsByTagName(s)[0];
if (typeof LivereTower === "function") {
return;
if (IntersectionObserver) {
const lazyImageObserver = new IntersectionObserver((entries, observer) => {
entries.forEach((entry, index) => {
const lazyImage = entry.target
// 如果元素可见
if (entry.intersectionRatio > 0) {
lazyImage.src = lazyImage.getAttribute("data-src")
lazyImageObserver.unobserve(lazyImage)
}
})
})
for (let i = 0; i < imgs.length; i++) {
lazyImageObserver.observe(imgs[i])
}
j = d.createElement(s);
j.src = "https://cdn-city.livere.com/js/embed.dist.js";
j.async = true;
e.parentNode.insertBefore(j, e);
})(document, "script");
});
},
],
};
}
})
}
]
// plugins: [
// function (hook, vm) {
// // load livere
// hook.beforeEach(function (content) {
// var comment = ""
// if (content.indexOf("和计算器相关的BUG、意见可在此处反馈") > 0) comment = "<div id='lv-container' data-id='city' data-uid='MTAyMC80NjcwNC8yMzIxNA=='></div>\n\n----\n"
// return content + comment
// })
// hook.doneEach(function () {
// ;(function (d, s) {
// var j,
// e = d.getElementsByTagName(s)[0]
// if (typeof LivereTower === "function") {
// return
// }
// j = d.createElement(s)
// j.src = "https://cdn-city.livere.com/js/embed.dist.js"
// j.async = true
// e.parentNode.insertBefore(j, e)
// })(document, "script")
// })
// }
// ]
}
</script>
<!-- Required: docsify + docsify-themeable -->
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/zoom-image.min.js"></script>
<script src="https://unpkg.com/docsify/lib/docsify.min.js"></script>
<script src="https://unpkg.com/docsify-themeable"></script>
<script src="src/zoom-image.min.js"></script>
<script src="src/docsify.min.js"></script>
<script src="src/docsify-themeable.min.js"></script>
<!-- 6. Docsify Plugins -->
<script src="https://unpkg.com/docsify/lib/plugins/search.js"></script>
<script src="src/search.js"></script>
<script src="src/beian.min.js"></script>
<!-- <script src="https://unpkg.com/docsify-copy-code"></script> -->
<!-- <script src="https://unpkg.com/docsify-pagination/dist/docsify-pagination.min.js"></script> -->
<!-- <script src="https://unpkg.com/docsify/lib/plugins/zoom-image.min.js"></script> -->