Skip to content

Commit

Permalink
Add import button
Browse files Browse the repository at this point in the history
  • Loading branch information
wxxxcxx committed Apr 19, 2023
1 parent f8436d6 commit cb928d1
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,11 @@ <h5 class="modal-title">阅读链接</h5>
<div class="modal-body">
<div id="legadoUrlQRCode" style="text-align:center">
</div>
<textarea id="legadoUrl" class="form-control" readonly rows="3" cols="2" value></textarea>
<div>
<div class="row">
<textarea id="legadoUrl" class="form-control" readonly rows="3" cols="2" value></textarea>
</div>
<div class="alert alert-primary" role="alert">
请在阅读的朗读引擎设置中选择网络导入此链接。
<div class="row" style="margin-top: 10px;">
<a id="legadoImportButton" class="btn btn-primary" href="">一键导入到阅读</a>
</div>
</div>
</div>
Expand Down Expand Up @@ -240,8 +240,9 @@ <h5 class="modal-title">阅读链接</h5>
modal.show();
document.getElementById('legadoUrlQRCode').innerHTML = svg;
document.getElementById('legadoUrl').value = url;
document.getElementById('legadoImportButton').href = 'legado://import/httpTTS?src=' + encodeURI(url);
}
</script>
</body>

</html>
</html>

1 comment on commit cb928d1

@vercel
Copy link

@vercel vercel bot commented on cb928d1 Apr 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ms-ra-forwarder – ./

ms-ra-forwarder.vercel.app
ms-ra-forwarder-git-master-wxxxcxx.vercel.app
ms-ra-forwarder-wxxxcxx.vercel.app

Please sign in to comment.