<template> <router-view></router-view> </template> <script setup lang="ts"> // 这里写你的业务逻辑 </script> <style> /* 全局样式 */ </style>