kefu.less 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. //添加在线客服
  2. .kefu {
  3. bottom: 100px;
  4. height: 430px;
  5. position: fixed;
  6. right: 10px;
  7. width: 100px;
  8. .kefu_itemKf {
  9. background-color: #fff;
  10. border-radius: 10px;
  11. box-shadow: 0 4px 16px #0000001a;
  12. height: 100px;
  13. margin-bottom: 15px;
  14. text-align: center;
  15. width: 100px;
  16. box-sizing: border-box;
  17. position: relative;
  18. cursor: pointer;
  19. margin-bottom: 100px;
  20. a {
  21. >p {
  22. color: #666;
  23. font-size: 14px;
  24. font-weight: 500;
  25. line-height: 16px;
  26. }
  27. >img {
  28. margin-top: 15px;
  29. width: 50px;
  30. height:50px;
  31. margin-bottom: 5px;
  32. }
  33. }
  34. }
  35. .kefu_itemQQ {
  36. background-color: #fff;
  37. border-radius: 10px;
  38. box-shadow: 0 4px 16px #0000001a;
  39. height: 100px;
  40. margin-bottom: 15px;
  41. text-align: center;
  42. width: 100px;
  43. box-sizing: border-box;
  44. position: relative;
  45. cursor: pointer;
  46. >p {
  47. color: #666;
  48. font-size: 14px;
  49. font-weight: 500;
  50. line-height: 16px;
  51. }
  52. >img {
  53. margin-top: 10px;
  54. width: 60px;
  55. height: 60px;
  56. }
  57. &:hover {
  58. .kefu_item_content_QQ {
  59. display: block;
  60. }
  61. }
  62. }
  63. .kefu_itemPhone {
  64. background-color: #fff;
  65. border-radius: 10px;
  66. box-shadow: 0 4px 16px #0000001a;
  67. height: 100px;
  68. margin-bottom: 15px;
  69. text-align: center;
  70. width: 100px;
  71. box-sizing: border-box;
  72. position: relative;
  73. cursor: pointer;
  74. >p {
  75. color: #666;
  76. font-size: 14px;
  77. font-weight: 500;
  78. line-height: 16px;
  79. }
  80. >img {
  81. margin-top: 10px;
  82. width: 60px;
  83. height: 60px;
  84. }
  85. &:hover {
  86. .kefu_item_content_phone {
  87. display: block;
  88. }
  89. }
  90. }
  91. .kefu_item_content_QQ {
  92. position: absolute;
  93. top: -100px;
  94. right: 100px;
  95. background: #fff;
  96. border-radius: 10px;
  97. display: none;
  98. width: 190px;
  99. height: 330px;
  100. background: #fff;
  101. box-shadow: 0 4px 16px #0000001a;
  102. z-index: 99;
  103. box-sizing: border-box;
  104. padding: 20px;
  105. img {
  106. margin-bottom: 10px;
  107. }
  108. .qqfs {
  109. margin-bottom: 20px;
  110. font-size: 14px;
  111. color: #333;
  112. }
  113. .arrow {
  114. width: 0;
  115. height: 0;
  116. width: 0;
  117. border-top: 20px solid transparent;
  118. border-bottom: 20px solid transparent;
  119. border-left: 20px solid #fff;
  120. position: absolute;
  121. top: 120px;
  122. right: -20px;
  123. transform: translateX(-50%);
  124. z-index: 100;
  125. }
  126. }
  127. .kefu_item_content_phone {
  128. position: absolute;
  129. top: 0;
  130. right: 100px;
  131. background: #fff;
  132. border-radius: 10px;
  133. display: none;
  134. width: 190px;
  135. height: 80px;
  136. background: #fff;
  137. box-shadow: 0 4px 16px #0000001a;
  138. z-index: 99;
  139. box-sizing: border-box;
  140. padding: 20px;
  141. text-align: left;
  142. color: #333;
  143. .kefu_item_content_phone_title {
  144. margin-bottom: 5px;
  145. font-weight: bold;
  146. }
  147. .arrow {
  148. width: 0;
  149. height: 0;
  150. width: 0;
  151. border-top: 20px solid transparent;
  152. border-bottom: 20px solid transparent;
  153. border-left: 20px solid #fff;
  154. position: absolute;
  155. top: 20px;
  156. right: -20px;
  157. transform: translateX(-50%);
  158. z-index: 100;
  159. }
  160. }
  161. }