<template>
  <div class="navigation_main">
    <router-link
      tag="div"
      to="/sunVillage/equity"
      class="flex_wrap"
      :class="serialTag == 1 ? 'current' : ''"
      >股民信息</router-link
    >
    <router-link
      tag="div"
      to="/sunVillage/shareBonus"
      class="flex_wrap"
      :class="serialTag == 2 ? '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: 340px;
    border-radius: 12px;
    &.current {
      color: #fff;
      background: #07c160;
    }
  }
}
</style>

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