finish.vue 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <script lang='ts' setup>
  2. import { useCommonStore } from '@/stores/modules/common'
  3. import { downloadFile } from '@/utils/common/download'
  4. const commonStore = useCommonStore()
  5. const { downloadCatalog } = storeToRefs(commonStore)
  6. function startDownload() {
  7. if (downloadCatalog.value)
  8. downloadFile(downloadCatalog.value.pdf, `${downloadCatalog.value.title}.pdf`)
  9. else
  10. console.error('No download catalog available')
  11. }
  12. startDownload()
  13. </script>
  14. <template>
  15. <div>
  16. <div class="custom-title-font text-24px fw-800 text-#333 mb-10px flex items-center">
  17. Download Successfully!👏
  18. </div>
  19. <div class="text-14px text-#1A1A1A lh-22px mb-20px">
  20. Please feel free to contact us to customize your exclusive product solution.
  21. </div>
  22. <div class="b-rd-200px bg-#fff text-#333 py-14px px-46px b-1px b-solid b-#D8D8D8 hover:b-#9B6CFF flex !bg-#fff items-center mb-24px">
  23. <div class="p-14px b-rd-50% bg-#F2E5F2 mr-26px">
  24. <img src="@/assets/images/email.png" alt="" class="w-24px h-24px ">
  25. </div>
  26. <div>
  27. <div class="text-18px fw-bold custom-title-font">
  28. Email
  29. </div>
  30. <div class="text-#9B6CFF lh-24px">
  31. spark@ejet.com
  32. </div>
  33. </div>
  34. </div>
  35. <div class="b-rd-200px bg-#fff b-1px py-14px px-46px text-#333 b-solid b-#D8D8D8 hover:b-#9B6CFF flex items-center">
  36. <div class="p-14px b-rd-50% bg-#F2E5F2 mr-26px">
  37. <img src="@/assets/images/wechat.png" class="w-24px h-24px" alt="">
  38. </div>
  39. <div>
  40. <div class="text-18px fw-bold custom-title-font">
  41. WhatsApp
  42. </div>
  43. <div class="text-#9B6CFF lh-24px">
  44. +1 (234) 567-890
  45. </div>
  46. </div>
  47. </div>
  48. </div>
  49. </template>
  50. <style lang='less' scoped>
  51. ::v-deep(.login-input) {
  52. &.error-txt{
  53. .el-input__wrapper{
  54. border: 1px solid red!important;
  55. }
  56. }
  57. .el-input__wrapper{
  58. border-radius: 10px;
  59. }
  60. }
  61. </style>