Explorar el Código

gallery layout

centered caption placement
tags/0.9.0
Alej hace 5 años
padre
commit
a0e31c286b
Se han modificado 1 ficheros con 5 adiciones y 2 borrados
  1. 5
    2
      vue-theme/src/pages/single.vue

+ 5
- 2
vue-theme/src/pages/single.vue Ver fichero

@@ -14,10 +14,13 @@
14 14
             //- ?: are objects are always gallery blocks
15 15
             .gallery.block(v-if="typeof block === 'object'" :class="`gallery-${i}`")
16 16
                 p gallery number: {{ i }}
17
-                ul
17
+                ul.t-cntr 
18 18
                     li(v-for="(imageID, j) in post.galleries[block.gallery].ids" :class="`gallery-${i}--image-${j+1}`" :key="`block-${i}-${j}`")
19 19
                         img(@click="openGallery(i - 1, imageID)" :src="post.attached[imageID]['thumbnail']")
20
-                        button(@click="openGallery(i - 1, imageID)") gallery: {{ i }} image: {{ imageID }}
20
+                        //- TO DO Caption stuff and full screen Title/Description
21
+                        p Caption goes here<br>
22
+                            button(@click="openGallery(i - 1, imageID)") gallery: {{ i }} image: {{ imageID }}
23
+                        br
21 24
                 //- Fullscreen gallery component for every gallery block
22 25
                 gallery(
23 26
                     v-if="activeGalleryIndex == (i - 1)"

Loading…
Cancelar
Guardar