feat: 完成首页UI

This commit is contained in:
范鹏 2025-01-07 17:12:46 +08:00
parent 02c4636a42
commit 061f179622
3 changed files with 3 additions and 4 deletions

View File

@ -64,7 +64,6 @@
onMounted(async () => {
systemInfo.value = await $basic.getSystemInfo()
showModal()
})
const closePopup = () => {

View File

@ -31,7 +31,7 @@
</view>
<scroll-view
class="mt-2"
scroll-y="true"
:scroll-y="true"
:style="{
height: systemInfo.safeArea?.height - 104 + 'px'
}"
@ -69,7 +69,7 @@
import HomeSetting from '@/pages/home/HomeSetting.vue'
import HomeAddDevice from '@/pages/home/HomeAddDevice.vue'
import HomeAddTeamManager from '@/pages/home/HomeAddTeamManager.vue'
import TeamPopup from '@/components/TeamDilog/TeamPopup.vue'
import TeamPopup from '@/components/TeamPopup/TeamPopup.vue'
const $user = useUserStore()
const $basic = useBasicStore()

View File

@ -16,7 +16,7 @@ export type TabBarItem = {
export type HomeTabItem = {
icon: string
name: string
url: string
url?: string
id: number
}