You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
556 B
HTML

6 months ago
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>支付宝</title>
</head>
<body>
<div id="alipay"></div>
</body>
<script>
const { ipcRenderer } = require('electron')
window.onload = () => {
ipcRenderer.on('send-data', (event, arg) => {
document.getElementById('alipay').innerHTML = arg
document.forms.alipay_submit.submit()
})
}
</script>
</html>