添加使用自定义tab栏

This commit is contained in:
yangyao committed 2026-01-04 18:21:02 +08:00
1 parent b3a69a1f27
commit 6f9c52a2c6
6 files changed
+236 -49

No files matched your search

+6 -2
View File
@@ -1,7 +1,7 @@
<script setup>
import { ref, onMounted, getCurrentInstance, nextTick } from 'vue';
import { onLoad, onShow, onReady, onHide, onPullDownRefresh } from '@dcloudio/uni-app';
import CustomTabBar from '@/components/CustomTabBar.vue'
import { getSystemSafeArea, getSystemInfo, isEmpty, showToast, showLoadingToast, closeToast } from '@/common/common.js';
import LoginPopup from '@/components/login-popup.vue';
import { getProducts } from './api.js';
@@ -79,7 +79,11 @@ const handleBook = (productId) => {
</script>
<template>
<view class="h-[140rpx]">hello</view>
<view class="h-[100vh] bg-[#9C032D]">
<CustomTabBar />
</view>
</template>
<style scoped lang="scss">