<template>
  <div class="home_wrapper">
    <header-nav
      :headings="headingsTitle"
      :currentNav="1"
      returnUrl="/sunVillage/index"
    ></header-nav>
    <projectNav :serialTag="2"></projectNav>
    <div class="products_main">
      <ul>
        <li>
          <div class="advertising">
            <img src="@/assets/images/sunVillage/6.jpg" />
          </div>
          <div class="title">农行福满盈</div>
        </li>
        <li>
          <div class="advertising">
            <img src="@/assets/images/sunVillage/6.jpg" />
          </div>
          <div class="title">农行福满盈</div>
        </li>
        <li>
          <div class="advertising">
            <img src="@/assets/images/sunVillage/6.jpg" />
          </div>
          <div class="title">农行福满盈</div>
        </li>
        <li>
          <div class="advertising">
            <img src="@/assets/images/sunVillage/6.jpg" />
          </div>
          <div class="title">农行福满盈</div>
        </li>
        <li>
          <div class="advertising">
            <img src="@/assets/images/sunVillage/6.jpg" />
          </div>
          <div class="title">农行福满盈</div>
        </li>
        <li>
          <div class="advertising">
            <img src="@/assets/images/sunVillage/6.jpg" />
          </div>
          <div class="title">农行福满盈</div>
        </li>
        <li>
          <div class="advertising">
            <img src="@/assets/images/sunVillage/6.jpg" />
          </div>
          <div class="title">农行福满盈</div>
        </li>
      </ul>
    </div>
  </div>
</template>

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

  .products_main {
    margin: 20px 24px;
    ul {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
    }
    li {
      width: 320px;
      height: 210px;
      margin-bottom: 24px;
      .advertising {
        width: 320px;
        height: 160px;
        border-radius: 10px;
        img {
          width: 320px;
          height: 160px;
        }
      }
      .title {
        height: 48px;
        font-size: 28px;
        display: flex;
        justify-content: center; /* 相对父元素水平居中 */
        align-items: center;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        -o-text-overflow: ellipsis;
        color: #999;
      }
    }
  }
}
</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: {},
};
</script>
