Home.vue
2.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<template>
<v-sheet>
<v-layout justify-center>
<v-flex xs12 sm8 md6>
<v-row justify="center" class="mx-0 my-12">
<div style="text-align: center; font-size: 24px; font-weight: 400; color: #343a40;">
What is This Service?
</div>
</v-row>
<v-card elevation="0">
<!-- file upload -->
<div style="text-align: center; font-size: 22px; font-weight: 400; color: #343a40;">
Just Upload your Video!
</div>
<div class="mx-10 mb-12 mt-6">
<video-upload />
</div>
<div style="text-align: center; font-size: 18px; font-weight: 400; color: #343a40;">
If the Video is analyzed successfully,
</div>
<div style="text-align: center; font-size: 20px; font-weight: 400; color: #343a40;">
Then, Result Show up below!
</div>
<v-card outlined class="pa-2 mx-10 mt-8" elevation="0" min-height="67">
<div
style="margin-left: 5px; margin-top: -18px; background-color: #fff; width: 110px; text-align: center;font-size: 14px; color: #5a5a5a; font-weight: 500"
>Generated Tags</div>
<v-chip-group column>
<v-chip
color="secondary"
v-for="(tag, index) in generatedTag"
:key="index"
>
{{ tag }}
</v-chip>
</v-chip-group>
</v-card>
<v-card outlined class="pa-2 mx-10 mt-8" elevation="0" min-height="67">
<div
style="margin-left: 5px; margin-top: -18px; background-color: #fff; width: 140px; text-align: center;font-size: 14px; color: #5a5a5a; font-weight: 500"
>Related Youtube Link</div>
<v-flex v-for="(url) in YoutubeUrl" :key="url">
<div>
<a :href="url">{{url}}</a>
</div>
</v-flex>
</v-card>
</v-card>
</v-flex>
</v-layout>
</v-sheet>
</template>
<script>
import videoUpload from '../components/uploadFile.vue';
export default {
name: 'Home',
components: {
videoUpload,
},
data() {
return {
myFiles: [],
YoutubeUrl: [],
generatedTag: [],
successDialog: false,
errorDialog: false,
loading: false,
};
},
created() {
this.YoutubeUrl = [
];
this.generatedTag = [
];
},
methods: {
loadVideoInfo() {
},
},
};
</script>