修复部分弹窗背景透明的 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 <q-card
@click="handleCardClick" @click="handleCardClick"
v-ripple v-ripple
:class="{ [`text-${disabledColor}`]: !isCommandActivated }" :class="{ [`text-${disabledColor}`]: !isCommandActivated, command: 1 }"
> >
<q-card-section> <q-card-section>
<!-- logo --> <!-- logo -->
@ -416,12 +416,12 @@ export default {
</script> </script>
<style scoped> <style scoped>
.q-card { .q-card.command {
cursor: pointer; cursor: pointer;
user-select: none; user-select: none;
background: #00000008; background: #00000008;
} }
.q-card--dark { .q-card--dark.command {
background: #ffffff08; background: #ffffff08;
} }
.q-badge { .q-badge {

View File

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