| 123456789101112131415161718192021222324252627282930313233343536373839 |
- <template>
- <view class="page">
- <uni-nav-bar :fixed="true" background-color="#FFE05C" :border="false" :statusBar="true" left-icon="left" title="我的收益" @clickLeft="back" />
- <view :style="{height:height}" class="list">
- <mescroll-item ref="MescrollItem" :i="0" :index="0" :height="height">
- </mescroll-item>
- </view>
- </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>
|