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

update

上级 7587d87a
......@@ -13,7 +13,8 @@
</ULink>
<UCard class="cursor-pointer" :ui="cardUI" v-if="source.length > 6" @click="handleToggleShowAll">
<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-else>收起</div>
</div>
......
<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">
<div>{{ language }}</div>
<UButton
......
......@@ -23,9 +23,9 @@
</div>
<UDivider />
</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">
<h1 class="text-3xl truncate">{{ state.query }}</h1>
<h2 class="text-3xl">{{ state.query }}</h2>
</div>
<section class="flex items-center gap-2">
<UIcon name="i-simple-icons-github" />
......@@ -33,7 +33,7 @@
</section>
<template v-for="(item, index) in data" :key="index">
<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>
<UCard :ui="{ body: { padding: 'p-4 sm:p-4' } }">
<UAccordion :items="[{}]" default-open>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册