mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 06:43:51 +02:00
replace el-popover el-card
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<el-card :body-style="{ padding: '0px' }" class="event-card" :class="cardClass">
|
||||
<Card class="event-card p-0 gap-0" :class="cardClass">
|
||||
<img :src="bannerUrl" @click="showFullscreenImageDialog(bannerUrl)" class="banner" />
|
||||
<div class="event-content">
|
||||
<div class="event-title">
|
||||
@@ -69,12 +69,13 @@
|
||||
<el-icon><StarFilled /></el-icon>
|
||||
</div>
|
||||
</div>
|
||||
</el-card>
|
||||
</Card>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { Calendar, Download, Share, Star, StarFilled } from '@element-plus/icons-vue';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { Card } from '@/components/ui/card';
|
||||
import { computed } from 'vue';
|
||||
import { toast } from 'vue-sonner';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
@@ -205,6 +206,7 @@
|
||||
position: relative;
|
||||
overflow: visible;
|
||||
border-radius: 8px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.event-card:hover {
|
||||
@@ -226,10 +228,6 @@
|
||||
max-width: 320px;
|
||||
}
|
||||
|
||||
.event-card :deep(.el-card__body) {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.event-card .banner {
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
@@ -351,9 +349,4 @@
|
||||
color: var(--el-color-primary);
|
||||
}
|
||||
|
||||
:deep(.el-card) {
|
||||
border-radius: 8px;
|
||||
width: 100%;
|
||||
overflow: visible;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user