zoukankan      html  css  js  c++  java
  • demo_38 关注页导航栏实现

    效果图

     页面布局

     全部样式

    <style lang="scss" scoped>
        .follow {
            // height: 100%;
            display: flex;
            flex-direction: column;
            flex: 1;
            box-sizing: border-box;

            .follow-tab {
                height: 30px;
                padding: 10px 20px;

                .follow-tab__box {
                    display: flex;
                     100%;
                    height: 100%;
                    border-radius: 5px;
                    border: 1px $mk-base-color solid;

                    .follow-tab__item {
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        color: #666;
                        font-size: 14px;
                         100%;

                        &:first-child {
                            border-right: 1px $mk-base-color solid;
                        }

                        &.active {
                            color: $mk-base-color;
                        }

                    }
                }
            }
            .follow-list {
                flex: 1;

                .follow-list__swiper {
                    height: 100%;

                    .swiper-item {
                        height: 100%;
                    }
                }
            }
        }

        .no-data {
            padding: 50px;
            font-size: 14px;
            color: #999;
            text-align: center;
        }
    </style>
  • 相关阅读:
    ARC下的内存泄露
    iPhone 被同步到 Mac上后 如果不希望更新到Mac上在哪里删除?
    图像处理之基础---2个YUV视频 拼接技术
    多媒体开发之---H264 RTSP交互过程
    6410开发之---uboot
    数学和算法之---重温傅立叶
    多媒体开发之---h264 rtp打包
    多线程开发之---线程等待
    多媒体开发之---开源库ffmeg的log之子解析
    直升机的革命---鱼鹰运输机
  • 原文地址:https://www.cnblogs.com/luwei0915/p/13737597.html
Copyright © 2011-2022 走看看