1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <template>
- <view class="page" :style="{height:windowHeight + 'px'}">
- <view class="content" :style="{height:windowHeight *0.95 +'px'}" >
- <view class="flex-row justify-center">
- <image :src="'/static/img/1712668343314.jpg'" mode="widthFix" class="titlePhoto"></image>
- </view>
- <mescroll-item ref="MescrollItem" :i="0" :height="windowHeight * 0.95 - 60 +'px'" >
- </mescroll-item>
- </view>
- </view>
- </template>
- <script>
- import MescrollItem from "./module/mescrollUni-item.vue";
- export default {
- components: {
- MescrollItem
- },
- data() {
- return {
- userId:'',
- windowHeight:'',
- }
- },
- onLoad(e){
- // console.log(e)
- // console.log(e.userId)
- // if (e.userId){
- // this.userId = e.userId
- // console.log('获取到的userId',this.userId)
- // }
- let sysinfo = uni.getSystemInfoSync()
- this.windowHeight = sysinfo.windowHeight
- },
- methods: {
- }
- }
- </script>
- <style scoped lang="scss">
- @import './index.rpx.scss';
- </style>
|