nailart/na-frontend/src/pages/HomePage.vue

69 lines
1.1 KiB
Vue
Raw Normal View History

<template>
2025-07-29 14:51:28 +08:00
<div class="homepage">
<!-- 固定顶部导航栏 -->
<NavBar class="nav-bar" />
<div class="images">
<h1>轮播图区域</h1>
</div>
2025-07-29 14:51:28 +08:00
<div class="info">
<h1>信息展示区包含店名营业时间状态地址电话图标微信图标</h1>
</div>
<div class="new">
<h1>新品展示</h1>
</div>
<div class="navigation">
<h1>暂定导航组件</h1>
</div>
<!-- 固定底部TabBar -->
<TabBar class="tab-bar" />
</div>
</template>
<script>
2025-07-29 14:51:28 +08:00
import TabBar from '@/components/TabBar.vue';
import NavBar from '@/components/NavBar.vue';
export default {
name: 'HomePage',
components: {
2025-07-29 14:51:28 +08:00
TabBar,
NavBar
},
props: {},
data() {
return {
2025-07-29 14:51:28 +08:00
};
},
watch: {},
computed: {},
methods: {},
2025-07-29 14:51:28 +08:00
created() { },
mounted() { }
};
</script>
<style lang="less" scoped>
.homepage {
width: 100vw;
2025-07-29 14:51:28 +08:00
height: 100vh;
overflow: auto;
2025-07-29 14:51:28 +08:00
.images {
width: 100%;
height: 25vh;
}
.info {
width: 100%;
height: 20vh;
}
.new {
width: 100%;
}
.navigation {
width: 100%;
}
}
</style>