<template>
  <div class="home_wrapper">
    <header-nav
      :headings="headingsTitle"
      :currentNav="3"
      returnUrl="/sunVillage/shareBonus"
    ></header-nav>
    <equityHeader :serialTag="2"></equityHeader>
    <div class="holding_header">
      <div class="unit">户主</div>
      <div class="head">
        <img src="../../../assets/images/sunVillage/head_portrait.jpg" />
      </div>
      <div class="name">刘说的</div>
    </div>
    <div class="info_main">
      <div class="info_item">
        <div class="v_title">年度</div>
        <div class="v_content single"><i class="icon_date"></i> 2022</div>
      </div>
      <div class="info_item">
        <div class="v_title">分红金额</div>
        <div class="v_content single">10000</div>
      </div>
      <div class="info_item">
        <div class="v_title">集体分红金额</div>
        <div class="v_content single">10000</div>
      </div>
      <div class="info_item">
        <div class="v_title">股民分红金额</div>
        <div class="v_content single">10000</div>
      </div>
      <div class="info_item">
        <div class="v_title">分红时间</div>
        <div class="v_content single"><i class="icon_date"></i> 2022-02-11</div>
      </div>

      <div class="info_item">
        <div class="v_title">分红说明</div>
        <div class="v_content single">
          <input
            type="text"
            class="input_style"
            placeholder="请输入宅基地面积"
            maxlength="8"
          />
        </div>
      </div>
      <div class="info_item">
        <div class="v_title">凭证号</div>
        <div class="v_content single">记-01</div>
      </div>
    </div>
  </div>
</template>

<style scoped lang="scss">
.home_wrapper {
  width: 100%;
  padding-top: 198px;
  min-height: 100vh;
  background: #fff;
  .holding_header {
    margin: 20px 24px 0;
    height: 112px;
    display: flex;

    align-items: center; /*  子元素相对父元素垂直居中 */
    text-align: center;
    font-size: 30px;
    .unit {
      width: 98px;

      color: #07c160;
    }
    .head {
      width: 64px;
      height: 64px;
      margin-left: 20px;
      img {
        width: 100%;
        height: 100%;
      }
    }
    .name {
      width: 150px;
    }
    .allNum {
      flex: 1;
      color: #999;
      text-align: left;
      .num {
        color: #07c160;
        padding-left: 10px;
      }
    }
  }
  .info_main {
    margin: 0 24px;
    .info_item {
      margin: 20px 20px 0;

      display: flex;
      font-size: 28px;
      border-bottom: 1px solid #e6e6e6;
      .v_title {
        width: 308px;
        color: #999;
        height: 112px;
        padding-right: 90px;
        justify-content: flex-end;
        display: flex;
        align-items: center;
      }
      .v_content {
        flex: 1;
        .icon_date {
          width: 26px;
          height: 26px;
          background: url("../../../assets/images/sunVillage/select_date_icon.jpg")
            no-repeat;
          background-size: 100% 100%;
          display: block;
          margin-right: 12px;
        }
        &.single {
          display: flex;
          justify-content: center;
          align-items: center;
          .input_style {
            width: 100%;
            text-align: center;
            height: 90px;
          }
        }
      }
    }
  }
}
</style>


<script>
import headerNav from "@/components/sunVillage/common/header.vue";
import equityHeader from "@/components/sunVillage/equity_header";
export default {
  name: "sunVillageInjointMeansOfDesc",
  components: { headerNav, equityHeader },
  data() {
    return {
      headingsTitle: "股民信息",
    };
  },
  mounted() {},
  methods: {
    skip(url) {
      this.$router.push(url);
    },
  },
};
</script>
