mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-05-27 19:29:52 +08:00
调整全局磨砂层显示逻辑,仅在用户登录时显示;修改分享订阅对话框的最大宽度;为登录按钮添加图标。
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user