123456789101112131415161718192021222324252627282930313233343536373839 |
- <template>
- <view class="container">
- <view :style="{height: statusBarHeight + 'px'}"></view>
- <u-navbar back-text="返回" title="找回密码"></u-navbar>
- 忘记密码
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- statusBarHeight: 0,
- navBarHeight:0
- };
- },
- onReady() {
- const that = this;
- uni.getSystemInfo({
- success(e) {
- that.statusBarHeight = e.statusBarHeight;
- let custom = uni.getMenuButtonBoundingClientRect();
- that.navBarHeight = custom.height + (custom.top - e.statusBarHeight) * 2;
- }
- })
- },
- onLoad() {
- }
- }
- </script>
- <style lang="scss" scoped>
- .container {
- height: 100vh;
- width: 100vw;
- background-color: #ffffff;
- padding: 0 20rpx;
- }
- </style>
|