效果图

demo_38 关注页导航栏实现

 页面布局

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

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-17
  • 2022-12-23
  • 2021-10-14
  • 2021-09-21
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-05
  • 2022-12-23
  • 2021-11-29
  • 2021-11-03
相关资源
相似解决方案