13 changed files with 334 additions and 125 deletions
-
11gold-system/README.md
-
44gold-system/index.html
-
37gold-system/src/views/audit/rechargeAudit.vue
-
57gold-system/src/views/audit/refundAudit.vue
-
66gold-system/src/views/consume/allConsume.vue
-
22gold-system/src/views/index.vue
-
3gold-system/src/views/login.vue
-
1gold-system/src/views/permissions/index.vue
-
97gold-system/src/views/recharge/allRecharge.vue
-
70gold-system/src/views/usergold/index.vue
-
28gold-system/src/views/usergoldInfo/index.vue
-
17gold-system/src/views/workspace/index.vue
-
6gold-system/vite.config.ts
@ -1,20 +1,46 @@ |
|||||
<!doctype html> |
|
||||
|
<!DOCTYPE html> |
||||
<html lang="en"> |
<html lang="en"> |
||||
<head> |
<head> |
||||
<meta charset="UTF-8" /> |
<meta charset="UTF-8" /> |
||||
<link rel="icon" type="image/svg+xml" href="/vite.svg" /> |
<link rel="icon" type="image/svg+xml" href="/vite.svg" /> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
|
||||
|
<meta |
||||
|
name="viewport" |
||||
|
content="width=device-width, initial-scale=0.9, maximum-scale=0.9, minimum-scale=0.9" |
||||
|
/> |
||||
<title>财务金币管理系统</title> |
<title>财务金币管理系统</title> |
||||
|
<style> |
||||
|
html, |
||||
|
body, |
||||
|
#app { |
||||
|
height: 100%; |
||||
|
|
||||
|
margin: 0; |
||||
|
padding: 0; |
||||
|
} |
||||
|
</style> |
||||
|
<script> |
||||
|
window.onload = function () { |
||||
|
// 获取浏览器的缩放比例 |
||||
|
const browserZoom = |
||||
|
(window.devicePixelRatio / window.screen.availWidth) * |
||||
|
window.innerWidth; |
||||
|
if (browserZoom !== 0.9) { |
||||
|
if (typeof document.documentElement.style.zoom === "string") { |
||||
|
// 支持 zoom 属性的浏览器(如 IE) |
||||
|
document.body.style.zoom = 0.9; |
||||
|
} else { |
||||
|
// 不支持 zoom 属性的浏览器,使用 transform |
||||
|
document.body.style.transform = "scale(0.9)"; |
||||
|
document.body.style.transformOrigin = "top left"; |
||||
|
document.body.style.width = "111.11%"; |
||||
|
document.body.style.height = "111.11%"; |
||||
|
} |
||||
|
} |
||||
|
}; |
||||
|
</script> |
||||
</head> |
</head> |
||||
<body> |
<body> |
||||
<div id="app"></div> |
<div id="app"></div> |
||||
<script type="module" src="/src/main.ts"></script> |
<script type="module" src="/src/main.ts"></script> |
||||
</body> |
</body> |
||||
</html> |
</html> |
||||
<style> |
|
||||
html,body,#app{ |
|
||||
height:100%; |
|
||||
margin: 0px; |
|
||||
padding: 0px; |
|
||||
} |
|
||||
</style> |
|
Write
Preview
Loading…
Cancel
Save
Reference in new issue