feat: 新首页的搭建

This commit is contained in:
2026-04-24 16:56:56 +08:00
parent 5d0198b17a
commit 59e8b0325b
5 changed files with 264 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
<template>
<AiTabSwitch v-model="tabIndex" :list="['探索发现', 'AI伴游']" @change="handleChange" />
</template>
<script setup>
import { ref } from "vue";
import AiTabSwitch from "@/components/AiTabSwitch/index.vue";
const tabIndex = ref(0);
const handleChange = (i) => {
console.log("切换:", i);
};
</script>