crypto.vue 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <template>
  2. <v-container>
  3. <v-row dense>
  4. <v-col v-for="card in cards" :key="card.title" :lg="4" :sm="12">
  5. <v-card height="100%">
  6. <v-card-title>
  7. {{ card.title }}
  8. </v-card-title>
  9. <v-card-text style="height: 80px">
  10. {{ card.address }}
  11. </v-card-text>
  12. <v-img :src="card.img" :contain="true" height="400px" position="top">
  13. </v-img>
  14. </v-card>
  15. </v-col>
  16. </v-row>
  17. </v-container>
  18. </template>
  19. <script>
  20. export default {
  21. transition(to) {
  22. return to.name == "crypto" ? "swoop-in" : "swoop-out";
  23. },
  24. data: () => ({
  25. cards: [
  26. {
  27. title: "Bitcoin",
  28. address: "bitcoin:bc1q90v030fu4z2hzz3x6a4zcwxuzauxkt8gjv8pws",
  29. img: "/qrs/bitcoin.jpg",
  30. },
  31. {
  32. title: "Monero",
  33. address:
  34. "monero:431SM1vExRbdiq5jArCMkhey1g8kYhLYkbgkXYU4kgL6UrXNRzcXtz3HJDayph6Dcb3ErTg8ZAVqJGtS1Ya7Rr9URJ24Tbe",
  35. img: "/qrs/monero.jpg",
  36. },
  37. {
  38. title: "Ethereum",
  39. address: "ethereum:0x981A99cDE3f4E1Ad49Ad84FB62Eca3606007eBEc",
  40. img: "/qrs/ethereum.jpg",
  41. },
  42. ],
  43. }),
  44. };
  45. </script>
  46. <style></style>