feat: 一体机适配

This commit is contained in:
2025-12-15 15:11:11 +08:00
parent 4983d9cbc7
commit 330eec226f
36 changed files with 2863 additions and 376 deletions

View File

@@ -21,6 +21,12 @@
<script setup>
import { ref, onMounted, computed } from 'vue';
import { useReadMsg } from '@/stores/useReadMsg';
import useScreenStore from '@/stores/useScreenStore'
const screenStore = useScreenStore()
const {isWideScreen} = screenStore
const props = defineProps({
currentpage: {
type: Number,
@@ -79,7 +85,7 @@ const tabbarList = computed(() => [
]);
onMounted(() => {
uni.hideTabBar();
if(isWideScreen)uni.hideTabBar();
currentItem.value = props.currentpage;
});