2023-06-12 19:21:22 +02:00

45 lines
763 B
Vue

<script>
export default {
props: {
image: String,
title: String,
description: String
},
}
</script>
<template>
<div class="origin-box">
<img :src="$helper.getImage(image)" class="image" />
<h3 class="title">{{ title }}</h3>
<p class="description">{{ description }}</p>
</div>
</template>
<style lang="scss" scoped>
.origin-box {
width: 280px;
height: 364px;
background: #FFF9F1;
border: 1px solid rgba(249, 192, 106, 0.42);
}
.image {
width: 280px;
height: 222px;
}
.title {
margin-top: 12px;
color: #603809;
text-align: center;
font-weight: 700;
font-size: 22px;
}
.description {
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 21px;
color: #1E1E1E;
padding: 8px;
}
</style>