zoukankan      html  css  js  c++  java
  • uniapp 盒子内部滑动

    <template>
        <view>
            <!--  -->
            <view style=" 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{
             100%;
            display: flex;
            flex-direction: column;
            border: 10rpx red solid;
            height: 700rpx;
            .sroll{
                 100%;
                overflow: hidden;
                box-sizing: border-box;
                .list-scroll{
                     100%;
                    height: 100%;
                    // display: flex;
                    // flex-direction: column;
                    .demoa{
                         100%;
                        height: 30rpx;
                        background-color: pink;
                        margin-top: 5rpx;
                    }
                }
            }
        }
    </style>
  • 相关阅读:
    python注释中文
    python学习好文
    浅析python 的import 模块(转)
    Python解释器镜像源修改
    Python解释器安装
    Python和Python解释器
    计算机基础小结
    网络瓶颈效应
    编程语言分类
    子查询|视图事务
  • 原文地址:https://www.cnblogs.com/vip-deng-vip/p/12890071.html
Copyright © 2011-2022 走看看