WithReference.vue 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <template>
  2. <div>
  3. <v-container grid-list-md text-xs-center fluid>
  4. <v-layout row wrap>
  5. <v-flex xs6>
  6. <v-card dark color="primary">
  7. <v-card-text class="px-0">Experience image</v-card-text>
  8. <v-img src="https://diran.univ-littoral.fr/api/images/Appart1opt02/appartAopt_00900.png" />
  9. </v-card>
  10. </v-flex>
  11. <v-flex xs6>
  12. <v-card dark color="primary">
  13. <v-card-text>Reference image</v-card-text>
  14. <v-img src="https://diran.univ-littoral.fr/api/images/Appart1opt02/appartAopt_00900.png" />
  15. </v-card>
  16. </v-flex>
  17. </v-layout>
  18. </v-container>
  19. </div>
  20. </template>
  21. <script>
  22. import { mapGetters } from 'vuex'
  23. import { API_ROUTES } from '@/functions'
  24. export default {
  25. name: 'ExperimentWithReference',
  26. props: {
  27. sceneId: {
  28. type: String,
  29. required: true
  30. }
  31. },
  32. computed: {
  33. },
  34. async mounted() {
  35. await this.getExtracts()
  36. },
  37. methods: {
  38. async getExtracts() {
  39. const scenes = await fetch(`${this.getHostURI}${API_ROUTES.getImage()}`).then(res => res.json())
  40. }
  41. }
  42. }
  43. </script>