Skouter mortgage estimates. Web application with view written in PHP and Vue, but controller and models in Go.
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
488 B

  1. <template>
  2. <Dialog @close="$emit('close')">
  3. <h3>'{{fname}}' ready</h3>
  4. <div class="row"><a :href="props.url" :download="fname">
  5. <button>Download</button>
  6. </a></div>
  7. </Dialog>
  8. </template>
  9. <script setup>
  10. import { computed } from "vue"
  11. import Dialog from "./dialog.vue"
  12. const emit = defineEmits(['close'])
  13. const props = defineProps(['fileName', 'url'])
  14. let fname = props.fileName
  15. </script>
  16. <style scoped>
  17. .modal div.row {
  18. display: flex;
  19. justify-content: center;
  20. }
  21. </style>