fixed thematiques display
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
</header>
|
||||
<section class="images" v-switcher>
|
||||
<figure
|
||||
v-for="(img, index) in item.visuels"
|
||||
v-for="(img, index) in item.images"
|
||||
:key="img.url"
|
||||
>
|
||||
<img
|
||||
@@ -28,7 +28,7 @@
|
||||
</figure>
|
||||
</section>
|
||||
<CoolLightBox
|
||||
:items="item.visuels"
|
||||
:items="item.images"
|
||||
:index="lightbox_index"
|
||||
srcName="style_hd_url"
|
||||
:loop="true"
|
||||
@@ -54,7 +54,7 @@ export default {
|
||||
blanksrc:`${drupalSettings.path.themePath}/assets/img/blank.gif`,
|
||||
// loadingFlag: false,
|
||||
lightbox_index: null,
|
||||
alias: this.item.path.replace(/^.?\/thematique\//g, '')
|
||||
alias: this.item.path.replace(/^.*\/thematique\//g, '')
|
||||
}
|
||||
},
|
||||
// computed: {
|
||||
@@ -98,7 +98,7 @@ export default {
|
||||
// }
|
||||
// },
|
||||
openThematique (e) {
|
||||
console.log('openThematique', e);
|
||||
console.log('openThematique', e, this.alias);
|
||||
this.$router.push({
|
||||
name:`thematique`,
|
||||
params: { alias:this.alias }
|
||||
|
Reference in New Issue
Block a user