2 changed files with 55 additions and 11 deletions
@ -0,0 +1,54 @@ |
|||
<template> |
|||
<div class="app-container row-container"> |
|||
<div class="content-area"> |
|||
<div class="area-config"> |
|||
<bookRecommend ref="bookRecommendRef" @ready="initScreenBookRecommend" /> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
import { mapGetters } from 'vuex' |
|||
import bookRecommend from '../digitalScreen/module/bookRecommend' |
|||
|
|||
export default { |
|||
name: 'BookRecommend', |
|||
components: { |
|||
bookRecommend |
|||
}, |
|||
data() { |
|||
return { |
|||
|
|||
} |
|||
}, |
|||
computed: { |
|||
...mapGetters([ |
|||
'baseApi', |
|||
'user' |
|||
]) |
|||
}, |
|||
created() { |
|||
}, |
|||
mounted() { |
|||
}, |
|||
methods: { |
|||
initScreenBookRecommend() { |
|||
this.$refs.bookRecommendRef.initScreenBookRecommend() |
|||
if (this.$refs.bookRecommendRef) { |
|||
this.$refs.bookRecommendRef.updateBookSwiper() |
|||
} |
|||
} |
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style scoped lang="scss"> |
|||
@import "~@/assets/styles/digitalScreen.scss"; |
|||
.content-area { |
|||
height: 734px; |
|||
border-radius: 4px; |
|||
width: 100%; |
|||
} |
|||
|
|||
</style> |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue