.huake-side-bar {
  width: 60px; /* 初始宽度 */
  top: 50%;
  right: 0;
  margin-top: -200px;
  position: fixed;
  right: 0;
  z-index: 999;
  background: transparent;
  box-shadow: rgba(62, 57, 107, 0.3) 0px 6px 16px 0px;
}

.huake-side-bar a {
  display: block;
  background: var(--color-primary);
  position: relative;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 150px; /* 初始宽度 */
  height: 80px;
  line-height: 80px ;
  right: 0; /* 初始在右边 */
  transition: all 0.4s ease; /* 平滑动画 */
}
.huake-side-bar a:first-child {
  border-radius: 3px 0 0 0;
}
.huake-side-bar a:last-child {
  border-radius: 0 0 0 3px;
}
.huake-side-bar a:hover {
  right: 90px;
}

.huake-side-bar a i {
  display: inline-block;
  width: 28px;
  height: 28px;
}

.huake-side-bar a span {
  width: 75px;
  color: #fff;
  display: block;
  font-size: 18px;
}

.huake-side-bar a > img {
  max-width: 35px;
}

.huake-side-bar .wx-box {
  position: absolute;
  right: 160px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
}

.huake-side-bar .wx-box .box {
  width: 140px;
  padding: 5px;
  border: 1px solid #D6D7D7;
  text-align: center;
  background: #fff;
  overflow: hidden;
}

.huake-side-bar .wx-box img {
  width: 140px;
}

.huake-side-bar .wx-box .arrowPanel {
  width: 12px;
  height: 20px;
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
}

.huake-side-bar .wx-box .arrow01 {
  width: 0;
  height: 0;
  font-size: 0;
  line-height: 0;
  position: absolute;
  bottom: 0;
  left: 2px;
  top: 0;
  border-top: 10px dashed transparent;
  border-right: 10px dashed transparent;
  border-bottom: 10px dashed transparent;
  border-left: 10px solid #ddd;
}

.huake-side-bar .wx-box .arrow02 {
  width: 0;
  height: 0;
  font-size: 0;
  line-height: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  top: 0;
  border-top: 10px dashed transparent;
  border-right: 10px dashed transparent;
  border-bottom: 10px dashed transparent;
  border-left: 10px solid #fff;
}

.huake-side-bar a.wx:hover .wx-box {
  display: block;
}


@media (max-width: 768px) {
  .huake-side-bar {
    display: none;
  }
}