<template>
  <div class="home_wrapper">
    <header-nav :headings="headingsTitle" :currentNav="1"></header-nav>
    <div class="voucher_main">
      <div class="voucher_item">
        <div class="v_title">凭证号</div>
        <div class="v_content single">记-21</div>
      </div>
      <div class="voucher_item">
        <div class="v_title">摘要</div>
        <div class="v_content single">支出劳务报酬</div>
      </div>
      <div class="voucher_item">
        <div class="v_title">收入金额(元)</div>
        <div class="v_content single">5500</div>
      </div>
      <div class="voucher_item">
        <div class="v_title">日期</div>
        <div class="v_content single">
          <i class="icon_date"></i>
          2022-02-28
        </div>
      </div>
      <div class="voucher_item">
        <div class="v_title">附件</div>
        <div class="v_content multiple">
          <div class="attachment_flex">
            <img src="@/assets/images/sunVillage/9.jpg" class="img" />
          </div>
          <div class="attachment_flex">
            <img src="@/assets/images/sunVillage/9.jpg" class="img" />
          </div>
          <div class="attachment_flex">
            <img src="@/assets/images/sunVillage/9.jpg" class="img" />
          </div>
          <div class="attachment_flex">
            <img src="@/assets/images/sunVillage/9.jpg" class="img" />
          </div>
          <div class="attachment_flex">
            <img src="@/assets/images/sunVillage/9.jpg" class="img" />
          </div>
          <div class="attachment_flex">
            <img src="@/assets/images/sunVillage/9.jpg" class="img" />
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<style scoped lang="scss">
.home_wrapper {
  width: 100%;
  padding-top: 198px;
  min-height: 100vh;
  background: #fff;
  .voucher_main {
    margin: 0 24px;
    .voucher_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;
        &.single {
          display: flex;
          justify-content: center;
          align-items: center;
        }
        .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;
        }
        &.multiple {
          display: flex;
          flex-wrap: wrap;
          justify-content: space-between;
        }
        .attachment_flex {
          width: 100px;
          height: 100px;
          margin-bottom: 20px;
          img {
            height: 100px;
            width: 100px;
          }
        }
      }
    }
  }
}
</style>


<script>
import headerNav from "@/components/sunVillage/common/header.vue";

export default {
  name: "sunVillageInjointMeansOfDesc",
  components: { headerNav },
  data() {
    return {
      headingsTitle: "清产核资",
    };
  },
  mounted() {},
  methods: {
    skip(url) {
      this.$router.push(url);
    },
  },
};
</script>
