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

update

上级 7587d87a
...@@ -13,7 +13,8 @@ ...@@ -13,7 +13,8 @@
</ULink> </ULink>
<UCard class="cursor-pointer" :ui="cardUI" v-if="source.length > 6" @click="handleToggleShowAll"> <UCard class="cursor-pointer" :ui="cardUI" v-if="source.length > 6" @click="handleToggleShowAll">
<div class="flex items-center justify-center h-full gap-1"> <div class="flex items-center justify-center h-full gap-1">
<UIcon name="i-heroicons-link-20-solid" /> <UIcon v-if="!showAllSource" name="i-heroicons-chevron-down-20-solid" />
<UIcon v-else name="i-heroicons-chevron-up-20-solid" />
<div v-if="!showAllSource">查看全部{{ source.length }}个来源</div> <div v-if="!showAllSource">查看全部{{ source.length }}个来源</div>
<div v-else>收起</div> <div v-else>收起</div>
</div> </div>
......
<template> <template>
<UCard :ui="{ body: { padding: 'p-0 sm:p-0' }, base: 'overflow-hidden' }"> <UCard :ui="{ body: { padding: 'p-0 sm:p-0' }, base: 'overflow-hidden mt-5 mb-5' }">
<pre class="flex justify-between m-0 rounded-none dark"> <pre class="flex justify-between m-0 rounded-none dark">
<div>{{ language }}</div> <div>{{ language }}</div>
<UButton <UButton
......
...@@ -23,9 +23,9 @@ ...@@ -23,9 +23,9 @@
</div> </div>
<UDivider /> <UDivider />
</header> </header>
<div class="container max-w-screen-lg flex flex-col space-y-6 p-6 pb-0" id="scrollElement"> <div class="container max-w-screen-lg flex flex-col space-y-6 p-6 mb-6 pb-0" id="scrollElement">
<div class="grid"> <div class="grid">
<h1 class="text-3xl truncate">{{ state.query }}</h1> <h2 class="text-3xl">{{ state.query }}</h2>
</div> </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" />
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
</section> </section>
<template v-for="(item, index) in data" :key="index"> <template v-for="(item, index) in data" :key="index">
<div class="grid" v-if="index !== 0"> <div class="grid" v-if="index !== 0">
<h1 class="text-3xl truncate" :id="index + 1">{{ item.question }}</h1> <h1 class="text-3xl" :id="index + 1">{{ item.question }}</h1>
</div> </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>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册