Files
FileCodeBoxFronted2026/tests/trash-workflow.html
orion 9b22534e2b ✨ feat: 重构管理后台并增强组件系统与回收站功能
* 新增自适应数值与窗口分析工具,提升交互体验
* 优化回收站模块逻辑,增加展示与选择功能
* 引入 Macaron 主题配置文件并更新 Tailwind 配置
* 精简基础组件代码,移除冗余样式与设置项
* 完善测试用例,覆盖 UI 系统与回收站工作流
* 更新多语言配置,支持功能变更后的文案需求
2026-09-18 10:18:07 +08:00

7 lines
1.2 KiB
HTML

<!doctype html><html lang="zh-CN"><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>回收站交互验证 · 独立测试数据</title><div style="position:sticky;top:0;z-index:90;padding:10px 16px;background:#e8e0f2;color:#504165;font:13px sans-serif">独立测试数据 · 用于验证筛选、批量操作和清理时间,不连接线上文件</div><div id="app"></div><script type="module">
import {createApp,ref} from 'vue';import {createRouter,createMemoryHistory} from 'vue-router';import {createI18n} from 'vue-i18n';import TrashView from '/src/views/manage/TrashView.vue';import zh from '/src/i18n/locales/zh-CN.ts';import '/src/assets/style/main.css';
const dark=new URLSearchParams(location.search).has('dark');document.documentElement.classList.toggle('dark',dark);
const app=createApp(TrashView);app.provide('isDarkMode',ref(dark));app.use(createI18n({legacy:false,locale:'zh-CN',messages:{'zh-CN':zh}}));app.use(createRouter({history:createMemoryHistory(),routes:[{path:'/',component:{template:'<div/>'}}]}));app.mount('#app');
if(new URLSearchParams(location.search).has('autotest')) import('./trashWorkflow.browser.mjs').then(m=>m.runTrashWorkflowChecks());
</script></html>