提交 6aef57a4 编写于 作者: View Design's avatar View Design

Update [id].vue

上级 aad65391
...@@ -23,13 +23,17 @@ ...@@ -23,13 +23,17 @@
<UDivider /> <UDivider />
</header> </header>
<div class="container max-w-screen-lg flex flex-col space-y-6 mb-4 p-6" id="scrollElement"> <div class="container max-w-screen-lg flex flex-col space-y-6 mb-4 p-6" id="scrollElement">
<div class="grid">
<h1 class="text-3xl truncate">{{ state.query }}</h1> <h1 class="text-3xl truncate">{{ state.query }}</h1>
</div>
<section class="flex items-center gap-2"> <section class="flex items-center gap-2">
<UIcon name="i-simple-icons-github" /> <UIcon name="i-simple-icons-github" />
{{ state.repo }} {{ state.repo }}
</section> </section>
<template v-for="(item, index) in data" :key="index"> <template v-for="(item, index) in data" :key="index">
<div class="grid">
<h1 class="text-3xl truncate" v-if="index !== 0" :id="index + 1">{{ item.question }}</h1> <h1 class="text-3xl truncate" v-if="index !== 0" :id="index + 1">{{ item.question }}</h1>
</div>
<UCard :ui="{ body: { padding: 'p-4 sm:p-4' } }"> <UCard :ui="{ body: { padding: 'p-4 sm:p-4' } }">
<UAccordion :items="[{}]" default-open> <UAccordion :items="[{}]" default-open>
<template #default="{ open }"> <template #default="{ open }">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册