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

add

上级 4f474504
......@@ -44,6 +44,7 @@
</template>
</div>
<UButton
v-else
class="flex flex-grow gap-2 justify-center"
size="lg"
label="登录"
......
<template>
<div class="flex flex-col w-full">
<template v-if="$isSignIn">
<div class="flex flex-grow justify-between items-center gap-2 p-4">
<div class="flex flex-grow justify-between items-center p-4">
<UDropdown class="flex flex-grow" :items="items">
<UButton class="flex flex-grow gap-2" color="gray" variant="ghost">
<UAvatar :src="$info.avatar" />
<div>{{ $info.name }}</div>
<UBadge v-if="$info.pro" size="xs" color="purple" variant="soft" label="PRO" />
<UBadge v-else size="xs" color="gray" variant="soft" label="FREE" />
<UButton class="flex flex-grow" color="gray" variant="ghost">
<div class="flex flex-grow items-center gap-2">
<UAvatar :src="$info.avatar" />
<div>{{ $info.name }}</div>
<UBadge v-if="$info.pro" size="xs" color="yellow" variant="soft" label="PRO" />
<UBadge v-else size="xs" color="gray" variant="soft" label="FREE" />
</div>
<UIcon name="i-heroicons-chevron-down-20-solid" />
</UButton>
</UDropdown>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册