Show collection image
This commit is contained in:
parent
9eea456f74
commit
095d192d6d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue