openBusiness.scss 2.42 KB
/* packageOutput/pages/openBusiness/openBusiness.wxss */
page {
  background-color: #FFFFFF;
}

.openBusiness {
  padding-bottom: 100rpx;

  .bg-img {
    width: 100%;
    height: 360rpx;
  }

  .layout {
    padding: 32rpx;
    font-size: 28rpx;
    color: #323436;

    .m-b-32 {
      margin-bottom: 32rpx;
    }

    .form {
      height: 40rpx;
      line-height: 40rpx;

      .label {
        color: #8A8C90;
      }
    }

    .head {
      position: relative;
      height: 50rpx;
      line-height: 50rpx;
      font-size: 36rpx;
      font-weight: 600;
      color: #323436;

      &::before {
        display: inline-block;
        content: '';
        width: 6rpx;
        height: 28rpx;
        background: #3666FE;
        border-radius: 0 4rpx 4rpx 0;
        margin-right: 16rpx;
      }
    }

    .box {
      &-title {
        font-weight: 600;
        padding: 32rpx 0 16rpx 12rpx;
      }

      .title-tip {
        font-size: 22rpx;
        color: #323436;
      }
    }

    .activity-box {
      display: flex;
      flex-wrap: wrap;

      .activity-item {
        position: relative;
        box-sizing: border-box;
        width: calc((100% - 40rpx) / 3);
        height: 64rpx;
        line-height: 64rpx;
        text-align: center;
        background: #F2F3F7;
        font-size: 28rpx;
        margin: 0 20rpx 16rpx 0;
        border-radius: 4rpx;
        border: 2rpx solid #F2F3F7;

        .icon-mark {
          position: absolute;
          top: 0;
          right: 0;
          width: 60rpx;
          height: 60rpx;
        }
      }

      .activity-item:nth-child(3n) {
        margin-right: 0;
      }

      .activity-item .active {
        background: #F0F7FF;
        border: 2rpx solid #3E71FE;
        border-radius: 8rpx;
        color: #3666FE;
      }

      .act {
        .act-img {
          display: block;
        }
      }
    
      .act-img {
        display: none;
        position: absolute;
        top: 0;
        right: 0;
        width: 30rpx;
        height: 22rpx;
      }

      .item-disabled {
        color: #CCCED1;
      }
    }
  }

  .btn {
    position: fixed;
    bottom: 16rpx;
    left: 0;
    width: calc(100% - 64rpx);
    height: 88rpx;
    line-height: 88rpx;
    text-align: center;
    font-size: 28rpx;
    color: #FFFFFF;
    margin: 0 32rpx;
  }

  .btn-blue {
    background: #3666FE;
    border-radius: 8rpx;
  }

  .btn-disabled {
    background: #CCCED1;
    border-radius: 8rpx;
  }
}