message.wxss 2.3 KB
/* packagePersonal/pages/message/message.wxss */
/* 客服 */
.customer-tel {
  font-size: 24rpx;
  color: #999999;
  letter-spacing: 1rpx;
  text-align: center;
  margin-top: 20rpx;
  margin-bottom: 50rpx;
}

.customer-message {
  padding: 10rpx 40rpx;
}

.customer-message .message-avatar {
  width: 80rpx;
  height: 80rpx;
  border-radius: 50%;
}

.message-left {
  display: flex;
  align-items: center;
  margin-bottom: 56rpx;
}
.bg-message {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  font-size: 28rpx;
  color: #333333;
  letter-spacing: 1.16rpx;
  vertical-align: middle;
  padding: 10rpx 14rpx;
  height: auto;
  border-radius: 14rpx;
  max-width: calc(100% - 200rpx);
}
.bg-message .message-content {
  width: 100%;
  word-wrap: break-word;
  word-break: normal;
}
.bg-white {
  position: relative;
  background-color: #FFFFFF;
  margin-left: 34rpx;
}

.bg-white::before {
  content: '';
  position: absolute;
  right: 100%;
  top: 30%;
  transform: translateY(-50%);
  width: 14rpx;
  height: 26rpx;
  border-width: 0 0 10rpx 0;
  border-style: solid;
  border-color: transparent;
  margin-right: -5rpx;
  border-bottom-color: currentColor;
  border-radius: 0 0 0 12rpx;
  color: #FFFFFF;
}
.message-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.blue-white {
  position: relative;
  background-color: #94BBFF;
  margin-right: 34rpx;
}
.blue-white::before {
  content: '';
  position: absolute;
  left: 100%;
  top: 30%;
  transform: translateY(-50%);
  width: 14rpx;
  height: 26rpx;
  border-width: 0 0 10rpx 0;
  border-style: solid;
  border-color: transparent;
  margin-left: -5rpx;
  border-bottom-color: currentColor;
  border-radius: 0 0 12rpx 0;
  color: #94BBFF;
}

.customer-btn {
  position: fixed;
  bottom: 0;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100rpx;
  background-color: #FFFFFF;
  box-shadow: inset 0 0 0 0 #EEEEEE;
  padding: 20rpx 40rpx;
  box-sizing: border-box;
}

.customer-btn .customer-img {
  width: 48rpx;
  height: 50rpx;
  margin-right: 22rpx;
}

.customer-btn .customer-input {
  flex: 1;
  height: 60rpx;
  background-color: #F8F8F8;
  border: 1rpx solid rgba(221, 221, 221, .2);
  border-radius: 2px;
}