<template>
  <div class="home_wrapper">
    <header-nav
      :headings="headingsTitle"
      :currentNav="1"
      returnUrl="/sunVillage/index"
    ></header-nav>

    <!---金融政策-->
    <projectNav :serialTag="1"></projectNav>
    <div class="focus_news">
      <div class="news_img" @click="skip('/sunVillage/financial/details')">
        <img src="@/assets/images/sunVillage/5.jpg" />
      </div>
      <div class="news_title" @click="skip('/sunVillage/financial/details')">
        疫情之下,多为中小企业送上金融政策"急救包"
      </div>
    </div>
    <div class="news_list">
      <ul>
        <li class="item_block" @click="skip('/sunVillage/financial/details')">
          <div class="title">金融政策项目01</div>
          <div class="insets">
            <img src="@/assets/images/sunVillage/2.jpg" />
          </div>
        </li>
        <li class="item_block" @click="skip('/sunVillage/financial/details')">
          <div class="title">金融政策项目01</div>
          <div class="insets">
            <img src="@/assets/images/sunVillage/2.jpg" />
          </div>
        </li>
      </ul>
    </div>
  </div>
</template>

<style scoped lang="scss">
.home_wrapper {
  width: 100%;
  padding-top: 198px;
  min-height: 100vh;
  background: #fff;

  .focus_news {
    margin: 20px 24px 16px;
    .news_img {
      width: 702px;
      height: 256px;
      img {
        width: 100%;
        height: 100%;
      }
    }
    .news_title {
      font-size: 24px;
      margin-top: 16px;
    }
  }
  .news_list {
    li {
      display: flex;
      height: 146px;
      justify-content: center;
      align-items: center;
      padding: 0 33px;
      .title {
        padding-left: 8px;
        flex: 1;
        font-size: 28px;
      }
      .insets {
        width: 116px;
        margin-left: 26px;
        height: 116px;
        img {
          width: 100%;
          height: 100%;
        }
      }
    }
  }
}
</style>

<script>
import headerNav from "@/components/sunVillage/common/header.vue";
import projectNav from "@/components/sunVillage/financial/nav";
export default {
  name: "sunVillageFinancial",
  components: { headerNav, projectNav },
  data() {
    return {
      headingsTitle: "惠民金融",
    };
  },
  mounted() {},
  methods: {
    skip(url) {
      this.$router.push(url);
    },
  },
};
</script>
