app.vue 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <template>
  2. <div class="sannong">
  3. <NuxtLayout>
  4. <NuxtPage></NuxtPage>
  5. <ul class="kefu">
  6. <li>
  7. <el-popover ref="popover" placement="right" :width="80" trigger="hover">
  8. <template #reference>
  9. <img src="./static/images/qq 1.png" alt="">
  10. </template>
  11. <p>联系QQ:</p>
  12. <p>2909421493</p>
  13. <p>213552413</p>
  14. </el-popover>
  15. <h6>QQ客服</h6>
  16. </li>
  17. <li>
  18. <el-popover ref="popover" placement="right" :width="80" trigger="hover">
  19. <template #reference>
  20. <img src="./static/images/dianhua 1.png" alt="">
  21. </template>
  22. <p>联系电话:</p>
  23. <p>010-56019387</p>
  24. </el-popover>
  25. <h6>电话客服</h6>
  26. </li>
  27. </ul>
  28. <!-- <ul class="kefu">
  29. <li>
  30. <img src="./static//images/weixin 1.png" alt="">
  31. <p>微信客服</p>
  32. </li>
  33. <li>
  34. <img src="./static//images/qq 1.png" alt="">
  35. <p>QQ客服</p>
  36. </li>
  37. <li>
  38. <img src="./static//images/dianhua 1.png" alt="">
  39. <p>电话客服</p>
  40. </li>
  41. <li @click="close">
  42. <img src="./static//images/guanbi 1.png" alt="">
  43. <p>关闭</p>
  44. </li>
  45. </ul> -->
  46. <!-- <div class="kefu1">
  47. <img src="./static//images/weixin 1.png" alt="">
  48. </div> -->
  49. </NuxtLayout>
  50. <!-- <div class="zhinengwenda">
  51. <Zhinengqwnda></Zhinengqwnda>
  52. </div> -->
  53. </div>
  54. </template>
  55. <script setup>
  56. import { ElPopover } from 'element-plus'
  57. let close = () => {
  58. let kefu = document.querySelector('.kefu')
  59. kefu.style.display = 'none'
  60. }
  61. </script>
  62. <style lang="less" scoped>
  63. .kefu {
  64. width: 100px;
  65. // height: 445px;
  66. height: 200px;
  67. position: fixed;
  68. // bottom: 80px;
  69. // right: 129px;
  70. bottom: 50px;
  71. right: 30px;
  72. >li {
  73. width: 100px;
  74. height: 100px;
  75. margin-bottom: 15px;
  76. text-align: center;
  77. background-color: #fff;
  78. box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.1);
  79. border-radius: 10px;
  80. img {
  81. width: 60px;
  82. height: 60px;
  83. margin-top: 10px;
  84. }
  85. h6 {
  86. font-family: PingFang SC, PingFang SC;
  87. font-weight: 500;
  88. font-size: 14px;
  89. color: #666666;
  90. line-height: 16px;
  91. }
  92. p {
  93. font-weight: 400;
  94. font-size: 12px;
  95. }
  96. }
  97. }
  98. .kefu1 {
  99. width: 70px;
  100. height: 70px;
  101. position: fixed;
  102. bottom: 0px;
  103. right: 220px;
  104. }
  105. .zhinengwenda {
  106. width: 360px;
  107. height: 562px;
  108. position: fixed;
  109. bottom: 85px;
  110. right: 220px;
  111. // border: 1px solid #CCCCCC;
  112. box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.1);
  113. border-radius: 10px;
  114. background-color: #fff;
  115. z-index: 1000;
  116. }
  117. </style>