| 12345678910111213141516171819202122232425262728293031323334353637 |
- <template>
- <view class="page">
- <view :style="{height:height}" class="list">
- <mescroll-item ref="MescrollItem" :i="0" :index="0" :height="height">
- </mescroll-item>
- </view>
- <liu-drag-button @clickBtn="back">返回</liu-drag-button>
- </view>
- </template>
- <script>
- import MescrollItem from "./module/mescrollUni-item.vue";
- export default {
- components: {MescrollItem},
- data() {
- return {
- height:'',
- }
- },
- onLoad(e) {
- let sysInfo = uni.getSystemInfoSync()
- this.height = sysInfo.windowHeight - 70 + 'px' //除标题栏栏外的屏幕可用高度
- },
- methods: {
- back() {
- uni.navigateBack({
- delta: 1
- })
- },
- }
- }
- </script>
- <style lang="scss" scoped>
- @import './index.rpx.css';
- </style>
|