LandingPage.vue 1.62 KB
Newer Older
shabai517's avatar
shabai517 committed
1
<template>
2
  <div class="landingpage-container">
3
      <div class="panel nav"><NavBar/></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>
12
  import NavBar 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: {
28
      NavBar,
29
30
31
32
      Resource,
      Statistics,
      Tools,
      News
shabai517's avatar
shabai517 committed
33
34
    },
    mounted: function(){
shabai517's avatar
shabai517 committed
35
        console.log('this.$router',this.$router);
shabai517's avatar
shabai517 committed
36
37
38
39
40
    }
  }
</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
    */
49
    border-bottom: 1px solid #f3f3f3;
shabai517's avatar
shabai517 committed
50
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
51
52
    z-index: 1000;
    margin-bottom: 1px;
shabai517's avatar
shabai517 committed
53
54
  }
  .panel.resource{
55
    background-color: #fbfdff;
shabai517's avatar
shabai517 committed
56
    border-bottom: 1px solid #f3f3f3;
57
    /*box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);*/
shabai517's avatar
shabai517 committed
58
  }
shabai517's avatar
shabai517 committed
59
  .panel.statistics{
shabai517's avatar
shabai517 committed
60
    /*background: #f7f8fa;*/
shabai517's avatar
shabai517 committed
61
    border-bottom: 1px solid #f3f3f3;
shabai517's avatar
shabai517 committed
62
63
  }
  .panel.tools{
64
    background-color: #fbfdff;
shabai517's avatar
shabai517 committed
65
66
    border-bottom: 1px solid #f3f3f3;
    
shabai517's avatar
shabai517 committed
67
68
  }
  .panel.news{
69
    
shabai517's avatar
shabai517 committed
70
    border-bottom: 1px solid #f3f3f3;
shabai517's avatar
shabai517 committed
71
    /*background: #f7f8fa;*/
shabai517's avatar
shabai517 committed
72
  }
shabai517's avatar
shabai517 committed
73
</style>