1 Star 0 Fork 0

刘斌/File-Manager

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
newdocument.html 1.35 KB
一键复制 编辑 原始数据 按行查看 历史
刘斌 提交于 2020-01-21 18:16 . bin的第一个
<style>
body {
font-family: system, -apple-system, '.SFNSText-Regular', 'SF UI Text', 'Lucida Grande', 'Segoe UI', Ubuntu, Cantarell, sans-serif;
color: #fff;
background-color: #8aba87;
text-align: center;
font-size: 40px;
}
h2 {
padding: 0;
margin: 0;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
#close {
color: white;
opacity: 0.7;
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
font-size: 12px;
text-decoration: none;
}
</style>
<html>
<body>
<a id="close" href="javascript:window.close()">Close this Window</a>
<input id="select-directory" type="button" value="选择文件夹" />
<input type ="button" onclick="opensth()" value="导入文件内容"/>
<script>
require('./choose.js')
function opensth(){
var a =require('./click.js')
var data=a.createJSON(a.walk(document.getElementById("text").innerHTML))
a.insertJSON(data)
const ipc=require('electron').ipcRenderer;
ipc.send('update')
}
</script>
<label>当前路径</label>
<textarea id="text"></textarea>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/bestbbb/File-Manager.git
git@gitee.com:bestbbb/File-Manager.git
bestbbb
File-Manager
File-Manager
master

搜索帮助