.component-side-floating-box {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  width: 70px;
  cursor: pointer;
}
.component-side-floating-box .wechat-qrcode {
  padding: 20px 0;
  width: 100%;
  background: #b69c69;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  display: -ms-flexbox;
  -ms-flex-align: center;
  -ms-flex-pack: center;
  -ms-flex-direction: column;
  position: relative;
}
.component-side-floating-box .wechat-qrcode .icon {
  width: 32px;
}
.component-side-floating-box .wechat-qrcode .btn-text {
  margin-top: 10px;
  font-size: 14px;
  color: #ffffff;
}
.component-side-floating-box .wechat-qrcode .tooltip {
  display: none;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-308px, -50%);
  align-items: center;
  -ms-flex-align: center;
}
.component-side-floating-box .wechat-qrcode .tooltip .tooltip-bg {
  background: #b69c69;
  padding: 20px;
}
.component-side-floating-box .wechat-qrcode .tooltip::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid #b69c69;
}
.component-side-floating-box .wechat-qrcode:hover .tooltip {
  display: flex;
  display: -ms-flexbox;
}
.component-side-floating-box .back-to-top-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  display: -ms-flexbox;
  -ms-flex-align: center;
  -ms-flex-pack: center;
  -ms-flex-direction: column;
  background: white;
  padding: 20px 0;
}
.component-side-floating-box .back-to-top-btn img {
  width: 28px;
}
.component-side-floating-box .back-to-top-btn .btn-text {
  margin-top: 10px;
  font-size: 14px;
  color: #6c6c6c;
}

@media (max-width: 768px) {
  .component-side-floating-box {
    right: 12px;
    top: 20%;
    width: auto;
  }
  .component-side-floating-box .wechat-qrcode {
    padding: 12px;
  }
  .component-side-floating-box .wechat-qrcode .icon {
    width: 20px;
  }
  .component-side-floating-box .wechat-qrcode .btn-text {
    display: none;
  }
  .component-side-floating-box .back-to-top-btn {
    padding: 12px;
  }
  .component-side-floating-box .back-to-top-btn img {
    width: 20px;
  }
  .component-side-floating-box .back-to-top-btn .btn-text {
    display: none;
  }
}