.message-box-wrap {
  position: relative;
  background: #f3f6ff;
  height: auto;
  padding: 20px 10px;
  border-radius: 5px;

  .message-action {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    height: 80px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .message-box {
    width: 100%;
    height: 400px;
    overflow-y: scroll;
    position: relative;
    box-sizing: border-box;
    padding-bottom: 100px;

    .flex-start {
      justify-content: flex-start;
    }

    .flex-end {
      justify-content: flex-end;
    }

    .message-box-item {
      width: 100%;
      height: auto;
      position: relative;
      box-sizing: border-box;
      display: flex;
      align-items: flex-start;
      flex-wrap: nowrap;
      margin: 20px 0 50px 0;

      .item-userImg {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background-image: url('https://share-fly.oss-cn-hangzhou.aliyuncs.com/file/mine_user.png');
        background-size: 100% 100%;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      }

      .item-content {
        flex: 1;
        padding: 10px;
        margin: 0 10px;
        border-radius: 5px;
        background: #fff;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        word-break: break-all;
        line-height: 16px;
        max-width: 60%;
      }

      .item-time {
        position: absolute;
        top: -20px;
        left: 0;
        width: 100%;
        text-align: center;
        color: #999999;
        font-size: 13px;
        transform: scale(0.8);
      }
    }
  }
}
