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.

47 lines
1.1 KiB
HTML

<!doctype html>
<html lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="icon" href="/favicon.ico">
<link rel="stylesheet" type="text/css" href="./css/app.d743e96b.css">
<link rel="stylesheet" type="text/css" href="./css/chunk-vendors.eedde3e4.css">
<title>widget-vue</title>
</head>
<script src="./Main.js"></script>
<script>
function widgetLoading(){
console.log(123);
init();
}
widgetLoading();
</script>
<body>
<div class="scroll-container">
<div id="app" style="width: 50px; height: 500px; background-color: lightblue;"></div>
</div>
</body>
</html>
<style>
body, html {
margin: 0;
padding: 0;
height: 100%;
overflow: hidden; /* 防止body滚动 */
}
.scroll-container {
width: 100%; /* 或你想要的固定宽度 */
height: 1500px; /* 设定一个固定高度 */
overflow-y: auto; /* 允许Y轴滚动 */
border: 1px solid #ccc; /* 可选,仅为了视觉上区分 */
}
</style>