Галелеря

This commit is contained in:
iriska-gri committed 2024-01-26 15:48:01 +03:00
1 parent ec8fa413d8
commit a382dd81d8
12 files changed
+86 -103

No files matched your search

+3
View File
@@ -68,4 +68,7 @@ import {useAccountStore} from '@/store/AccountStore'
gap: 5px;
}
.w100 {
max-width: 100%!important
}
</style>
+56 -80
View File
@@ -1,102 +1,79 @@
<template>
<!-- cycle -->
<v-carousel
cycle
interval="10000"
cover
height="450"
hide-delimiters
hide-delimiter-background
show-arrows="hover"
color="white"
<v-carousel
cycle
interval="10000"
cover
height="450"
hide-delimiters
hide-delimiter-background
show-arrows="hover"
color="white"
>
>
<v-carousel-item
v-for="(x, i) in carous" :key="i"
:src="`${burl}${x.link}`"
cover
eager
>
<!-- -->
<v-carousel-item
v-for="(x, i) in carous" :key="i"
:src="`${burl}${x.link}`"
cover
eager
>
<v-container
fill-height
fluid
pa-0 ma-0 pb-3
class="flex-column h-100 d-flex"
>
<v-card class="bgCard h-100 d-flex flex-column">
<v-card-title class="ma-2 text-h3 text-uppercase titles text-text_carous py-5 flex-column">
<v-row>
<v-col class="pa-0 pl-1 align-self-center">{{x.title}} </v-col>
<v-col class="flex-grow-0 pa-0 pr-1">
<v-img
width="50"
:aspect-ratio="1"
:src="`${burl}${x.sender}`"
cover
/>
</v-col>
</v-row>
</v-card-title>
<v-card-text class="ml-2 mb-0 mb-2 w-50 flex-grow-0 pb-3 text-h6 bgText overflow-auto ">
<v-textarea
class="text-text_carous mt-n3 text-black textareas pt-2 font-weight-medium"
:model-value=x.text
variant='plain'
readonly
auto-grow
rows="1"
hide-details
/>
</v-card-text>
</v-card>
</v-container>
</v-carousel-item>
</v-carousel>
<v-card v-if="x.text != '' || x.title != null" class="bgCard h-100 d-flex flex-column">
<v-card-title v-if="x.title != null" class="ma-2 text-h3 text-uppercase titles text-text_carous py-5 flex-column">
<v-row>
<v-col class="pa-0 pl-1 align-self-center">
{{x.title}}
</v-col>
<v-col class="flex-grow-0 pa-0 pr-1">
<v-img
width="50"
:aspect-ratio="1"
:src="`${burl}${x.sender}`"
cover
/>
</v-col>
</v-row>
</v-card-title>
<v-card-text v-if="x.text != ''" class="ml-2 mb-2 w-50 flex-grow-0 pb-3 text-h6 bgText overflow-auto">
<v-textarea
class="text-text_carous mt-n3 text-black textareas pt-2 font-weight-medium"
:model-value=x.text
variant='plain'
readonly
auto-grow
rows="1"
hide-details
/>
</v-card-text>
</v-card>
</v-container>
</v-carousel-item>
</v-carousel>
</template>
<script>
import { ref, computed } from 'vue'
import { ref } from 'vue'
import {getfromserver} from '@/utils/universal_functions'
import { baseURL } from '@/utils/axios-api'
export default {
setup() {
const burl = baseURL.slice(0,-1)
const carous=ref([{link: "newsimage/default.jpg"}])
getfromserver("api/navigation/carousels/", carous)
getfromserver("api/navigation/carousels/", carous)
return { burl, carous}
return {
burl,
carous
}
}
}
@@ -105,12 +82,11 @@ export default {
<style>
.titles {
font-family: cursive !important;
font-family: cursive!important;
background: #ffffff8c;
}
.textareas .v-field__input {
font-size: 1.3em!important;
}
</style>
+7 -2
View File
@@ -1,12 +1,17 @@
<template>
<v-row>
<!-- <v-row>
<v-col
class="text-h6 text-grey text-center align-self-center text--lighten-1 font-weight-light"
>
F.A.Q.
</v-col>
</v-row>
</v-row> -->
<v-row class="flex-column">
<v-col lg=8 class="w100 bg-red">1</v-col>
<v-col class="bg-green">2</v-col>
</v-row>
</template>
<script>
+2 -1
View File
@@ -28,10 +28,11 @@
pa-0 ma-0 pb-3
class="flex-column h-100 d-flex"
>
<v-card class="bgCard h-100 d-flex flex-column">
<v-card-title class="ma-2 text-h3 text-uppercase titles py-5 flex-column">
<v-row>
<v-col class="pa-0 pl-1 align-self-center">{{x.title}}
<v-col class="pa-0 pl-1 align-self-center">{{x.title}}
</v-col>
<v-col class="flex-grow-0 pa-0 pr-1">