Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
GitCode官方
开源百科
提交
02604a27
开
开源百科
项目概览
GitCode官方
/
开源百科
与 Fork 源项目一致
Fork自
gitcode_dev / 开源百科
通知
6
Star
3
Fork
4
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
开
开源百科
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
02604a27
编写于
11月 02, 2020
作者:
X
xjh22222228
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update
上级
a5efa7d2
变更
6
显示空白变更内容
内联
并排
Showing
6 changed file
with
13 addition
and
14 deletion
+13
-14
README.md
README.md
+1
-1
config/index.ts
config/index.ts
+3
-2
data/study/docs.ts
data/study/docs.ts
+6
-0
src/app/app.component.html
src/app/app.component.html
+1
-7
src/app/app.component.scss
src/app/app.component.scss
+0
-2
src/app/app.component.ts
src/app/app.component.ts
+2
-2
未找到文件。
README.md
浏览文件 @
02604a27
...
...
@@ -30,7 +30,7 @@
## 拥有出色的特性
-
[√] 内置
`
7
00+`
实用网站。
-
[√] 内置
`
8
00+`
实用网站。
-
[√] 三叉树分类、结构清晰、分类清晰。
-
[√] 颜值与简约并存,不再是杀马特时代。
-
[√] 支持3种浏览模式,创新。
...
...
config/index.ts
浏览文件 @
02604a27
...
...
@@ -19,9 +19,10 @@ export const webpLanguage = [
// 如果没有请赋值空字符串
export
const
git
=
'
https://github.com/xjh22222228/nav
'
;
export
const
caseNumber
=
'
粤ICP备16052285号
'
;
// 网站底部描述, 可以是 HTML
export
const
FOOTER_DESC
=
''
;
// http://
nav.xiejiahe.com
/#/index?q=grabient
// http://
www.nav3.cn
/#/index?q=grabient
export
const
BACKGROUND_LINEAR
=
[
'
linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%)
'
,
'
linear-gradient(90deg, #FEE140 0%, #FA709A 100%)
'
,
...
...
data/study/docs.ts
浏览文件 @
02604a27
...
...
@@ -143,6 +143,12 @@ export default {
desc
:
'
IT类技术书籍PDF
'
,
link
:
'
https://github.com/asyncfun/IT-eBOOK
'
,
},
{
icon
:
'
https://refactoringguru.cn/favicon.ico
'
,
name
:
'
Refactoring.Guru
'
,
desc
:
'
22种常用设计模式
'
,
link
:
'
https://refactoringguru.cn/design-patterns
'
,
},
]
},
{
...
...
src/app/app.component.html
浏览文件 @
02604a27
...
...
@@ -12,16 +12,10 @@
<footer
class=
"footer"
>
<div>
<a
[href]=
"git"
target=
"_blank"
>
<img
src=
"https://img.shields.io/github/stars/xjh22222228/nav?style=social"
alt=
""
style=
"margin-right: 6px;transform: scale(.9);"
>
<img
src=
"https://img.shields.io/github/forks/xjh22222228/nav?style=social"
alt=
""
style=
"margin-left: 6px;transform: scale(.9);"
>
</a>
<span
class=
"total"
>
共收录 {{ includeTotal }} 个网站
</span>
</div>
<div
class=
"copyright"
*ngIf=
"caseNumber"
>
<a
href=
"https://beian.miit.gov.cn/"
target=
"_blank"
>
粤ICP备16052285号
</a>
</div>
<div
class=
"copyright"
*ngIf=
"FOOTER_DESC"
[innerHTML]=
"FOOTER_DESC"
></div>
</footer>
</div>
...
...
src/app/app.component.scss
浏览文件 @
02604a27
...
...
@@ -8,7 +8,6 @@
text-align
:
center
;
margin-top
:
10px
;
color
:
#fff
;
font-size
:
12px
;
.total
{
margin-left
:
5px
;
...
...
@@ -21,7 +20,6 @@
}
.copyright
>
*
{
font-size
:
12px
;
color
:
#fff
;
}
}
...
...
src/app/app.component.ts
浏览文件 @
02604a27
import
{
Component
}
from
'
@angular/core
'
;
import
{
Router
,
ActivatedRoute
}
from
'
@angular/router
'
;
import
nav
from
'
../../data
'
;
import
{
BACKGROUND_LINEAR
,
git
,
caseNumber
}
from
'
../../config
'
;
import
{
BACKGROUND_LINEAR
,
git
,
FOOTER_DESC
}
from
'
../../config
'
;
import
{
randomInt
}
from
'
../utils
'
;
@
Component
({
...
...
@@ -15,7 +15,7 @@ export class AppComponent {
nav
:
Array
<
any
>
=
nav
;
includeTotal
:
number
=
0
;
git
:
string
=
git
;
caseNumber
:
string
=
caseNumber
;
FOOTER_DESC
:
string
=
FOOTER_DESC
;
ngOnInit
()
{
const
hash
=
window
.
location
.
hash
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录