<template>
  <div class="home_wrapper">
    <header-nav :headings="headingsTitle" :currentNav="1"></header-nav>
    <div class="assetsPublic_main">
      <div class="title_main">
        <div class="subtitle">资产信息</div>
      </div>
      <div class="form_main">
        <div class="form_item">
          <div class="v_title">资产名称</div>
          <div class="v_content single">办公电脑</div>
        </div>
        <div class="form_item">
          <div class="v_title">数量</div>
          <div class="v_content single">20</div>
        </div>
        <div class="form_item">
          <div class="v_title">原值</div>
          <div class="v_content single">16000原</div>
        </div>
        <div class="form_item">
          <div class="v_title">经营状态</div>
          <div class="v_content single">经营</div>
        </div>
        <div class="form_item">
          <div class="v_title">构建时间</div>
          <div class="v_content single">
            <i class="icon_date"></i> 2022-02-28
          </div>
        </div>
        <div class="form_item">
          <div class="v_title">使用情况</div>
          <div class="v_content single">正常</div>
        </div>
        <div class="form_item">
          <div class="v_title">附件</div>
          <div class="v_content multiple">
            <ul class="download_list">
              <li>2022一季度村财务报表.xlsx</li>
              <li>2022一季度村财务报表.xlsx</li>
              <li>2022一季度村财务报表.xlsx</li>
            </ul>
          </div>
        </div>
      </div>
      <div class="title_main">
        <div class="subtitle">经营属性</div>
      </div>
      <div class="form_main">
        <div class="form_item">
          <div class="v_title">资产名称</div>
          <div class="v_content single">办公电脑</div>
        </div>
      </div>
    </div>
  </div>
</template>
<style scoped lang="scss">
.home_wrapper {
  width: 100%;
  min-height: 100vh;
  background: #fff;
  padding-top: 198px;
  .assetsPublic_main {
    margin: 0 24px;
    .title_main {
      height: 50px;
      position: relative;
      margin-top: 20px;
      &::before {
        width: 8px;
        height: 50px;
        background: #66ccff;
        border-radius: 8px;
        position: absolute;
        left: 0;
        top: 0;
        z-index: 2;
        content: " ";
      }
      &::after {
        width: 100%;
        height: 1px;
        background: #e5e5e5;
        position: absolute;
        left: 0;
        top: 25px;
        content: " ";
      }
      .subtitle {
        position: relative;
        background: #fff;
        height: 50px;
        font-size: 28px;
        z-index: 9;
        margin-left: 8px;
        width: 175px;
        display: flex;
        justify-content: center; /* 相对父元素水平居中 */
        align-items: center; /*  子元素相对父元素垂直居中 */
      }
    }

    .form_main {
      margin: 0 24px;
      padding-bottom: 40px;
      .form_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;
          }
          .download_list {
            li {
              font-size: 24px;
              color: #799fe9;
            }
          }
        }
      }
    }
  }
}
</style>

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

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