feat:设备验证

This commit is contained in:
dzc committed 2026-04-17 14:54:47 +08:00
1 parent d1127ab5f8
commit 552a006e25
27 files changed
+962 -820

No files matched your search

+9 -2
View File
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { reactive, computed } from "vue"
import { ref, reactive, computed, defineAsyncComponent, nextTick, onMounted } from "vue"
import { onHide, onShow } from "@dcloudio/uni-app"
import { router } from "@@/index"
@@ -13,6 +13,7 @@ import Empty from "@@/components/empty/empty.vue"
const tabbarStore = useTabbarStore()
const crudLayoutRef = ref()
const state = reactive<any>({
swiperList: [
{
@@ -45,6 +46,12 @@ onShow(() => {
getAppMenuList()
})
onMounted(() => {
nextTick(() => {
crudLayoutRef.value?.checkVerifyDevice?.()
})
})
onHide(() => {
})
@@ -93,7 +100,7 @@ const getAppMenuList = async () => {
</script>
<template>
<crud-layout title="智慧后勤系统" :bg="filePath(SERVICE_IMAGE.blueBg)">
<crud-layout title="智慧后勤系统" :bg="filePath(SERVICE_IMAGE.blueBg)" ref="crudLayoutRef">
<view class="h-20rpx" />
<swiper class="w-full h-280rpx rounded-16rpx overflow-hidden" circular :indicator-dots="true"
indicator-active-color="#0779FD" indicator-color="#ffffff" :autoplay="true">