index.scss 1.25 KB
page{
  overflow: hidden;
}
.navigation-bar {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 2;
	.bar-text {
		font-size: 34rpx;
		font-weight: 600;
	}
}

.layout {
  position: relative;
	.bg-box {
		width: 100%;
		overflow: hidden;
		position: absolute;
		left: 0;
		.bg {
			width: 100%;
			height: 100%;
			position: absolute;
			z-index: -1;
			top: 0;
			left: 0;
		}
	}
	.tab-box {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 2;
    display: flex;
    height: 112rpx;
    margin-bottom: 16rpx;
    .tab {
      flex: 1;
      display: flex;
      flex-flow: column;
      align-items: center;
      font-size: 32rpx;
      font-weight: 400;
      color: #2D2D33;
      opacity: 0.9;
      .text{
        margin: 28rpx 0;
      }
      .line{
        transform: scale(0);
        transition: all .25s;
      }
    }
    .active {
      font-size: 36rpx;
      font-weight: 600;
      .line{
        width: 48rpx;
        height: 8rpx;
        background: #708CFF;
        border-radius: 3px 3px 0 0;
        // box-shadow: 0 4rpx 4rpx 0 #708CFF;
        transform: scale(1);
      }
    }
  }
  .content{
    height: calc(100% - 112rpx);
  }
  .add-activity{
    position: fixed;
    top: 65%;
    right: 16rpx;
    width: 160rpx;
    height: 160rpx;
  }
}