Show collection image

This commit is contained in:
weryques 2018-01-31 12:45:25 -02:00
parent 9eea456f74
commit 095d192d6d
1 changed files with 6 additions and 2 deletions

View File

@ -1,8 +1,8 @@
<template>
<div>
<el-row v-if="collection != null">
<el-card :body-style="{ padding: '0px' }">
<img src="" class="image" :alt="collection.name">
<el-card :body-style="{ padding: '0px' }" class="element-card">
<img :src="collection.featured_image" class="image" :alt="collection.name">
<div style="padding: 14px;">
<span>{{ collection.name }}</span>
<div class="bottom clearfix">
@ -59,6 +59,10 @@ export default {
<style scoped>
.element-card{
max-width: 500px;
}
.time {
font-size: 13px;
color: #999;