<template>
  <div class="picture">
    <div class="title">
      <span>{{$t(title)}}</span>
    </div>
    <div class="picture_bg">
      <img :src="pictureImg"
           class="picture_img">
    </div>
  </div>
</template>

<script>
export default {
  props: ['title', 'pictureImg',],
}
</script>

<style lang="less" scoped>
.picture {
  width: 300px;
  // height: 200px;
  background: linear-gradient(90deg, rgba(244, 255, 250, 1) 0%, rgba(230, 238, 255, 0.78) 49%, rgba(255, 227, 234, 1) 100%);
  .title {
    display: flex;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 20px 0 0;
    transform: translateX(0) translateY(40%);
  }
  .picture_bg {
    width: 102px;
    height: 102px;
    background: linear-gradient(148.4deg, rgba(255, 212, 248, 1) 0%, rgba(245, 252, 255, 1) 100%);
    border-radius: 50%;
    transform: translateX(0) translateY(50%);
    margin: 0 auto 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    .picture_img {
      border-radius: 50%;
      width: 100%;
      height: 100%;
    }
  }
}
</style>