首页 > 其他 > 详细

demo_38 关注页导航栏实现

时间:2020-09-27 08:28:07      阅读:32      评论:0      收藏:0      [点我收藏+]

效果图

技术分享图片

 页面布局

技术分享图片

 全部样式

<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;
                width: 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;
                    width: 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>

demo_38 关注页导航栏实现

原文:https://www.cnblogs.com/luwei0915/p/13737597.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!