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

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
+1 -1
View File
@@ -205,7 +205,7 @@ onUnmounted(() => {
:style="{ backgroundImage: `url(${getImgUrl(imageUrl)})` }" :style="{ backgroundImage: `url(${getImgUrl(imageUrl)})` }"
></div> ></div>
<!-- 全局磨砂层 --> <!-- 全局磨砂层 -->
<div class="global-blur-layer"></div> <div v-if="isLogin" class="global-blur-layer"></div>
</div> </div>
</template> </template>
@@ -51,7 +51,7 @@ const $toast = useToast()
</script> </script>
<template> <template>
<VDialog scrollable max-width="50rem" :fullscreen="!display.mdAndUp.value"> <VDialog scrollable max-width="30rem" :fullscreen="!display.mdAndUp.value">
<VCard <VCard
:title="`分享订阅 - ${props.sub?.name} ${props.sub?.season ? `第 ${props.sub?.season} 季` : ''}`" :title="`分享订阅 - ${props.sub?.name} ${props.sub?.season ? `第 ${props.sub?.season} 季` : ''}`"
class="rounded-t" class="rounded-t"
+2 -1
View File
@@ -186,6 +186,7 @@ onMounted(async () => {
class="auth-card px-7 py-3 w-full h-full" class="auth-card px-7 py-3 w-full h-full"
:class="{ 'opacity-75': globalTheme.name.value !== 'transparent' }" :class="{ 'opacity-75': globalTheme.name.value !== 'transparent' }"
max-width="24rem" max-width="24rem"
border
> >
<VCardItem class="justify-center"> <VCardItem class="justify-center">
<template #prepend> <template #prepend>
@@ -233,7 +234,7 @@ onMounted(async () => {
</VCol> </VCol>
<VCol cols="12"> <VCol cols="12">
<!-- login button --> <!-- 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"> <VAlert v-if="errorMessage" type="error" variant="tonal" class="mt-3">
{{ errorMessage }} {{ errorMessage }}
</VAlert> </VAlert>