添加移动端布局组件和页面配置

This commit is contained in:
wangqiao
2025-09-01 10:58:34 +08:00
parent 7ecff344de
commit a0f1ec758e
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,16 @@
<script setup lang="ts">
</script>
<template>
<div class="m">
<slot />
</div>
</template>
<style lang="scss" scoped>
.m {
width: 100%;
height: 100%;
background-color: #f5f5f5;
}
</style>

View File

@ -5,6 +5,9 @@
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
definePageMeta({
layout: 'm'
})
// Mobile specific logic can be added here // Mobile specific logic can be added here
</script> </script>