Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 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 | <template>
<div>
<v-card
class="bg-transparent"
density="compact"
:prepend-avatar="checkremote(`${spravURL}${author.login}.jpg`)"
:title="author.fio"
:subtitle="author.post"
variant="text" @click="open=true"
/>
<info-user-card
:author=author
:opendialog = open
@update:opendialog="open = $event"
/>
</div>
</template>
<script>
import { ref } from 'vue'
import {checkremote} from '@/utils/universal_functions'
import { spravURL } from '@/utils/axios-api'
export default {
props: {
author: {
type: Object,
default: {}
},
},
setup(){
const open = ref(false)
return {
open,
checkremote,
spravURL
}
}
}
</script>
<style>
</style> |