vip-deng-vip
<template>
    <view>
        <!--  -->
        <view style="width: 100%;height: 400rpx;background-color: #007AFF;"></view>
        <view class="wrapperVue">
            
            
            <view class="sroll">
                <scroll-view scroll-y class="list-scroll">
                    <view>
                        <view class="demoa" v-for="item,index in 50">
                            {{item}}
                        </view>
                            
                    </view>
                </scroll-view>
            </view>
            
            
            
        </view>
        <!--  -->
    </view>
</template>

<script>
    export default {
        data() {
            return {
            }
        },
        created() {
            // console.log(\'create----------home\')
            // this._created()
        },
        onLoad(options) {
            console.log(\'home:onLoad\');
        }
    }
</script>

<style lang="scss">
    .wrapperVue{
        width: 100%;
        display: flex;
        flex-direction: column;
        border: 10rpx red solid;
        height: 700rpx;
        .sroll{
            width: 100%;
            overflow: hidden;
            box-sizing: border-box;
            .list-scroll{
                width: 100%;
                height: 100%;
                // display: flex;
                // flex-direction: column;
                .demoa{
                    width: 100%;
                    height: 30rpx;
                    background-color: pink;
                    margin-top: 5rpx;
                }
            }
        }
    }
</style>

 

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-22
  • 2022-12-23
  • 2022-02-08
  • 2021-06-28
猜你喜欢
  • 2021-10-06
  • 2021-02-18
  • 2021-11-17
  • 2022-12-23
  • 2021-10-15
  • 2021-05-31
  • 2022-12-23
相关资源
相似解决方案