2026-02-23 01:50:43 +08:00
|
|
|
|
<!--
|
|
|
|
|
|
ApiPlayground.vue - 紧凑版
|
|
|
|
|
|
目标:让用户动手尝试 API 调用
|
|
|
|
|
|
-->
|
2026-01-19 23:45:08 +08:00
|
|
|
|
<template>
|
2026-02-23 01:50:43 +08:00
|
|
|
|
<div class="demo-root">
|
|
|
|
|
|
<div class="demo-header">
|
|
|
|
|
|
<span class="icon">🧪</span>
|
|
|
|
|
|
<span class="title">API 练手场</span>
|
|
|
|
|
|
<span class="subtitle">随便玩,坏了算我的</span>
|
2026-01-20 17:53:22 +08:00
|
|
|
|
</div>
|
2026-01-20 08:51:04 +08:00
|
|
|
|
|
2026-02-23 01:50:43 +08:00
|
|
|
|
<div class="demo-layout">
|
2026-02-01 23:42:12 +08:00
|
|
|
|
<div class="left-panel">
|
2026-02-23 01:50:43 +08:00
|
|
|
|
<div class="input-row">
|
|
|
|
|
|
<label>Endpoint</label>
|
2026-02-01 23:42:12 +08:00
|
|
|
|
<input
|
|
|
|
|
|
v-model="endpoint"
|
|
|
|
|
|
type="text"
|
2026-02-23 01:50:43 +08:00
|
|
|
|
placeholder="/users"
|
2026-02-01 23:42:12 +08:00
|
|
|
|
class="input"
|
2026-02-18 17:38:10 +08:00
|
|
|
|
>
|
2026-01-19 23:45:08 +08:00
|
|
|
|
</div>
|
2026-02-23 01:50:43 +08:00
|
|
|
|
<div class="input-row">
|
2026-02-01 23:42:12 +08:00
|
|
|
|
<label>方法</label>
|
2026-02-23 01:50:43 +08:00
|
|
|
|
<div class="method-btns">
|
2026-02-01 23:42:12 +08:00
|
|
|
|
<button
|
|
|
|
|
|
v-for="m in methods"
|
|
|
|
|
|
:key="m"
|
2026-02-23 01:50:43 +08:00
|
|
|
|
:class="['m-btn', { active: method === m }]"
|
2026-02-01 23:42:12 +08:00
|
|
|
|
@click="method = m"
|
|
|
|
|
|
>
|
|
|
|
|
|
{{ m }}
|
|
|
|
|
|
</button>
|
2026-01-20 17:53:22 +08:00
|
|
|
|
</div>
|
2026-02-01 23:42:12 +08:00
|
|
|
|
</div>
|
2026-02-23 01:50:43 +08:00
|
|
|
|
<div class="input-row">
|
2026-02-01 23:42:12 +08:00
|
|
|
|
<label>API Key</label>
|
|
|
|
|
|
<input
|
|
|
|
|
|
v-model="apiKey"
|
|
|
|
|
|
type="password"
|
|
|
|
|
|
placeholder="sk-..."
|
|
|
|
|
|
class="input"
|
2026-02-18 17:38:10 +08:00
|
|
|
|
>
|
2026-01-19 23:45:08 +08:00
|
|
|
|
</div>
|
2026-02-18 17:38:10 +08:00
|
|
|
|
<button
|
|
|
|
|
|
class="send-btn"
|
|
|
|
|
|
:disabled="loading"
|
|
|
|
|
|
@click="sendRequest"
|
|
|
|
|
|
>
|
2026-02-23 01:50:43 +08:00
|
|
|
|
{{ loading ? '发送中...' : '🚀 发送' }}
|
2026-02-01 23:42:12 +08:00
|
|
|
|
</button>
|
2026-01-19 23:45:08 +08:00
|
|
|
|
</div>
|
2026-01-20 08:51:04 +08:00
|
|
|
|
|
2026-02-01 23:42:12 +08:00
|
|
|
|
<div class="right-panel">
|
2026-02-18 17:38:10 +08:00
|
|
|
|
<div
|
|
|
|
|
|
v-if="!response"
|
2026-02-23 01:50:43 +08:00
|
|
|
|
class="empty"
|
2026-02-18 17:38:10 +08:00
|
|
|
|
>
|
2026-02-23 01:50:43 +08:00
|
|
|
|
点击发送查看结果
|
2026-01-20 17:53:22 +08:00
|
|
|
|
</div>
|
2026-02-18 17:38:10 +08:00
|
|
|
|
<div
|
|
|
|
|
|
v-else
|
2026-02-23 01:50:43 +08:00
|
|
|
|
class="response"
|
2026-02-18 17:38:10 +08:00
|
|
|
|
>
|
|
|
|
|
|
<div
|
|
|
|
|
|
class="status-bar"
|
|
|
|
|
|
:class="getStatusClass(response.status)"
|
|
|
|
|
|
>
|
2026-02-23 01:50:43 +08:00
|
|
|
|
<span class="code">{{ response.status }}</span>
|
|
|
|
|
|
<span class="text">{{ response.statusText }}</span>
|
2026-02-01 23:42:12 +08:00
|
|
|
|
</div>
|
2026-02-23 01:50:43 +08:00
|
|
|
|
<div class="body">
|
2026-02-01 23:42:12 +08:00
|
|
|
|
<pre>{{ JSON.stringify(response.data, null, 2) }}</pre>
|
|
|
|
|
|
</div>
|
2026-02-18 17:38:10 +08:00
|
|
|
|
<div
|
|
|
|
|
|
v-if="response.explanation"
|
|
|
|
|
|
class="explanation"
|
|
|
|
|
|
>
|
2026-02-01 23:42:12 +08:00
|
|
|
|
💡 {{ response.explanation }}
|
|
|
|
|
|
</div>
|
2026-01-20 17:53:22 +08:00
|
|
|
|
</div>
|
2026-01-20 08:51:04 +08:00
|
|
|
|
</div>
|
2026-01-19 23:45:08 +08:00
|
|
|
|
</div>
|
2026-02-01 23:42:12 +08:00
|
|
|
|
|
2026-02-23 01:50:43 +08:00
|
|
|
|
<div class="quick-actions">
|
|
|
|
|
|
<span class="label">快速尝试:</span>
|
|
|
|
|
|
<button @click="tryEndpoint('/users')">
|
|
|
|
|
|
✅ GET /users
|
|
|
|
|
|
</button>
|
|
|
|
|
|
<button @click="tryError401">
|
|
|
|
|
|
❌ 401
|
|
|
|
|
|
</button>
|
|
|
|
|
|
<button @click="tryError404">
|
|
|
|
|
|
❌ 404
|
|
|
|
|
|
</button>
|
|
|
|
|
|
<button @click="tryError429">
|
|
|
|
|
|
❌ 429
|
|
|
|
|
|
</button>
|
2026-02-01 23:42:12 +08:00
|
|
|
|
</div>
|
2026-01-19 23:45:08 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script setup>
|
2026-01-20 08:51:04 +08:00
|
|
|
|
import { ref } from 'vue'
|
|
|
|
|
|
|
2026-02-01 23:42:12 +08:00
|
|
|
|
const endpoint = ref('/users')
|
2026-01-20 17:53:22 +08:00
|
|
|
|
const method = ref('GET')
|
2026-02-23 01:50:43 +08:00
|
|
|
|
const apiKey = ref('sk-demo-key')
|
2026-01-20 17:53:22 +08:00
|
|
|
|
const loading = ref(false)
|
2026-02-01 23:42:12 +08:00
|
|
|
|
const response = ref(null)
|
|
|
|
|
|
|
2026-02-23 01:50:43 +08:00
|
|
|
|
const methods = ['GET', 'POST', 'PUT', 'DELETE']
|
2026-02-01 23:42:12 +08:00
|
|
|
|
|
|
|
|
|
|
function getStatusClass(status) {
|
|
|
|
|
|
if (status >= 200 && status < 300) return 'success'
|
|
|
|
|
|
if (status >= 400 && status < 500) return 'client-error'
|
2026-02-23 01:50:43 +08:00
|
|
|
|
return 'server-error'
|
2026-01-20 17:53:22 +08:00
|
|
|
|
}
|
2026-01-19 23:45:08 +08:00
|
|
|
|
|
2026-01-20 17:53:22 +08:00
|
|
|
|
function sendRequest() {
|
|
|
|
|
|
loading.value = true
|
2026-02-01 23:42:12 +08:00
|
|
|
|
response.value = null
|
|
|
|
|
|
|
2026-01-20 08:51:04 +08:00
|
|
|
|
setTimeout(() => {
|
2026-02-01 23:42:12 +08:00
|
|
|
|
if (!apiKey.value) {
|
|
|
|
|
|
response.value = {
|
|
|
|
|
|
status: 401,
|
|
|
|
|
|
statusText: 'Unauthorized',
|
2026-02-23 01:50:43 +08:00
|
|
|
|
data: { error: '缺少 API Key' },
|
|
|
|
|
|
explanation: '服务器不认识你,需要提供有效的身份证明'
|
2026-01-20 08:51:04 +08:00
|
|
|
|
}
|
2026-02-23 01:50:43 +08:00
|
|
|
|
} else if (endpoint.value === '/users') {
|
2026-02-01 23:42:12 +08:00
|
|
|
|
response.value = {
|
|
|
|
|
|
status: 200,
|
|
|
|
|
|
statusText: 'OK',
|
|
|
|
|
|
data: {
|
|
|
|
|
|
users: [
|
2026-02-23 01:50:43 +08:00
|
|
|
|
{ id: 1, name: '张三' },
|
|
|
|
|
|
{ id: 2, name: '李四' }
|
2026-02-01 23:42:12 +08:00
|
|
|
|
],
|
2026-02-23 01:50:43 +08:00
|
|
|
|
total: 2
|
2026-02-01 23:42:12 +08:00
|
|
|
|
},
|
2026-02-23 01:50:43 +08:00
|
|
|
|
explanation: '成功!服务器返回了用户列表'
|
2026-01-20 17:53:22 +08:00
|
|
|
|
}
|
|
|
|
|
|
} else {
|
2026-02-01 23:42:12 +08:00
|
|
|
|
response.value = {
|
|
|
|
|
|
status: 404,
|
|
|
|
|
|
statusText: 'Not Found',
|
2026-02-23 01:50:43 +08:00
|
|
|
|
data: { error: '接口不存在' },
|
|
|
|
|
|
explanation: '这个地址没有对应的 API,检查一下路径'
|
2026-01-20 08:51:04 +08:00
|
|
|
|
}
|
2026-01-19 23:45:08 +08:00
|
|
|
|
}
|
2026-02-23 01:50:43 +08:00
|
|
|
|
loading.value = false
|
|
|
|
|
|
}, 300)
|
2026-01-19 23:45:08 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-23 01:50:43 +08:00
|
|
|
|
function tryEndpoint(ep) {
|
|
|
|
|
|
endpoint.value = ep
|
|
|
|
|
|
method.value = 'GET'
|
|
|
|
|
|
sendRequest()
|
2026-01-19 23:45:08 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-23 01:50:43 +08:00
|
|
|
|
function tryError401() {
|
|
|
|
|
|
apiKey.value = ''
|
|
|
|
|
|
sendRequest()
|
2026-01-19 23:45:08 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-23 01:50:43 +08:00
|
|
|
|
function tryError404() {
|
|
|
|
|
|
endpoint.value = '/not-exist'
|
|
|
|
|
|
sendRequest()
|
2026-01-19 23:45:08 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-23 01:50:43 +08:00
|
|
|
|
function tryError429() {
|
|
|
|
|
|
loading.value = true
|
|
|
|
|
|
response.value = null
|
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
|
response.value = {
|
|
|
|
|
|
status: 429,
|
|
|
|
|
|
statusText: 'Too Many Requests',
|
|
|
|
|
|
data: { error: '请求太频繁' },
|
|
|
|
|
|
explanation: '你请求太快了,服务器让你歇会儿'
|
|
|
|
|
|
}
|
|
|
|
|
|
loading.value = false
|
|
|
|
|
|
}, 300)
|
2026-01-19 23:45:08 +08:00
|
|
|
|
}
|
2026-02-23 01:50:43 +08:00
|
|
|
|
</script>
|
2026-01-19 23:45:08 +08:00
|
|
|
|
|
2026-02-23 01:50:43 +08:00
|
|
|
|
<style scoped>
|
|
|
|
|
|
.demo-root {
|
|
|
|
|
|
border: 1px solid var(--vp-c-divider);
|
|
|
|
|
|
border-radius: 10px;
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
background: var(--vp-c-bg-soft);
|
|
|
|
|
|
margin: 1rem 0;
|
|
|
|
|
|
font-size: 0.85rem;
|
2026-01-19 23:45:08 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-23 01:50:43 +08:00
|
|
|
|
.demo-header {
|
|
|
|
|
|
padding: 10px 16px;
|
|
|
|
|
|
background: var(--vp-c-bg);
|
|
|
|
|
|
border-bottom: 1px solid var(--vp-c-divider);
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 8px;
|
2026-01-19 23:45:08 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-23 01:50:43 +08:00
|
|
|
|
.icon { font-size: 18px; }
|
|
|
|
|
|
.title { font-weight: 600; font-size: 0.9rem; }
|
|
|
|
|
|
.subtitle { font-size: 0.75rem; color: var(--vp-c-text-3); margin-left: auto; }
|
|
|
|
|
|
|
|
|
|
|
|
.demo-layout {
|
|
|
|
|
|
display: flex;
|
2026-01-19 23:45:08 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-23 01:50:43 +08:00
|
|
|
|
.left-panel {
|
|
|
|
|
|
width: 240px;
|
|
|
|
|
|
padding: 12px;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
gap: 10px;
|
|
|
|
|
|
border-right: 1px solid var(--vp-c-divider);
|
2026-01-19 23:45:08 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-23 01:50:43 +08:00
|
|
|
|
.right-panel {
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
padding: 12px;
|
|
|
|
|
|
background: var(--vp-c-bg);
|
|
|
|
|
|
min-height: 180px;
|
2026-01-19 23:45:08 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-23 01:50:43 +08:00
|
|
|
|
@media (max-width: 640px) {
|
|
|
|
|
|
.demo-layout { flex-direction: column; }
|
|
|
|
|
|
.left-panel { width: 100%; border-right: none; border-bottom: 1px solid var(--vp-c-divider); }
|
2026-01-19 23:45:08 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-23 01:50:43 +08:00
|
|
|
|
.input-row {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
gap: 4px;
|
2026-01-19 23:45:08 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-23 01:50:43 +08:00
|
|
|
|
.input-row label {
|
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
|
color: var(--vp-c-text-2);
|
2026-01-19 23:45:08 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-23 01:50:43 +08:00
|
|
|
|
.input {
|
|
|
|
|
|
padding: 8px 10px;
|
2026-02-01 23:42:12 +08:00
|
|
|
|
border: 1px solid var(--vp-c-divider);
|
|
|
|
|
|
border-radius: 6px;
|
2026-02-23 01:50:43 +08:00
|
|
|
|
font-size: 0.85rem;
|
|
|
|
|
|
background: var(--vp-c-bg);
|
2026-01-19 23:45:08 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-23 01:50:43 +08:00
|
|
|
|
.method-btns {
|
2026-02-01 23:42:12 +08:00
|
|
|
|
display: flex;
|
2026-02-23 01:50:43 +08:00
|
|
|
|
gap: 4px;
|
2026-01-19 23:45:08 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-23 01:50:43 +08:00
|
|
|
|
.m-btn {
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
padding: 6px;
|
2026-02-01 23:42:12 +08:00
|
|
|
|
border: 1px solid var(--vp-c-divider);
|
2026-02-23 01:50:43 +08:00
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
background: transparent;
|
|
|
|
|
|
font-size: 0.75rem;
|
2026-02-01 23:42:12 +08:00
|
|
|
|
cursor: pointer;
|
2026-01-19 23:45:08 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-23 01:50:43 +08:00
|
|
|
|
.m-btn.active {
|
2026-02-01 23:42:12 +08:00
|
|
|
|
background: var(--vp-c-brand);
|
|
|
|
|
|
color: white;
|
|
|
|
|
|
border-color: var(--vp-c-brand);
|
2026-01-19 23:45:08 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-01-20 17:53:22 +08:00
|
|
|
|
.send-btn {
|
2026-02-23 01:50:43 +08:00
|
|
|
|
padding: 10px;
|
2026-02-01 23:42:12 +08:00
|
|
|
|
background: var(--vp-c-brand);
|
2026-01-20 17:53:22 +08:00
|
|
|
|
color: white;
|
|
|
|
|
|
border: none;
|
2026-02-14 20:23:34 +08:00
|
|
|
|
border-radius: 6px;
|
2026-02-01 23:42:12 +08:00
|
|
|
|
font-weight: 600;
|
2026-01-20 17:53:22 +08:00
|
|
|
|
cursor: pointer;
|
2026-01-19 23:45:08 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-01 23:42:12 +08:00
|
|
|
|
.send-btn:disabled {
|
2026-02-23 01:50:43 +08:00
|
|
|
|
opacity: 0.6;
|
2026-02-01 23:42:12 +08:00
|
|
|
|
cursor: not-allowed;
|
2026-01-19 23:45:08 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-23 01:50:43 +08:00
|
|
|
|
.empty {
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
2026-02-01 23:42:12 +08:00
|
|
|
|
color: var(--vp-c-text-3);
|
2026-02-23 01:50:43 +08:00
|
|
|
|
font-style: italic;
|
2026-01-19 23:45:08 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-23 01:50:43 +08:00
|
|
|
|
.response {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
height: 100%;
|
2026-01-19 23:45:08 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-01 23:42:12 +08:00
|
|
|
|
.status-bar {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
2026-02-23 01:50:43 +08:00
|
|
|
|
gap: 8px;
|
|
|
|
|
|
padding: 6px 10px;
|
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
font-size: 0.8rem;
|
2026-01-19 23:45:08 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-23 01:50:43 +08:00
|
|
|
|
.status-bar.success { background: #dcfce7; }
|
|
|
|
|
|
.status-bar.success .code { color: #166534; }
|
|
|
|
|
|
.status-bar.client-error { background: #fee2e2; }
|
|
|
|
|
|
.status-bar.client-error .code { color: #991b1b; }
|
|
|
|
|
|
.status-bar.server-error { background: #fef3c7; }
|
|
|
|
|
|
.status-bar.server-error .code { color: #92400e; }
|
2026-01-19 23:45:08 +08:00
|
|
|
|
|
2026-02-23 01:50:43 +08:00
|
|
|
|
.code { font-weight: bold; }
|
|
|
|
|
|
.text { color: var(--vp-c-text-2); }
|
2026-01-20 17:53:22 +08:00
|
|
|
|
|
2026-02-23 01:50:43 +08:00
|
|
|
|
.body {
|
|
|
|
|
|
flex: 1;
|
2026-01-20 08:51:04 +08:00
|
|
|
|
background: #1e293b;
|
2026-02-01 23:42:12 +08:00
|
|
|
|
border-radius: 6px;
|
2026-02-23 01:50:43 +08:00
|
|
|
|
padding: 8px;
|
|
|
|
|
|
overflow: auto;
|
2026-02-01 23:42:12 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-23 01:50:43 +08:00
|
|
|
|
.body pre {
|
2026-02-01 23:42:12 +08:00
|
|
|
|
margin: 0;
|
2026-01-20 17:53:22 +08:00
|
|
|
|
font-family: monospace;
|
2026-02-23 01:50:43 +08:00
|
|
|
|
font-size: 0.7rem;
|
2026-02-01 23:42:12 +08:00
|
|
|
|
color: #e2e8f0;
|
|
|
|
|
|
white-space: pre-wrap;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.explanation {
|
2026-02-23 01:50:43 +08:00
|
|
|
|
padding: 8px;
|
|
|
|
|
|
background: #fef3c7;
|
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
font-size: 0.8rem;
|
|
|
|
|
|
color: #92400e;
|
2026-01-20 17:53:22 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-23 01:50:43 +08:00
|
|
|
|
.quick-actions {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
padding: 10px 12px;
|
|
|
|
|
|
background: var(--vp-c-bg-alt);
|
2026-02-01 23:42:12 +08:00
|
|
|
|
border-top: 1px solid var(--vp-c-divider);
|
2026-02-23 01:50:43 +08:00
|
|
|
|
flex-wrap: wrap;
|
2026-02-01 23:42:12 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-23 01:50:43 +08:00
|
|
|
|
.quick-actions .label {
|
|
|
|
|
|
font-size: 0.75rem;
|
2026-02-01 23:42:12 +08:00
|
|
|
|
color: var(--vp-c-text-2);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-23 01:50:43 +08:00
|
|
|
|
.quick-actions button {
|
|
|
|
|
|
padding: 4px 10px;
|
2026-01-20 17:53:22 +08:00
|
|
|
|
border: 1px solid var(--vp-c-divider);
|
2026-02-23 01:50:43 +08:00
|
|
|
|
border-radius: 4px;
|
2026-02-01 23:42:12 +08:00
|
|
|
|
background: var(--vp-c-bg);
|
2026-02-23 01:50:43 +08:00
|
|
|
|
font-size: 0.75rem;
|
2026-02-01 23:42:12 +08:00
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-23 01:50:43 +08:00
|
|
|
|
.quick-actions button:hover {
|
|
|
|
|
|
background: var(--vp-c-bg-soft);
|
2026-01-19 23:45:08 +08:00
|
|
|
|
}
|
|
|
|
|
|
</style>
|