Home.vue 671 字节
Newer Older
Z
Zachary 已提交
1
<template>
Z
Zachary 已提交
2
  <div class="home-main" v-loading="loading">
Z
Zachary 已提交
3 4 5
    <banner />
    <recommended-bar />
    <home-top />
Z
Zachary 已提交
6
  </div>
Z
Zachary 已提交
7 8
</template>

Z
Zachary 已提交
9
<script>
Z
Zachary 已提交
10 11 12
import Banner from "components/common/Banner";
import RecommendedBar from "components/common/RecommendedBar";
import HomeTop from "components/common/HomeTop";
Z
Zachary 已提交
13 14

export default {
Z
Zachary 已提交
15 16 17 18 19
  data() {
    return {
      loading: false,
    };
  },
Z
Zachary 已提交
20
  components: {
Z
Zachary 已提交
21 22
    Banner,
    RecommendedBar,
Z
Zachary 已提交
23 24 25
    HomeTop,
  },
};
Z
Zachary 已提交
26
</script>
Z
Zachary 已提交
27

Z
Zachary 已提交
28
<style scoped>
29
.home-main {
Z
Zachary 已提交
30 31
  font-family: poppin, Tahoma, Arial, 微软雅黑, sans-serif;
  line-height: 1.5;
32
  max-width: 100%;
Z
Zachary 已提交
33
  margin: 0 auto;
34
  background-image: linear-gradient(#f5f5f5, #fff);
Z
Zachary 已提交
35
}
Z
Zachary 已提交
36
</style>