2024-04-18 17:58:06 +08:00
|
|
|
<!DOCTYPE html>
|
2024-03-30 09:23:34 +08:00
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8" />
|
2024-04-10 15:41:34 +08:00
|
|
|
<link rel="icon" type="image/svg+xml" href="/cashier.svg" />
|
2024-03-30 09:23:34 +08:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
2024-04-01 17:45:21 +08:00
|
|
|
<title>里海收银系统</title>
|
2024-05-15 10:47:09 +08:00
|
|
|
<script
|
|
|
|
type="text/javascript"
|
|
|
|
src="https://js.cdn.aliyun.dcloud.net.cn/dev/uni-app/uni.webview.1.5.2.js"
|
|
|
|
></script>
|
2024-05-14 18:39:10 +08:00
|
|
|
<script type="text/javascript">
|
2024-05-15 10:47:09 +08:00
|
|
|
document.addEventListener("UniAppJSBridgeReady", function () {});
|
|
|
|
function receiveData(data) {
|
|
|
|
try {
|
|
|
|
data = JSON.parse(data);
|
|
|
|
if (data.type === "connect") {
|
|
|
|
window.postMessage(data);
|
|
|
|
}
|
|
|
|
} catch (error) {}
|
|
|
|
}
|
2024-05-14 18:39:10 +08:00
|
|
|
</script>
|
|
|
|
|
2024-04-18 17:58:06 +08:00
|
|
|
<style>
|
|
|
|
/* 小屏幕 */
|
|
|
|
@media screen and (max-width: 576px) {
|
|
|
|
html {
|
|
|
|
font-size: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 中等屏幕 */
|
|
|
|
@media screen and (min-width: 577px) and (max-width: 992px) {
|
|
|
|
html {
|
|
|
|
font-size: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 大屏幕 */
|
|
|
|
@media screen and (min-width: 993px) and (max-width: 1336px) {
|
|
|
|
html {
|
|
|
|
font-size: 11px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 大屏幕 */
|
|
|
|
@media screen and (min-width: 1336px) and (max-width: 1900px) {
|
|
|
|
html {
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/* 大屏幕 */
|
2024-05-15 10:47:09 +08:00
|
|
|
@media screen and (min-width: 1900px) {
|
2024-04-18 17:58:06 +08:00
|
|
|
html {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|
2024-03-30 09:23:34 +08:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="app"></div>
|
|
|
|
<script type="module" src="/src/main.ts"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|