You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
870 B
42 lines
870 B
<template>
|
|
<div id="bookshelf">
|
|
<HeaderTop />
|
|
<!-- <div class="top-bg" /> -->
|
|
<div class="bookshelf-header" style="height:120px">
|
|
<router-link to="/">
|
|
<span class="icon iconfont icon-l"></span>
|
|
</router-link>
|
|
<h2>热门图书</h2>
|
|
</div>
|
|
<BookList :bookdata="bookData" />
|
|
<!-- <div class="book-main">
|
|
|
|
</div> -->
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import HeaderTop from '@/views/module/headerTop.vue'
|
|
import BookList from '@/views/module/bookList.vue'
|
|
import data1 from './data1.json'
|
|
export default {
|
|
name: 'HotBook',
|
|
components: {
|
|
HeaderTop,
|
|
BookList
|
|
},
|
|
data() {
|
|
return {
|
|
bookData: null
|
|
}
|
|
},
|
|
created() {
|
|
this.bookData = data1.bookList
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
@import "~@/assets/styles/index.scss";
|
|
|
|
</style>
|