index.scss 2.51 KB
/* packageActivity/pages/solitaire/index/index.wxss */
page {
  background-color: #f7f7f7;
}

.layout {
  padding: 24rpx 32rpx 160rpx;

  .box {
    background: #FFFFFF;
    border-radius: 16rpx;
  }

  .title {
    height: 100rpx;
    font-weight: 600;
    font-size: 32rpx;
    color: #2D2D2E;
    justify-content: center;
  }

  .mp-html {
    padding: 32rpx;
    font-size: 28rpx;
    color: #2D2D2E;
    line-height: 46rpx;
    margin: 24rpx 0;
    max-height: 50vh;
    box-sizing: border-box;
    overflow-y: scroll;
  }

  .detail-box {
    font-size: 28rpx;
    color: #2D2D2E;
    line-height: 50rpx;
    padding: 32rpx;

    .subtitle {
      font-size: 28rpx;
      font-weight: 600;
      line-height: 46rpx;
      margin-bottom: 20rpx;

      text {
        color: #FC5B32;
      }
    }

    .item {
      .label {
        max-width: 420rpx;
      }

      .value {
        margin-left: auto;
        flex-shrink: 0;
      }
    }

    .input-box {
      margin-top: 24px;

      .button {
        .icon {
          width: 40rpx;
          height: 40rpx;
          box-sizing: border-box;
          border: 2rpx solid #fc5b3233;
          border-radius: 100%;
          position: relative;
          margin-right: 8rpx;

          &::before,
          &::after {
            content: '';
            position: absolute;
            background: #FC5B32;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
          }

          &::before {
            width: 20.84rpx;
            height: 3.82rpx;
          }

          &::after {
            width: 3.82rpx;
            height: 20.86rpx;
          }
        }

        font-size: 28rpx;
        color: #FC5B32;
      }

      .input {
        height: 68rpx;
        background: #F5F5F5;
        border-radius: 8rpx;
        margin-bottom: 24rpx;
        padding: 14rpx 20rpx;
        box-sizing: border-box;
        font-size: 28rpx;
        position: relative;

        .arrow {
          position: absolute;
          right: 24rpx;
          width: 17rpx;
          height: 17rpx;
          transform: rotate(-45deg);
          transform-origin: left;
          border-left: 4rpx solid #BDBDBD;
          border-bottom: 4rpx solid #BDBDBD;
        }
      }

      .placeholder {
        color: #BDBDBD;
      }

      .default-btn {
        width: 564rpx;
        height: 68rpx;
        background-image: linear-gradient(90deg, #FE9461 15%, #FC5B32 90%);
        border-radius: 34rpx;
        font-size: 32rpx;
        margin-top: 32rpx;
      }
    }
  }
}