-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChatBoard.vue
71 lines (66 loc) · 1.82 KB
/
ChatBoard.vue
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
<template>
<v-app id="inspire">
<v-main>
<v-container class="py-8 px-6" fluid>
<v-row>
<v-col v-for="card in cards" :key="card" cols="12">
<v-card>
<v-subheader>{{ card }}</v-subheader>
<v-list two-line>
<template v-for="n in 6">
<v-list-item :key="n">
<v-list-item-avatar color="grey darken-1">
</v-list-item-avatar>
<v-list-item-content>
<!-- <v-list-item-title>Message {{ n }}</v-list-item-title> -->
<v-list-item-subtitle class="message">
Lorem ipsum dolor sit amet, consectetur adipisicing
elit. Nihil repellendus distinctio similique
</v-list-item-subtitle>
</v-list-item-content>
</v-list-item>
<v-divider
v-if="n !== 6"
:key="`divider-${n}`"
inset
></v-divider>
</template>
</v-list>
</v-card>
</v-col>
</v-row>
</v-container>
<v-textarea
class="mx-2"
label="メッセージを入力する"
rows="1"
append-icon="mdi-comment"
auto-grow
></v-textarea>
</v-main>
</v-app>
</template>
<script>
export default {
created() {
this.user_id = this.$route.query.user_id;
console.log("user_id", this.user_id);
},
data: () => ({
user_id: "",
cards: ["Today"],
drawer: null,
links: [
["mdi-inbox-arrow-down", "Inbox"],
["mdi-send", "Send"],
["mdi-delete", "Trash"],
["mdi-alert-octagon", "Spam"],
],
}),
};
</script>
<style>
.message {
text-align: left;
}
</style>