ajuste para el slider
This commit is contained in:
parent
3e383d0d28
commit
c5b0fa717a
|
@ -74,7 +74,7 @@ async function contact_Request(name, phone, email, message) {
|
|||
|
||||
async function findAll_banner() {
|
||||
const conn = await connect();
|
||||
const [rows] = await conn.query(`SELECT * FROM floranet.banners`);
|
||||
const [rows] = await conn.query(`CALL sliders_get`);
|
||||
return rows;
|
||||
}
|
||||
|
||||
|
|
|
@ -48,11 +48,11 @@ export default defineComponent({
|
|||
<div ref="target" class="vertical-carousel-container" style="min-height: 100dvh">
|
||||
<q-carousel navigation-position="right" style="min-height: 100dvh" v-model="slide" navigation autoplay infinite
|
||||
animated v-if="!!banners.length" class="custom-carousel">
|
||||
<q-carousel-slide v-for="(item, i) in banners" :key="i" :name="item.title" :img-src="item.image">
|
||||
<q-carousel-slide v-for="(item, i) in banners" :key="i" :name="item.longName" :img-src="item.url">
|
||||
<div class="vertical-carousel-content">
|
||||
<header class="carousel-content-header">
|
||||
<h1 class="carousel-header-title">
|
||||
{{ item.title }}
|
||||
{{ item.longName }}
|
||||
</h1>
|
||||
</header>
|
||||
|
||||
|
|
Loading…
Reference in New Issue