mirror of
https://github.com/Coldsmiles/infstarweb.git
synced 2026-04-23 02:30:41 +08:00
feat: add TownsPage and router configuration
- Created TownsPage.vue to display a list of towns with filtering options and a modal for details. - Implemented a router.js file to manage application routes, including the new towns page.
This commit is contained in:
19
src/pages/MapPage.vue
Normal file
19
src/pages/MapPage.vue
Normal file
@@ -0,0 +1,19 @@
|
||||
<template>
|
||||
<iframe
|
||||
class="iframe-fullpage"
|
||||
src="https://mcmap.lunadeer.cn/"
|
||||
frameborder="0"
|
||||
allowfullscreen
|
||||
></iframe>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.iframe-fullpage {
|
||||
position: fixed;
|
||||
top: var(--bl-header-height);
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: calc(100vh - var(--bl-header-height));
|
||||
border: none;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user