|
| 1 | +<script setup lang="ts"> |
| 2 | +import { ref } from "vue" |
| 3 | +import Header from "@/components/Header/index.vue" |
| 4 | +import Footer from "@/components/Footer/index.vue" |
| 5 | +import { useRouter } from "vue-router" |
| 6 | +import ChatGPT from "@/assets/ChatGPT.png" |
| 7 | +import T5 from "@/assets/t5.png" |
| 8 | +import GLM from "@/assets/GLM.png" |
| 9 | +
|
| 10 | +const router = useRouter() |
| 11 | +const input = ref("") |
| 12 | +const imgList = ref<any>(["多模态", "自然语言处理", "语音识别"]) |
| 13 | +const modelList = ref<any>([ |
| 14 | + "openai_humaneval", |
| 15 | + "THUDM/AgentInstruct", |
| 16 | + "EleutherAI/proof-pile-2", |
| 17 | + "fka/awesome-chatgpt-prompts", |
| 18 | + "open-web-math/open-web-math", |
| 19 | + "stingning/ultrachat", |
| 20 | +]) |
| 21 | +const activeName = ref("多模态") |
| 22 | +const img2List = ref<any>([ |
| 23 | + ChatGPT, |
| 24 | + T5, |
| 25 | + GLM, |
| 26 | + "https://img.jsdesign2.com/assets/img/6475a9536be6533b8a7441f0.png#ebade77ad960ea0306274202cbfdb640", |
| 27 | + "https://img.jsdesign2.com/assets/img/652ca2e6454393a7d697adb0.png#c349e97700e81fe55284332a6d77cd93", |
| 28 | + "https://img.jsdesign2.com/assets/img/652ca2e6454393a7d697adb0.png#c349e97700e81fe55284332a6d77cd93", |
| 29 | +]) |
| 30 | +</script> |
| 31 | + |
| 32 | +<template> |
| 33 | + <div class="w-full overflow-auto h-full flex flex-col justify-between"> |
| 34 | + <Header /> |
| 35 | + <section class="flex-1 max-w-[1240px] w-full mx-auto my-5 px-5"> |
| 36 | + <div class="flex justify-between h-60 items-center"> |
| 37 | + <div class="text-4xl font-bold">AI模型数据集</div> |
| 38 | + <div class="max-w-[620px]"> |
| 39 | + <div> |
| 40 | + 这里提供全面的AI模型数据集的分类和数据集列表展示,让你更好地了解和选择AI模型数据集。 |
| 41 | + </div> |
| 42 | + <div class="flex mt-8"> |
| 43 | + <el-input v-model="input" size="large" placeholder="输入数据集名称" /> |
| 44 | + <el-button class="ml-4" size="large">搜索</el-button> |
| 45 | + </div> |
| 46 | + </div> |
| 47 | + </div> |
| 48 | + <div class="flex justify-between h-30 items-center mt-40"> |
| 49 | + <div class="text-4xl font-bold">AI模型数据集列表</div> |
| 50 | + </div> |
| 51 | + <div class="flex justify-between items-start mt-10 mb-40"> |
| 52 | + <div class="w-60"> |
| 53 | + <div |
| 54 | + class="rounded-xl px-4 py-2 h-12 my-1 flex items-center cursor-pointer" |
| 55 | + :class="activeName == item && 'bg-black text-[#fff]'" |
| 56 | + v-for="item in imgList" |
| 57 | + @click="activeName = item" |
| 58 | + > |
| 59 | + {{ item }} |
| 60 | + </div> |
| 61 | + </div> |
| 62 | + <div class="flex-1 ml-10 grid grid-cols-3 gap-6"> |
| 63 | + <div class="py-2 items-center cursor-pointer" v-for="(item, index) in img2List"> |
| 64 | + <div class="rounded-xl overflow-hidden"><img class="w-full h-full" :src="item" /></div> |
| 65 | + <div class="mt-3 font-bold">{{ modelList[index] }}</div> |
| 66 | + <div class="mt-2 text-sm text-ellipsis whitespace-nowrap overflow-hidden"> |
| 67 | + 人工智能助手可以帮助您完成各种任务,提高工作效率 |
| 68 | + </div> |
| 69 | + <div class="mt-2 text-sm flex"> |
| 70 | + <img |
| 71 | + class="w-5 h-5 mr-2" |
| 72 | + src="https://img.jsdesign2.com/assets/element/ai_AheJcMcjCpO/image/c55515821e36c495c64b891645a48b0039c951d6.png" |
| 73 | + /> |
| 74 | + <img |
| 75 | + class="w-5 h-5 mr-2" |
| 76 | + src="https://img.jsdesign2.com/assets/element/ai_AheJcMcjCpO/image/c55515821e36c495c64b891645a48b0039c951d6.png" |
| 77 | + /> |
| 78 | + <img |
| 79 | + class="w-5 h-5 mr-2" |
| 80 | + src="https://img.jsdesign2.com/assets/element/ai_AheJcMcjCpO/image/c55515821e36c495c64b891645a48b0039c951d6.png" |
| 81 | + /> |
| 82 | + <img |
| 83 | + class="w-5 h-5 mr-2" |
| 84 | + src="https://img.jsdesign2.com/assets/element/ai_AheJcMcjCpO/image/c55515821e36c495c64b891645a48b0039c951d6.png" |
| 85 | + /> |
| 86 | + <div class="ml-4">4星</div> |
| 87 | + </div> |
| 88 | + </div> |
| 89 | + </div> |
| 90 | + </div> |
| 91 | + </section> |
| 92 | + <Footer /> |
| 93 | + </div> |
| 94 | +</template> |
| 95 | + |
| 96 | +<style scoped> |
| 97 | +.el-input { |
| 98 | + border-color: #333333; |
| 99 | + border: 2px solid; |
| 100 | + border-radius: 4px; |
| 101 | +} |
| 102 | +.el-button { |
| 103 | + /* border-color: #333333; */ |
| 104 | + border: 2px solid; |
| 105 | + border-radius: 4px; |
| 106 | + height: 42px; |
| 107 | +} |
| 108 | +</style> |
0 commit comments