Скролл
This commit is contained in:
1 parent
102236b263
commit
168b58d297
1 file changed
+76
-7
@@ -225,8 +225,8 @@
|
|||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col class="bg-yellow flex-column d-flex">
|
<v-col class="flex-column d-flex">
|
||||||
<v-row class="flex-grow-0">
|
<!-- <v-row class="flex-grow-0">
|
||||||
<v-col class="bg-red pb-0 ">
|
<v-col class="bg-red pb-0 ">
|
||||||
<v-card
|
<v-card
|
||||||
height="350px"
|
height="350px"
|
||||||
@@ -235,13 +235,82 @@
|
|||||||
1
|
1
|
||||||
</v-card>
|
</v-card>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row> -->
|
||||||
<v-row>
|
<v-row >
|
||||||
<v-col class="bg-blue">
|
<v-col class="">
|
||||||
<v-card
|
<v-card
|
||||||
class="h-100"
|
class="h-100 flex-column d-flex"
|
||||||
>
|
>
|
||||||
1
|
<v-row class="ma-0 my-3 overflow-auto h-0">
|
||||||
|
<v-col class="pa-0">
|
||||||
|
<v-card-text class="pt-0">
|
||||||
|
<div
|
||||||
|
v-for = "(y, key) in x.comment"
|
||||||
|
:key="key"
|
||||||
|
class="d-flex flex-column pa-3"
|
||||||
|
>
|
||||||
|
|
||||||
|
|
||||||
|
<v-row
|
||||||
|
class="justify-space-between ma-0 align-center bgchat mr-7"
|
||||||
|
:class="accountStore.user.login==y.author.login?'bgchatnot':'bgchat'"
|
||||||
|
|
||||||
|
>
|
||||||
|
<v-col class="flex-grow-1 text-subtitle-2 pl-2 pa-0 "
|
||||||
|
|
||||||
|
>
|
||||||
|
{{ accountStore.user.login==y.author.login?'':splitname(y.author) }}
|
||||||
|
</v-col>
|
||||||
|
<v-col class="pa-0 text-center text-subtitle-2 ">
|
||||||
|
|
||||||
|
{{dateformat(y.cdate)}}
|
||||||
|
</v-col>
|
||||||
|
<v-col class="pa-0 pr-2 text-end text-subtitle-2 ">
|
||||||
|
{{ accountStore.user.login!=y.author.login?'':splitname(y.author) }}
|
||||||
|
</v-col>
|
||||||
|
|
||||||
|
|
||||||
|
</v-row>
|
||||||
|
|
||||||
|
<div class="text-subtitle-2">
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<v-row>
|
||||||
|
<v-col class="pr-0">
|
||||||
|
<v-alert
|
||||||
|
|
||||||
|
|
||||||
|
color="bg_white"
|
||||||
|
rounded=0
|
||||||
|
:border="accountStore.user.login==y.author.login?'end':'start'"
|
||||||
|
:border-color="accountStore.user.login==y.author.login?'success':'deep-purple accent-4'"
|
||||||
|
elevation=0
|
||||||
|
>
|
||||||
|
|
||||||
|
{{ y.text }}
|
||||||
|
|
||||||
|
</v-alert>
|
||||||
|
</v-col>
|
||||||
|
<v-col class="flex-grow-0 d-flex pa-0 align-center"
|
||||||
|
:class="accountStore.user.login==y.author.login?'pa-0':'pa-5'"
|
||||||
|
>
|
||||||
|
<v-btn
|
||||||
|
v-if="accountStore.user.login==y.author.login"
|
||||||
|
variant="text"
|
||||||
|
size="small"
|
||||||
|
icon='mdi-delete'
|
||||||
|
color="delete_btn"
|
||||||
|
@click="deletComment(y.id, x.id)"
|
||||||
|
/>
|
||||||
|
</v-col>
|
||||||
|
</v-row>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</v-card-text>
|
||||||
|
</v-col>
|
||||||
|
</v-row>
|
||||||
</v-card>
|
</v-card>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
|
|||||||
Reference in new issue
Block a user