feat: create slide of vote
This commit is contained in:
1 parent
0884b48b35
commit
3d03a326fb
2 files changed
+12
-3
No files matched your search
@@ -5,7 +5,16 @@
|
||||
<v-icon color="orange-lighten-1">mdi-pencil</v-icon>
|
||||
</v-btn>
|
||||
</v-card-text>
|
||||
<v-img cover :src="voteCard.pictures" />
|
||||
<v-row>
|
||||
<v-col>
|
||||
<v-carousel show-arrows="hover" hide-delimiters cycle height="200">
|
||||
<v-carousel-item v-for="(picture, index) in ['https://cdn.vuetifyjs.com/images/parallax/material.jpg', 'https://cdn.vuetifyjs.com/images/carousel/squirrel.jpg']"
|
||||
:key="index"
|
||||
:src="picture">
|
||||
</v-carousel-item>
|
||||
</v-carousel>
|
||||
</v-col>
|
||||
</v-row>
|
||||
<v-card-text class="">{{ voteCard.description }}</v-card-text>
|
||||
<TimerUI :voteTime="{dateend:voteCard.dateend,datestart:voteCard.datestart}" @changeBtn="(time) => timeChange = time"/>
|
||||
<v-card-actions class="justify-space-between mt-4 pb-2">
|
||||
@@ -41,7 +50,7 @@ export default {
|
||||
id: 0,
|
||||
name: "Допустим, здесь могла быть ваша реклама",
|
||||
description: "Но таких денег у вас нет, чтобы получить ее на нашем прекрасном голосовании",
|
||||
pictures: "https://cdn.vuetifyjs.com/images/parallax/material.jpg",
|
||||
pictures: ["https://cdn.vuetifyjs.com/images/parallax/material.jpg", "https://cdn.vuetifyjs.com/images/carousel/squirrel.jpg"],
|
||||
dateend: new Date(new Date().getTime() + 600000),
|
||||
is_passed: true,
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<v-container>
|
||||
<v-container class="py-0">
|
||||
<v-toolbar color="transparent">
|
||||
<v-toolbar-title>Голосования</v-toolbar-title>
|
||||
|
||||
|
||||
Reference in new issue
Block a user