| | |
| | | <view class="points"> |
| | | <view class="head" :style="{ backgroundImage: 'url(' + backImage + ')', height: 'calc(' + (navHeight + statusbarHeight + 'px + 376rpx)') }"> |
| | | <view :style="{ width: '100%', height: navHeight + statusbarHeight + 'px' }"></view> |
| | | <view class="head-bar" :style="{ height: navHeight + statusbarHeight + 'px' }"> |
| | | <view class="head-bar" :style="{ height: navHeight + statusbarHeight + 'px', backgroundColor: `rgba(255,255,255,${options})` }"> |
| | | <view :style="{ width: '100%', height: statusbarHeight + 'px' }"></view> |
| | | <view class="head-bar-nav" :style="{ height: navHeight + 'px' }"> |
| | | <image src="/static/icon/nav_ic_bac@2x.png" mode="widthFix" @click="fanhui"></image> |
| | |
| | | { name: '收入', id: '0' }, |
| | | { name: '支出', id: '1' } |
| | | ], |
| | | options: 0, |
| | | backImage: 'https://doumeetest.oss-cn-beijing.aliyuncs.com/activity/20260227/ce9df604-80a3-4848-b023-908c80bfbcc7.png' |
| | | }; |
| | | }, |
| | |
| | | onReachBottom() { |
| | | this.getList() |
| | | }, |
| | | onPageScroll(e) { |
| | | this.options = e.scrollTop / 150 |
| | | // console.log('页面滚动距离:', e.scrollTop / 150); |
| | | }, |
| | | methods: { |
| | | fanhui() { |
| | | uni.navigateBack({ delta: 1 }); |