Skip to content

Commit

Permalink
更新 webDavHelp.html
Browse files Browse the repository at this point in the history
  • Loading branch information
mgz0227 committed May 21, 2024
1 parent afaf4a8 commit 89d5116
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion entry/src/main/resources/rawfile/webDavHelp.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
color: #007bff;
text-decoration: none;
transition: color 0.3s ease;
cursor: pointer;
}
a:hover {
color: #0056b3;
Expand All @@ -99,7 +100,27 @@
border-radius: 50%;
margin-bottom: 20px;
}
.hidden {
position: absolute;
left: -9999px;
}
</style>
<script>
function copyToClipboard(text) {
const textarea = document.createElement('textarea');
textarea.className = 'hidden';
textarea.value = text;
document.body.appendChild(textarea);
textarea.select();
try {
document.execCommand('copy');
alert('链接已复制到剪贴板!');
} catch (err) {
alert('复制失败,请手动复制链接.');
}
document.body.removeChild(textarea);
}
</script>
</head>
<body>

Expand All @@ -111,7 +132,7 @@ <h3 id="阅读支持云备份采用webdav协议所有支持webdav的云盘都可
阅读支持云备份, 采用WebDav协议, 所有支持WebDav的云盘都可以. 建议采用坚果云, 每月免费1G流量, 用来备份阅读足够了. 下面就采用坚果云来讲解配置步骤.
</h3>
<ol type="1">
<li>打开坚果云网站 <a target="_blank">https://www.jianguoyun.com/d/home#/</a></li>
<li>打开坚果云网站 <a href="javascript:void(0);" onclick="copyToClipboard('https://www.jianguoyun.com/d/home#/')">https://www.jianguoyun.com/d/home#/</a></li>
<li>如果没有注册过坚果云先注册一下</li>
<li>登录坚果云</li>
<li>右上角用户名点开点账户信息</li>
Expand Down

0 comments on commit 89d5116

Please sign in to comment.