taskDetail.scss 4.55 KB
/* packageActivity/pages/taskDetail/taskDetail.wxss */
.layout{
  height: 100vh;;
}
.task-detail-box{
  padding: 32rpx 24rpx;
  box-sizing: border-box;
  overflow-y: auto;
  .title{
    margin: 0 0 24rpx 16rpx;
    font-weight: 600;
    font-size: 32rpx;
    color: #1B233D;
  }
  .copyWriting{
    font-weight: 400;
    font-size: 24rpx;
    color: #7A8299;
    line-height: 40rpx;
    margin-bottom: 24rpx;
  }
  .link-share{
    background: #FFFFFF;
    box-shadow: 0 4px 12px 0 rgba(106,126,204,0.12);
    border-radius: 12px;
    padding: 24rpx 32rpx;
    height: 128rpx;
    margin-bottom: 30rpx;
    image{
      width: 128rpx;
      height: 128rpx;
      margin-right: 22rpx;
    }
    .right{
      display: inline-block;
      view{
        font-size: 32rpx;
        color: #282829;
      }
      .type-text{
        font-size: 24rpx;
        color: #9299AD;
        margin-top: 10rpx;
      }
    }
  }
  .task-box{
    width: 100%;
    background: #FFFFFF;
    border-radius: 10px;
    padding: 32rpx;
    box-sizing: border-box;
    display: flex;
    margin-bottom: 40rpx;
    justify-content: space-between;
    image{
      flex-shrink: 0;
      width: 80rpx;
      height: 80rpx;
      margin-right: 20rpx;
    }
    .left{
      flex: 0 0 70%;
      display: flex;
      font-size: 22rpx;
      color: #9299AD;
      .text-message{
        view{
          word-break: break-all;
        }
        .name{
          font-size: 28rpx;
          color: #1B233D;
          font-weight: 500;
        }
      }
    }
    .right{
      display: flex;
      align-items: center;
      color: #FE5662;
      font-size: 28rpx;
      font-weight: 500;
      image{
        width: 32rpx;
        height: 32rpx;
        margin: 0;
      }
    }
  }
  .share-box{
    background: #FFFFFF;
    box-shadow: 0 8rpx 24rpx 0 rgba(106,126,204,0.12);
    border-radius: 32rpx;
    position: relative;
    margin-bottom: 30rpx;
    .bg{
      width: 100%;
      height: 176rpx;
    }
    .user-box{
      position: absolute;
      top: 0;
      padding: 40rpx;
      display: flex;
      image{
        width: 96rpx;
        height: 96rpx;
        margin-right: 24rpx;
        flex-shrink: 0;
        border-radius: 48rpx;
      }
      .message{
        display: flex;
        flex-flow: column;
        justify-content: space-between;
        font-size: 28rpx;
        color: #2D2D33;
        .name{
          font-size: 32rpx;
          text{
            font-size: 24rpx;
            color: #6E6E7A;
            margin-left: 16rpx;
          }
        }
        .activity{
           word-break: break-all;
          .activity-type-tag{
            font-size: 20rpx;
            color: #4466F0;
            background: rgba(255,255,255,0.32);
            border: 1px solid rgba(143,165,255,0.50);
            padding: 0 12rpx;
            border-radius: 2px;
            margin-left: 8rpx;
            white-space: nowrap;
          }
        }
      }
    }
    .content{
      padding: 40rpx 48rpx;
      .link-box{
        word-break: break-all;
        margin-top: 10rpx;
        text{
          color: #4466F0;
        }
      }
      .img_video{
        margin-top: 32rpx;
        display: flex;
        flex-wrap: wrap;
        .image-box{
          flex: 0 0 33.3%;
          width: 176rpx;
          height: 176rpx;
          margin-bottom: 16rpx;
          text-align: center;
          image{
            display: inline-block;
          }
        }
        .video-box{
          flex: 0 0 33.3%;
          position: relative;
          text-align: center;
          video{
            width: 176rpx;
            height: 176rpx;
            display: inline-block;
          }
          .paly-icon{
            width: 60rpx;
            height: 60rpx;
            position: absolute;
            z-index: 2;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
          }
        }
      }
    }
  }
  .btn-box{
    margin-top: 54rpx;
    display: flex;
    flex-flow: column;
    align-items: center;
    .btn{
      width: 400rpx;
      height: 84rpx;
      margin: 12rpx 0;
      line-height: 84rpx;
      text-align: center;
      background: #FFFFFF;
      display: flex;
      align-items: center;
      font-size: 32rpx;
      justify-content: center;
      border: 2rpx solid #DCDCE6;
      border-radius: 20rpx;
    }
    .primary{
      background-image: linear-gradient(-60deg, #556AF5 0%, #7197FF 100%);
      border: none;
      height: 88rpx;
      color: #fff;
    }
  }
  .canvas-box {
    position: absolute;
    left: -9999rpx;
    top: -9999rpx;
    width: 750rpx;
    height: 750rpx;
  }
}