Logo white

other / mew-iview

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • mew-iview
  • examples
  • routers
  • affix.vue
  • [change] optimize the webapack config ...
    c9c5e751
    [change] rename test to examples
    huixisheng authored
    2017-03-03 22:38:40 +0800  
    Browse Code »
affix.vue 328 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
<style>
    body{
        /*height: 2000px;*/
    }
    .demo-affix{
        width: 100px;
        height: 30px;
        background: #f60;
        color: #fff
    }
</style>
<template>
    <Affix>
        <span class="demo-affix">固定在最顶部</span>
    </Affix>
</template>
<script>
    export default {

    }
</script>