演示项目-图书馆
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.

40 lines
827 B

  1. <template>
  2. <div id="bookshelf">
  3. <div class="bookshelf-header" style="height:120px">
  4. <!-- <router-link to="/">
  5. <span class="icon iconfont icon-l">&#xe631;</span>
  6. </router-link> -->
  7. <span class="icon iconfont icon-l" @click="goBack()">&#xe631;</span>
  8. <h2>热门图书</h2>
  9. </div>
  10. <BookList />
  11. </div>
  12. </template>
  13. <script>
  14. import BookList from '@/views/module/bookList.vue'
  15. import { bookListCrud } from './mixins/booklist.js'
  16. export default {
  17. name: 'HotBook',
  18. components: { BookList },
  19. mixins: [bookListCrud],
  20. data() {
  21. return {
  22. }
  23. },
  24. created() {
  25. },
  26. mounted() {
  27. },
  28. methods: {
  29. goBack() {
  30. this.$router.go(-1)
  31. }
  32. }
  33. }
  34. </script>
  35. <style lang="scss" scoped>
  36. @import "~@/assets/styles/index.scss";
  37. </style>