shopTourDetails.vue 822 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <template>
  2. <view class="shopTourDetails-wrap">
  3. <scroll-view scroll-y class="scroll-con-l">
  4. 432
  5. </scroll-view>
  6. <scroll-view scroll-y class="scroll-con-r" @scrolltolower="onreachBottom">
  7. 24
  8. </scroll-view>
  9. </view>
  10. </template>
  11. <script>
  12. export default{
  13. data(){
  14. return{
  15. }
  16. },
  17. methods: {
  18. // scroll-view到底部加载更多
  19. onreachBottom() {
  20. // if(this.list.length < this.total){
  21. // this.pageNo += 1
  22. // this.pageInit()
  23. // }else{
  24. // this.status = "nomore"
  25. // }
  26. },
  27. }
  28. }
  29. </script>
  30. <style lang="scss" scoped>
  31. page {
  32. height: calc(100vh - 56px);
  33. }
  34. .shopTourDetails-wrap{
  35. height: 100%;
  36. .scroll-con-l{
  37. display: inline-block;
  38. width: 30%;
  39. height: 100%;
  40. }
  41. .scroll-con-r{
  42. display: inline-block;
  43. width: 70%;
  44. height: 100%;
  45. }
  46. }
  47. </style>