Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
gitcode_dev
开源百科
提交
8e5473f8
开
开源百科
项目概览
gitcode_dev
/
开源百科
通知
253
Star
3
Fork
3
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
17
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
代码片段
项目成员
Pages
开
开源百科
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
17
Issue
17
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
8e5473f8
编写于
9月 27, 2021
作者:
X
xjh22222228
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: loading
上级
5b7c5d18
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
48 addition
and
14 deletion
+48
-14
nav.config.ts
nav.config.ts
+4
-0
scripts/build.mjs
scripts/build.mjs
+12
-1
scripts/loading.js
scripts/loading.js
+30
-0
src/index.html
src/index.html
+1
-13
src/types/index.d.ts
src/types/index.d.ts
+1
-0
未找到文件。
nav.config.ts
浏览文件 @
8e5473f8
...
@@ -7,6 +7,10 @@ const c: IConfig = {
...
@@ -7,6 +7,10 @@ const c: IConfig = {
// 部署分支
// 部署分支
branch
:
'
main
'
,
branch
:
'
main
'
,
// 页面Loading: loading1 | loading2 | loading3 | random
// 如果您有好看的加载Loading请联系我们!
loading
:
'
random
'
,
// 随机加载
// 路由是否Hash模式, 如果是部署在github pages 务必设为 true
// 路由是否Hash模式, 如果是部署在github pages 务必设为 true
hashMode
:
true
,
hashMode
:
true
,
...
...
scripts/build.mjs
浏览文件 @
8e5473f8
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
import
fs
from
'
fs
'
import
fs
from
'
fs
'
import
config
from
'
../nav.config.js
'
import
config
from
'
../nav.config.js
'
import
path
from
'
path
'
import
path
from
'
path
'
import
LOAD_MAP
from
'
./loading.js
'
const
dbPath
=
path
.
join
(
'
.
'
,
'
data
'
,
'
db.json
'
)
const
dbPath
=
path
.
join
(
'
.
'
,
'
data
'
,
'
db.json
'
)
const
pkgPath
=
path
.
join
(
'
package.json
'
)
const
pkgPath
=
path
.
join
(
'
package.json
'
)
...
@@ -26,7 +27,8 @@ const {
...
@@ -26,7 +27,8 @@ const {
title
,
title
,
keywords
,
keywords
,
baiduStatisticsUrl
,
baiduStatisticsUrl
,
cnzzStatisticsUrl
cnzzStatisticsUrl
,
loading
}
=
config
.
default
}
=
config
.
default
const
s
=
gitRepoUrl
.
split
(
'
/
'
)
const
s
=
gitRepoUrl
.
split
(
'
/
'
)
...
@@ -35,6 +37,7 @@ const authorName = s[s.length - 2]
...
@@ -35,6 +37,7 @@ const authorName = s[s.length - 2]
const
repoName
=
s
[
s
.
length
-
1
]
const
repoName
=
s
[
s
.
length
-
1
]
const
htmlTemplate
=
`
const
htmlTemplate
=
`
<!-- https://github.com/xjh22222228/nav -->
<title>
${
title
}
</title>
<title>
${
title
}
</title>
<meta name="description" content="
${
description
}
">
<meta name="description" content="
${
description
}
">
<meta name="keywords" content="
${
keywords
}
">
<meta name="keywords" content="
${
keywords
}
">
...
@@ -103,6 +106,7 @@ async function build() {
...
@@ -103,6 +106,7 @@ async function build() {
t
=
t
.
replace
(
'
assets/logo.png
'
,
`https://raw.sevencdn.com/
${
authorName
}
/
${
repoName
}
/image/logo.png`
)
t
=
t
.
replace
(
'
assets/logo.png
'
,
`https://raw.sevencdn.com/
${
authorName
}
/
${
repoName
}
/image/logo.png`
)
t
=
t
.
replace
(
'
<!-- nav.seo -->
'
,
seoTemplate
)
t
=
t
.
replace
(
'
<!-- nav.seo -->
'
,
seoTemplate
)
t
=
t
.
replace
(
'
<!-- nav.loading -->
'
,
LOAD_MAP
[
getLoadKey
()]
||
''
)
fs
.
writeFileSync
(
htmlPath
,
t
,
{
encoding
:
'
utf-8
'
})
fs
.
writeFileSync
(
htmlPath
,
t
,
{
encoding
:
'
utf-8
'
})
fs
.
unlinkSync
(
'
./nav.config.js
'
)
fs
.
unlinkSync
(
'
./nav.config.js
'
)
...
@@ -112,3 +116,10 @@ async function build() {
...
@@ -112,3 +116,10 @@ async function build() {
buildSeo
()
buildSeo
()
.
finally
(()
=>
build
())
.
finally
(()
=>
build
())
.
catch
(
console
.
error
)
.
catch
(
console
.
error
)
function
getLoadKey
()
{
const
keys
=
Object
.
keys
(
LOAD_MAP
)
const
rand
=
Math
.
floor
(
Math
.
random
()
*
keys
.
length
)
const
loadingKey
=
loading
===
'
random
'
?
keys
[
rand
]
:
loading
return
loadingKey
}
scripts/loading.js
0 → 100644
浏览文件 @
8e5473f8
module
.
exports
=
{
loading1
:
`
<style>
@keyframes r {
0% { transform: rotate(0deg); } 100% { transform: rotate(45deg); }
}
svg.gear {
margin-bottom: 15px;
animation: r .5s infinite linear;
}
</style>
<div style="position: fixed;top: 0;left: 0;right: 0;bottom: 0;text-align: center;display: flex;justify-content: center;align-items: center;font-size: 14px; flex-direction: column;background: linear-gradient(45deg,#222428,#444856);">
<svg class="gear" style="width:64px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path id="p" fill="#fdb" d="M94.1 58.8c.6-2.8.9-5.8.9-8.8s-.3-6-.9-8.8l-11.7-.4c-.7-2.6-1.7-5-3-7.3l8-8.5c-3.3-4.9-7.5-9.2-12.5-12.5l-8.5 8c-2.3-1.3-4.7-2.3-7.3-3l-.3-11.6C56 5.3 53 5 50 5s-6 .3-8.8.9l-.4 11.7c-2.6.7-5 1.7-7.3 3l-8.5-8c-4.9 3.3-9.2 7.5-12.5 12.5l8 8.5c-1.3 2.3-2.3 4.7-3 7.3l-11.6.3C5.3 44 5 47 5 50s.3 6 .9 8.8l11.7.4c.7 2.6 1.7 5 3 7.3l-8 8.5c3.3 4.9 7.5 9.2 12.5 12.5l8.5-8c2.3 1.3 4.7 2.3 7.3 3l.4 11.7c2.7.5 5.7.8 8.7.8s6-.3 8.8-.9l.4-11.7c2.6-.7 5-1.7 7.3-3l8.5 8c4.9-3.3 9.2-7.5 12.5-12.5l-8-8.5c1.3-2.3 2.3-4.7 3-7.3l11.6-.3zM50 66.9c-9.3 0-16.9-7.6-16.9-16.9S40.7 33.1 50 33.1 66.9 40.7 66.9 50 59.3 66.9 50 66.9z"></path></svg>
<div style="color:#6c757d;font-size: 18px;">努力加载中...</div>
</div>
`
.
trim
(),
loading2
:
`
<style>
.error {z-index: 99999;background:#fff;position: fixed;top: 0;left: 0;right: 0;bottom: 0;overflow: hidden;}.error #totalbase {position: absolute;height: 10px;width: 10px;top: 50%;left: 50%;background-color: blue;transform-style: preserve-3d;perspective: 5000px;transform-origin: 0 0;transform: rotateX(60deg) rotateZ(45deg) translate(-50%, -50%);}.error #animbase {transform-style: preserve-3d;position: absolute;height: 700px;width: 10px;top: 50%;left: 50%;animation: anima 8s infinite linear;transform-origin: 0 0%;}.error #base {position: absolute;height: 10px;width: 10px;top: 0;left: 50%;background-color: blue;transform-style: preserve-3d;transform-origin: 0 0;transform: translate(-50%, -50%) rotateZ(90deg);}.error #baseshadow {position: absolute;height: 10px;width: 25px;top: 50%;left: 50%;background-color: #D3D3D3;transform-style: preserve-3d;box-shadow: 0 0 140px 27px gray;transform-origin: 0 0;transform: rotateZ(90deg) translateZ(-150px);}@keyframes anima {0% {transform: rotateZ(0deg) translate(-50%, -50%);}100% {transform: rotateZ(360deg) translate(-50%, -50%);}}.error .helitop {transform-style: preserve-3d;position: absolute;height: 39px;width: 39px;left: 50%;top: 50%;background-color: white;border: 1px solid black;transform: translate(-50%, -50%) rotateX(0deg) translateZ(20px);}.error .helifront {transform-style: preserve-3d;position: absolute;height: 39px;width: 39px;left: 50%;top: 50%;background-color: white;border: 1px solid black;transform: translate(-50%, -50%) rotateX(90deg) translateZ(-20px);}.error .heliback {transform-style: preserve-3d;position: absolute;height: 39px;width: 39px;left: 50%;top: 50%;transform: translate(-50%, -50%) rotateX(90deg) translateZ(20px);}.error .front1 {transform-style: preserve-3d;position: absolute;height: 19px;width: 39px;left: 50%;top: 50%;background-color: #f0f0f0;border: 1px solid black;transform: translate(-50%, -50%) translateZ(18px);cursor: pointer;}.error .front2 {position: absolute;height: 19px;width: 39px;left: 50%;top: 50%;background-color: #f0f0f0;border: 1px solid black;transform: translate(-50%, -50%) rotateX(60deg) translateZ(18px);}.error .front3 {position: absolute;height: 19px;width: 39px;left: 50%;top: 50%;background-color: #f0f0f0;border: 1px solid black;transform: translate(-50%, -50%) rotateX(-60deg) translateZ(18px);}.error .front4 {border-top: 18px solid #f0f0f0;border-left: 11px solid transparent;border-right: 11px solid transparent;height: 0;width: 20px;left: 50%;top: 50%;transform: translate(-50%, -50%) rotateY(90deg) rotateZ(90deg) translateZ(0px) translateX(19px) translateY(50%);}.error .front5 {border-top: 18px solid #f0f0f0;border-left: 11px solid transparent;border-right: 11px solid transparent;height: 0;width: 20px;left: 50%;top: 50%;transform: translate(-50%, -50%) rotateY(90deg) rotateZ(90deg) translateZ(39px) translateX(1px) translateY(50%);}.error .helileft {position: absolute;height: 39px;width: 39px;left: 50%;top: 50%;background-color: white;border: 1px solid black;transform: translate(-50%, -50%) rotateY(90deg) translateZ(-20px);}.error .heliright {position: absolute;height: 39px;width: 39px;left: 50%;top: 50%;background-color: white;border: 1px solid black;transform: translate(-50%, -50%) rotateY(90deg) translateZ(20px);}.error .helibottom {position: absolute;height: 39px;width: 39px;left: 50%;top: 50%;background-color: white;border: 1px solid black;transform: translate(-50%, -50%) translateZ(-20px);}.error .wingbase {transform-style: preserve-3d;position: absolute;height: 10px;width: 10px;bottom: 00%;left: 50%;background: white;transform-origin: 0 0;transform: translate(-50%, -50%);animation: anim 0.5s infinite linear;}@keyframes anim {0% {transform: rotateZ(0deg) translate(-50%, -50%);}100% {transform: rotateZ(360deg) translate(-50%, -50%);}}.error .wing1 {z-index: 10;position: absolute;height: 4px;width: 100px;left: 50%;top: 50%;background-color: #000000;border: 1px solid black;transform: translate(-50%, -50%) translateX(50%) translateZ(25px) rotateX(10deg);}.error .wing2 {z-index: 10;position: absolute;height: 4px;width: 100px;left: 50%;top: 50%;background-color: black;border: 1px solid black;transform: translate(-50%, -50%) translateX(-50%) translateZ(25px) rotateX(-10deg);}.error .col1 {position: absolute;height: 25px;width: 4px;left: 50%;top: 50%;background-color: white;border: 1px solid black;transform: translate(-50%, -50%) rotateX(90deg) translateY(50%) translateZ(3px);}.error .col2 {position: absolute;height: 25px;width: 4px;left: 50%;top: 50%;background-color: white;border: 1px solid black;transform: translate(-50%, -50%) rotateX(90deg) translateY(50%) translateZ(-3px);}.error .col3 {position: absolute;height: 25px;width: 4px;left: 50%;top: 50%;background-color: white;border: 1px solid black;transform: translate(-50%, -50%) rotateX(90deg) rotateY(90deg) translateY(50%) translateZ(-3px);}.error .col4 {position: absolute;height: 25px;width: 4px;left: 50%;top: 50%;background-color: white;border: 1px solid black;transform: translate(-50%, -50%) rotateX(90deg) rotateY(90deg) translateY(50%) translateZ(3px);}.error .tailbase {transform-style: preserve-3d;position: absolute;height: 10px;width: 10px;top: 50%;left: 50%;transform: translate(-50%, -50%);}.error .tail1 {transform-style: preserve-3d;position: absolute;height: 8px;width: 8px;border: 1px solid black;background-color: white;top: 0;left: 50%;transform: translate(-50%, 100%) translateZ(-100px);}.error .tail21 {transform-style: preserve-3d;position: absolute;height: 100px;width: 8px;top: 50%;left: 50%;background: white;border: 1px solid black;transform: translate(-50%, -50%) rotateX(90deg) translateY(50%) translateZ(5px);}.error .tail22 {transform-style: preserve-3d;position: absolute;height: 100px;width: 8px;top: 50%;left: 50%;background: white;border: 1px solid black;transform: translate(-50%, -50%) rotateX(90deg) translateY(50%) translateZ(-5px);}.error .tail23 {transform-style: preserve-3d;position: absolute;height: 100px;width: 8px;top: 50%;left: 50%;background: white;border: 1px solid black;transform: translate(-50%, -50%) rotateZ(90deg) rotateX(90deg) translateY(50%) translateZ(5px);}.error .tail24 {transform-style: preserve-3d;position: absolute;height: 100px;width: 8px;top: 50%;left: 50%;background: white;border: 1px solid black;transform: translate(-50%, -50%) rotateZ(90deg) rotateX(90deg) translateY(50%) translateZ(-5px);}.error .tail25 {transform-style: preserve-3d;position: absolute;height: 14px;width: 14px;top: 50%;left: 50%;border-left: 10px solid transparent;border-right: 10px solid transparent;border-top: 10px solid black;border-bottom: 10px solid transparent;transform: translate(-50%, -11px) rotateY(90deg) rotateZ(45deg) translateZ(-5px);}.error .tail26 {transform-style: preserve-3d;position: absolute;height: 14px;width: 14px;top: 50%;left: 50%;border-left: 10px solid transparent;border-right: 10px solid transparent;border-top: 10px solid black;border-bottom: 10px solid transparent;transform: translate(-50%, -11px) rotateY(90deg) rotateZ(45deg) translateZ(5px);}.error .tailwingbase {transform-style: preserve-3d;position: absolute;height: 10px;width: 10px;left: 50%;top: 0%;animation: animb 0.3s infinite linear;transform: translate(-50%, 0) rotateX(180deg);}@keyframes animb {0% {transform: translate(-50%, 0) rotateX(180deg) rotateZ(0deg);}100% {transform: translate(-50%, 0) rotateX(180deg) rotateZ(-360deg);}}.error .tail221 {transform-style: preserve-3d;position: absolute;height: 3px;width: 3px;top: 50%;left: 50%;background: white;border: 1px solid black;transform: translate(-50%, -50%) rotateX(90deg) translateY(50%) translateZ(2px);}.error .tail222 {transform-style: preserve-3d;position: absolute;height: 3px;width: 3px;top: 50%;left: 50%;background: white;border: 1px solid black;transform: translate(-50%, -50%) rotateX(90deg) translateY(50%) translateZ(-2px);}.error .tail223 {transform-style: preserve-3d;position: absolute;height: 3px;width: 3px;top: 50%;left: 50%;background: white;border: 1px solid black;transform: translate(-50%, -50%) rotateZ(90deg) rotateX(90deg) translateY(50%) translateZ(2px);}.error .tail224 {transform-style: preserve-3d;position: absolute;height: 3px;width: 3px;top: 50%;left: 50%;background: white;border: 1px solid black;transform: translate(-50%, -50%) rotateZ(90deg) rotateX(90deg) translateY(50%) translateZ(-2px);}.error .tailwing1 {position: absolute;height: 2px;width: 15px;left: 50%;top: 50%;background-color: #000000;border: 1px solid black;transform: translate(-50%, -50%) translateX(50%) translateZ(5px) rotateX(30deg);}.error .tailwing2 {position: absolute;height: 2px;width: 15px;left: 50%;top: 50%;background-color: black;border: 1px solid black;transform: translate(-50%, -50%) translateX(-50%) translateZ(5px) rotateX(-30deg);}.error #towerbase {position: absolute;height: 40px;width: 40px;top: 50%;left: 50%;background-color: blue;box-shadow: 0 0 60px 5px black;transform-style: preserve-3d;transform-origin: 0 0;transform: translate(-50%, -50%) translateZ(-150px);}.error .tower1left {position: absolute;height: 40px;width: 200px;left: 50%;top: 50%;background-color: white;border: 1px solid black;transform: translate(-50%, -50%) rotateY(90deg) translateX(-50%) translateZ(20px);}.error .tower1right {position: absolute;height: 200px;width: 40px;left: 50%;top: 50%;background-color: white;border: 1px solid black;transform: translate(-50%, -50%) rotateX(90deg) translateY(50%) translateZ(-20px);}.error .tower1top {transform-style: preserve-3d;position: absolute;height: 80px;width: 80px;left: 50%;top: 50%;background-color: white;border: 1px solid black;transform: translate(-50%, -50%) translateZ(240px);}.error .tower2top {transform-style: preserve-3d;position: absolute;height: 80px;width: 80px;left: 50%;top: 50%;background-color: white;border: 1px solid black;transform: translate(-50%, -50%) translateZ(200px);}.error .tower2left {position: absolute;height: 78px;width: 22px;left: 50%;top: 50%;border-top: 1px solid white;border-bottom: 1px solid white;border-left: 10px solid white;border-right: 10px solid white;outline: 1px solid black;transform: translate(-10px, -50%) rotateY(90deg) translateX(-220px) translateZ(30px);}.error .tower1window {position: absolute;height: 22px;width: 75px;left: 50%;top: 50%;background-color: #d3d3d3;opacity: 0.8;transform: translate(-50%, -50%);}.error .tower2window {position: absolute;height: 75px;width: 22px;left: 50%;top: 50%;background-color: #d3d3d3;opacity: 0.8;transform: translate(-50%, -50%);}.error .tower2right {position: absolute;height: 22px;width: 78px;left: 50%;top: 50%;border-top: 10px solid white;border-bottom: 10px solid white;border-left: 1px solid white;border-right: 1px solid white;outline: 1px solid black;transform: translate(-50%, -11px) rotateX(90deg) translateY(220px) translateZ(-30px);}</style>
<section class="error"><div id="totalbase"><div id="animbase"v-pre><div id="base"><div id="baseshadow"></div><div class="helitop"><div class="wingbase"><div class="col1"></div><div class="col2"></div><div class="col3"></div><div class="col4"></div><div class="wing1"></div><div class="wing2"></div></div></div><div class="helifront"><div class="tailbase"><div class="tail1"><div class="tail21"></div><div class="tail22"></div><div class="tail23"></div><div class="tail24"><div class="tailwingbase"><div class="tail221"></div><div class="tail222"></div><div class="tail223"></div><div class="tail224"></div><div class="tailwing1"></div><div class="tailwing2"></div></div></div></div><div class="tail25"></div><div class="tail26"></div></div></div><div class="heliback"><div class="front1"></div><div class="front2"></div><div class="front3"></div><div class="front4"></div><div class="front5"></div></div><div class="helileft"></div><div class="heliright"></div><div class="helibottom"></div></div></div><div id="towerbase"><div class="tower1left"></div><div class="tower1right"></div><div class="tower2right"><div class="tower1window"></div></div><div class="tower1top"><div class="front1"@click="goHome"><div class="col1"></div><div class="col2"></div><div class="col3"></div><div class="col4"></div></div><div class="front2"></div><div class="front3"></div></div><div class="tower2top"></div><div class="tower2left"><div class="tower2window"></div></div></div></div></section>
`
.
trim
(),
loading3
:
`
.l__1{z-index:999;position:fixed;top:0;left:0;right:0;bottom:0;background-color:#fff;display:flex;align-items:center;justify-content:center;flex-direction:column;}.l__2{width:200px;height:200px;background:url("https://cdn.jsdelivr.net/gh/xjh22222228/public@gh-pages/nav/0020f4d5-9f70-4b7f-87d4-61310d1db8d1.svg");background-repeat:repeat;}.l__3{font-size:18px;margin-top:15px;font-weight:bold;color:#000;}
<div class="l__1"><div class="l__2"></div><div class="l__3">......</div></div>
`
.
trim
()
}
src/index.html
浏览文件 @
8e5473f8
...
@@ -34,23 +34,11 @@
...
@@ -34,23 +34,11 @@
<link
rel =
"apple-touch-icon"
href=
"assets/logo.png"
>
<link
rel =
"apple-touch-icon"
href=
"assets/logo.png"
>
<!-- nav.config -->
<!-- nav.config -->
<link
rel=
"stylesheet"
href=
"//at.alicdn.com/t/font_2267418_9g7l2chchxs.css"
>
<link
rel=
"stylesheet"
href=
"//at.alicdn.com/t/font_2267418_9g7l2chchxs.css"
>
<style>
@keyframes
r
{
0
%
{
transform
:
rotate
(
0deg
);
}
100
%
{
transform
:
rotate
(
45deg
);
}
}
svg
.gear
{
margin-bottom
:
15px
;
animation
:
r
.5s
infinite
linear
;
}
</style>
</head>
</head>
<body>
<body>
<app-xiejiahe>
<app-xiejiahe>
<div
style=
"position: fixed;top: 0;left: 0;right: 0;bottom: 0;text-align: center;display: flex;justify-content: center;align-items: center;font-size: 14px; flex-direction: column;background: linear-gradient(45deg,#222428,#444856);"
>
<!-- nav.loading -->
<svg
class=
"gear"
style=
"width:64px"
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 0 100 100"
><path
id=
"p"
fill=
"#fdb"
d=
"M94.1 58.8c.6-2.8.9-5.8.9-8.8s-.3-6-.9-8.8l-11.7-.4c-.7-2.6-1.7-5-3-7.3l8-8.5c-3.3-4.9-7.5-9.2-12.5-12.5l-8.5 8c-2.3-1.3-4.7-2.3-7.3-3l-.3-11.6C56 5.3 53 5 50 5s-6 .3-8.8.9l-.4 11.7c-2.6.7-5 1.7-7.3 3l-8.5-8c-4.9 3.3-9.2 7.5-12.5 12.5l8 8.5c-1.3 2.3-2.3 4.7-3 7.3l-11.6.3C5.3 44 5 47 5 50s.3 6 .9 8.8l11.7.4c.7 2.6 1.7 5 3 7.3l-8 8.5c3.3 4.9 7.5 9.2 12.5 12.5l8.5-8c2.3 1.3 4.7 2.3 7.3 3l.4 11.7c2.7.5 5.7.8 8.7.8s6-.3 8.8-.9l.4-11.7c2.6-.7 5-1.7 7.3-3l8.5 8c4.9-3.3 9.2-7.5 12.5-12.5l-8-8.5c1.3-2.3 2.3-4.7 3-7.3l11.6-.3zM50 66.9c-9.3 0-16.9-7.6-16.9-16.9S40.7 33.1 50 33.1 66.9 40.7 66.9 50 59.3 66.9 50 66.9z"
></path></svg>
<div
style=
"color:#6c757d;font-size: 18px;"
>
努力加载中...
</div>
</div>
</app-xiejiahe>
</app-xiejiahe>
<script
src=
"./assets/js/jquery.min.js"
></script>
<script
src=
"./assets/js/jquery.min.js"
></script>
...
...
src/types/index.d.ts
浏览文件 @
8e5473f8
...
@@ -69,6 +69,7 @@ export interface ISearchEngineProps {
...
@@ -69,6 +69,7 @@ export interface ISearchEngineProps {
export
interface
IConfig
{
export
interface
IConfig
{
gitRepoUrl
:
string
gitRepoUrl
:
string
branch
:
string
branch
:
string
loading
?:
string
hashMode
:
boolean
hashMode
:
boolean
homeUrl
?:
string
homeUrl
?:
string
title
:
string
title
:
string
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录