|
@@ -5,13 +5,13 @@
|
|
|
v-model="show"
|
|
|
persistent
|
|
|
v-bind="$attrs"
|
|
|
- :fullscreen="showDrawer"
|
|
|
+ :fullscreen="fullscreen"
|
|
|
:max-width="dialogWidth"
|
|
|
:width="dialogWidth"
|
|
|
>
|
|
|
<div class="d-flex" style="width: 100%;height: 100%" ref="print">
|
|
|
- <v-card class="d-flex flex-column" style="width: 100%;" :style="!showDrawer ? 'max-height: 90vh' : ''">
|
|
|
- <v-card-title :class="{'drawer': showDrawer}" class="justify-space-between">
|
|
|
+ <v-card class="d-flex flex-column" style="width: 100%;" :style="!fullscreen ? 'max-height: 90vh' : ''">
|
|
|
+ <v-card-title :class="{'drawer': fullscreen}" class="justify-space-between">
|
|
|
<span class="text-h5">
|
|
|
{{ title }}
|
|
|
</span>
|
|
@@ -22,7 +22,7 @@
|
|
|
</v-icon>
|
|
|
</v-btn>
|
|
|
<v-btn icon @click="handleClose">
|
|
|
- <v-icon :color="showDrawer ? '#fff' : '#000'">
|
|
|
+ <v-icon :color="fullscreen ? '#fff' : '#000'">
|
|
|
mdi-close
|
|
|
</v-icon>
|
|
|
</v-btn>
|
|
@@ -101,7 +101,7 @@ export default {
|
|
|
type: Boolean,
|
|
|
default: true
|
|
|
},
|
|
|
- showDrawer: {
|
|
|
+ fullscreen: {
|
|
|
type: Boolean,
|
|
|
default: false
|
|
|
},
|