<template>
  <div class="navigation_main">
    <router-link
      tag="div"
      to="/sunVillage/financial"
      class="flex_wrap"
      :class="serialTag == 1 ? 'current' : ''"
      >金融政策</router-link
    >
    <router-link
      tag="div"
      to="/sunVillage/financial/products"
      class="flex_wrap"
      :class="serialTag == 2 ? 'current' : ''"
      >理财产品</router-link
    >
    <router-link
      tag="div"
      to="/sunVillage/financial/loan"
      class="flex_wrap"
      :class="serialTag == 3 ? 'current' : ''"
      >金融贷款</router-link
    >
  </div>
</template>

<style scoped lang="scss">
.navigation_main {
  margin: 0 24px;
  display: flex;
  justify-content: space-between;
  padding: 30px 0 10px;
  .flex_wrap {
    height: 80px;
    background: #f8f8f8;
    color: #07c160;
    font-size: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 216px;
    border-radius: 12px;
    &.current {
      color: #fff;
      background: #07c160;
    }
  }
}
</style>

<script>
export default {
  props: ["serialTag"],
  data() {
    return {};
  },
  mounted() {},
  methods: {},
};
</script>