cooperation.vue 687 B

1234567891011121314151617181920212223242526272829303132333435363738
  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. </view>
  8. </template>
  9. <script>
  10. import MescrollItem from "./module/mescrollUni-item.vue";
  11. export default {
  12. components: {
  13. MescrollItem
  14. },
  15. data() {
  16. return {
  17. height:''
  18. }
  19. },
  20. onLoad(e) {
  21. let sysInfo = uni.getSystemInfoSync()
  22. this.height = sysInfo.windowHeight - 70 + 'px' //除标题栏栏外的屏幕可用高度
  23. },
  24. methods: {
  25. back() {
  26. uni.navigateBack({
  27. delta: 1
  28. })
  29. },
  30. }
  31. }
  32. </script>
  33. <style lang="scss" scoped>
  34. @import './index.rpx.css';
  35. </style>