Merge branch 'feature/create_app' into razrab

This commit is contained in:
iriska-gri committed 2023-10-24 09:16:48 +03:00
commit 3e05e906d5
6 files changed
+59 -24

No files matched your search

+24 -5
View File
@@ -2,13 +2,13 @@
<div class="d-flex flex-column py-3">
<v-row>
<v-col class="bg-red overflow-auto pa-0">
<v-col class="bg-red pa-0">
<v-card
class=" rounded-0"
v-for="(x, i) in newss.result" :key=i
>
v-for="(x, i) in newss.result" :key=i>
<v-list-item class="w-100 pl-4 py-2 pt-3">
<template v-slot:prepend>
<v-avatar
@@ -180,7 +180,7 @@
</v-row>
</v-col>
</v-row>
<v-row class="flex-grow-0" v-show="route.path=='/news' && !('id' in route.query)">
<!-- <v-row class="flex-grow-0" v-show="route.path=='/news' && !('id' in route.query)">
<v-col class="py-0 text-center ">
<v-pagination
class="flex-grow-1"
@@ -201,7 +201,26 @@
:items="['1', '2', '3', '4', '5', '6']"
/>
</v-col>
</v-row>
</v-row> -->
<v-row class="mt-7 pa-3">
<v-col cols="10" >
<v-pagination
v-model="page"
:length="newss.allnews"
prev-icon="mdi-menu-left"
next-icon="mdi-menu-right"
@click="pagelistNews"
/>
</v-col>
<v-col cols="2">
<v-select
class="pt-1 w-75"
density="compact"
v-model="selecnews"
variant="outlined"
:items="['1', '2', '3', '4', '5', '6']"/>
</v-col>
</v-row>
</div>
+2 -1
View File
@@ -7,7 +7,8 @@
color="app_bar"
class="pl-4">
<v-icon
<v-icon
v-if="accountStore.cod2user"
class="px-3"
size="20"
:icon="rail ? 'mdi-chevron-right' : 'mdi-chevron-left'"
+2
View File
@@ -29,6 +29,7 @@ export default createVuetify({
bg_comments: '#FFFFFF', // Цвет заднего фона для комментариев
delete_btn: '#546E7A', // Цвет для кнопки удаления
app_bar: '#004D40', // Цвет для навигационной (аппбар) панели
back_number_carousel: '#FFFFFF',
},
},
dark: {
@@ -50,6 +51,7 @@ export default createVuetify({
bg_comments: '#FFFFFF',
delete_btn: '#546E7A',
app_bar: '#212121',
back_number_carousel: '#101311',
},
},
options: {
+4 -4
View File
@@ -65,12 +65,12 @@
elevation="0"
>
<v-card class="h-100 text-center g text-numeral bg-main_theme">
<v-card-title class="statstyle py-0 text-overline font-weight-bold bg-main_theme">
<v-card class="h-100 text-center g text-numeral bg-back_number_carousel">
<v-card-title class="statstyle py-0 text-overline font-weight-bold bg-back_number_carousel">
{{x.status}}
</v-card-title>
<v-card-text class="numstyle mt-2 py-0 font-weight-bold bg-main_theme">
<v-card-text class="numstyle mt-2 py-0 font-weight-bold bg-back_number_carousel">
<vue3-autocounter ref='counter' :startAmount='0' :endAmount='Number(x.num)' :duration='2'/>
</v-card-text>
</v-card>
+8 -9
View File
@@ -1,28 +1,27 @@
<template>
<v-row>
<v-col
class="text-h6 text-grey text-center align-self-center text--lighten-1 font-weight-light"
class="mt-4 text--lighten-1 font-weight-light"
>
<v-item-group mandatory>
<v-container>
<v-row>
<v-row class="justify-center">
<v-col
v-for="n in activates"
:key="n"
cols="12"
md="6"
cols="4"
md="2"
>
<v-item v-slot="{ isSelected, toggle }">
<v-card
<v-btn
:color="isSelected ? 'primary' : ''"
class="d-flex align-center"
class="d-flex align-center pa-6"
dark
height="200"
:href="n.link"
>
<v-scroll-y-transition>
<div
class="text-h3 flex-grow-1 text-center"
class="text-h5 text-grey flex-grow-1 text-center"
>
@@ -30,7 +29,7 @@
{{n.name}}
</div>
</v-scroll-y-transition>
</v-card>
</v-btn>
</v-item>
</v-col>
</v-row>
+19 -5
View File
@@ -1,21 +1,35 @@
<template>
<v-row>
<v-col
class="text-h6 text-grey text-center align-self-center text--lighten-1 font-weight-light"
<v-row class="justify-center">
<v-col cols="6"
class="text-h6 text-grey text-center d-flex align-baseline align-self-end text--lighten-1 font-weight-light"
>
<v-btn
class="mr-2"
color="app_bar"
@click="excelOp">
Excel
</v-btn>
<v-btn
:href="`${baseURL}media/DailyRoundUp.xlsx`"
download
class="mr-2"
color="modal_btn"
>
Скачать
</v-btn>
<v-file-input v-model="dailyfiles" label="File input"></v-file-input>
<v-btn @click="onPickFile">
<!-- <v-spacer></v-spacer> -->
<v-file-input
v-model="dailyfiles"
variant="underlined"
density="compact"
label="Выберите файл"
class="mr-2"></v-file-input>
<!-- <v-spacer></v-spacer> -->
<v-btn
color="modal_btn"
@click="onPickFile">
Загрузить
</v-btn>