oil-station/fuintCashier/static/pay.html
2024-08-16 18:26:19 +08:00

24 lines
556 B
HTML

<!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>