.customer-service {
  width: 100%;
  height: 100%;
}
.return-box {
  width: 100%;
  height: 0.44rem;
  position: fixed;
  top: 0px;
  left: 0px;
  background: #fff;
}
.return-icon {
  width: 0.44rem;
  height: 0.44rem;
  background: url('../img/return-btn.png') no-repeat center;
  background-size: 0.11rem 0.19rem;
  float: left;
}
.title {
  width: 2rem;
  height: 0.44rem;
  line-height: 0.44rem;
  text-align: center;
  font-size: 0.16rem;
  color: rgb(43, 43, 43);
  position: absolute;
  top: 0px;
  left: 50%;
  margin-left: -1rem;
  font-family: PingFangSC-Medium;
}
.message-list {
  width: 100%;
  height: 100%;
  margin-top: 0.44rem;
  margin-bottom: 0.5rem;
  padding: 0 0.16rem;
  box-sizing: border-box;
  overflow: hidden;
  /* background: #eeeeee50; */
}
.input-area {
  width: 100%;
  height: 0.5rem;
  background: #fff;
  position: fixed;
  bottom: 0px;
  left: 0px;
  display: flex;
  justify-content: space-between;
}
.img-icon {
  width: 0.3rem;
  height: 0.3rem;
  margin: 0.1rem 0.08rem;
  background: url('../img/img-icon.png') no-repeat center;
  background-size: 100%;
  float: left;
  cursor: pointer;
}
.input-box {
  /* width: 2.4rem; */
  width: 4.8rem;
  height: 0.5rem;
  float: left;
  padding: 0.05rem 0;
  box-sizing: border-box;
  margin-left: 0.08rem;
}
.input-btn {
  width: 100%;
  height: 0.4rem;
  background: #eee;
  padding: 0 0.1rem;
  box-sizing: border-box;
  border-radius: 0.2rem;
  font-size: 0.12rem;
}
.send-btn {
  width: 0.6rem;
  height: 0.36rem;
  background: palegoldenrod;
  float: right;
  text-align: center;
  line-height: 0.36rem;
  color: #fff;
  background: #e63a3a;
  border-radius: 0.04rem;
  margin: 0.07rem 0;
  margin-right: 0.07rem;
  cursor: pointer;
  font-size: 0.12rem;
}
.message-list li {
  width: 100%;
  height: 100%;
  float: left;
  margin: 0.1rem 0;
  overflow: hidden;
}
.avatar-img {
  width: 0.37rem;
  height: 0.37rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #666;
  text-align: center;
  line-height: 0.37rem;
  color: #222;
}
.message-content {
  max-width: 2rem;
  height: 100%;
  padding: 0.06rem;
  margin-top: 0.06rem;
}
.text-content {
  max-width: 3.5rem;
  height: 100%;
  padding: 0.06rem;
  margin-top: 0.06rem;
}
.message-content p {
  width: 100%;
  color: rgb(52, 55, 61);
  font-size: 0.12rem;
  display: block;
  word-break: break-all;
  white-space: normal;
}
.message-content img {
  max-width: 2rem;
  height: 100%;
  max-height: 3rem;
  border-radius: 0.04rem;
  overflow: hidden;
}
.message-content i {
  height: 0.2rem;
  line-height: 0.2rem;
  font-size: 0.11rem;
  color: rgb(131, 135, 138);
  float: left;
  margin-top: 0.02rem;
}
.message-left .avatar-img {
  float: left;
}
.message-left .message-content {
  float: left;
  margin-left: 0.07rem;
  background: rgb(241, 241, 241);
  border-radius: 0 0.08rem 0.08rem 0.08rem;
}

.message-left .message-content i {
  text-align: left;
}
.message-left .message-content img {
  float: left;
}

.message-right .avatar-img {
  float: right;
}
.message-right .message-content {
  float: right;
  margin-right: 0.07rem;
  background: rgb(249, 213, 101);
  border-radius: 0.08rem 0 0.08rem 0.08rem;
}
.message-right .message-content i {
  float: right;
  text-align: right;
}

.message-right .message-content img {
  float: right;
}
.img-show {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0px;
  left: 0px;
  bottom: 0px;
  right: 0px;
  z-index: 999;
  background: rgba(0, 0, 0, 0.7);
  display: none;
}
.imgShow {
  width: 3.3rem;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.uploader-file {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  cursor: pointer;
}
.img-send-box {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0px;
  left: 0px;
  bottom: 0px;
  right: 0px;
  z-index: 999;
  background: rgba(63, 61, 61, 0.7);
  display: none;
  cursor: pointer;
}
.img-send {
  width: 3rem;
  height: 4rem;
  padding: 0.1rem;
  box-sizing: border-box;
  background: #fff;
  border-radius: 0.06rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.checked-img-box {
  width: 100%;
  height: 3.2rem;
  position: relative;
}
.checked-img {
  width: 100%;
  height: inherit;
  position: absolute;
  -o-object-fit: contain;
  object-fit: contain;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 0.04rem;
}
.send-box {
  width: 100%;
  height: 0.5rem;
  margin-top: 0.2rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.send-box span {
  width: 0.7rem;
  height: 0.3rem;
  text-align: center;
  line-height: 0.3rem;
  background: palegoldenrod;
  border-radius: 0.04rem;
}
.send-box span:nth-of-type(1) {
  background: #eee;
  color: #606266;
}
.send-box span:nth-of-type(2) {
  background: #409eff;
  color: #fff;
}
.loading-box {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0px;
  left: 0px;
  bottom: 0px;
  right: 0px;
  z-index: 9991;
  background: rgba(0, 0, 0, 0.5);
  display: none;
}
.loading {
  width: 2rem;
  height: 1.4rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
}
.loading img {
  width: 0.6rem;
  display: block;
  margin: 0 auto;
  animation: turn 1.5s linear infinite;
}
.loading span {
  width: 100%;
  height: 0.2rem;
  display: block;
  text-align: center;
  line-height: 0.2rem;
  margin-top: 0.1rem;
  color: #ccc;
}

@keyframes turn {
  0% {
    -webkit-transform: rotate(0deg);
  }
  25% {
    -webkit-transform: rotate(90deg);
  }
  50% {
    -webkit-transform: rotate(180deg);
  }
  75% {
    -webkit-transform: rotate(270deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}
