<style scoped> .top-bar { height: 320px; line-height: 320px; background-color: #0182c1; margin-bottom: 48px; text-align: center; color: #fff; font-size: 16px; background: #273e4d url(//img.alicdn.com/tps/TB18wHKJVXXXXX_XVXXXXXXXXXX-1700-350.jpg) no-repeat; } </style> <template> <div class="layout"> <div class="top-bar"> 服务中心 </div> <div class="layout-content"> <div class="layout-content-main"> <router-view></router-view> </div> </div> <div class="layout-copy"> 2011-2016 © </div> </div> </template> <script> export default { name: 'home', data() { return { value2: 0 } }, computed: { }, } </script>