feat: 首页调整
This commit is contained in:
@@ -1,14 +1,11 @@
|
||||
<template>
|
||||
<AiTabSwitch v-model="tabIndex" :list="['探索发现', 'AI伴游']" @change="handleChange" />
|
||||
<view> 探索发现
|
||||
|
||||
</view>
|
||||
|
||||
|
||||
</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>
|
||||
Reference in New Issue
Block a user