init
This commit is contained in:
24
fuintCashier/static/pay.html
Normal file
24
fuintCashier/static/pay.html
Normal file
@@ -0,0 +1,24 @@
|
||||
<!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>
|
||||
Reference in New Issue
Block a user