Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenDocCN
apachecn-java-zh
提交
044f34c1
A
apachecn-java-zh
项目概览
OpenDocCN
/
apachecn-java-zh
大约 1 年 前同步成功
通知
5
Star
53
Fork
13
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
apachecn-java-zh
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
044f34c1
编写于
5月 09, 2021
作者:
W
wizardforcel
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
2021-05-09 15:47:43
上级
07610be3
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
45 addition
and
0 deletion
+45
-0
asset/edit.css
asset/edit.css
+15
-0
asset/edit.js
asset/edit.js
+15
-0
asset/edit.svg
asset/edit.svg
+13
-0
index.html
index.html
+2
-0
未找到文件。
asset/edit.css
0 → 100644
浏览文件 @
044f34c1
#edit-btn
{
position
:
fixed
;
right
:
15px
;
top
:
260px
;
width
:
35px
;
height
:
35px
;
background-repeat
:
no-repeat
;
background-size
:
cover
;
cursor
:
pointer
;
-webkit-user-select
:
none
;
-moz-user-select
:
none
;
-ms-user-select
:
none
;
user-select
:
none
;
background-image
:
url(edit.svg)
;
}
\ No newline at end of file
asset/edit.js
0 → 100644
浏览文件 @
044f34c1
document
.
addEventListener
(
'
DOMContentLoaded
'
,
function
()
{
var
editBtn
=
document
.
createElement
(
'
div
'
)
editBtn
.
id
=
'
edit-btn
'
document
.
body
.
append
(
editBtn
)
var
repo
=
window
.
$docsify
.
repo
editBtn
.
addEventListener
(
'
click
'
,
function
()
{
if
(
!
repo
)
return
if
(
!
/https
?
:
\/\/
/
.
exec
(
repo
))
repo
=
'
https://github.com/
'
+
repo
var
url
=
repo
+
'
/tree/master
'
+
location
.
hash
.
slice
(
1
)
+
'
.md
'
window
.
open
(
url
)
})
})
\ No newline at end of file
asset/edit.svg
0 → 100644
浏览文件 @
044f34c1
<!--?xml version="1.0" encoding="UTF-8" standalone="no"?-->
<svg
viewBox=
"0 0 16 16"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
class=
"si-glyph si-glyph-edit"
>
<!-- Generator: Sketch 3.0.3 (7891) - http://www.bohemiancoding.com/sketch -->
<title>
Edit
</title>
<defs></defs>
<g
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
>
<g
transform=
"translate(0.000000, 1.000000)"
fill=
"#434343"
>
<path
d=
"M15.682,1.91 L14.147,0.396 C13.737,-0.012 12.929,-0.181 12.54,0.207 L6.485,6.234 C6.485,6.234 5.164,10.147 5.039,10.476 C4.94,10.738 5.27,11.066 5.499,10.951 C5.873,10.765 9.604,9.32 9.604,9.32 L15.675,3.263 C16.065,2.875 16.093,2.317 15.682,1.91 L15.682,1.91 Z M9.021,8.854 L6.454,9.828 L5.993,9.403 L7.218,6.438 L7.959,6.984 L9.017,6.984 L9.021,8.854 L9.021,8.854 Z"
class=
"si-glyph-fill"
></path>
<path
d=
"M12.042,9.345 L12.042,13.042 L0.958,13.042 L0.958,2 L9.141,1.917 L9.953,1.058 L0,1.058 L0,14 L13,14 L12.943,8.578 L12.042,9.345 Z"
class=
"si-glyph-fill"
></path>
</g>
</g>
</svg>
\ No newline at end of file
index.html
浏览文件 @
044f34c1
...
...
@@ -21,6 +21,8 @@
<script
src=
"asset/dark-mode.js"
></script>
<link
rel=
"stylesheet"
href=
"asset/share.css"
>
<script
src=
"asset/share.js"
></script>
<link
rel=
"stylesheet"
href=
"asset/edit.css"
>
<script
src=
"asset/edit.js"
></script>
</head>
<body>
<div
id=
"app"
>
now loading...
</div>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录