<template>
  <div class="home_wrapper">
    <header-nav :headings="headingsTitle" :currentNav="1"></header-nav>
    <div class="article_main">
      <div class="title">国新办解读中央一号文件：乡村振兴求好不求快</div>
      <div class="info_wrap">
        <div class="publisher">阳光村务公开平台</div>
        <div class="time">2022-02-25 09:00</div>
      </div>
    </div>
    <div class="focus_news">
      <div class="news_img">
        <img src="@/assets/images/sunVillage/1.jpg" />
      </div>
    </div>
    <div class="news_list">
      <ul>
        <li
          class="item_block"
          @click="skip('/sunVillage/importantItems/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/importantItems/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%;
  min-height: 100vh;
  background: #fff;
  .article_main {
    margin: 0 24px;
    padding: 15px 0;
    .title {
      font-size: 28px;
      line-height: 45px;
      margin-bottom: 6px;
    }
    .info_wrap {
      display: flex;
      line-height: 48px;
      font-size: 24px;
      .publisher {
        color: rgb(92, 107, 140);
        margin-right: 20px;
      }
      .time {
        color: #999;
      }
    }
  }
  .focus_news {
    margin: 10px 24px 16px;
    .news_img {
      width: 702px;
      height: 256px;
      img {
        width: 100%;
        height: 100%;
      }
    }
  }
  .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: "importantItems",
  components: { headerNav },
  data() {
    return {
      headingsTitle: "重大事项",
    };
  },
  mounted() {},
  methods: {
    skip(url) {
      this.$router.push(url);
    },
  },
};
</script>
