This commit is contained in:
我若为王 2024-12-17 15:27:26 +08:00
parent 5da67e54e8
commit dc1ba47be6

View File

@ -1,4 +1,5 @@
<template> <template>
<head> <head>
<title>爱拓工具箱</title> <title>爱拓工具箱</title>
</head> </head>
@ -9,7 +10,8 @@
<NuxtLink v-if="tool.available" :to="tool.path" class="block"> <NuxtLink v-if="tool.available" :to="tool.path" class="block">
<a-card hoverable> <a-card hoverable>
<template #title> <template #title>
<h2 class="text-xl font-medium" :class="tool.available ? 'text-gray-800' : 'text-gray-400'"> <h2 class="text-xl font-medium"
:class="tool.available ? 'text-gray-800' : 'text-gray-400'">
{{ tool.title }} {{ tool.title }}
</h2> </h2>
</template> </template>
@ -31,6 +33,12 @@
<script setup> <script setup>
const tools = [ const tools = [
{ {
id: 999,
title: '敬请期待',
description: '更多工具正在开发中...',
path: '',
available: false
}, {
id: 1, id: 1,
title: '阿里云盘TV授权', title: '阿里云盘TV授权',
description: '获取阿里云盘TV端的授权令牌', description: '获取阿里云盘TV端的授权令牌',
@ -44,15 +52,8 @@ const tools = [
path: '/move-car', path: '/move-car',
available: true available: true
}, },
{
id: 3, ].sort((a, b) => a.id - b.id);
title: '敬请期待',
description: '更多工具正在开发中...',
path: '',
available: false
},
];
</script> </script>
<style scoped> <style scoped></style>
</style>