xg-project-library/html/search.html
2024-11-04 17:19:25 +08:00

49 lines
1.4 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="stylesheet" href="/css/common.css" />
<link rel="stylesheet" href="/css/index.css" />
<script src="/js/axios.min.js"></script>
<script src="/js/vue.global.js"></script>
<script src="/js/common.js"></script>
<script src="/js/base.js"></script>
<script src="/js/masonry.pkgd.min.js"></script>
<style>
[v-cloak] {
display: none;
}
</style>
</head>
<body>
<div id="app" class="main" v-cloak>
<!-- 底部 -->
<base-bottom ref="baseRef"></base-bottom>
</div>
<script>
const { createApp, ref, onMounted, nextTick, onUnmounted, computed } = Vue
const projectIndex = createApp({
setup() {
onMounted(() => {
window.addEventListener("scroll", handleScroll)
// init()
})
return {
}
},
})
projectIndex.component("base-bottom", base)
projectIndex.mount("#app")
</script>
</body>
</html>