<template>
  <div class="card-3-wrapper">
    <Logo></Logo>
    <div class="bgi-wrapper"><img src="~@/images/annual/page-3-back.png" alt="" /></div>
    <section class="ani detail" swiper-animate-effect="fadeInRight"
        swiper-animate-duration="1.5s"
        swiper-animate-delay="0">
      <p>{{anualData.yearType}}年，您通过使用</p>
      <p class="mt-10 lh-25"><span class="fbig6 cg2">找药工具</span></p>
      <p class="mt-5">开了 <span class="cg2 b">{{anualData.orderNum}}</span> 笔订单</p>
      <p class="mt-5">服务了 <span class="cg2 b">{{anualData.orderOfferPatientNum}}</span> 居民增加了</p>
      <p class="mt-5">增加了 <span class="cg2 b">{{anualData.orderTotalAmountY | yLocalString}}</span> 收入</p>
    </section>    
  </div>
</template>
<script>
import Logo from "@/components/annual-summary/logo";
export default {
  components: {
    Logo
  },
  props: {
    anualData: {
      type: Object,
      default: () => {
        return {};
      }
    }
  },
}
</script>
<style lang="less" scoped>
@import "../../style/as-common.less";
.card-3-wrapper {
  position: relative;
  top: 0;
  left: 0;
  height: 100vh;
  font-size: 16px;
  color: #3B3B3B;
  background: #F4FEF8;
  .bgi-wrapper {
    position: absolute;
    bottom: 0;
    right: 10px;
    z-index: 1;
    img {
      display: block;
      width: 341px;
      height: 350px;
    }
  }
  .detail {
    position: relative;
    top: 0;
    left: 0;
    z-index: 2;
    margin: 20px 30px;
    p {
      line-height: 1.2;
    }
  }
}
</style>