<template>
  <router-view />
</template>

<script setup>
import useSettingsStore from "@/store/modules/settings";
import { handleThemeStyle } from "@/utils/theme";

onMounted(() => {
  nextTick(() => {
    // 初始化主题样式
    handleThemeStyle(useSettingsStore().theme);
  });
});
</script>

<style>
:root {
  --el-menu-item-height: 30px;
}
/* 饿了么查询表单样式 */
.el-form-item__label {
  font-size: 14px; 
  color: #606266; 
  font-weight: bold; 
}
</style>
