<template>
  <div class="result-box">
    <div class="trophy-box">
      <img src="https://webapp-pub.ezijing.com/x-training-new/trophy.png">
      <div class="text">你的得分是<span>98</span>分</div>
    </div>
    <div class="title-box">
      <div class="title">产品分析报告</div>
      <div class="code">广发资源优选股票053476</div>
    </div>
    <!-- 产品概括 -->
    <product></product>
    <!-- 投资目标 -->
    <invest-target></invest-target>
    <!-- 业绩比较基准 -->
    <compares></compares>
    <!-- 风险收益特征 -->
    <features></features>
    <!-- 基金涉及费用 -->
    <cost ref="cost"></cost>
  </div>
</template>

<script>
import Product from '../components/Products.vue'
import InvestTarget from '../components/InvestTarget.vue'
import Compares from '../components/Compares.vue'
import Features from '../components/Features.vue'
import Cost from '../components/Cost.vue'
export default {
  components: {
    Product,
    InvestTarget,
    Compares,
    Features,
    Cost
  }
}
</script>

<style lang="scss" scoped>
.result-box{
  margin: 66px auto;
  width: 714px;
  background: #FFFFFF;
  border: 1px solid #DCDCDC;
  border-radius: 10px;
  padding: 20px;
  box-sizing: border-box;
  .trophy-box{
    padding: 50px 0 38px 0;
    position: relative;
    &::after{
      content: "";
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 620px;
      border-bottom: 1px dashed #C0C0C0;
    }
    img{
      width: 69px;
      display: block;
      margin: 0 auto;
    }
    .text{
      font-size: 18px;
      color: #666666;
      text-align: center;
      margin-top: 18px;
      span{
        color: rgba(67, 169, 143, 1);
        font-size: 26px;
      }
    }
  }
  .title-box{
    padding: 28px 0 50px;
    .title{
      text-align: center;
      font-size: 24px;
      font-weight: bold;
      color: #4CAC94;
      line-height: 100%;
    }
    .code{
      width: 310px;
      line-height: 47px;
      margin: 29px auto 0;
      border-bottom: 1px solid #B4B4B4;
      text-align: center;
      font-size: 18px;
      color: #656565;
    }
  }
}
</style>
