LandingPage.vue 1.49 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

    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
shabai517's avatar
shabai517 committed
51
52
  }
  .panel.resource{
shabai517's avatar
shabai517 committed
53
54
    border-bottom: 1px solid #f3f3f3;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
shabai517's avatar
shabai517 committed
55
  }
shabai517's avatar
shabai517 committed
56
  .panel.statistics{
shabai517's avatar
shabai517 committed
57
    /*background: #f7f8fa;*/
shabai517's avatar
shabai517 committed
58
59
    background-color: #fbfdff;
    border-bottom: 1px solid #f3f3f3;
shabai517's avatar
shabai517 committed
60
61
  }
  .panel.tools{
shabai517's avatar
shabai517 committed
62
63
    border-bottom: 1px solid #f3f3f3;
    
shabai517's avatar
shabai517 committed
64
65
  }
  .panel.news{
shabai517's avatar
shabai517 committed
66
67
    background-color: #fbfdff;
    border-bottom: 1px solid #f3f3f3;
shabai517's avatar
shabai517 committed
68
    /*background: #f7f8fa;*/
shabai517's avatar
shabai517 committed
69
  }
shabai517's avatar
shabai517 committed
70
</style>