景徳镇旅游微信小程序
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.

55 lines
992 B

8 months ago
8 months ago
8 months ago
8 months ago
  1. <template>
  2. <!-- 我要跟拍 -->
  3. <view class="following">
  4. <navbar title="我要跟拍" leftClick @leftClick="$utils.navigateBack" />
  5. <view class="following-top-img">
  6. <uv-swiper
  7. :list="banner.follow"
  8. indicator
  9. height="420rpx"
  10. keyName="imageContent"></uv-swiper>
  11. </view>
  12. <cardList :type="type" :dict="dict" ref="cardList"/>
  13. <tabber/>
  14. </view>
  15. </template>
  16. <script>
  17. let type = 'follow'
  18. import { mapState } from 'vuex'
  19. import cardList from '../components/list/cardList.vue'
  20. export default {
  21. components: {
  22. cardList
  23. },
  24. data() {
  25. return {
  26. type,
  27. dict : this.$config.dict[type]
  28. }
  29. },
  30. computed : {
  31. ...mapState(['banner']),
  32. },
  33. onShow() {
  34. this.$refs.cardList.getList()
  35. },
  36. onPullDownRefresh(){
  37. this.$refs.cardList.getList()
  38. },
  39. //滚动到屏幕底部
  40. onReachBottom() {
  41. this.$refs.videoList.loadMoreList()
  42. },
  43. methods: {
  44. }
  45. }
  46. </script>
  47. <style scoped lang="scss">
  48. .following {
  49. .following-top-img {
  50. }
  51. }
  52. </style>