Files
medical-mall/pages/mall/admin/homePage/index.uvue
2026-02-25 11:53:57 +08:00

50 lines
838 B
Plaintext

<template>
<view class="admin-home-page">
<AdminLayout>
</AdminLayout>
</view>
</template>
<script setup lang="uts">
import { ref, onMounted } from 'vue'
import AdminLayout from '@/layouts/admin/AdminLayout.uvue'
const title = ref<string>('管理后台首页')
onMounted(() => {
console.log('首页加载完成')
console.log('首页显示')
})
</script>
<style scoped lang="scss">
.home-content {
padding: 24px;
}
.welcome-card {
background: #ffffff;
padding: 30px;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0,0,0,0.05);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin-top: 40px;
}
.welcome-text {
font-size: 24px;
font-weight: 600;
color: #303133;
}
.welcome-subtext {
font-size: 14px;
color: #909399;
margin-top: 10px;
}
</style>