-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Update Vue-cli5 - Add sitemap-webpack-plugin - Add Robots.txt - Add prerender-spa-plugin-next - Add compression-webpack-plugin - Remove GPL license
- Loading branch information
Showing
15 changed files
with
19,918 additions
and
17,323 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
User-agent: * | ||
Disallow: /oneindexM | ||
Disallow: /*Api* | ||
Disallow: /data | ||
SiteMap: https://tool.mintimate.cn/sitemap.xml |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<template> | ||
<div class="hello"> | ||
<h1>{{ msg }}</h1> | ||
<p> | ||
For a guide and recipes on how to configure / customize this project,<br> | ||
check out the | ||
<a href="https://cli.vuejs.org" target="_blank" rel="noopener">vue-cli documentation</a>. | ||
</p> | ||
<h3>Installed CLI Plugins</h3> | ||
<ul> | ||
<li><a href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-babel" target="_blank" rel="noopener">babel</a></li> | ||
<li><a href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-eslint" target="_blank" rel="noopener">eslint</a></li> | ||
</ul> | ||
<h3>Essential Links</h3> | ||
<ul> | ||
<li><a href="https://vuejs.org" target="_blank" rel="noopener">Core Docs</a></li> | ||
<li><a href="https://forum.vuejs.org" target="_blank" rel="noopener">Forum</a></li> | ||
<li><a href="https://chat.vuejs.org" target="_blank" rel="noopener">Community Chat</a></li> | ||
<li><a href="https://twitter.com/vuejs" target="_blank" rel="noopener">Twitter</a></li> | ||
<li><a href="https://news.vuejs.org" target="_blank" rel="noopener">News</a></li> | ||
</ul> | ||
<h3>Ecosystem</h3> | ||
<ul> | ||
<li><a href="https://router.vuejs.org" target="_blank" rel="noopener">vue-router</a></li> | ||
<li><a href="https://vuex.vuejs.org" target="_blank" rel="noopener">vuex</a></li> | ||
<li><a href="https://github.com/vuejs/vue-devtools#vue-devtools" target="_blank" rel="noopener">vue-devtools</a></li> | ||
<li><a href="https://vue-loader.vuejs.org" target="_blank" rel="noopener">vue-loader</a></li> | ||
<li><a href="https://github.com/vuejs/awesome-vue" target="_blank" rel="noopener">awesome-vue</a></li> | ||
</ul> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: 'HelloWorld', | ||
props: { | ||
msg: String | ||
} | ||
} | ||
</script> | ||
|
||
<!-- Add "scoped" attribute to limit CSS to this component only --> | ||
<style scoped> | ||
h3 { | ||
margin: 40px 0 0; | ||
} | ||
ul { | ||
list-style-type: none; | ||
padding: 0; | ||
} | ||
li { | ||
display: inline-block; | ||
margin: 0 10px; | ||
} | ||
a { | ||
color: #42b983; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
<template> | ||
<div class="container"> | ||
<div class="row pt-3"> | ||
<div class="col-12 mt-2 mb-1"> | ||
<div id="tittle" class="text-center"> | ||
<span style="font-size: x-large;"> | ||
<strong> | ||
OneIndex桥接 | ||
</strong> | ||
</span> | ||
</div> | ||
<div class="card"> | ||
<h5 class="card-header">操作提示</h5> | ||
<div class="card-body text-center"> | ||
<code v-if="newLinkDisabled">{{ info }}</code> | ||
<div v-else class="d-grid gap-2 col-6 mx-auto"> | ||
<a class="btn btn-success" :href=newLink target="_self">点击这里,继续安装</a> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="row mt-5"> | ||
<div class="col-12"> | ||
<div class="card"> | ||
<p class="card-header">使用说明</p> | ||
<div class="card-body"> | ||
<div> | ||
<p>警告⚠️:</p> | ||
<ul> | ||
<li><strong>请勿浏览器地址栏直接访问本页面=>没有任何实际作用,出了看到"构建失败"的提示。</strong></li> | ||
</ul> | ||
<p>桥接模式:</p> | ||
<ul> | ||
<li>通过伪静态,让OneDrive服务器 ,以为是App重定向验证任务</li> | ||
</ul> | ||
<p>教程&资源</p> | ||
<ul> | ||
<li>OneIndexM仓库地址:https://github.com/Mintimate/OneindexM</li> | ||
<li>搭建教程:https://www.mintimate.cn/2020/09/22/oneindex/</li> | ||
</ul> | ||
</div> | ||
<div> | ||
注意:公共免费资源,请合理、适度使用(*≧ω≦)。 | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
|
||
</div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import {useRoute} from "vue-router" | ||
import {ref} from "vue"; | ||
export default { | ||
name: "oneIndex", | ||
setup() { | ||
let info = ref("……等待程序响应……") | ||
let newLink | ||
let newLinkDisabled = ref(true) | ||
const query = useRoute().query | ||
const url = query.state | ||
const code = query.code | ||
function makeLink() { | ||
if (url == undefined || code == undefined) { | ||
console.log("构建失败") | ||
this.info = "构建失败,请重新调试" | ||
} else { | ||
this.newLinkDisabled = false | ||
this.newLink = decodeURIComponent(url) + "?code=" + code | ||
} | ||
}; | ||
return { | ||
newLink, | ||
newLinkDisabled, | ||
info, | ||
makeLink, | ||
} | ||
}, | ||
mounted() { | ||
this.makeLink() | ||
} | ||
} | ||
</script> | ||
|
||
<style scoped> | ||
code { | ||
border: 1px solid #cbcbcb; | ||
background: #f2f2f2; | ||
font-size: 2.5rem; | ||
padding: 6px; | ||
} | ||
</style> |
Oops, something went wrong.