<template>
  <div class="home_wrapper">
    <header-nav :headings="headingsTitle" :currentNav="1"></header-nav>
    <div class="focus_news">
      <div class="news_img" @click="skip('/sunVillage/latestReport/details')">
        <img src="@/assets/images/sunVillage/1.jpg" />
      </div>
      <div class="news_title" @click="skip('/sunVillage/latestReport/details')">
        国新办解读中央一号文件：乡村振兴求好不求快
      </div>
    </div>
    <div class="news_list">
      <ul>
        <li
          class="item_block"
          @click="skip('/sunVillage/latestReport/details')"
        >
          <div class="title">最新报道列表项目1</div>
          <div class="insets">
            <img src="@/assets/images/sunVillage/2.jpg" />
          </div>
        </li>
        <li
          class="item_block"
          @click="skip('/sunVillage/latestReport/details')"
        >
          <div class="title">国新办解读中央一号文件：乡村振兴求好不求快</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";
export default {
  name: "latestReport",
  components: { headerNav },
  data() {
    return {
      headingsTitle: "最新报道",
    };
  },
  mounted() {},
  methods: {
    skip(url) {
      this.$router.push(url);
    },
  },
};
</script>
