2024-11-04 09:19:25 +00:00
|
|
|
<!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" />
|
2024-11-11 08:00:17 +00:00
|
|
|
<link rel="stylesheet" href="/css/search.css" />
|
2024-11-04 09:19:25 +00:00
|
|
|
<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>
|
2024-11-11 08:00:17 +00:00
|
|
|
<img class="index-icon" src="/img/index-icon.png" />
|
|
|
|
<div class="boxbox">
|
|
|
|
<div class="tab flexacenter">
|
|
|
|
首页
|
|
|
|
<img class="img" src="/img/arrows.svg" />
|
|
|
|
<div class="current">项目搜索</div>
|
|
|
|
</div>
|
|
|
|
<div class="body">
|
|
|
|
<div class="left">
|
|
|
|
<div class="input-box flexacenter">
|
|
|
|
<input class="flex1" placeholder="请输入" />
|
|
|
|
<img class="search-icon" src="/img/search-black-icon.svg" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="right"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-11-04 09:19:25 +00:00
|
|
|
<!-- 底部 -->
|
|
|
|
<base-bottom ref="baseRef"></base-bottom>
|
|
|
|
</div>
|
|
|
|
<script>
|
|
|
|
const { createApp, ref, onMounted, nextTick, onUnmounted, computed } = Vue
|
|
|
|
const projectIndex = createApp({
|
|
|
|
setup() {
|
|
|
|
onMounted(() => {
|
2024-11-11 08:00:17 +00:00
|
|
|
// window.addEventListener("scroll", handleScroll)
|
2024-11-04 09:19:25 +00:00
|
|
|
// init()
|
|
|
|
})
|
|
|
|
|
2024-11-11 08:00:17 +00:00
|
|
|
return {}
|
2024-11-04 09:19:25 +00:00
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
projectIndex.component("base-bottom", base)
|
|
|
|
|
|
|
|
projectIndex.mount("#app")
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|