<script setup>
import { getImageUrl } from '@/utils/function.js'
const props=defineProps({
  time: {
    type: String,
    default: ''
  },
  image: {
    type: String,
    default: ''
  },
  label: {
    type: String,
    default: ''
  }
})
</script>

<template>
<div class="content">
  <div class="time">{{time}}</div>
  <div class="image">
    <img :src="getImageUrl(image)" alt="">
  </div>
  <div class="label">{{label}}</div>
</div>
</template>

<style scoped lang="less">
.content{
  position: relative;
  margin-bottom: 30px;
  .time{
    position: absolute;
    top: 24px;
    left: 24px;
    background: linear-gradient(92.58deg, #59A1FF 3.66%, #816BFF 95.68%);
    width: 106px;
    height: 27px;
    border-radius: 16px;
    font-weight: 500;
    font-size: 20px;
    line-height: 27px;
    letter-spacing: 0.06em;
    color: #fff;
    text-align: center;
  }
  .image{
    background: linear-gradient(180deg, #FFFFFF 0%, #EEF5FF 100%);
    width: 363px;
    height: 403px;
    display: flex;
    justify-content: center;
    align-items: end;
    box-shadow: 0 0 20.2px 0 #C1D1F0;

  }
 .label{
   text-align: center;
   font-weight: 400;
   font-size: 24px;
   line-height: 100%;
   letter-spacing: 0.06em;
   color: #333333;
   margin-top: 20px;
 }

}
</style>
