|
|
@ -9,33 +9,35 @@ |
|
|
|
<body> |
|
|
|
<!-- template for the modal component --> |
|
|
|
<script type="text/x-template" id="modal-template"> |
|
|
|
<div class="modal-mask" transition="modal"> |
|
|
|
<div class="modal-wrapper"> |
|
|
|
<div class="modal-container"> |
|
|
|
<transition name="modal"> |
|
|
|
<div class="modal-mask"> |
|
|
|
<div class="modal-wrapper"> |
|
|
|
<div class="modal-container"> |
|
|
|
|
|
|
|
<div class="modal-header"> |
|
|
|
<slot name="header"> |
|
|
|
default header |
|
|
|
</slot> |
|
|
|
</div> |
|
|
|
<div class="modal-header"> |
|
|
|
<slot name="header"> |
|
|
|
default header |
|
|
|
</slot> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="modal-body"> |
|
|
|
<slot name="body"> |
|
|
|
default body |
|
|
|
</slot> |
|
|
|
</div> |
|
|
|
<div class="modal-body"> |
|
|
|
<slot name="body"> |
|
|
|
default body |
|
|
|
</slot> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="modal-footer"> |
|
|
|
<slot name="footer"> |
|
|
|
default footer |
|
|
|
<button class="modal-default-button" @click="$emit('close')"> |
|
|
|
OK |
|
|
|
</button> |
|
|
|
</slot> |
|
|
|
<div class="modal-footer"> |
|
|
|
<slot name="footer"> |
|
|
|
default footer |
|
|
|
<button class="modal-default-button" @click="$emit('close')"> |
|
|
|
OK |
|
|
|
</button> |
|
|
|
</slot> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</transition> |
|
|
|
</script> |
|
|
|
|
|
|
|
<!-- app --> |
|
|
|