Im.scss 2.32 KB
/* pages/crowdfunding/components/Im/Im.wxss */
// .chat {
//   background-color: #e8e8e8;
//   height: 100%;
// }
.chat .chatBox {
  width: 100%;
  height: auto;
  margin: auto 0;
  border-radius: 0.625rem;
}

.chat .chatBox-middle {
  width: 100%;
  margin: 1.25rem auto;
  overflow: hidden;
}

.chat .chatBox-infoDesk {
  display: flex;
  margin: 0 10px 10px;

  .chatBox-box {
    box-sizing: border-box;
    width: 296rpx;
    height: 80rpx;
    background-color: rgba(255, 255, 255, 0.4) !important;
    border-radius: 2rem !important;
    margin-right: 8px;
    padding: 0 20rpx;
  }

  .chatBox-input {
    width: calc(296rpx - 40rpx);
    height: 80rpx;
    padding: 0 0;
    color: #ffffff;

    .icon-send {
      width: 20px;
      height: 20px;
      margin-right: 10px;
    }
  }

  .chat-login-btn {
    width: 296rpx;
    height: 80rpx;
    line-height: 80rpx;
    text-align: center;
    font-size: 32rpx;
    color: #FFFFFF;
    background: #FF8802;
    border-radius: 40rpx;
    margin-right: 8px;
  }

  .chatBox-input.focus-input {
    width: 100%;
    transition: width 0.5s;

    .icon-send {
      border-radius: 50%;
    }
  }

  .action {
    width: calc(100% - 156px);
  }
  .action.left{
    margin-left: auto;
  }
}

.chat .chatInfo {
  width: 100%;
  // height: 100%;
  height: 230px;
  overflow-y: scroll;
}

.chat .chatInfo::-webkit-scrollbar {
  width: 0 !important;
}

.chat .chatUser-box {
  width: 100%;
  margin-bottom: 3px;
  display: flex;
  flex-direction: row;
}

.chat .chatUser-info {
  margin: 0 10px;
  width: 65%;
  line-height: 22px;
  font-size: 12px;
}

.chat .chatUser-info-name {
  color: rgb(234, 201, 36);
  margin-right: 0.4rem;
  font-weight: 600;
}

.chat .chatUser-info-text {
  margin-top: 3px;
  padding: 2px 6px;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 18px;
  color: #ffffff;
  float: left;
  table-layout: fixed;
  word-break: break-all;
  overflow: hidden;

  .icon-notice {
    width: 28px;
    height: 16px;
    vertical-align: middle;
  }
}

.chat .chatUser-info-text.notice {
  padding: 2px 3px 2px 6px;
}

.chat .chatBox-infoDesk .chatBox-input .van-field__control {
  /* background-color: rgba(255, 255, 255, 0.4) !important;
  border-radius: 2rem !important; */
  color: #ffffff;
  height: 40px;
  padding: 20rpx;
}

.chat .chatBox-infoDesk .van-cell::after {
  border: none;
}