LandingPage.vue 1.35 KB
Newer Older
shabai517's avatar
shabai517 committed
1
<template>
2
  <div class="landingpage-container">
shabai517's avatar
shabai517 committed
3
      <div class="panel nav"><Nav/></div>
shabai517's avatar
shabai517 committed
4
      <div class="panel resource"><Resource/></div>
shabai517's avatar
shabai517 committed
5
6
7
      <div class="panel statistics"><Statistics/></div>
      <div class="panel tools"><Tools/></div>
      <div class="panel news"><News/></div>
shabai517's avatar
shabai517 committed
8
9
10
11
  </div>
</template>

<script>
shabai517's avatar
shabai517 committed
12
  import Nav from '@/components/landingpage/Nav'
shabai517's avatar
shabai517 committed
13
  import Resource from '@/components/landingpage/Resource'
14
15
16
  import Statistics from '@/components/landingpage/Statistics'
  import Tools from '@/components/landingpage/Tools'
  import News from '@/components/landingpage/News'
shabai517's avatar
shabai517 committed
17
  export default {
18
    name: 'landingpage',
shabai517's avatar
shabai517 committed
19
20
21
22
23
24
25
26
27
    data(){
      return {
   
      }
    },
    methods:{
    
    },
    components: {
shabai517's avatar
shabai517 committed
28
      Nav,
29
30
31
32
      Resource,
      Statistics,
      Tools,
      News
shabai517's avatar
shabai517 committed
33
34
35
36
37
38
39
40
    },
    mounted: function(){
      
    }
  }
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
41
<style scoped>  
shabai517's avatar
shabai517 committed
42
  .panel.nav{
43
    /*position: absolute;
shabai517's avatar
shabai517 committed
44
45
46
47
    top: 37px;
    left: 0;
    right: 0;
    z-index: 1000;
48
    */
shabai517's avatar
shabai517 committed
49
50
  }
  .panel.resource{
shabai517's avatar
shabai517 committed
51
    border-bottom: 1px solid #ececec;
52
    background-color: #fafafa;
shabai517's avatar
shabai517 committed
53
  }
shabai517's avatar
shabai517 committed
54
  .panel.statistics{
shabai517's avatar
shabai517 committed
55
56
    /*background: #f7f8fa;*/
    border-bottom: 1px solid #ececec;
shabai517's avatar
shabai517 committed
57
58
  }
  .panel.tools{
shabai517's avatar
shabai517 committed
59
    border-bottom: 1px solid #ececec;
60
    background-color: #fafafa;
shabai517's avatar
shabai517 committed
61
62
  }
  .panel.news{
shabai517's avatar
shabai517 committed
63
    /*background: #f7f8fa;*/
shabai517's avatar
shabai517 committed
64
  }
shabai517's avatar
shabai517 committed
65
</style>