format
This commit is contained in:
@@ -1,56 +1,30 @@
|
||||
<template>
|
||||
<q-page>
|
||||
<div class="flex flex-center q-pt-xl" v-if="filtroPaginacion.length > 0">
|
||||
<div
|
||||
class="row full-width reverse-wrap margenes"
|
||||
v-for="item in filtroPaginacion"
|
||||
:key="item.id"
|
||||
:id="item.id"
|
||||
>
|
||||
<div class="flex flex-center q-pt-xl margenes" v-if="filtroPaginacion.length > 0">
|
||||
<div class="row full-width reverse-wrap margenes" v-for="item in filtroPaginacion" :key="item.id" :id="item.id">
|
||||
<div class="col-sm-7 q-px-sm full-height">
|
||||
<router-link
|
||||
:href="item.id"
|
||||
:to="{ path: item.id, params: { markdown: item.id } }"
|
||||
>
|
||||
<router-link :href="item.id" :to="{ path: item.id, params: { markdown: item.id } }">
|
||||
<div class="text-h5 q-mt-sm q-mb-xs" v-html="item.title"></div>
|
||||
</router-link>
|
||||
<div class="text-overline text-blue">{{ item.date }}</div>
|
||||
<div class="text-overline text-red">
|
||||
<span v-for="(tag, index) in item.categorias" :key="index"
|
||||
>#/{{ tag + " " }}
|
||||
<span v-for="(tag, index) in item.categorias" :key="index">#/{{ tag + " " }}
|
||||
</span>
|
||||
</div>
|
||||
<div class="self-center">
|
||||
<div
|
||||
class="text-body1 text-grey-10 justify-between"
|
||||
v-html="item.description"
|
||||
></div>
|
||||
<div class="text-body1 text-grey-10 justify-between" v-html="item.description"></div>
|
||||
<div class="row full-width">
|
||||
<q-btn
|
||||
color="secondary"
|
||||
label="Leer más.."
|
||||
:to="{ path: item.id, params: { markdown: item.id } }"
|
||||
>
|
||||
<q-btn color="secondary" label="Leer más.." :to="{ path: item.id, params: { markdown: item.id } }">
|
||||
</q-btn>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-5 col-12 q-px-sm">
|
||||
<img
|
||||
class="rounded-borders"
|
||||
:src="`./../../${item.id}${item.imagen}`"
|
||||
style="width: 100%"
|
||||
/>
|
||||
<img class="rounded-borders" :src="`./../../${item.id}${item.imagen}`" style="width: 100%" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex flex-center q-pa-xl">
|
||||
<q-pagination
|
||||
v-model="current"
|
||||
:max="maxPaginas"
|
||||
input
|
||||
input-class="text-orange-10"
|
||||
@click="scrollToTop"
|
||||
/>
|
||||
<q-pagination v-model="current" :max="maxPaginas" input input-class="text-orange-10" @click="scrollToTop" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex flex-center q-mt-xl q-pt-xl" v-else>
|
||||
|
||||
Reference in New Issue
Block a user