mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-21 01:12:14 +00:00
Invoice wrapper
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
<template>
|
||||
<div class="wrapper">
|
||||
<div class="icon-wrapper">
|
||||
<div class="wrapper" :class="{'center': avatar}">
|
||||
<div v-if="avatar" class="avatar-wrapper">
|
||||
<img :src="avatar" alt="">
|
||||
</div>
|
||||
<div v-if="icon" class="icon-wrapper">
|
||||
<CheckSquareIcon v-if="icon === 'check-square'" class="icon text-theme" size="21" />
|
||||
<image-icon v-if="icon === 'image'" class="icon text-theme" size="21" />
|
||||
<video-icon v-if="icon === 'video'" class="icon text-theme" size="21" />
|
||||
@@ -31,6 +34,7 @@ export default {
|
||||
name: 'TitlePreview',
|
||||
props: [
|
||||
'subtitle',
|
||||
'avatar',
|
||||
'title',
|
||||
'icon',
|
||||
],
|
||||
@@ -54,6 +58,10 @@ export default {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
|
||||
&.center {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.text {
|
||||
padding-left: 10px;
|
||||
width: 100%;
|
||||
@@ -75,6 +83,16 @@ export default {
|
||||
}
|
||||
}
|
||||
|
||||
.avatar-wrapper {
|
||||
line-height: 0;
|
||||
|
||||
img {
|
||||
border-radius: 9px;
|
||||
width: 52px;
|
||||
height: 52px;
|
||||
}
|
||||
}
|
||||
|
||||
.icon-wrapper {
|
||||
|
||||
polyline, path, rect, circle, polyline, line {
|
||||
|
||||
Reference in New Issue
Block a user