| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <template>
- <view class="my-box flex-common-css">
- <Nav title="我的" :leftShow='false' titleColor="#333" bgckgroundBox='transparent'></Nav>
- <image class="bg-box" src="@/static/img/my/bg.png" mode=""></image>
- <view class="user-box align-items-center">
- <view class="user-img-box mr-24">
- <image class="user-img" src="@/static/img/my/user-img.png" mode=""></image>
- <image class="set-iimg" src="@/static/img/my/pen.png" mode=""></image>
- </view>
- <view class="user-name text-overflow-ellipsis-one">
- {{ name }}
- </view>
- </view>
- <scroll-view :scroll-y="true" class="scroll-view-css" @scrolltolower="scrolltolower">
- </scroll-view>
- </view>
- </template>
- <script>
- export default {
- components: {},
- data() {
- return {
- name:'仰看辉煌煌煌煌煌1111煌...仰看辉煌煌煌煌煌1111煌...仰看辉煌煌煌煌煌1111煌...'
- };
- },
- onLoad(data) {},
- mounted() {},
- methods: {
- scrolltolower() {
- console.log('触底');
- },
- },
- }
- </script>
- <style lang="scss" scoped>
- .my-box{}
- .bg-box{
- width: 100%;
- height: 476rpx;
- position: fixed;
- top: 0;
- z-index: -1;
- }
- .user-img-box{
- width: 112rpx;
- height: 112rpx;
- position: relative;
- }
- .user-box{
- padding: 54rpx 32rpx 52rpx;
- }
- .user-img{
- width: 100%;
- height: 100%;
- }
- .set-iimg{
- position: absolute;
- right: 4rpx;
- bottom: 0;
- width: 33rpx;
- height: 33rpx;
- }
- .user-name{
- max-width: 388rpx;
- }
- </style>
|