diff --git a/src/views/dialog/DialogDemo.vue b/src/views/dialog/DialogDemo.vue index 9dc97830c..7bcdf8ec5 100644 --- a/src/views/dialog/DialogDemo.vue +++ b/src/views/dialog/DialogDemo.vue @@ -8,15 +8,91 @@
-
+
+
+
+
+ + + + The story begins as Don Vito Corleone, the head of a New York Mafia family, oversees his daughter's wedding. + His beloved son Michael has just come home from the war, but does not intend to become part of his father's business. + Through Michael's life the nature of the family business becomes clear. The business of the family is just like the head of the family, + kind and benevolent to those who give respect, but given to ruthless violence whenever anything stands against the good of the family. + @@ -31,15 +107,45 @@ import DialogDoc from './DialogDoc'; export default { data() { return { - display: false + displayBasic: false, + displayBasic2: false, + displayModal: false, + displayMaximizable: false, + displayPosition: false, + position: 'center' } }, methods: { - open() { - this.display = true; + openBasic() { + this.displayBasic = true; }, - close() { - this.display = false; + closeBasic() { + this.displayBasic = false; + }, + openBasic2() { + this.displayBasic2 = true; + }, + closeBasic2() { + this.displayBasic2 = false; + }, + openModal() { + this.displayModal = true; + }, + closeModal() { + this.displayModal = false; + }, + openMaximizable() { + this.displayMaximizable = true; + }, + closeMaximizable() { + this.displayMaximizable = false; + }, + openPosition(position) { + this.position = position; + this.displayPosition = true; + }, + closePosition() { + this.displayPosition = false; } }, components: { @@ -47,3 +153,22 @@ export default { } } +