Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
GitCode官方
开源百科
提交
5f49932f
开
开源百科
项目概览
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,发现更多精彩内容 >>
提交
5f49932f
编写于
12月 19, 2020
作者:
X
xjh22222228
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: light
上级
e4790226
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
10 addition
and
65 deletion
+10
-65
README.md
README.md
+6
-5
src/view/index/light/index.component.html
src/view/index/light/index.component.html
+1
-1
src/view/index/light/index.component.scss
src/view/index/light/index.component.scss
+2
-58
src/view/index/light/index.component.ts
src/view/index/light/index.component.ts
+1
-1
未找到文件。
README.md
浏览文件 @
5f49932f
...
@@ -84,7 +84,7 @@ Thank you for your [contribution](https://github.com/xjh22222228/nav/issues), me
...
@@ -84,7 +84,7 @@ Thank you for your [contribution](https://github.com/xjh22222228/nav/issues), me
##
构建设置
##
开发构建
```
bash
```
bash
# 下载
# 下载
git clone
--depth
=
1 https://github.com/xjh22222228/nav.git
git clone
--depth
=
1 https://github.com/xjh22222228/nav.git
...
@@ -100,7 +100,7 @@ npm run build
...
@@ -100,7 +100,7 @@ npm run build
```
```
##
如何部署?
##
部署
推荐使用
`github pages`
服务, 这样就不需要提供服务器, 并且项目里自带了自动化部署服务,像数
`321`
一样简单。
推荐使用
`github pages`
服务, 这样就不需要提供服务器, 并且项目里自带了自动化部署服务,像数
`321`
一样简单。
1、Fork 当前项目。
1、Fork 当前项目。
...
@@ -132,6 +132,10 @@ server {
...
@@ -132,6 +132,10 @@ server {
```
```
## 配置
所有可配置位于文件
`config/index.ts`
。
## 更新数据
## 更新数据
只需要关注根目录
`data`
文件夹, 如果你使用了上面教程提供的自动化部署服务,那么当更新数据后大概5分钟即可看到。
只需要关注根目录
`data`
文件夹, 如果你使用了上面教程提供的自动化部署服务,那么当更新数据后大概5分钟即可看到。
...
@@ -158,9 +162,6 @@ server {
...
@@ -158,9 +162,6 @@ server {
## 配置
所有可配置位于文件
`config/index.ts`
。
## 图标
## 图标
图标是支持继承的,每一级的
`icon`
字段都是可选,如果当前没有就会继承上一级Icon,
图标是支持继承的,每一级的
`icon`
字段都是可选,如果当前没有就会继承上一级Icon,
...
...
src/view/index/light/index.component.html
浏览文件 @
5f49932f
...
@@ -80,7 +80,7 @@
...
@@ -80,7 +80,7 @@
<div
class=
"desc dark-border-color dark-text"
[innerHtml]=
"el.desc"
></div>
<div
class=
"desc dark-border-color dark-text"
[innerHtml]=
"el.desc"
></div>
</a>
</a>
<app-multiple-site
[dataSource]=
"el
e
"
></app-multiple-site>
<app-multiple-site
[dataSource]=
"el"
></app-multiple-site>
</div>
</div>
</div>
</div>
</li>
</li>
...
...
src/view/index/light/index.component.scss
浏览文件 @
5f49932f
...
@@ -140,62 +140,6 @@
...
@@ -140,62 +140,6 @@
font-size
:
12px
;
font-size
:
12px
;
}
}
.mark
{
z-index
:
28
;
position
:
absolute
;
bottom
:
-50px
;
left
:
0
;
width
:
100%
;
padding
:
10px
0
5px
0px
;
background
:
#fbfbfb
;
cursor
:
auto
;
display
:
flex
;
justify-content
:
center
;
align-content
:
center
;
transition
:
.1s
linear
;
.button-box
{
width
:
100%
;
text-align
:
center
;
}
a
{
display
:
inline-block
;
position
:
relative
;
width
:
50px
;
font-size
:
12px
;
padding
:
3px
0
;
border
:
none
;
background
:
#2db7f5
;
color
:
#fff
;
border-radius
:
3px
;
overflow
:
hidden
;
&
:not
(
:nth-last-child
(
1
))
{
margin-right
:
10px
;
}
&
:after
{
content
:
""
;
position
:
absolute
;
top
:
0
;
left
:
0
;
right
:
0
;
bottom
:
0
;
background
:
#000
;
opacity
:
0
;
}
&
:active:after
{
opacity
:
.2
;
}
}
.zh
{
background
:
#26a2ff
;
}
}
.title-wrapper
{
.title-wrapper
{
border-bottom
:
1px
solid
#ccc
;
border-bottom
:
1px
solid
#ccc
;
padding
:
10px
30px
10px
15px
;
padding
:
10px
30px
10px
15px
;
...
@@ -240,8 +184,8 @@
...
@@ -240,8 +184,8 @@
&
:hover
{
&
:hover
{
.mark
{
::ng-deep
.mark
{
bottom
:
0
;
bottom
:
0
!
important
;
}
}
}
}
}
}
...
...
src/view/index/light/index.component.ts
浏览文件 @
5f49932f
...
@@ -32,7 +32,7 @@ export default class HomeComponent {
...
@@ -32,7 +32,7 @@ export default class HomeComponent {
showInput
=
false
showInput
=
false
GIT_REPO_URL
:
string
=
GIT_REPO_URL
GIT_REPO_URL
:
string
=
GIT_REPO_URL
ngOnInit
()
{
ngOnInit
()
{
randomBgImg
()
randomBgImg
()
const
initList
=
()
=>
{
const
initList
=
()
=>
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录