<template>
  <div class="main4 flex-col">
    <div class="bd3 flex-col">
      <span class="info4">建信现金添益A</span>
      <div class="section1 flex-row">
        <div class="bd4 flex-col"><span class="info5">活期爆款</span></div>
        <div class="bd5 flex-col"><span class="info6">存取灵活</span></div>
        <div class="bd6 flex-col"><span class="word14">中底风险</span></div>
      </div>
      <span class="info7">2.73%</span>
      <span class="txt8">预计年化收益</span>
      <button class="section2 flex-col" @click="clickSee">
        <span class="word15">立即查看</span>
      </button>
    </div>
  </div>
</template>
<script lang="ts">
import router from "@/router";
import { defineComponent } from "vue";
export default defineComponent({
  setup() {
    return {
      clickSee: () => {
        // router.push({
        //   name: "fnsDetail",
        // });
      },
    };
  },
});
</script>
<style lang="less" scoped>
.main4 {
  z-index: 5;
  height: 231px;
  border-radius: 20px;
  background: linear-gradient(180deg, #c6d4f6 0%, #ffffff 100%);
  box-shadow: 0px 2px 3px 0px rgba(255, 255, 255, 0.5);
  width: 335px;
  justify-content: center;
  align-items: center;
  .bd3 {
    z-index: auto;
    width: 275px;
    height: 191px;
    .info4 {
      z-index: 21;
      width: 107px;
      display: block;
      overflow-wrap: break-word;
      color: rgba(27, 31, 55, 1);
      font-size: 16px;
      font-family: PingFangSC-Semibold;
      white-space: nowrap;
      line-height: 22px;
      text-align: center;
      align-self: center;
    }
    .section1 {
      z-index: auto;
      width: 220px;
      height: 20px;
      justify-content: space-between;
      margin: 15px 0 0 28px;
      .bd4 {
        z-index: 13;
        height: 20px;
        border-radius: 5px;
        background-color: rgba(211, 221, 244, 1);
        width: 70px;
        justify-content: center;
        align-items: center;
        .info5 {
          z-index: 14;
          width: 48px;
          display: block;
          overflow-wrap: break-word;
          color: rgba(62, 79, 175, 1);
          font-size: 12px;
          white-space: nowrap;
          line-height: 17px;
          text-align: center;
        }
      }
      .bd5 {
        z-index: 15;
        height: 20px;
        border-radius: 5px;
        background-color: rgba(211, 221, 244, 1);
        width: 70px;
        justify-content: center;
        align-items: center;
        .info6 {
          z-index: 16;
          width: 48px;
          display: block;
          overflow-wrap: break-word;
          color: rgba(62, 79, 175, 1);
          font-size: 12px;
          white-space: nowrap;
          line-height: 17px;
          text-align: center;
        }
      }
      .bd6 {
        z-index: 17;
        height: 20px;
        border-radius: 5px;
        background-color: rgba(211, 221, 244, 1);
        width: 70px;
        justify-content: center;
        align-items: center;
        .word14 {
          z-index: 18;
          width: 48px;
          display: block;
          overflow-wrap: break-word;
          color: rgba(62, 79, 175, 1);
          font-size: 12px;
          white-space: nowrap;
          line-height: 17px;
          text-align: center;
        }
      }
    }
    .info7 {
      z-index: 19;
      width: 91px;
      display: block;
      overflow-wrap: break-word;
      color: rgba(240, 58, 48, 1);
      font-size: 30px;
      font-family: PingFangHK-Semibold;
      white-space: nowrap;
      line-height: 42px;
      text-align: center;
      align-self: flex-end;
      margin: 16px 87px 0 0;
    }
    .txt8 {
      z-index: 20;
      width: 72px;
      display: block;
      overflow-wrap: break-word;
      color: rgba(141, 146, 175, 1);
      font-size: 12px;
      white-space: nowrap;
      line-height: 17px;
      text-align: center;
      align-self: center;
      margin-top: 9px;
    }
    .section2 {
      z-index: 11;
      height: 40px;
      border-radius: 20px;
      background-color: rgba(62, 79, 175, 1);
      margin-top: 10px;
      width: 275px;
      justify-content: center;
      align-items: center;
      .word15 {
        z-index: 12;
        width: 64px;
        display: block;
        overflow-wrap: break-word;
        color: rgba(255, 255, 255, 1);
        font-size: 16px;
        font-family: PingFangSC-Semibold;
        white-space: nowrap;
        line-height: 22px;
        text-align: center;
      }
    }
  }
}
</style>