lotteryRecord.vue 983 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <template>
  2. <view class="page" :style="{height:windowHeight + 'px'}">
  3. <view class="content" :style="{height:windowHeight *0.95 +'px'}" >
  4. <view class="flex-row justify-center">
  5. <image :src="'/static/img/1712668343314.jpg'" mode="widthFix" class="titlePhoto"></image>
  6. </view>
  7. <mescroll-item ref="MescrollItem" :i="0" :height="windowHeight * 0.95 - 60 +'px'" >
  8. </mescroll-item>
  9. </view>
  10. </view>
  11. </template>
  12. <script>
  13. import MescrollItem from "./module/mescrollUni-item.vue";
  14. export default {
  15. components: {
  16. MescrollItem
  17. },
  18. data() {
  19. return {
  20. userId:'',
  21. windowHeight:'',
  22. }
  23. },
  24. onLoad(e){
  25. // console.log(e)
  26. // console.log(e.userId)
  27. // if (e.userId){
  28. // this.userId = e.userId
  29. // console.log('获取到的userId',this.userId)
  30. // }
  31. let sysinfo = uni.getSystemInfoSync()
  32. this.windowHeight = sysinfo.windowHeight
  33. },
  34. methods: {
  35. }
  36. }
  37. </script>
  38. <style scoped lang="scss">
  39. @import './index.rpx.scss';
  40. </style>