2019-07-24 17:20:44 +02:00
|
|
|
<template>
|
|
|
|
<article class="showroom">
|
|
|
|
<header>
|
|
|
|
<h1 v-html="item.name" />
|
|
|
|
</header>
|
|
|
|
<section class="images">
|
|
|
|
<figure v-html="item.field_visuels"></figure>
|
|
|
|
</section>
|
|
|
|
<section class="content">
|
|
|
|
<address v-html="item.field_public_address" />
|
|
|
|
<div class="phone" v-html="item.field_public_phone" />
|
|
|
|
<div class="email" v-html="item.field_public_email" />
|
|
|
|
</section>
|
|
|
|
</article>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2020-12-23 19:11:46 +01:00
|
|
|
// import { JSONAPI } from 'vuejs/api/json-axios'
|
2019-07-24 17:20:44 +02:00
|
|
|
import router from 'vuejs/route'
|
|
|
|
|
|
|
|
let basePath = drupalSettings.path.baseUrl + drupalSettings.path.pathPrefix;
|
|
|
|
|
|
|
|
export default {
|
|
|
|
name: "Showroom",
|
|
|
|
router,
|
|
|
|
props: ['item'],
|
|
|
|
// data(){
|
|
|
|
// return {
|
|
|
|
// alias: this.item.view_node.replace(/^.?\/showroom\//g, '')
|
|
|
|
// }
|
|
|
|
// },
|
|
|
|
// methods:{}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
</style>
|