代码拉取完成,页面将自动刷新
<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>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。