修复部分弹窗背景透明的 bug

This commit is contained in:
fofolee 2022-05-17 22:25:12 +08:00
parent 06631d21d4
commit a1b4b097e3
2 changed files with 6 additions and 6 deletions

View File

@ -102,7 +102,7 @@
<q-card
@click="handleCardClick"
v-ripple
:class="{ [`text-${disabledColor}`]: !isCommandActivated }"
:class="{ [`text-${disabledColor}`]: !isCommandActivated, command: 1 }"
>
<q-card-section>
<!-- logo -->
@ -416,12 +416,12 @@ export default {
</script>
<style scoped>
.q-card {
.q-card.command {
cursor: pointer;
user-select: none;
background: #00000008;
}
.q-card--dark {
.q-card--dark.command {
background: #ffffff08;
}
.q-badge {

View File

@ -7,7 +7,7 @@
v-for="count in currentPageCounts"
:key="count"
>
<q-card>
<q-card class="command">
<q-item v-if="loading">
<q-item-section avatar>
<q-skeleton square width="48px" height="48px" animation="fade" />
@ -261,12 +261,12 @@ export default {
</script>
<style scoped>
.q-card {
.q-card.command {
user-select: none;
padding: 8px;
background: #00000008;
}
.q-card--dark {
.q-card--dark.command {
background: #ffffff08;
}
.tag {