whistle.mock-plugins
Version:
Whistle 插件,用于快速创建 API 模拟数据
52 lines • 1.26 kB
HTML
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0;url=/" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Whistle Mock 插件</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #f5f5f5;
flex-direction: column;
}
.container {
text-align: center;
padding: 2rem;
background-color: white;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
h1 {
color: #1890ff;
}
p {
margin: 1rem 0;
}
a {
color: #1890ff;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<div class="container">
<h1>Whistle Mock 插件</h1>
<p>正在重定向到插件主页...</p>
<p>如果您没有被自动重定向,请<a href="/">点击此处</a>访问插件界面。</p>
</div>
<script>
// 确保重定向到正确的UI路径
window.location.href = '/';
</script>
</body>
</html>