specialistsList.vue 750 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <template>
  2. <view class="page">
  3. <view :style="{height:height}" class="list">
  4. <mescroll-item ref="MescrollItem" :i="0" :index="0" :height="height">
  5. </mescroll-item>
  6. </view>
  7. <liu-drag-button @clickBtn="back">返回</liu-drag-button>
  8. </view>
  9. </template>
  10. <script>
  11. import MescrollItem from "./module/mescrollUni-item.vue";
  12. export default {
  13. components: {
  14. MescrollItem
  15. },
  16. data() {
  17. return {
  18. height:'',
  19. }
  20. },
  21. onLoad(e) {
  22. let sysInfo = uni.getSystemInfoSync()
  23. this.height = sysInfo.windowHeight - 70 + 'px' //除标题栏栏外的屏幕可用高度
  24. },
  25. methods: {
  26. back() {
  27. uni.navigateBack({
  28. delta: 1
  29. })
  30. },
  31. }
  32. }
  33. </script>
  34. <style lang="scss" scoped>
  35. @import './index.rpx.css';
  36. </style>