Initial commit
45
.github/workflows/deploy-docs.yml
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
|
||||
name: Deploy Docs
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
# make sure this is the branch you are using
|
||||
- main
|
||||
|
||||
jobs:
|
||||
deploy-gh-pages:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
# if your docs needs submodules, uncomment the following line
|
||||
# submodules: true
|
||||
|
||||
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
cache: npm
|
||||
|
||||
- name: Install Deps
|
||||
run: npm install
|
||||
|
||||
- name: Build Docs
|
||||
env:
|
||||
NODE_OPTIONS: --max_old_space_size=8192
|
||||
run: |-
|
||||
npm run docs:build
|
||||
> dist/.nojekyll
|
||||
|
||||
- name: Deploy Docs
|
||||
uses: JamesIves/github-pages-deploy-action@v4
|
||||
with:
|
||||
# This is the branch where the docs are deployed to
|
||||
branch: gh-pages
|
||||
folder: dist
|
||||
|
||||
5
.gitignore
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
node_modules/
|
||||
docs/.vuepress/.cache/
|
||||
docs/.vuepress/.temp/
|
||||
docs/.vuepress/dist/
|
||||
35
docs/.vuepress/config.ts
Normal file
@@ -0,0 +1,35 @@
|
||||
import { defineUserConfig } from "vuepress";
|
||||
import { viteBundler } from '@vuepress/bundler-vite'
|
||||
import theme from "./theme.js";
|
||||
|
||||
export default defineUserConfig({
|
||||
base: "/Snap.Hutao.Docs/",
|
||||
|
||||
dest: "./dist",
|
||||
|
||||
locales: {
|
||||
"/": {
|
||||
lang: "zh-CN",
|
||||
title: "胡桃工具箱",
|
||||
description: "多功能的原神工具箱",
|
||||
},
|
||||
"/en/": {
|
||||
lang: "en-US",
|
||||
title: "Snap Hutao",
|
||||
description: "Super utilitarian Genshin Impact Tool",
|
||||
},
|
||||
},
|
||||
|
||||
theme,
|
||||
|
||||
shouldPrefetch: false,
|
||||
|
||||
bundler: viteBundler({
|
||||
viteOptions: {
|
||||
build:{
|
||||
chunkSizeWarningLimit: 1500
|
||||
}
|
||||
},
|
||||
vuePluginOptions: {},
|
||||
}),
|
||||
});
|
||||
16
docs/.vuepress/navbar/en.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { navbar } from "vuepress-theme-hope";
|
||||
|
||||
export const enNavbar = navbar([
|
||||
"/en/",
|
||||
{ text: "下载", icon: "download", link: "https://go.hut.ao/archive" },
|
||||
{
|
||||
text: "文档",
|
||||
icon: "documents",
|
||||
link: "/documents/"
|
||||
},
|
||||
{
|
||||
text: "GitHub",
|
||||
icon: "github",
|
||||
link: "https://github.com/DGP-Studio/Snap.Hutao",
|
||||
},
|
||||
]);
|
||||
2
docs/.vuepress/navbar/index.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
export * from "./en.js";
|
||||
export * from "./zh.js";
|
||||
11
docs/.vuepress/navbar/zh.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { navbar } from "vuepress-theme-hope";
|
||||
|
||||
export const zhNavbar = navbar([
|
||||
"/",
|
||||
{ text: "文档", icon: "article", link: "/documents/" },
|
||||
{
|
||||
text: "下载",
|
||||
icon: "install",
|
||||
link: "https://go.hut.ao/archive",
|
||||
},
|
||||
]);
|
||||
BIN
docs/.vuepress/public/favicon.ico
Normal file
|
After Width: | Height: | Size: 34 KiB |
540
docs/.vuepress/public/fontlist/demo.css
Normal file
@@ -0,0 +1,540 @@
|
||||
/* Logo 字体 */
|
||||
@font-face {
|
||||
font-family: 'iconfont logo';
|
||||
src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834');
|
||||
src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834#iefix')
|
||||
format('embedded-opentype'),
|
||||
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.woff?t=1545807318834')
|
||||
format('woff'),
|
||||
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.ttf?t=1545807318834')
|
||||
format('truetype'),
|
||||
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.svg?t=1545807318834#iconfont')
|
||||
format('svg');
|
||||
}
|
||||
|
||||
.logo {
|
||||
font-family: 'iconfont logo';
|
||||
font-size: 160px;
|
||||
font-style: normal;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
/* tabs */
|
||||
.nav-tabs {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.nav-tabs .nav-more {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
height: 42px;
|
||||
line-height: 42px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
#tabs {
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
|
||||
#tabs li {
|
||||
cursor: pointer;
|
||||
width: 100px;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
border-bottom: 2px solid transparent;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
margin-bottom: -1px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
#tabs .active {
|
||||
border-bottom-color: #f00;
|
||||
color: #222;
|
||||
}
|
||||
|
||||
.tab-container .content {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* 页面布局 */
|
||||
.main {
|
||||
padding: 30px 100px;
|
||||
width: 960px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.main .logo {
|
||||
color: #333;
|
||||
text-align: left;
|
||||
margin-bottom: 30px;
|
||||
line-height: 1;
|
||||
height: 110px;
|
||||
margin-top: -50px;
|
||||
overflow: hidden;
|
||||
*zoom: 1;
|
||||
}
|
||||
|
||||
.main .logo a {
|
||||
font-size: 160px;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.helps {
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.helps pre {
|
||||
padding: 20px;
|
||||
margin: 10px 0;
|
||||
border: solid 1px #e7e1cd;
|
||||
background-color: #fffdef;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.icon_lists {
|
||||
width: 100% !important;
|
||||
overflow: hidden;
|
||||
*zoom: 1;
|
||||
}
|
||||
|
||||
.icon_lists li {
|
||||
width: 100px;
|
||||
margin-bottom: 10px;
|
||||
margin-right: 20px;
|
||||
text-align: center;
|
||||
list-style: none !important;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.icon_lists li .code-name {
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.icon_lists .icon {
|
||||
display: block;
|
||||
height: 100px;
|
||||
line-height: 100px;
|
||||
font-size: 42px;
|
||||
margin: 10px auto;
|
||||
color: #333;
|
||||
-webkit-transition: font-size 0.25s linear, width 0.25s linear;
|
||||
-moz-transition: font-size 0.25s linear, width 0.25s linear;
|
||||
transition: font-size 0.25s linear, width 0.25s linear;
|
||||
}
|
||||
|
||||
.icon_lists .icon:hover {
|
||||
font-size: 100px;
|
||||
}
|
||||
|
||||
.icon_lists .svg-icon {
|
||||
/* 通过设置 font-size 来改变图标大小 */
|
||||
width: 1em;
|
||||
/* 图标和文字相邻时,垂直对齐 */
|
||||
vertical-align: -0.15em;
|
||||
/* 通过设置 color 来改变 SVG 的颜色/fill */
|
||||
fill: currentColor;
|
||||
/* path 和 stroke 溢出 viewBox 部分在 IE 下会显示
|
||||
normalize.css 中也包含这行 */
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.icon_lists li .name,
|
||||
.icon_lists li .code-name {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
/* markdown 样式 */
|
||||
.markdown {
|
||||
color: #666;
|
||||
font-size: 14px;
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
.highlight {
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.markdown img {
|
||||
vertical-align: middle;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.markdown h1 {
|
||||
color: #404040;
|
||||
font-weight: 500;
|
||||
line-height: 40px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.markdown h2,
|
||||
.markdown h3,
|
||||
.markdown h4,
|
||||
.markdown h5,
|
||||
.markdown h6 {
|
||||
color: #404040;
|
||||
margin: 1.6em 0 0.6em 0;
|
||||
font-weight: 500;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.markdown h1 {
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
.markdown h2 {
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
.markdown h3 {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.markdown h4 {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.markdown h5 {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.markdown h6 {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.markdown hr {
|
||||
height: 1px;
|
||||
border: 0;
|
||||
background: #e9e9e9;
|
||||
margin: 16px 0;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.markdown p {
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
.markdown > p,
|
||||
.markdown > blockquote,
|
||||
.markdown > .highlight,
|
||||
.markdown > ol,
|
||||
.markdown > ul {
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
.markdown ul > li {
|
||||
list-style: circle;
|
||||
}
|
||||
|
||||
.markdown > ul li,
|
||||
.markdown blockquote ul > li {
|
||||
margin-left: 20px;
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
.markdown > ul li p,
|
||||
.markdown > ol li p {
|
||||
margin: 0.6em 0;
|
||||
}
|
||||
|
||||
.markdown ol > li {
|
||||
list-style: decimal;
|
||||
}
|
||||
|
||||
.markdown > ol li,
|
||||
.markdown blockquote ol > li {
|
||||
margin-left: 20px;
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
.markdown code {
|
||||
margin: 0 3px;
|
||||
padding: 0 5px;
|
||||
background: #eee;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.markdown strong,
|
||||
.markdown b {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.markdown > table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0px;
|
||||
empty-cells: show;
|
||||
border: 1px solid #e9e9e9;
|
||||
width: 95%;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.markdown > table th {
|
||||
white-space: nowrap;
|
||||
color: #333;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.markdown > table th,
|
||||
.markdown > table td {
|
||||
border: 1px solid #e9e9e9;
|
||||
padding: 8px 16px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.markdown > table th {
|
||||
background: #f7f7f7;
|
||||
}
|
||||
|
||||
.markdown blockquote {
|
||||
font-size: 90%;
|
||||
color: #999;
|
||||
border-left: 4px solid #e9e9e9;
|
||||
padding-left: 0.8em;
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
.markdown blockquote p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.markdown .anchor {
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s ease;
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
.markdown .waiting {
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.markdown h1:hover .anchor,
|
||||
.markdown h2:hover .anchor,
|
||||
.markdown h3:hover .anchor,
|
||||
.markdown h4:hover .anchor,
|
||||
.markdown h5:hover .anchor,
|
||||
.markdown h6:hover .anchor {
|
||||
opacity: 1;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.markdown > br,
|
||||
.markdown > p > br {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.hljs {
|
||||
display: block;
|
||||
background: white;
|
||||
padding: 0.5em;
|
||||
color: #333333;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.hljs-comment,
|
||||
.hljs-meta {
|
||||
color: #969896;
|
||||
}
|
||||
|
||||
.hljs-string,
|
||||
.hljs-variable,
|
||||
.hljs-template-variable,
|
||||
.hljs-strong,
|
||||
.hljs-emphasis,
|
||||
.hljs-quote {
|
||||
color: #df5000;
|
||||
}
|
||||
|
||||
.hljs-keyword,
|
||||
.hljs-selector-tag,
|
||||
.hljs-type {
|
||||
color: #a71d5d;
|
||||
}
|
||||
|
||||
.hljs-literal,
|
||||
.hljs-symbol,
|
||||
.hljs-bullet,
|
||||
.hljs-attribute {
|
||||
color: #0086b3;
|
||||
}
|
||||
|
||||
.hljs-section,
|
||||
.hljs-name {
|
||||
color: #63a35c;
|
||||
}
|
||||
|
||||
.hljs-tag {
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
.hljs-title,
|
||||
.hljs-attr,
|
||||
.hljs-selector-id,
|
||||
.hljs-selector-class,
|
||||
.hljs-selector-attr,
|
||||
.hljs-selector-pseudo {
|
||||
color: #795da3;
|
||||
}
|
||||
|
||||
.hljs-addition {
|
||||
color: #55a532;
|
||||
background-color: #eaffea;
|
||||
}
|
||||
|
||||
.hljs-deletion {
|
||||
color: #bd2c00;
|
||||
background-color: #ffecec;
|
||||
}
|
||||
|
||||
.hljs-link {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* 代码高亮 */
|
||||
/* PrismJS 1.15.0
|
||||
https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript */
|
||||
/**
|
||||
* prism.js default theme for JavaScript, CSS and HTML
|
||||
* Based on dabblet (http://dabblet.com)
|
||||
* @author Lea Verou
|
||||
*/
|
||||
code[class*='language-'],
|
||||
pre[class*='language-'] {
|
||||
color: black;
|
||||
background: none;
|
||||
text-shadow: 0 1px white;
|
||||
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
||||
text-align: left;
|
||||
white-space: pre;
|
||||
word-spacing: normal;
|
||||
word-break: normal;
|
||||
word-wrap: normal;
|
||||
line-height: 1.5;
|
||||
|
||||
-moz-tab-size: 4;
|
||||
-o-tab-size: 4;
|
||||
tab-size: 4;
|
||||
|
||||
-webkit-hyphens: none;
|
||||
-moz-hyphens: none;
|
||||
-ms-hyphens: none;
|
||||
hyphens: none;
|
||||
}
|
||||
|
||||
pre[class*='language-']::-moz-selection,
|
||||
pre[class*='language-'] ::-moz-selection,
|
||||
code[class*='language-']::-moz-selection,
|
||||
code[class*='language-'] ::-moz-selection {
|
||||
text-shadow: none;
|
||||
background: #b3d4fc;
|
||||
}
|
||||
|
||||
pre[class*='language-']::selection,
|
||||
pre[class*='language-'] ::selection,
|
||||
code[class*='language-']::selection,
|
||||
code[class*='language-'] ::selection {
|
||||
text-shadow: none;
|
||||
background: #b3d4fc;
|
||||
}
|
||||
|
||||
@media print {
|
||||
code[class*='language-'],
|
||||
pre[class*='language-'] {
|
||||
text-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* Code blocks */
|
||||
pre[class*='language-'] {
|
||||
padding: 1em;
|
||||
margin: 0.5em 0;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
:not(pre) > code[class*='language-'],
|
||||
pre[class*='language-'] {
|
||||
background: #f5f2f0;
|
||||
}
|
||||
|
||||
/* Inline code */
|
||||
:not(pre) > code[class*='language-'] {
|
||||
padding: 0.1em;
|
||||
border-radius: 0.3em;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.token.comment,
|
||||
.token.prolog,
|
||||
.token.doctype,
|
||||
.token.cdata {
|
||||
color: slategray;
|
||||
}
|
||||
|
||||
.token.punctuation {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.namespace {
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.token.property,
|
||||
.token.tag,
|
||||
.token.boolean,
|
||||
.token.number,
|
||||
.token.constant,
|
||||
.token.symbol,
|
||||
.token.deleted {
|
||||
color: #905;
|
||||
}
|
||||
|
||||
.token.selector,
|
||||
.token.attr-name,
|
||||
.token.string,
|
||||
.token.char,
|
||||
.token.builtin,
|
||||
.token.inserted {
|
||||
color: #690;
|
||||
}
|
||||
|
||||
.token.operator,
|
||||
.token.entity,
|
||||
.token.url,
|
||||
.language-css .token.string,
|
||||
.style .token.string {
|
||||
color: #9a6e3a;
|
||||
background: hsla(0, 0%, 100%, 0.5);
|
||||
}
|
||||
|
||||
.token.atrule,
|
||||
.token.attr-value,
|
||||
.token.keyword {
|
||||
color: #07a;
|
||||
}
|
||||
|
||||
.token.function,
|
||||
.token.class-name {
|
||||
color: #dd4a68;
|
||||
}
|
||||
|
||||
.token.regex,
|
||||
.token.important,
|
||||
.token.variable {
|
||||
color: #e90;
|
||||
}
|
||||
|
||||
.token.important,
|
||||
.token.bold {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.token.italic {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.token.entity {
|
||||
cursor: help;
|
||||
}
|
||||
502
docs/.vuepress/public/fontlist/demo_index.html
Normal file
@@ -0,0 +1,502 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>iconfont Demo</title>
|
||||
<link rel="shortcut icon" href="//img.alicdn.com/imgextra/i2/O1CN01ZyAlrn1MwaMhqz36G_!!6000000001499-73-tps-64-64.ico" type="image/x-icon"/>
|
||||
<link rel="icon" type="image/svg+xml" href="//img.alicdn.com/imgextra/i4/O1CN01EYTRnJ297D6vehehJ_!!6000000008020-55-tps-64-64.svg"/>
|
||||
<link rel="stylesheet" href="https://g.alicdn.com/thx/cube/1.3.2/cube.min.css">
|
||||
<link rel="stylesheet" href="demo.css">
|
||||
<link rel="stylesheet" href="iconfont.css">
|
||||
<script src="iconfont.js"></script>
|
||||
<!-- jQuery -->
|
||||
<script src="https://a1.alicdn.com/oss/uploads/2018/12/26/7bfddb60-08e8-11e9-9b04-53e73bb6408b.js"></script>
|
||||
<!-- 代码高亮 -->
|
||||
<script src="https://a1.alicdn.com/oss/uploads/2018/12/26/a3f714d0-08e6-11e9-8a15-ebf944d7534c.js"></script>
|
||||
<style>
|
||||
.main .logo {
|
||||
margin-top: 0;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.main .logo a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.main .logo .sub-title {
|
||||
margin-left: 0.5em;
|
||||
font-size: 22px;
|
||||
color: #fff;
|
||||
background: linear-gradient(-45deg, #3967FF, #B500FE);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="main">
|
||||
<h1 class="logo"><a href="https://www.iconfont.cn/" title="iconfont 首页" target="_blank">
|
||||
<img width="200" src="https://img.alicdn.com/imgextra/i3/O1CN01Mn65HV1FfSEzR6DKv_!!6000000000514-55-tps-228-59.svg">
|
||||
|
||||
</a></h1>
|
||||
<div class="nav-tabs">
|
||||
<ul id="tabs" class="dib-box">
|
||||
<li class="dib"><span>Symbol</span></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
<div class="content symbol">
|
||||
<ul class="icon_lists dib-box">
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-link"></use>
|
||||
</svg>
|
||||
<div class="name">链接</div>
|
||||
<div class="code-name">#docs-link</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-edit"></use>
|
||||
</svg>
|
||||
<div class="name">编辑</div>
|
||||
<div class="code-name">#docs-edit</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-qrcode"></use>
|
||||
</svg>
|
||||
<div class="name">二维码</div>
|
||||
<div class="code-name">#docs-qrcode</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-set"></use>
|
||||
</svg>
|
||||
<div class="name">设置</div>
|
||||
<div class="code-name">#docs-set</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-set-fill"></use>
|
||||
</svg>
|
||||
<div class="name">设置</div>
|
||||
<div class="code-name">#docs-set-fill</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-callback-fill"></use>
|
||||
</svg>
|
||||
<div class="name">帮助反馈</div>
|
||||
<div class="code-name">#docs-callback-fill</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-switch"></use>
|
||||
</svg>
|
||||
<div class="name">切换</div>
|
||||
<div class="code-name">#docs-switch</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-favorites-fill"></use>
|
||||
</svg>
|
||||
<div class="name">favorites-fill</div>
|
||||
<div class="code-name">#docs-favorites-fill</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-costoms-alearance"></use>
|
||||
</svg>
|
||||
<div class="name">costoms-alearance</div>
|
||||
<div class="code-name">#docs-costoms-alearance</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-hot"></use>
|
||||
</svg>
|
||||
<div class="name">hot</div>
|
||||
<div class="code-name">#docs-hot</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-resonserate"></use>
|
||||
</svg>
|
||||
<div class="name">resonse rate</div>
|
||||
<div class="code-name">#docs-resonserate</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-hot-fill"></use>
|
||||
</svg>
|
||||
<div class="name">hot-fill</div>
|
||||
<div class="code-name">#docs-hot-fill</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-resonserate-fill"></use>
|
||||
</svg>
|
||||
<div class="name">resonse rate-fill</div>
|
||||
<div class="code-name">#docs-resonserate-fill</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-collection"></use>
|
||||
</svg>
|
||||
<div class="name">collection</div>
|
||||
<div class="code-name">#docs-collection</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-collection-fill"></use>
|
||||
</svg>
|
||||
<div class="name">collection-fill</div>
|
||||
<div class="code-name">#docs-collection-fill</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-stick"></use>
|
||||
</svg>
|
||||
<div class="name">置顶</div>
|
||||
<div class="code-name">#docs-stick</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-favorites"></use>
|
||||
</svg>
|
||||
<div class="name">favorites</div>
|
||||
<div class="code-name">#docs-favorites</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-arrows-left"></use>
|
||||
</svg>
|
||||
<div class="name">左箭头</div>
|
||||
<div class="code-name">#docs-arrows-left</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-arrows-right"></use>
|
||||
</svg>
|
||||
<div class="name">右箭头</div>
|
||||
<div class="code-name">#docs-arrows-right</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-arrows-top"></use>
|
||||
</svg>
|
||||
<div class="name">上箭头</div>
|
||||
<div class="code-name">#docs-arrows-top</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-arrows-bottom"></use>
|
||||
</svg>
|
||||
<div class="name">下箭头</div>
|
||||
<div class="code-name">#docs-arrows-bottom</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-transpond"></use>
|
||||
</svg>
|
||||
<div class="name">转发</div>
|
||||
<div class="code-name">#docs-transpond</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-font"></use>
|
||||
</svg>
|
||||
<div class="name">icon_font</div>
|
||||
<div class="code-name">#docs-font</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-share-fill"></use>
|
||||
</svg>
|
||||
<div class="name">分 享</div>
|
||||
<div class="code-name">#docs-share-fill</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-gotop"></use>
|
||||
</svg>
|
||||
<div class="name">回到顶部</div>
|
||||
<div class="code-name">#docs-gotop</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-map"></use>
|
||||
</svg>
|
||||
<div class="name">map</div>
|
||||
<div class="code-name">#docs-map</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-refresh"></use>
|
||||
</svg>
|
||||
<div class="name">refresh</div>
|
||||
<div class="code-name">#docs-refresh</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-endorse-fill"></use>
|
||||
</svg>
|
||||
<div class="name">点赞</div>
|
||||
<div class="code-name">#docs-endorse-fill</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-language"></use>
|
||||
</svg>
|
||||
<div class="name">语言</div>
|
||||
<div class="code-name">#docs-language</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-endorse-border"></use>
|
||||
</svg>
|
||||
<div class="name">点赞</div>
|
||||
<div class="code-name">#docs-endorse-border</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-github"></use>
|
||||
</svg>
|
||||
<div class="name">GitHub</div>
|
||||
<div class="code-name">#docs-github</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-zhifubao-guanfang"></use>
|
||||
</svg>
|
||||
<div class="name">支付宝-官方</div>
|
||||
<div class="code-name">#docs-zhifubao-guanfang</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-paypal"></use>
|
||||
</svg>
|
||||
<div class="name">paypal</div>
|
||||
<div class="code-name">#docs-paypal</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-Paypal"></use>
|
||||
</svg>
|
||||
<div class="name">Paypal </div>
|
||||
<div class="code-name">#docs-Paypal</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-wecath-paly"></use>
|
||||
</svg>
|
||||
<div class="name">微信</div>
|
||||
<div class="code-name">#docs-wecath-paly</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-wechat"></use>
|
||||
</svg>
|
||||
<div class="name">wechat</div>
|
||||
<div class="code-name">#docs-wechat</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-bilibili"></use>
|
||||
</svg>
|
||||
<div class="name">bilibili</div>
|
||||
<div class="code-name">#docs-bilibili</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-zcool"></use>
|
||||
</svg>
|
||||
<div class="name">zcool</div>
|
||||
<div class="code-name">#docs-zcool</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-qq"></use>
|
||||
</svg>
|
||||
<div class="name">qq</div>
|
||||
<div class="code-name">#docs-qq</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-facebook"></use>
|
||||
</svg>
|
||||
<div class="name">Facebook</div>
|
||||
<div class="code-name">#docs-facebook</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-gitee"></use>
|
||||
</svg>
|
||||
<div class="name">gitee</div>
|
||||
<div class="code-name">#docs-gitee</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-zhihu"></use>
|
||||
</svg>
|
||||
<div class="name">知乎</div>
|
||||
<div class="code-name">#docs-zhihu</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-medium"></use>
|
||||
</svg>
|
||||
<div class="name">medium</div>
|
||||
<div class="code-name">#docs-medium</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-twttier"></use>
|
||||
</svg>
|
||||
<div class="name">twitter hover_pc</div>
|
||||
<div class="code-name">#docs-twttier</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-behance"></use>
|
||||
</svg>
|
||||
<div class="name">behance</div>
|
||||
<div class="code-name">#docs-behance</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-instagram"></use>
|
||||
</svg>
|
||||
<div class="name">instagram</div>
|
||||
<div class="code-name">#docs-instagram</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-youtube"></use>
|
||||
</svg>
|
||||
<div class="name">you-tube</div>
|
||||
<div class="code-name">#docs-youtube</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-bilibili-text"></use>
|
||||
</svg>
|
||||
<div class="name">bilibili</div>
|
||||
<div class="code-name">#docs-bilibili-text</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#docs-weibo"></use>
|
||||
</svg>
|
||||
<div class="name">微博</div>
|
||||
<div class="code-name">#docs-weibo</div>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
<div class="article markdown">
|
||||
<h2 id="symbol-">Symbol 引用</h2>
|
||||
<hr>
|
||||
|
||||
<p>这是一种全新的使用方式,应该说这才是未来的主流,也是平台目前推荐的用法。相关介绍可以参考这篇<a href="">文章</a>
|
||||
这种用法其实是做了一个 SVG 的集合,与另外两种相比具有如下特点:</p>
|
||||
<ul>
|
||||
<li>支持多色图标了,不再受单色限制。</li>
|
||||
<li>通过一些技巧,支持像字体那样,通过 <code>font-size</code>, <code>color</code> 来调整样式。</li>
|
||||
<li>兼容性较差,支持 IE9+,及现代浏览器。</li>
|
||||
<li>浏览器渲染 SVG 的性能一般,还不如 png。</li>
|
||||
</ul>
|
||||
<p>使用步骤如下:</p>
|
||||
<h3 id="-symbol-">第一步:引入项目下面生成的 symbol 代码:</h3>
|
||||
<pre><code class="language-html"><script src="./iconfont.js"></script>
|
||||
</code></pre>
|
||||
<h3 id="-css-">第二步:加入通用 CSS 代码(引入一次就行):</h3>
|
||||
<pre><code class="language-html"><style>
|
||||
.icon {
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
vertical-align: -0.15em;
|
||||
fill: currentColor;
|
||||
overflow: hidden;
|
||||
}
|
||||
</style>
|
||||
</code></pre>
|
||||
<h3 id="-">第三步:挑选相应图标并获取类名,应用于页面:</h3>
|
||||
<pre><code class="language-html"><svg class="icon" aria-hidden="true">
|
||||
<use xlink:href="#icon-xxx"></use>
|
||||
</svg>
|
||||
</code></pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
$('.tab-container .content:first').show()
|
||||
|
||||
$('#tabs li').click(function (e) {
|
||||
var tabContent = $('.tab-container .content')
|
||||
var index = $(this).index()
|
||||
|
||||
if ($(this).hasClass('active')) {
|
||||
return
|
||||
} else {
|
||||
$('#tabs li').removeClass('active')
|
||||
$(this).addClass('active')
|
||||
|
||||
tabContent.hide().eq(index).fadeIn()
|
||||
}
|
||||
})
|
||||
})
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
210
docs/.vuepress/public/fontlist/iconfont.css
Normal file
@@ -0,0 +1,210 @@
|
||||
@font-face {
|
||||
font-family: 'iconfont'; /* Project id 2601360 */
|
||||
src: url('iconfont.woff2?t=1624090719160') format('woff2'),
|
||||
url('iconfont.woff?t=1624090719160') format('woff'),
|
||||
url('iconfont.ttf?t=1624090719160') format('truetype');
|
||||
}
|
||||
|
||||
.iconfont {
|
||||
font-family: 'iconfont' !important;
|
||||
font-size: 16px;
|
||||
font-style: normal;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.docs-link:before {
|
||||
content: '\e631';
|
||||
}
|
||||
|
||||
.docs-edit:before {
|
||||
content: '\e671';
|
||||
}
|
||||
|
||||
.docs-qrcode:before {
|
||||
content: '\e642';
|
||||
}
|
||||
|
||||
.docs-set:before {
|
||||
content: '\e633';
|
||||
}
|
||||
|
||||
.docs-set-fill:before {
|
||||
content: '\e654';
|
||||
}
|
||||
|
||||
.docs-callback-fill:before {
|
||||
content: '\e67d';
|
||||
}
|
||||
|
||||
.docs-switch:before {
|
||||
content: '\e647';
|
||||
}
|
||||
|
||||
.docs-favorites-fill:before {
|
||||
content: '\e721';
|
||||
}
|
||||
|
||||
.docs-costoms-alearance:before {
|
||||
content: '\e74a';
|
||||
}
|
||||
|
||||
.docs-hot:before {
|
||||
content: '\e753';
|
||||
}
|
||||
|
||||
.docs-resonserate:before {
|
||||
content: '\e75e';
|
||||
}
|
||||
|
||||
.docs-hot-fill:before {
|
||||
content: '\e781';
|
||||
}
|
||||
|
||||
.docs-resonserate-fill:before {
|
||||
content: '\e78a';
|
||||
}
|
||||
|
||||
.docs-collection:before {
|
||||
content: '\e79d';
|
||||
}
|
||||
|
||||
.docs-collection-fill:before {
|
||||
content: '\e79e';
|
||||
}
|
||||
|
||||
.docs-stick:before {
|
||||
content: '\e6a3';
|
||||
}
|
||||
|
||||
.docs-favorites:before {
|
||||
content: '\e7b3';
|
||||
}
|
||||
|
||||
.docs-arrows-left:before {
|
||||
content: '\e60b';
|
||||
}
|
||||
|
||||
.docs-arrows-right:before {
|
||||
content: '\e60c';
|
||||
}
|
||||
|
||||
.docs-arrows-top:before {
|
||||
content: '\e60a';
|
||||
}
|
||||
|
||||
.docs-arrows-bottom:before {
|
||||
content: '\e60d';
|
||||
}
|
||||
|
||||
.docs-transpond:before {
|
||||
content: '\e624';
|
||||
}
|
||||
|
||||
.docs-font:before {
|
||||
content: '\e7f6';
|
||||
}
|
||||
|
||||
.docs-share-fill:before {
|
||||
content: '\e608';
|
||||
}
|
||||
|
||||
.docs-gotop:before {
|
||||
content: '\ef85';
|
||||
}
|
||||
|
||||
.docs-map:before {
|
||||
content: '\e678';
|
||||
}
|
||||
|
||||
.docs-refresh:before {
|
||||
content: '\e67c';
|
||||
}
|
||||
|
||||
.docs-endorse-fill:before {
|
||||
content: '\e613';
|
||||
}
|
||||
|
||||
.docs-language:before {
|
||||
content: '\e85f';
|
||||
}
|
||||
|
||||
.docs-endorse-border:before {
|
||||
content: '\e619';
|
||||
}
|
||||
|
||||
.docs-github:before {
|
||||
content: '\e607';
|
||||
}
|
||||
|
||||
.docs-zhifubao-guanfang:before {
|
||||
content: '\e663';
|
||||
}
|
||||
|
||||
.docs-paypal:before {
|
||||
content: '\e614';
|
||||
}
|
||||
|
||||
.docs-Paypal:before {
|
||||
content: '\e664';
|
||||
}
|
||||
|
||||
.docs-wecath-paly:before {
|
||||
content: '\e6d6';
|
||||
}
|
||||
|
||||
.docs-wechat:before {
|
||||
content: '\e617';
|
||||
}
|
||||
|
||||
.docs-bilibili:before {
|
||||
content: '\e6cf';
|
||||
}
|
||||
|
||||
.docs-zcool:before {
|
||||
content: '\e61a';
|
||||
}
|
||||
|
||||
.docs-qq:before {
|
||||
content: '\e604';
|
||||
}
|
||||
|
||||
.docs-facebook:before {
|
||||
content: '\e606';
|
||||
}
|
||||
|
||||
.docs-gitee:before {
|
||||
content: '\e602';
|
||||
}
|
||||
|
||||
.docs-zhihu:before {
|
||||
content: '\e600';
|
||||
}
|
||||
|
||||
.docs-medium:before {
|
||||
content: '\e956';
|
||||
}
|
||||
|
||||
.docs-twttier:before {
|
||||
content: '\e601';
|
||||
}
|
||||
|
||||
.docs-behance:before {
|
||||
content: '\ea09';
|
||||
}
|
||||
|
||||
.docs-instagram:before {
|
||||
content: '\e864';
|
||||
}
|
||||
|
||||
.docs-youtube:before {
|
||||
content: '\e603';
|
||||
}
|
||||
|
||||
.docs-bilibili-text:before {
|
||||
content: '\e605';
|
||||
}
|
||||
|
||||
.docs-weibo:before {
|
||||
content: '\e676';
|
||||
}
|
||||
63
docs/.vuepress/public/fontlist/iconfont.js
Normal file
352
docs/.vuepress/public/fontlist/iconfont.json
Normal file
@@ -0,0 +1,352 @@
|
||||
{
|
||||
"id": "2601360",
|
||||
"name": "yuanshenmap-docs",
|
||||
"font_family": "iconfont",
|
||||
"css_prefix_text": "docs-",
|
||||
"description": "",
|
||||
"glyphs": [
|
||||
{
|
||||
"icon_id": "70256",
|
||||
"name": "链接",
|
||||
"font_class": "link",
|
||||
"unicode": "e631",
|
||||
"unicode_decimal": 58929
|
||||
},
|
||||
{
|
||||
"icon_id": "712427",
|
||||
"name": "编辑",
|
||||
"font_class": "edit",
|
||||
"unicode": "e671",
|
||||
"unicode_decimal": 58993
|
||||
},
|
||||
{
|
||||
"icon_id": "1004649",
|
||||
"name": "二维码",
|
||||
"font_class": "qrcode",
|
||||
"unicode": "e642",
|
||||
"unicode_decimal": 58946
|
||||
},
|
||||
{
|
||||
"icon_id": "1435240",
|
||||
"name": "设置",
|
||||
"font_class": "set",
|
||||
"unicode": "e633",
|
||||
"unicode_decimal": 58931
|
||||
},
|
||||
{
|
||||
"icon_id": "5543849",
|
||||
"name": "设置",
|
||||
"font_class": "set-fill",
|
||||
"unicode": "e654",
|
||||
"unicode_decimal": 58964
|
||||
},
|
||||
{
|
||||
"icon_id": "8597172",
|
||||
"name": "帮助反馈",
|
||||
"font_class": "callback-fill",
|
||||
"unicode": "e67d",
|
||||
"unicode_decimal": 59005
|
||||
},
|
||||
{
|
||||
"icon_id": "9568050",
|
||||
"name": "切换",
|
||||
"font_class": "switch",
|
||||
"unicode": "e647",
|
||||
"unicode_decimal": 58951
|
||||
},
|
||||
{
|
||||
"icon_id": "11481317",
|
||||
"name": "favorites-fill",
|
||||
"font_class": "favorites-fill",
|
||||
"unicode": "e721",
|
||||
"unicode_decimal": 59169
|
||||
},
|
||||
{
|
||||
"icon_id": "11488018",
|
||||
"name": "costoms-alearance",
|
||||
"font_class": "costoms-alearance",
|
||||
"unicode": "e74a",
|
||||
"unicode_decimal": 59210
|
||||
},
|
||||
{
|
||||
"icon_id": "11488058",
|
||||
"name": "hot",
|
||||
"font_class": "hot",
|
||||
"unicode": "e753",
|
||||
"unicode_decimal": 59219
|
||||
},
|
||||
{
|
||||
"icon_id": "11488109",
|
||||
"name": "resonse rate",
|
||||
"font_class": "resonserate",
|
||||
"unicode": "e75e",
|
||||
"unicode_decimal": 59230
|
||||
},
|
||||
{
|
||||
"icon_id": "11488266",
|
||||
"name": "hot-fill",
|
||||
"font_class": "hot-fill",
|
||||
"unicode": "e781",
|
||||
"unicode_decimal": 59265
|
||||
},
|
||||
{
|
||||
"icon_id": "11488307",
|
||||
"name": "resonse rate-fill",
|
||||
"font_class": "resonserate-fill",
|
||||
"unicode": "e78a",
|
||||
"unicode_decimal": 59274
|
||||
},
|
||||
{
|
||||
"icon_id": "11494511",
|
||||
"name": "collection",
|
||||
"font_class": "collection",
|
||||
"unicode": "e79d",
|
||||
"unicode_decimal": 59293
|
||||
},
|
||||
{
|
||||
"icon_id": "11494513",
|
||||
"name": "collection-fill",
|
||||
"font_class": "collection-fill",
|
||||
"unicode": "e79e",
|
||||
"unicode_decimal": 59294
|
||||
},
|
||||
{
|
||||
"icon_id": "11669839",
|
||||
"name": "置顶",
|
||||
"font_class": "stick",
|
||||
"unicode": "e6a3",
|
||||
"unicode_decimal": 59043
|
||||
},
|
||||
{
|
||||
"icon_id": "12011695",
|
||||
"name": "favorites",
|
||||
"font_class": "favorites",
|
||||
"unicode": "e7b3",
|
||||
"unicode_decimal": 59315
|
||||
},
|
||||
{
|
||||
"icon_id": "12515449",
|
||||
"name": "左箭头",
|
||||
"font_class": "arrows-left",
|
||||
"unicode": "e60b",
|
||||
"unicode_decimal": 58891
|
||||
},
|
||||
{
|
||||
"icon_id": "12515452",
|
||||
"name": "右箭头",
|
||||
"font_class": "arrows-right",
|
||||
"unicode": "e60c",
|
||||
"unicode_decimal": 58892
|
||||
},
|
||||
{
|
||||
"icon_id": "12515453",
|
||||
"name": "上箭头",
|
||||
"font_class": "arrows-top",
|
||||
"unicode": "e60a",
|
||||
"unicode_decimal": 58890
|
||||
},
|
||||
{
|
||||
"icon_id": "12515458",
|
||||
"name": "下箭头",
|
||||
"font_class": "arrows-bottom",
|
||||
"unicode": "e60d",
|
||||
"unicode_decimal": 58893
|
||||
},
|
||||
{
|
||||
"icon_id": "13766980",
|
||||
"name": "转发",
|
||||
"font_class": "transpond",
|
||||
"unicode": "e624",
|
||||
"unicode_decimal": 58916
|
||||
},
|
||||
{
|
||||
"icon_id": "13834881",
|
||||
"name": "icon_font",
|
||||
"font_class": "font",
|
||||
"unicode": "e7f6",
|
||||
"unicode_decimal": 59382
|
||||
},
|
||||
{
|
||||
"icon_id": "14195994",
|
||||
"name": "分 享",
|
||||
"font_class": "share-fill",
|
||||
"unicode": "e608",
|
||||
"unicode_decimal": 58888
|
||||
},
|
||||
{
|
||||
"icon_id": "14236640",
|
||||
"name": "回到顶部",
|
||||
"font_class": "gotop",
|
||||
"unicode": "ef85",
|
||||
"unicode_decimal": 61317
|
||||
},
|
||||
{
|
||||
"icon_id": "15838499",
|
||||
"name": "map",
|
||||
"font_class": "map",
|
||||
"unicode": "e678",
|
||||
"unicode_decimal": 59000
|
||||
},
|
||||
{
|
||||
"icon_id": "15838519",
|
||||
"name": "refresh",
|
||||
"font_class": "refresh",
|
||||
"unicode": "e67c",
|
||||
"unicode_decimal": 59004
|
||||
},
|
||||
{
|
||||
"icon_id": "16286931",
|
||||
"name": "点赞",
|
||||
"font_class": "endorse-fill",
|
||||
"unicode": "e613",
|
||||
"unicode_decimal": 58899
|
||||
},
|
||||
{
|
||||
"icon_id": "16399020",
|
||||
"name": "语言",
|
||||
"font_class": "language",
|
||||
"unicode": "e85f",
|
||||
"unicode_decimal": 59487
|
||||
},
|
||||
{
|
||||
"icon_id": "17816555",
|
||||
"name": "点赞",
|
||||
"font_class": "endorse-border",
|
||||
"unicode": "e619",
|
||||
"unicode_decimal": 58905
|
||||
},
|
||||
{
|
||||
"icon_id": "4166789",
|
||||
"name": "GitHub",
|
||||
"font_class": "github",
|
||||
"unicode": "e607",
|
||||
"unicode_decimal": 58887
|
||||
},
|
||||
{
|
||||
"icon_id": "5340860",
|
||||
"name": "支付宝-官方",
|
||||
"font_class": "zhifubao-guanfang",
|
||||
"unicode": "e663",
|
||||
"unicode_decimal": 58979
|
||||
},
|
||||
{
|
||||
"icon_id": "6897962",
|
||||
"name": "paypal",
|
||||
"font_class": "paypal",
|
||||
"unicode": "e614",
|
||||
"unicode_decimal": 58900
|
||||
},
|
||||
{
|
||||
"icon_id": "9270747",
|
||||
"name": "Paypal ",
|
||||
"font_class": "Paypal",
|
||||
"unicode": "e664",
|
||||
"unicode_decimal": 58980
|
||||
},
|
||||
{
|
||||
"icon_id": "3145063",
|
||||
"name": "微信",
|
||||
"font_class": "wecath-paly",
|
||||
"unicode": "e6d6",
|
||||
"unicode_decimal": 59094
|
||||
},
|
||||
{
|
||||
"icon_id": "4836401",
|
||||
"name": "wechat",
|
||||
"font_class": "wechat",
|
||||
"unicode": "e617",
|
||||
"unicode_decimal": 58903
|
||||
},
|
||||
{
|
||||
"icon_id": "4956691",
|
||||
"name": "bilibili",
|
||||
"font_class": "bilibili",
|
||||
"unicode": "e6cf",
|
||||
"unicode_decimal": 59087
|
||||
},
|
||||
{
|
||||
"icon_id": "5202107",
|
||||
"name": "zcool",
|
||||
"font_class": "zcool",
|
||||
"unicode": "e61a",
|
||||
"unicode_decimal": 58906
|
||||
},
|
||||
{
|
||||
"icon_id": "6626033",
|
||||
"name": "qq",
|
||||
"font_class": "qq",
|
||||
"unicode": "e604",
|
||||
"unicode_decimal": 58884
|
||||
},
|
||||
{
|
||||
"icon_id": "6826655",
|
||||
"name": "Facebook",
|
||||
"font_class": "facebook",
|
||||
"unicode": "e606",
|
||||
"unicode_decimal": 58886
|
||||
},
|
||||
{
|
||||
"icon_id": "10636151",
|
||||
"name": "gitee",
|
||||
"font_class": "gitee",
|
||||
"unicode": "e602",
|
||||
"unicode_decimal": 58882
|
||||
},
|
||||
{
|
||||
"icon_id": "11268025",
|
||||
"name": "知乎",
|
||||
"font_class": "zhihu",
|
||||
"unicode": "e600",
|
||||
"unicode_decimal": 58880
|
||||
},
|
||||
{
|
||||
"icon_id": "11287268",
|
||||
"name": "medium",
|
||||
"font_class": "medium",
|
||||
"unicode": "e956",
|
||||
"unicode_decimal": 59734
|
||||
},
|
||||
{
|
||||
"icon_id": "11346177",
|
||||
"name": "twitter hover_pc",
|
||||
"font_class": "twttier",
|
||||
"unicode": "e601",
|
||||
"unicode_decimal": 58881
|
||||
},
|
||||
{
|
||||
"icon_id": "11983538",
|
||||
"name": "behance",
|
||||
"font_class": "behance",
|
||||
"unicode": "ea09",
|
||||
"unicode_decimal": 59913
|
||||
},
|
||||
{
|
||||
"icon_id": "13798151",
|
||||
"name": "instagram",
|
||||
"font_class": "instagram",
|
||||
"unicode": "e864",
|
||||
"unicode_decimal": 59492
|
||||
},
|
||||
{
|
||||
"icon_id": "15760880",
|
||||
"name": "you-tube",
|
||||
"font_class": "youtube",
|
||||
"unicode": "e603",
|
||||
"unicode_decimal": 58883
|
||||
},
|
||||
{
|
||||
"icon_id": "16745321",
|
||||
"name": "bilibili",
|
||||
"font_class": "bilibili-text",
|
||||
"unicode": "e605",
|
||||
"unicode_decimal": 58885
|
||||
},
|
||||
{
|
||||
"icon_id": "20519523",
|
||||
"name": "微博",
|
||||
"font_class": "weibo",
|
||||
"unicode": "e676",
|
||||
"unicode_decimal": 58998
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
docs/.vuepress/public/fontlist/iconfont.ttf
Normal file
BIN
docs/.vuepress/public/fontlist/iconfont.woff
Normal file
BIN
docs/.vuepress/public/fontlist/iconfont.woff2
Normal file
BIN
docs/.vuepress/public/images/202209/HeroImageLogo.png
Normal file
|
After Width: | Height: | Size: 128 KiB |
BIN
docs/.vuepress/public/images/202209/IndexIconAchievements.png
Normal file
|
After Width: | Height: | Size: 7.2 KiB |
BIN
docs/.vuepress/public/images/202209/IndexIconCharacters.png
Normal file
|
After Width: | Height: | Size: 5.4 KiB |
BIN
docs/.vuepress/public/images/202209/IndexIconMihoyoBBS.png
Normal file
|
After Width: | Height: | Size: 7.6 KiB |
BIN
docs/.vuepress/public/images/202209/IndexIconWeapons.png
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
BIN
docs/.vuepress/public/images/202209/IndexIconWish.png
Normal file
|
After Width: | Height: | Size: 6.0 KiB |
BIN
docs/.vuepress/public/images/202209/SGLogoUpgrade64.png
Normal file
|
After Width: | Height: | Size: 5.8 KiB |
21
docs/.vuepress/sidebar/en.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
import { sidebar } from "vuepress-theme-hope";
|
||||
|
||||
export const enSidebar = sidebar({
|
||||
"/en/": [
|
||||
"",
|
||||
{
|
||||
icon: "discover",
|
||||
text: "Demo",
|
||||
prefix: "demo/",
|
||||
link: "demo/",
|
||||
children: "structure",
|
||||
},
|
||||
{
|
||||
text: "Docs",
|
||||
icon: "note",
|
||||
prefix: "guide/",
|
||||
children: "structure",
|
||||
},
|
||||
"slides",
|
||||
],
|
||||
});
|
||||
2
docs/.vuepress/sidebar/index.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
export * from "./en.js";
|
||||
export * from "./zh.js";
|
||||
24
docs/.vuepress/sidebar/zh.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
import { sidebar } from "vuepress-theme-hope";
|
||||
|
||||
export const zhSidebar = sidebar({
|
||||
"/": [
|
||||
"",
|
||||
{
|
||||
icon: "play",
|
||||
text: "快速开始",
|
||||
link: "quick-start.md"
|
||||
},
|
||||
{
|
||||
icon: "read",
|
||||
text: "功能指南",
|
||||
prefix: "documents/features/",
|
||||
children: "structure"
|
||||
},
|
||||
{
|
||||
icon: "article",
|
||||
text: "声明和公告",
|
||||
prefix: "documents/statements/",
|
||||
children: "structure"
|
||||
}
|
||||
],
|
||||
});
|
||||
2
docs/.vuepress/styles/config.scss
Normal file
@@ -0,0 +1,2 @@
|
||||
// you can change config here
|
||||
$code-lang: "css" "html" "js" "ts" "vue";
|
||||
61
docs/.vuepress/styles/index.scss
Normal file
@@ -0,0 +1,61 @@
|
||||
// place your custom styles here
|
||||
header.navbar {
|
||||
/*
|
||||
// 隐藏导航栏外链图标
|
||||
.navbar-items-wrapper > nav > div > a > span > svg.external-link-icon {
|
||||
position: relative;
|
||||
display: none;
|
||||
color: var(--external-link-icon-color);
|
||||
vertical-align: middle;
|
||||
top: -1px;
|
||||
}
|
||||
*/
|
||||
|
||||
// 隐藏导航栏和导航栏菜单外链图标
|
||||
svg.external-link-icon {
|
||||
position: relative;
|
||||
display: none;
|
||||
color: var(--external-link-icon-color);
|
||||
vertical-align: middle;
|
||||
top: -1px;
|
||||
}
|
||||
}
|
||||
|
||||
.link-box{
|
||||
ol {
|
||||
display: inherit;
|
||||
li {
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
margin: 10px 0;
|
||||
width: 98%;
|
||||
font-size: 16px;
|
||||
border: 1px solid var(--c-border-dark);
|
||||
border-radius: 5px;
|
||||
transition: all .3s;
|
||||
text-align: right;
|
||||
a {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
opacity: .8;
|
||||
padding: 10px 20px;
|
||||
box-sizing: border-box;
|
||||
transition: all .3s;
|
||||
strong {
|
||||
position: absolute;
|
||||
left: 25px;
|
||||
}
|
||||
&:hover{
|
||||
opacity: 1;
|
||||
text-decoration:none!important;
|
||||
}
|
||||
}
|
||||
&:hover{
|
||||
transform: translate3d(0, -2px, 0);
|
||||
box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
3
docs/.vuepress/styles/palette.scss
Normal file
@@ -0,0 +1,3 @@
|
||||
// you can change colors here
|
||||
$theme-color: #f26d6d;
|
||||
$font-family: 'Georgia, -apple-system, "Nimbus Roman No9 L", "PingFang SC", "Hiragino Sans GB", "Noto Serif SC", "Microsoft Yahei", "WenQuanYi Micro Hei", "ST Heiti", sans-serif';
|
||||
196
docs/.vuepress/theme.ts
Normal file
@@ -0,0 +1,196 @@
|
||||
import { hopeTheme } from "vuepress-theme-hope";
|
||||
import { enNavbar, zhNavbar } from "./navbar/index.js";
|
||||
import { enSidebar, zhSidebar } from "./sidebar/index.js";
|
||||
|
||||
export default hopeTheme({
|
||||
hostname: "https://hut.ao",
|
||||
|
||||
author: {
|
||||
name: "DGP-Studio",
|
||||
url: "https://github.com/DGP-Studio",
|
||||
},
|
||||
|
||||
iconAssets: "iconfont",
|
||||
|
||||
logo: "/images/202209/HeroImageLogo.png",
|
||||
|
||||
repo: "DGP-Studio/Snap.Hutao",
|
||||
|
||||
docsDir: "demo/theme-docs/src",
|
||||
|
||||
pageInfo: ["Author", "Original", "Date", "Category", "Tag", "ReadingTime"],
|
||||
|
||||
locales: {
|
||||
"/en/": {
|
||||
// navbar
|
||||
navbar: enNavbar,
|
||||
|
||||
// sidebar
|
||||
sidebar: enSidebar,
|
||||
|
||||
footer: "Default footer",
|
||||
|
||||
displayFooter: true,
|
||||
|
||||
metaLocales: {
|
||||
editLink: "Edit this page on GitHub",
|
||||
},
|
||||
},
|
||||
|
||||
/**
|
||||
* Chinese locale config
|
||||
*/
|
||||
"/": {
|
||||
// navbar
|
||||
navbar: zhNavbar,
|
||||
|
||||
// sidebar
|
||||
sidebar: zhSidebar,
|
||||
|
||||
footer: "默认页脚",
|
||||
|
||||
displayFooter: true,
|
||||
|
||||
// page meta
|
||||
metaLocales: {
|
||||
editLink: "在 GitHub 上编辑此页",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
plugins: {
|
||||
// If you don't need comment feature, you can remove following option
|
||||
// The following config is for demo ONLY, if you need comment feature, please generate and use your own config, see comment plugin documentation for details.
|
||||
// To avoid disturbing the theme developer and consuming his resources, please DO NOT use the following config directly in your production environment!!!!!
|
||||
comment: {
|
||||
/**
|
||||
* Using Giscus
|
||||
*/
|
||||
// provider: "Giscus",
|
||||
// repo: "vuepress-theme-hope/giscus-discussions",
|
||||
// repoId: "R_kgDOG_Pt2A",
|
||||
// category: "Announcements",
|
||||
// categoryId: "DIC_kwDOG_Pt2M4COD69",
|
||||
|
||||
/**
|
||||
* Using Twikoo
|
||||
*/
|
||||
// provider: "Twikoo",
|
||||
// envId: "https://twikoo.ccknbc.vercel.app",
|
||||
|
||||
/**
|
||||
* Using Waline
|
||||
*/
|
||||
//provider: "Waline",
|
||||
//serverURL: "https://vuepress-theme-hope-comment.vercel.app",
|
||||
},
|
||||
|
||||
// Disable features you don't want here
|
||||
mdEnhance: {
|
||||
align: true,
|
||||
attrs: true,
|
||||
chart: true,
|
||||
codetabs: true,
|
||||
container: true,
|
||||
demo: true,
|
||||
echarts: true,
|
||||
flowchart: true,
|
||||
gfm: true,
|
||||
imageSize: true,
|
||||
include: true,
|
||||
katex: true,
|
||||
lazyLoad: true,
|
||||
mark: true,
|
||||
mermaid: true,
|
||||
playground: {
|
||||
presets: ["ts", "vue"],
|
||||
},
|
||||
presentation: {
|
||||
plugins: ["highlight", "math", "search", "notes", "zoom"],
|
||||
},
|
||||
stylize: [
|
||||
{
|
||||
matcher: "Recommanded",
|
||||
replacer: ({ tag }) => {
|
||||
if (tag === "em")
|
||||
return {
|
||||
tag: "Badge",
|
||||
attrs: { type: "tip" },
|
||||
content: "Recommanded",
|
||||
};
|
||||
},
|
||||
},
|
||||
],
|
||||
sub: true,
|
||||
sup: true,
|
||||
tabs: true,
|
||||
vpre: true,
|
||||
vuePlayground: true,
|
||||
},
|
||||
pwa: false
|
||||
/**
|
||||
pwa: {
|
||||
favicon: "/favicon.ico",
|
||||
cacheHTML: true,
|
||||
cachePic: true,
|
||||
appendBase: true,
|
||||
apple: {
|
||||
icon: "/assets/icon/apple-icon-152.png",
|
||||
statusBarColor: "black",
|
||||
},
|
||||
msTile: {
|
||||
image: "/assets/icon/ms-icon-144.png",
|
||||
color: "#ffffff",
|
||||
},
|
||||
manifest: {
|
||||
icons: [
|
||||
{
|
||||
src: "/assets/icon/chrome-mask-512.png",
|
||||
sizes: "512x512",
|
||||
purpose: "maskable",
|
||||
type: "image/png",
|
||||
},
|
||||
{
|
||||
src: "/assets/icon/chrome-mask-192.png",
|
||||
sizes: "192x192",
|
||||
purpose: "maskable",
|
||||
type: "image/png",
|
||||
},
|
||||
{
|
||||
src: "/assets/icon/chrome-512.png",
|
||||
sizes: "512x512",
|
||||
type: "image/png",
|
||||
},
|
||||
{
|
||||
src: "/assets/icon/chrome-192.png",
|
||||
sizes: "192x192",
|
||||
type: "image/png",
|
||||
},
|
||||
],
|
||||
shortcuts: [
|
||||
{
|
||||
name: "Demo",
|
||||
short_name: "Demo",
|
||||
url: "/demo/",
|
||||
icons: [
|
||||
{
|
||||
src: "/assets/icon/guide-maskable.png",
|
||||
sizes: "192x192",
|
||||
purpose: "maskable",
|
||||
type: "image/png",
|
||||
},
|
||||
{
|
||||
src: "/assets/icon/guide-monochrome.png",
|
||||
sizes: "192x192",
|
||||
purpose: "monochrome",
|
||||
type: "image/png",
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
**/
|
||||
},
|
||||
});
|
||||
41
docs/README.md
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
home: true
|
||||
icon: home
|
||||
title: 首页
|
||||
heroImage: /images/202209/HeroImageLogo.png
|
||||
heroText: 胡桃工具箱
|
||||
tagline: 一个实用的多功能原神工具箱
|
||||
actions:
|
||||
- text: 下载
|
||||
link: https://go.hut.ao/archive
|
||||
type: primary
|
||||
|
||||
- text: 快速开始
|
||||
link: /quick-start.md
|
||||
- text: 文档
|
||||
link: /documents/
|
||||
- text: 项目进度
|
||||
link: project.md
|
||||
|
||||
features:
|
||||
- title: 比 Snap Genshin 更好
|
||||
icon: /images/202209/SGLogoUpgrade64.png
|
||||
details: 胡桃工具箱在继承 Snap Genshin 功能的前提下有更广泛的数据支持和更好的客户端性能表现
|
||||
link: https://www.snapgenshin.com/home/
|
||||
|
||||
- title: 祈愿记录
|
||||
icon: /images/202209/IndexIconWish.png
|
||||
details: 支持多UID切换,从游戏日志文件获取或从其它祈愿记录程序导出数据,永久保留玩家的祈愿记录
|
||||
link: /documents/features/wish-export.md
|
||||
|
||||
- title: 成就记录
|
||||
icon: /images/202209/IndexIconAchievements.png
|
||||
details: 成就统计功能允许玩家导出成就数据并在游戏外进行统计;基于成就拆分,玩家可以对隐藏成就的阶段性目标进行管理
|
||||
link: /documents/features/achievements.md
|
||||
|
||||
|
||||
copyright: false
|
||||
footer: MIT Licensed | Copyright © 2019-present Mr.Hope
|
||||
|
||||
---
|
||||
|
||||
0
docs/documents/README.md
Normal file
25
docs/documents/features/achievements.md
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
headerDepth: 0
|
||||
---
|
||||
|
||||
# 成就管理 <Badge type="tip" text="UIAF" vertical="top" />
|
||||
|
||||

|
||||
|
||||
Snap Genshin 提供成就管理功能,用户可以通过它浏览并管理所有的成就状态
|
||||
|
||||
## 成就阶段拆分
|
||||
|
||||
::: tip 友情提示
|
||||
成就阶段拆分数据来源于玩家的数据贡献,我们需要有玩家不断地维护这一类数据。如果你是一个热衷于收集原神成就的玩家并且愿意贡献新的数据,可以在 [Masterain98/Genshin-Impact-Decomposed-Achievements](https://github.com/Masterain98/Genshin-Impact-Decomposed-Achievements) 中创建新的 Issue 或 PR 以分享你的数据。
|
||||
:::
|
||||
|
||||
Snap Genshin 对日常委托中包含的隐藏成就进行了阶段性的划分,用户可以通过勾选已完成的阶段性目标来记录相关成就的完成进度
|
||||
|
||||

|
||||
|
||||
以日常委托`岩游记`中隐藏的`帝君故事`成就为例。为获取该成就,你需要在璃月每日委托任务岩游记中分别提供不同物品以获取到不同的岩王帝君的故事。玩家在获取到`["开拓之神","历史之神","炉灶之神","财神"]`全部四个故事后方可解锁该成就。使用 Snap Genshin 的成就管理功能,你将可以记录已完成的剧情故事。
|
||||
|
||||
## 成就导入
|
||||
|
||||
Snap Genshin 使用[统一可交换成就标准](https://www.snapgenshin.com/development/UIAF.html)数据标准来储存用户的成就数据。该标准允许用户从其它成就管理程序或成就导出工具中通过 [Url 协议](https://www.snapgenshin.com/development/ThirdPartyAccess.html#url-%E5%8D%8F%E8%AE%AE)和剪贴板将数据导入到 Snap Genshin 中。
|
||||
13
docs/documents/features/wish-export.md
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
headerDepth: 0
|
||||
---
|
||||
|
||||
# 原神祈愿记录导出 <Badge type="tip" text="UIGF" vertical="top" />
|
||||
|
||||
- 打开原神游戏本体,进入祈愿界面,点击 `历史记录`
|
||||
- 启动 Snap Genshin,从左侧菜单栏进入 `祈愿记录`
|
||||
- 点击右上角的 `代理模式刷新` 按钮
|
||||
- 第一次使用该功能时,Snap Genshin 需要添加证书至系统,你需要根据系统提示,允许 Snap Genshin 添加证书以保证祈愿记录导出功能正常
|
||||
- 根据提示,进入游戏祈愿功能并点击历史记录,等待祈愿记录获取完成
|
||||
|
||||

|
||||
35
docs/documents/statements/bug-report.md
Normal file
@@ -0,0 +1,35 @@
|
||||
---
|
||||
headerDepth: 0
|
||||
---
|
||||
|
||||
# 提交BUG报告
|
||||
|
||||
## 推荐方法
|
||||
|
||||
> 在你使用 Snap Hutao 时如果发现了可复现或不可自行修复的问题
|
||||
> 可以在 GitHub 上提交 Issues 来让我们知道。
|
||||
> 在提交问题时,你应当尽可能地详细描述问题。
|
||||
> 你的 Issue 中应包含程序抛出的**完整**异常信息,当没有异常信息时也可以添加能显示出异常状态的截图。
|
||||
> 如果你有能力在代码层面修复该问题,也欢迎你直接在对应的项目中发起 PR。
|
||||
|
||||
|
||||
- 客户端本体问题
|
||||
[DGP-Studio/Snap.Hutao](https://github.com/DGP-Studio/Snap.Hutao/issues/new/choose)
|
||||
|
||||
- 请求增加或更新文档
|
||||
[DGP-Studio/Snap.Hutao.Docs](https://github.com/DGP-Studio/Snap.Hutao.Docs/issues/new)
|
||||
|
||||
- 胡桃数据库网页问题
|
||||
[DGP-Studio/Snap.Genshin.HutaoWeb](https://github.com/DGP-Studio/Snap.Genshin.HutaoWeb/issues)
|
||||
|
||||
- 网页 API 问题
|
||||
[DGP-Studio/Snap.Genshin.WebAPI](https://github.com/DGP-Studio/Snap.Genshin.WebAPI/issues)
|
||||
|
||||
- 胡桃数据库 API 问题
|
||||
[DGP-Studio/Snap.Genshin.Website](https://github.com/DGP-Studio/Snap.Genshin.Website/issues)
|
||||
|
||||
## 其它途径
|
||||
|
||||
你也可以在QQ群中反馈问题,但这不是第一选项。
|
||||
|
||||
在即时通讯软件的群聊中汇报的问题很有可能被其它话题的聊天记录覆盖,使开发人员错过你的问题反馈。使用 GitHub Issues 提交问题既允许你有充足的时间丰富你对问题的描述,也可以使开发人员能在阅读时获得更加充足的信息以快速解决问题。
|
||||
41
docs/en/README.md
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
home: true
|
||||
icon: home
|
||||
title: 首页
|
||||
heroImage: /images/202209/HeroImageLogo.png
|
||||
heroText: 胡桃工具箱
|
||||
tagline: 一个实用的多功能原神工具箱
|
||||
actions:
|
||||
- text: 下载
|
||||
link: https://go.hut.ao/archive
|
||||
type: primary
|
||||
|
||||
- text: 快速开始
|
||||
link: /quick-start.md
|
||||
- text: 文档
|
||||
link: /documents/
|
||||
- text: 项目进度
|
||||
link: project.md
|
||||
|
||||
features:
|
||||
- title: 比 Snap Genshin 更好
|
||||
icon: /images/202209/SGLogoUpgrade64.png
|
||||
details: 胡桃工具箱在继承 Snap Genshin 功能的前提下有更广泛的数据支持和更好的客户端性能表现
|
||||
link: https://www.snapgenshin.com/home/
|
||||
|
||||
- title: 祈愿记录
|
||||
icon: /images/202209/IndexIconWish.png
|
||||
details: 支持多UID切换,从游戏日志文件获取或从其它祈愿记录程序导出数据,永久保留玩家的祈愿记录
|
||||
link: /documents/features/wish-export.md
|
||||
|
||||
- title: 成就记录
|
||||
icon: /images/202209/IndexIconAchievements.png
|
||||
details: 成就统计功能允许玩家导出成就数据并在游戏外进行统计;基于成就拆分,玩家可以对隐藏成就的阶段性目标进行管理
|
||||
link: /documents/features/achievements.md
|
||||
|
||||
|
||||
copyright: false
|
||||
footer: MIT Licensed | Copyright © 2019-present Mr.Hope
|
||||
|
||||
---
|
||||
|
||||
0
docs/en/documents/README.md
Normal file
25
docs/en/documents/features/achievements.md
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
headerDepth: 0
|
||||
---
|
||||
|
||||
# 成就管理 <Badge type="tip" text="UIAF" vertical="top" />
|
||||
|
||||

|
||||
|
||||
Snap Genshin 提供成就管理功能,用户可以通过它浏览并管理所有的成就状态
|
||||
|
||||
## 成就阶段拆分
|
||||
|
||||
::: tip 友情提示
|
||||
成就阶段拆分数据来源于玩家的数据贡献,我们需要有玩家不断地维护这一类数据。如果你是一个热衷于收集原神成就的玩家并且愿意贡献新的数据,可以在 [Masterain98/Genshin-Impact-Decomposed-Achievements](https://github.com/Masterain98/Genshin-Impact-Decomposed-Achievements) 中创建新的 Issue 或 PR 以分享你的数据。
|
||||
:::
|
||||
|
||||
Snap Genshin 对日常委托中包含的隐藏成就进行了阶段性的划分,用户可以通过勾选已完成的阶段性目标来记录相关成就的完成进度
|
||||
|
||||

|
||||
|
||||
以日常委托`岩游记`中隐藏的`帝君故事`成就为例。为获取该成就,你需要在璃月每日委托任务岩游记中分别提供不同物品以获取到不同的岩王帝君的故事。玩家在获取到`["开拓之神","历史之神","炉灶之神","财神"]`全部四个故事后方可解锁该成就。使用 Snap Genshin 的成就管理功能,你将可以记录已完成的剧情故事。
|
||||
|
||||
## 成就导入
|
||||
|
||||
Snap Genshin 使用[统一可交换成就标准](https://www.snapgenshin.com/development/UIAF.html)数据标准来储存用户的成就数据。该标准允许用户从其它成就管理程序或成就导出工具中通过 [Url 协议](https://www.snapgenshin.com/development/ThirdPartyAccess.html#url-%E5%8D%8F%E8%AE%AE)和剪贴板将数据导入到 Snap Genshin 中。
|
||||
13
docs/en/documents/features/wish-export.md
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
headerDepth: 0
|
||||
---
|
||||
|
||||
# 原神祈愿记录导出 <Badge type="tip" text="UIGF" vertical="top" />
|
||||
|
||||
- 打开原神游戏本体,进入祈愿界面,点击 `历史记录`
|
||||
- 启动 Snap Genshin,从左侧菜单栏进入 `祈愿记录`
|
||||
- 点击右上角的 `代理模式刷新` 按钮
|
||||
- 第一次使用该功能时,Snap Genshin 需要添加证书至系统,你需要根据系统提示,允许 Snap Genshin 添加证书以保证祈愿记录导出功能正常
|
||||
- 根据提示,进入游戏祈愿功能并点击历史记录,等待祈愿记录获取完成
|
||||
|
||||

|
||||
35
docs/en/documents/statements/bug-report.md
Normal file
@@ -0,0 +1,35 @@
|
||||
---
|
||||
headerDepth: 0
|
||||
---
|
||||
|
||||
# 提交BUG报告
|
||||
|
||||
## 推荐方法
|
||||
|
||||
> 在你使用 Snap Hutao 时如果发现了可复现或不可自行修复的问题
|
||||
> 可以在 GitHub 上提交 Issues 来让我们知道。
|
||||
> 在提交问题时,你应当尽可能地详细描述问题。
|
||||
> 你的 Issue 中应包含程序抛出的**完整**异常信息,当没有异常信息时也可以添加能显示出异常状态的截图。
|
||||
> 如果你有能力在代码层面修复该问题,也欢迎你直接在对应的项目中发起 PR。
|
||||
|
||||
|
||||
- 客户端本体问题
|
||||
[DGP-Studio/Snap.Hutao](https://github.com/DGP-Studio/Snap.Hutao/issues/new/choose)
|
||||
|
||||
- 请求增加或更新文档
|
||||
[DGP-Studio/Snap.Hutao.Docs](https://github.com/DGP-Studio/Snap.Hutao.Docs/issues/new)
|
||||
|
||||
- 胡桃数据库网页问题
|
||||
[DGP-Studio/Snap.Genshin.HutaoWeb](https://github.com/DGP-Studio/Snap.Genshin.HutaoWeb/issues)
|
||||
|
||||
- 网页 API 问题
|
||||
[DGP-Studio/Snap.Genshin.WebAPI](https://github.com/DGP-Studio/Snap.Genshin.WebAPI/issues)
|
||||
|
||||
- 胡桃数据库 API 问题
|
||||
[DGP-Studio/Snap.Genshin.Website](https://github.com/DGP-Studio/Snap.Genshin.Website/issues)
|
||||
|
||||
## 其它途径
|
||||
|
||||
你也可以在QQ群中反馈问题,但这不是第一选项。
|
||||
|
||||
在即时通讯软件的群聊中汇报的问题很有可能被其它话题的聊天记录覆盖,使开发人员错过你的问题反馈。使用 GitHub Issues 提交问题既允许你有充足的时间丰富你对问题的描述,也可以使开发人员能在阅读时获得更加充足的信息以快速解决问题。
|
||||
23
docs/en/project.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# 项目说明
|
||||
|
||||
胡桃工具箱是一个正在开发的程序,其将继承 Snap Genshin 中的全部功能,并添加更多的功能。
|
||||
|
||||
已经完成迁移的功能将会在本站文档中提供指导说明,功能迁移和开发进度可以参阅下方表格
|
||||
|
||||
| 功能 | <img src="https://www.snapgenshin.com/logo/SGLogo.png" width="25" height="25"> Snap Genshin | <img src="https://image.snapgenshin.com/imgs/2022/09/27/fcb0499a6892c46f.png" width="25" height="25"> Snap Hutao |
|
||||
|:------------|--------------------------------------------------------------------------------------------:|:----------------------------------------------------------------------------------------------------------------:|
|
||||
| 米游社公告首页 | ✔ 正常 | ✔ 功能已迁移 |
|
||||
| 米游社帐号管理 | ✔ 正常 | ✏ 功能已部分迁移 |
|
||||
| 游戏启动器 | ✔ 正常 | 🚫 功能尚未迁移/ 计划中 |
|
||||
| 祈愿记录 | ✔ 正常 | ✔ 功能已迁移 |
|
||||
| WIKI - 日常材料 | ✔ 正常 | 🚫 功能尚未迁移/ 计划中 |
|
||||
| WIKI - 周常材料 | ✔ 正常 | 🚫 功能尚未迁移/ 计划中 |
|
||||
| WIKI - 角色资料 | ✔ 正常 | ✔ 功能已迁移 |
|
||||
| WIKI - 武器资料 | ✔ 正常 | 🚫 功能尚未迁移/ 计划中 |
|
||||
| 成就统计 | 🚫 停止维护 | ✔ 功能已迁移 |
|
||||
| 胡桃数据库 | ✔ 正常 | 🚫 功能尚未迁移/ 计划中 |
|
||||
| 养成计算器 | ✔ 正常 | 🚫 功能尚未迁移/ 计划中 |
|
||||
| 角色橱窗 | ✔ 正常 | 🚫 功能尚未迁移/ 计划中 |
|
||||
| 玩家查询 | ✔ 正常 | 🚫 功能尚未迁移/ 计划中 |
|
||||
| 自定义网页 | ✔ 正常 | 🚫 功能尚未迁移/ 计划中 |
|
||||
| 插件管理 | ✔ 正常 | 🚫 功能尚未迁移/ 计划中 |
|
||||
32
docs/en/quick-start.md
Normal file
@@ -0,0 +1,32 @@
|
||||
---
|
||||
pageClass: link-box
|
||||
externalLinkIcon: false
|
||||
---
|
||||
# 快速开始
|
||||
## 最低系统要求
|
||||
|要求|规格|
|
||||
|-|-|
|
||||
|**最低可运行系统版本**|Windows 10 1803 (10.0.17763.0)|
|
||||
|**推荐系统版本**|Windows 11 21H2 - 10.0.22000.0|
|
||||
|运行时**最低兼容版本**|.NET Desktop Runtime 6.0.2|
|
||||
|运行时**推荐版本**|.NET Desktop Runtime 6.0.5|
|
||||
|可选组件|WebView2 Runtime|
|
||||
|
||||
|
||||
## 下载胡桃工具箱
|
||||
|
||||
胡桃工具箱目前处于测试阶段,不断地将 Snap Genshin 的功能迁移至胡桃工具箱中。你可以在 GitHub 项目发布页面和我们的网盘中下载到最新的测试版程序
|
||||
- [从 GitHub 下载 ](https://github.com/DGP-Studio/Snap.Hutao/releases/)
|
||||
- [从网盘下载 ](https://go.hut.ao/archive)
|
||||
|
||||
## 安装胡桃工具箱
|
||||
- 在系统设置中打开`开发者设置`界面,勾选 `开发人员模式` 和 `允许 PowerShell 脚本`
|
||||
- 解压你刚刚下载的压缩包
|
||||
- 找到`Install.ps1`文件
|
||||
- 右键选择`使用PowerShell运行`
|
||||
- 按照提示允许PowerShell执行操作即可
|
||||
- 安装完成后回到第一步所在的设置页面,取消勾选 `允许 PowerShell 脚本`
|
||||
## 升级胡桃工具箱
|
||||
- 解压你下载的最新版本压缩包
|
||||
- 双击运行包中的`msix`文件
|
||||
- 在弹出的窗口中点击`升级`即可完成
|
||||
23
docs/project.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# 项目说明
|
||||
|
||||
胡桃工具箱是一个正在开发的程序,其将继承 Snap Genshin 中的全部功能,并添加更多的功能。
|
||||
|
||||
已经完成迁移的功能将会在本站文档中提供指导说明,功能迁移和开发进度可以参阅下方表格
|
||||
|
||||
| 功能 | <img src="https://www.snapgenshin.com/logo/SGLogo.png" width="25" height="25"> Snap Genshin | <img src="https://image.snapgenshin.com/imgs/2022/09/27/fcb0499a6892c46f.png" width="25" height="25"> Snap Hutao |
|
||||
|:------------|--------------------------------------------------------------------------------------------:|:----------------------------------------------------------------------------------------------------------------:|
|
||||
| 米游社公告首页 | ✔ 正常 | ✔ 功能已迁移 |
|
||||
| 米游社帐号管理 | ✔ 正常 | ✏ 功能已部分迁移 |
|
||||
| 游戏启动器 | ✔ 正常 | 🚫 功能尚未迁移/ 计划中 |
|
||||
| 祈愿记录 | ✔ 正常 | ✔ 功能已迁移 |
|
||||
| WIKI - 日常材料 | ✔ 正常 | 🚫 功能尚未迁移/ 计划中 |
|
||||
| WIKI - 周常材料 | ✔ 正常 | 🚫 功能尚未迁移/ 计划中 |
|
||||
| WIKI - 角色资料 | ✔ 正常 | ✔ 功能已迁移 |
|
||||
| WIKI - 武器资料 | ✔ 正常 | 🚫 功能尚未迁移/ 计划中 |
|
||||
| 成就统计 | 🚫 停止维护 | ✔ 功能已迁移 |
|
||||
| 胡桃数据库 | ✔ 正常 | 🚫 功能尚未迁移/ 计划中 |
|
||||
| 养成计算器 | ✔ 正常 | 🚫 功能尚未迁移/ 计划中 |
|
||||
| 角色橱窗 | ✔ 正常 | 🚫 功能尚未迁移/ 计划中 |
|
||||
| 玩家查询 | ✔ 正常 | 🚫 功能尚未迁移/ 计划中 |
|
||||
| 自定义网页 | ✔ 正常 | 🚫 功能尚未迁移/ 计划中 |
|
||||
| 插件管理 | ✔ 正常 | 🚫 功能尚未迁移/ 计划中 |
|
||||
32
docs/quick-start.md
Normal file
@@ -0,0 +1,32 @@
|
||||
---
|
||||
pageClass: link-box
|
||||
externalLinkIcon: false
|
||||
---
|
||||
# 快速开始
|
||||
## 最低系统要求
|
||||
|要求|规格|
|
||||
|-|-|
|
||||
|**最低可运行系统版本**|Windows 10 1803 (10.0.17763.0)|
|
||||
|**推荐系统版本**|Windows 11 21H2 - 10.0.22000.0|
|
||||
|运行时**最低兼容版本**|.NET Desktop Runtime 6.0.2|
|
||||
|运行时**推荐版本**|.NET Desktop Runtime 6.0.5|
|
||||
|可选组件|WebView2 Runtime|
|
||||
|
||||
|
||||
## 下载胡桃工具箱
|
||||
|
||||
胡桃工具箱目前处于测试阶段,不断地将 Snap Genshin 的功能迁移至胡桃工具箱中。你可以在 GitHub 项目发布页面和我们的网盘中下载到最新的测试版程序
|
||||
- [从 GitHub 下载 ](https://github.com/DGP-Studio/Snap.Hutao/releases/)
|
||||
- [从网盘下载 ](https://go.hut.ao/archive)
|
||||
|
||||
## 安装胡桃工具箱
|
||||
- 在系统设置中打开`开发者设置`界面,勾选 `开发人员模式` 和 `允许 PowerShell 脚本`
|
||||
- 解压你刚刚下载的压缩包
|
||||
- 找到`Install.ps1`文件
|
||||
- 右键选择`使用PowerShell运行`
|
||||
- 按照提示允许PowerShell执行操作即可
|
||||
- 安装完成后回到第一步所在的设置页面,取消勾选 `允许 PowerShell 脚本`
|
||||
## 升级胡桃工具箱
|
||||
- 解压你下载的最新版本压缩包
|
||||
- 双击运行包中的`msix`文件
|
||||
- 在弹出的窗口中点击`升级`即可完成
|
||||
14825
package-lock.json
generated
Normal file
18
package.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "snap.hutao.docs",
|
||||
"version": "2.0.0",
|
||||
"description": "Documents site for Snap Hutao project",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"docs:build": "vuepress build docs",
|
||||
"docs:clean-dev": "vuepress dev docs --clean-cache",
|
||||
"docs:dev": "vuepress dev docs"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vuepress/client": "2.0.0-beta.51",
|
||||
"vue": "^3.2.29",
|
||||
"vuepress": "2.0.0-beta.51",
|
||||
"vuepress-theme-hope": "2.0.0-beta.104"
|
||||
}
|
||||
}
|
||||