调整全局磨砂层显示逻辑,仅在用户登录时显示;修改分享订阅对话框的最大宽度;为登录按钮添加图标。

This commit is contained in:
jxxghp
2025-04-27 12:55:43 +08:00
parent 79f45b8499
commit 8c405d941b
3 changed files with 4 additions and 3 deletions

View File

@@ -205,7 +205,7 @@ onUnmounted(() => {
:style="{ backgroundImage: `url(${getImgUrl(imageUrl)})` }"
></div>
<!-- 全局磨砂层 -->
<div class="global-blur-layer"></div>
<div v-if="isLogin" class="global-blur-layer"></div>
</div>
</template>

View File

@@ -51,7 +51,7 @@ const $toast = useToast()
</script>
<template>
<VDialog scrollable max-width="50rem" :fullscreen="!display.mdAndUp.value">
<VDialog scrollable max-width="30rem" :fullscreen="!display.mdAndUp.value">
<VCard
:title="`分享订阅 - ${props.sub?.name} ${props.sub?.season ? `第 ${props.sub?.season} 季` : ''}`"
class="rounded-t"

View File

@@ -186,6 +186,7 @@ onMounted(async () => {
class="auth-card px-7 py-3 w-full h-full"
:class="{ 'opacity-75': globalTheme.name.value !== 'transparent' }"
max-width="24rem"
border
>
<VCardItem class="justify-center">
<template #prepend>
@@ -233,7 +234,7 @@ onMounted(async () => {
</VCol>
<VCol cols="12">
<!-- login button -->
<VBtn block type="submit" @click="login"> 登录 </VBtn>
<VBtn block type="submit" @click="login" prepend-icon="mdi-login"> 登录 </VBtn>
<VAlert v-if="errorMessage" type="error" variant="tonal" class="mt-3">
{{ errorMessage }}
</VAlert>