Commit 4488c7b7 authored by Tình Trương's avatar Tình Trương

Update index.vue

parent e0d142c5
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
arrows arrows
navigation navigation
infinite infinite
height="28rem" height="30rem"
style="border: 2px solid #f1f1f1" style="border: 2px solid #f1f1f1"
> >
<q-carousel-slide <q-carousel-slide
...@@ -58,14 +58,14 @@ ...@@ -58,14 +58,14 @@
? bannerInfo.url ? bannerInfo.url
: configImg.API_IMAGE_ENDPOINT + bannerInfo.bannerUrl : configImg.API_IMAGE_ENDPOINT + bannerInfo.bannerUrl
" "
style="height: 28rem; aspect-ratio: 1/5" style="aspect-ratio: 1/5"
> >
<template v-slot:default> <template v-slot:default>
<div align="right"> <div align="right">
<q-icon <q-icon
style=" style="
position: absolute; position: absolute;
right: 15px; right: 0px;
font-size: 24px; font-size: 24px;
top: 1px; top: 1px;
cursor: pointer; cursor: pointer;
...@@ -178,7 +178,7 @@ ...@@ -178,7 +178,7 @@
</div> </div>
<div class="col-12 q-mt-sm"> <div class="col-12 q-mt-sm">
<div class="row q-col-gutter-lg q-pb-md" align="center" justify="center"> <div class="row q-col-gutter-lg q-pb-md" align="center" justify="center">
<div class="col-4" style="width: 27.06rem; margin-left: 9.3rem"> <div class="col-4" style="width: 27rem; margin-left: 9.3rem">
<div class="flex flex-center"> <div class="flex flex-center">
<div class="text-h6 text-weight-regular q-py-md"> <div class="text-h6 text-weight-regular q-py-md">
Nổi bật(Embed) Nổi bật(Embed)
...@@ -209,7 +209,7 @@ ...@@ -209,7 +209,7 @@
@click="$emit('openDialogUploadEmbed')" @click="$emit('openDialogUploadEmbed')"
class="flex flex-center" class="flex flex-center"
:style=" :style="
socialEmbedded !== null ? 'height: 36.25rem;' : 'height: 36.25rem' socialEmbedded !== null ? 'height: 35rem;' : 'height: 35rem'
" "
> >
<iframe <iframe
...@@ -241,7 +241,7 @@ ...@@ -241,7 +241,7 @@
</div> </div>
</div> </div>
<div class="col-4" style="width: 27.06rem"> <div class="col-4" style="width: 27rem">
<div class="flex flex-center"> <div class="flex flex-center">
<div class="text-h6 text-weight-regular q-py-md">Story</div> <div class="text-h6 text-weight-regular q-py-md">Story</div>
<q-space></q-space> <q-space></q-space>
...@@ -258,7 +258,7 @@ ...@@ -258,7 +258,7 @@
</div> </div>
<div <div
class="flex flex-center" class="flex flex-center"
:style="stories.length ? 'height: 36.25rem' : 'height: 36.25rem;'" :style="stories.length ? 'height: 35rem' : 'height: 35rem;'"
bordered bordered
v-if="!stories.length" v-if="!stories.length"
> >
...@@ -290,14 +290,13 @@ ...@@ -290,14 +290,13 @@
arrows arrows
navigation navigation
infinite infinite
style="height: 28rem" style="height: 35rem"
> >
<q-carousel-slide <q-carousel-slide
v-for="(story, storyIdx) in stories" v-for="(story, storyIdx) in stories"
:key="storyIdx" :key="storyIdx"
:name="storyIdx" :name="storyIdx"
class="q-pa-none" class="q-pa-none"
style="height: 28rem"
> >
<div> <div>
<q-img <q-img
...@@ -332,10 +331,10 @@ ...@@ -332,10 +331,10 @@
</q-carousel> </q-carousel>
</div> </div>
<div class="col-4" style="width: 27.06rem"> <div class="col-4" style="width: 27rem">
<div class="text-h6 text-weight-regular q-py-md">Lịch</div> <div class="text-h6 text-weight-regular q-py-md">Lịch</div>
<q-date <q-date
style="width: 100%; height: 36.25rem" style="width: 100%; height: 35rem"
:model-value="formatSchedules" :model-value="formatSchedules"
@update:model-value="$emit('update:formatSchedules', $event)" @update:model-value="$emit('update:formatSchedules', $event)"
multiple multiple
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment