<template>
  <div class="com-main com-margin-auto com-width-1400">
      <section class="com-width-1200 com-margin-auto">
        <pc-title :title="'Related ltems'"></pc-title>
        <div class="card-wrap  com-margin-auto">
          <card v-for="(item, k) in indexGoodsRankLists" :key="k" :cardData="item"></card>
        </div>
      </section>
    </div>
</template>

<script>
export default {
  layout:'default',
  data() {
    return {
      
    };
  },
   async asyncData({ $axios }) {
    let indexGoodsRankLists = await $axios.post("home/indexGoodsRankLists", {
      site: 1,
    });
    return {
      indexGoodsRankLists: indexGoodsRankLists.result,
    };
  },
  methods:{
    
  },
};
</script>

<style lang="scss" scoped>
.card-wrap {
  display: grid;
  justify-items: center;
}
</style>