Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
GitCode官方
开源百科
提交
531d5380
开
开源百科
项目概览
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,发现更多精彩内容 >>
提交
531d5380
编写于
7月 29, 2018
作者:
X
xiejiahe
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add page1 nav
上级
14fc1187
变更
3
展开全部
隐藏空白更改
内联
并排
Showing
3 changed file
with
34 addition
and
32 deletion
+34
-32
bundle.js
bundle.js
+2
-2
index.html
index.html
+31
-28
index.js
index.js
+1
-2
未找到文件。
bundle.js
浏览文件 @
531d5380
此差异已折叠。
点击以展开。
index.html
浏览文件 @
531d5380
<!DOCTYPE html>
<!--
_.._ ,
++++++++++++.
,' `. ( We want you!
)
/ __) __` \ `-,
+++++++++++'
( (`-`(-') )
_.-'
/) \ = / (
/' |++' . \
( ,+++| `-.)__`
)( `-.,++' _`-.
'/,' ( Uu",
(_ , `/,-' )
`.__, : `-'/ /`++'
| `++' |
` `-._ /
\ (
/\ . \.
/ |` \ ,-\
/ \| .) / \
( ,'|\ ,' :
| \,`.`++"/ }
`,' \ |,' /
/ "-._ `-/ |
"-. "-.,'| ;
/ _/["+++'""]
: / |"- '
' | /
` |
_.._ ,+++++++++++++++++++++++++++++++++++++
++++++++++++.
,' `. ( We want you! https://github.com/xjh22222228/nav
)
/ __) __` \ `-,++++++++++++++++++++++++++++++++++++
+++++++++++'
( (`-`(-') ) ______________________
_.-'
/) \ = / (
/' |++' . \
( ,+++| `-.)__`
)( `-.,++' _`-.
'/,' ( Uu",
(_ , `/,-' )
`.__, : `-'/ /`++'
| `++' |
` `-._ /
\ (
/\ . \.
/ |` \ ,-\
/ \| .) / \
( ,'|\ ,' :
| \,`.`++"/ }
`,' \ |,' /
/ "-._ `-/ |
"-. "-.,'| ;
/ _/["+++'""]
: / |"- '
' | /
` |
-->
<html
ng-app=
"xiejiahe"
>
<head>
...
...
@@ -45,7 +45,7 @@
(
function
(){
try
{
var
b
=
navigator
.
appName
,
v
=
navigator
.
appVersion
,
vp
=
v
.
split
(
"
;
"
),
t_v
=
vp
[
1
].
replace
(
/
[
]
/g
,
""
),
tvt
=
t_v
.
substr
(
4
);
if
(
b
==
"
Microsoft Internet Explorer
"
&&
tvt
<=
9
){
alert
(
'
当前浏览器存在安全隐患
'
);}}
catch
(
e
){}})();
</script>
</head>
<body
data-latest-update-time=
"2018-07-
18
"
>
<body
data-latest-update-time=
"2018-07-
29
"
>
<div
id=
"xiejiahe"
ng-controller=
"controller"
ng-cloak=
"https://github.com/xjh22222228"
>
<img
src=
"./icon/top.svg"
alt=
"top"
class=
"scroll-top"
>
<aside
class=
"sidebar user-select-none"
>
...
...
@@ -109,7 +109,10 @@
<div>
<a
href=
"https://github.com/xjh22222228/nav"
target=
"_blank"
>
本站仓库
</a>
<em>
|
</em>
<a
href=
"https://github.com/xjh22222228/nav/issues"
target=
"_blank"
>
贡献导航
</a>
<a
href=
"https://github.com/xjh22222228/nav/issues"
target=
"_blank"
>
贡献导航
</a>
<a
style=
"line-height: 40px;margin-left: 5px;"
href=
"https://github.com/xjh22222228/nav"
target=
"_blank"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"90"
height=
"20"
><style>a
#llink
:hover
{
fill
:
url(#b)
;
stroke
:
#ccc
}
a
#rlink
:hover
{
fill
:
#4183c4
}
</style><linearGradient
id=
"a"
x2=
"0"
y2=
"100%"
><stop
offset=
"0"
stop-color=
"#fcfcfc"
stop-opacity=
"0"
/><stop
offset=
"1"
stop-opacity=
".1"
/></linearGradient><linearGradient
id=
"b"
x2=
"0"
y2=
"100%"
><stop
offset=
"0"
stop-color=
"#ccc"
stop-opacity=
".1"
/><stop
offset=
"1"
stop-opacity=
".1"
/></linearGradient><g
stroke=
"#d5d5d5"
><rect
stroke=
"none"
fill=
"#fcfcfc"
x=
".5"
y=
".5"
width=
"50"
height=
"19"
rx=
"2"
/><rect
y=
".5"
x=
"56.5"
width=
"33"
height=
"19"
rx=
"2"
fill=
"#fafafa"
/><path
stroke=
"#fafafa"
d=
"M56 7.5h.5v5h-.5z"
/><path
d=
"M56.5 6.5l-3 3v1l3 3"
stroke=
"d5d5d5"
fill=
"#fafafa"
/></g><image
x=
"5"
y=
"3"
width=
"14"
height=
"14"
xlink:href=
"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgdmlld0JveD0iMTIgMTIgNDAgNDAiPgo8cGF0aCBmaWxsPSIjMzMzMzMzIiBkPSJNMzIsMTMuNGMtMTAuNSwwLTE5LDguNS0xOSwxOWMwLDguNCw1LjUsMTUuNSwxMywxOGMxLDAuMiwxLjMtMC40LDEuMy0wLjljMC0wLjUsMC0xLjcsMC0zLjIgYy01LjMsMS4xLTYuNC0yLjYtNi40LTIuNkMyMCw0MS42LDE4LjgsNDEsMTguOCw0MWMtMS43LTEuMiwwLjEtMS4xLDAuMS0xLjFjMS45LDAuMSwyLjksMiwyLjksMmMxLjcsMi45LDQuNSwyLjEsNS41LDEuNiBjMC4yLTEuMiwwLjctMi4xLDEuMi0yLjZjLTQuMi0wLjUtOC43LTIuMS04LjctOS40YzAtMi4xLDAuNy0zLjcsMi01LjFjLTAuMi0wLjUtMC44LTIuNCwwLjItNWMwLDAsMS42LTAuNSw1LjIsMiBjMS41LTAuNCwzLjEtMC43LDQuOC0wLjdjMS42LDAsMy4zLDAuMiw0LjcsMC43YzMuNi0yLjQsNS4yLTIsNS4yLTJjMSwyLjYsMC40LDQuNiwwLjIsNWMxLjIsMS4zLDIsMywyLDUuMWMwLDcuMy00LjUsOC45LTguNyw5LjQgYzAuNywwLjYsMS4zLDEuNywxLjMsMy41YzAsMi42LDAsNC42LDAsNS4yYzAsMC41LDAuNCwxLjEsMS4zLDAuOWM3LjUtMi42LDEzLTkuNywxMy0xOC4xQzUxLDIxLjksNDIuNSwxMy40LDMyLDEzLjR6Ii8+Cjwvc3ZnPgo="
/><g
fill=
"#333"
text-anchor=
"middle"
font-family=
"Helvetica Neue,Helvetica,Arial,sans-serif"
font-weight=
"700"
font-size=
"110"
><text
x=
"335"
y=
"150"
fill=
"#fff"
transform=
"scale(.1)"
textLength=
"230"
>
Star
</text><text
x=
"335"
y=
"140"
transform=
"scale(.1)"
textLength=
"230"
>
Star
</text><text
x=
"725"
y=
"150"
fill=
"#fff"
transform=
"scale(.1)"
textLength=
"250"
>
1319
</text><a
target=
"_blank"
xlink:href=
"https://github.com/xjh22222228/nav"
><text
id=
"rlink"
x=
"725"
y=
"140"
transform=
"scale(.1)"
textLength=
"250"
>
100+
</text></a>
</g><a
target=
"_blank"
xlink:href=
"https://github.com/xjh22222228/nav"
><rect
id=
"llink"
stroke=
"#d5d5d5"
fill=
"url(#a)"
x=
".5"
y=
".5"
width=
"50"
height=
"19"
rx=
"2"
/></a></svg>
</a>
</div>
</footer>
</section>
...
...
index.js
浏览文件 @
531d5380
...
...
@@ -10,8 +10,7 @@ import page7 from './data/page7'
import
page8
from
'
./data/page8
'
import
page99
from
'
./data/page99
'
var
_hmt
=
_hmt
||
[];(
function
()
{
var
hm
=
document
.
createElement
(
"
script
"
);
hm
.
src
=
"
https://hm.baidu.com/hm.js?15a99cb1c1eea969bcc1da33d0d8763b
"
;
var
s
=
document
.
getElementsByTagName
(
"
script
"
)[
0
];
s
.
parentNode
.
insertBefore
(
hm
,
s
);})();
!
function
(
a
,
b
,
c
){
a
.
ripple
=
function
(
d
,
e
){
var
f
=
this
,
g
=
f
.
log
=
function
(){
f
.
defaults
.
debug
&&
console
&&
console
.
log
&&
console
.
log
.
apply
(
console
,
arguments
)};
f
.
selector
=
d
,
f
.
defaults
=
{
debug
:
!
1
,
on
:
"
mousedown
"
,
opacity
:.
4
,
color
:
"
auto
"
,
multi
:
!
1
,
duration
:.
7
,
rate
:
function
(
a
){
return
a
},
easing
:
"
linear
"
},
f
.
defaults
=
a
.
extend
({},
f
.
defaults
,
e
);
var
h
=
function
(
b
){
var
d
,
e
,
h
=
a
(
this
);
if
(
h
.
addClass
(
"
has-ripple
"
),
e
=
a
.
extend
({},
f
.
defaults
,
h
.
data
()),
e
.
multi
||!
e
.
multi
&&
0
===
h
.
find
(
"
.ripple
"
).
length
){
if
(
d
=
a
(
"
<span></span>
"
).
addClass
(
"
ripple
"
),
d
.
appendTo
(
h
),
g
(
"
Create: Ripple
"
),
!
d
.
height
()
&&!
d
.
width
()){
var
i
=
c
.
max
(
h
.
outerWidth
(),
h
.
outerHeight
());
d
.
css
({
height
:
i
,
width
:
i
}),
g
(
"
Set: Ripple size
"
)}
if
(
e
.
rate
&&
"
function
"
==
typeof
e
.
rate
){
var
j
=
c
.
round
(
d
.
width
()
/
e
.
duration
),
k
=
e
.
rate
(
j
),
l
=
d
.
width
()
/
k
;
e
.
duration
.
toFixed
(
2
)
!==
l
.
toFixed
(
2
)
&&
(
g
(
"
Update: Ripple Duration
"
,{
from
:
e
.
duration
,
to
:
l
}),
e
.
duration
=
l
)}
var
m
=
"
auto
"
==
e
.
color
?
h
.
css
(
"
color
"
):
e
.
color
,
n
=
{
animationDuration
:
e
.
duration
.
toString
()
+
"
s
"
,
animationTimingFunction
:
e
.
easing
,
background
:
m
,
opacity
:
e
.
opacity
};
g
(
"
Set: Ripple CSS
"
,
n
),
d
.
css
(
n
)}
e
.
multi
||
(
g
(
"
Set: Ripple Element
"
),
d
=
h
.
find
(
"
.ripple
"
)),
g
(
"
Destroy: Ripple Animation
"
),
d
.
removeClass
(
"
ripple-animate
"
);
var
o
=
b
.
pageX
-
h
.
offset
().
left
-
d
.
width
()
/
2
,
p
=
b
.
pageY
-
h
.
offset
().
top
-
d
.
height
()
/
2
;
e
.
multi
&&
(
g
(
"
Set: Ripple animationend event
"
),
d
.
one
(
"
animationend webkitAnimationEnd oanimationend MSAnimationEnd
"
,
function
(){
g
(
"
Note: Ripple animation ended
"
),
g
(
"
Destroy: Ripple
"
),
a
(
this
).
remove
()})),
g
(
"
Set: Ripple location
"
),
g
(
"
Set: Ripple animation
"
),
d
.
css
({
top
:
p
+
"
px
"
,
left
:
o
+
"
px
"
}).
addClass
(
"
ripple-animate
"
)};
a
(
b
).
on
(
f
.
defaults
.
on
,
f
.
selector
,
h
)}}(
$
,
document
,
Math
);
$
.
ripple
.
version
=
"
1.2.1
"
;
var
_hmt
=
_hmt
||
[];(
function
()
{
var
hm
=
document
.
createElement
(
"
script
"
);
hm
.
src
=
"
https://hm.baidu.com/hm.js?15a99cb1c1eea969bcc1da33d0d8763b
"
;
var
s
=
document
.
getElementsByTagName
(
"
script
"
)[
0
];
s
.
parentNode
.
insertBefore
(
hm
,
s
);})();
!
function
(
a
,
b
,
c
){
a
.
ripple
=
function
(
d
,
e
){
var
f
=
this
,
g
=
f
.
log
=
function
(){
f
.
defaults
.
debug
&&
console
&&
console
.
log
&&
console
.
log
.
apply
(
console
,
arguments
)};
f
.
selector
=
d
,
f
.
defaults
=
{
debug
:
!
1
,
on
:
"
mousedown
"
,
opacity
:.
4
,
color
:
"
auto
"
,
multi
:
!
1
,
duration
:.
7
,
rate
:
function
(
a
){
return
a
},
easing
:
"
linear
"
},
f
.
defaults
=
a
.
extend
({},
f
.
defaults
,
e
);
var
h
=
function
(
b
){
var
d
,
e
,
h
=
a
(
this
);
if
(
h
.
addClass
(
"
has-ripple
"
),
e
=
a
.
extend
({},
f
.
defaults
,
h
.
data
()),
e
.
multi
||!
e
.
multi
&&
0
===
h
.
find
(
"
.ripple
"
).
length
){
if
(
d
=
a
(
"
<span></span>
"
).
addClass
(
"
ripple
"
),
d
.
appendTo
(
h
),
g
(
"
Create: Ripple
"
),
!
d
.
height
()
&&!
d
.
width
()){
var
i
=
c
.
max
(
h
.
outerWidth
(),
h
.
outerHeight
());
d
.
css
({
height
:
i
,
width
:
i
}),
g
(
"
Set: Ripple size
"
)}
if
(
e
.
rate
&&
"
function
"
==
typeof
e
.
rate
){
var
j
=
c
.
round
(
d
.
width
()
/
e
.
duration
),
k
=
e
.
rate
(
j
),
l
=
d
.
width
()
/
k
;
e
.
duration
.
toFixed
(
2
)
!==
l
.
toFixed
(
2
)
&&
(
g
(
"
Update: Ripple Duration
"
,{
from
:
e
.
duration
,
to
:
l
}),
e
.
duration
=
l
)}
var
m
=
"
auto
"
==
e
.
color
?
h
.
css
(
"
color
"
):
e
.
color
,
n
=
{
animationDuration
:
e
.
duration
.
toString
()
+
"
s
"
,
animationTimingFunction
:
e
.
easing
,
background
:
m
,
opacity
:
e
.
opacity
};
g
(
"
Set: Ripple CSS
"
,
n
),
d
.
css
(
n
)}
e
.
multi
||
(
g
(
"
Set: Ripple Element
"
),
d
=
h
.
find
(
"
.ripple
"
)),
g
(
"
Destroy: Ripple Animation
"
),
d
.
removeClass
(
"
ripple-animate
"
);
var
o
=
b
.
pageX
-
h
.
offset
().
left
-
d
.
width
()
/
2
,
p
=
b
.
pageY
-
h
.
offset
().
top
-
d
.
height
()
/
2
;
e
.
multi
&&
(
g
(
"
Set: Ripple animationend event
"
),
d
.
one
(
"
animationend webkitAnimationEnd oanimationend MSAnimationEnd
"
,
function
(){
g
(
"
Note: Ripple animation ended
"
),
g
(
"
Destroy: Ripple
"
),
a
(
this
).
remove
()})),
g
(
"
Set: Ripple location
"
),
g
(
"
Set: Ripple animation
"
),
d
.
css
({
top
:
p
+
"
px
"
,
left
:
o
+
"
px
"
}).
addClass
(
"
ripple-animate
"
)};
a
(
b
).
on
(
f
.
defaults
.
on
,
f
.
selector
,
h
)}}(
$
,
document
,
Math
);
$
.
ripple
.
version
=
"
1.2.1
"
;
window
.
addEventListener
(
'
load
'
,
()
=>
{
document
.
body
.
addEventListener
(
'
touchstart
'
,
function
(){});
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录