app.vue 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <template>
  2. <div class="sannong">
  3. <NuxtLayout>
  4. <NuxtPage></NuxtPage>
  5. <!-- <img src="./static/images/weixin 1.png" alt=""> -->
  6. <ul class="kefu">
  7. <li>
  8. <img src="./static//images/weixin 1.png" alt="">
  9. <p>微信客服</p>
  10. </li>
  11. <li>
  12. <img src="./static//images/qq 1.png" alt="">
  13. <p>QQ客服</p>
  14. </li>
  15. <li>
  16. <img src="./static//images/dianhua 1.png" alt="">
  17. <p>电话客服</p>
  18. </li>
  19. <li @click="close">
  20. <img src="./static//images/guanbi 1.png" alt="">
  21. <p>关闭</p>
  22. </li>
  23. </ul>
  24. <!-- <div class="kefu1">
  25. <img src="./static//images/weixin 1.png" alt="">
  26. </div> -->
  27. </NuxtLayout>
  28. <!-- <div class="zhinengwenda">
  29. <Zhinengqwnda></Zhinengqwnda>
  30. </div> -->
  31. </div>
  32. </template>
  33. <script setup>
  34. let close = () => {
  35. let kefu = document.querySelector('.kefu')
  36. kefu.style.display = 'none'
  37. }
  38. </script>
  39. <style lang="less" scoped>
  40. .kefu {
  41. width: 100px;
  42. height: 445px;
  43. position: fixed;
  44. bottom: 80px;
  45. right: 129px;
  46. >li {
  47. width: 100px;
  48. height: 100px;
  49. margin-bottom: 15px;
  50. text-align: center;
  51. background-color: #fff;
  52. >img {
  53. width: 60px;
  54. height: 60px;
  55. margin-top: 10px;
  56. }
  57. >p {
  58. font-family: PingFang SC, PingFang SC;
  59. font-weight: 500;
  60. font-size: 14px;
  61. color: #666666;
  62. line-height: 16px;
  63. }
  64. }
  65. }
  66. .kefu1 {
  67. width: 70px;
  68. height: 70px;
  69. position: fixed;
  70. bottom: 0px;
  71. right: 220px;
  72. }
  73. .zhinengwenda {
  74. width: 360px;
  75. height: 562px;
  76. position: fixed;
  77. bottom: 85px;
  78. right: 220px;
  79. // border: 1px solid #CCCCCC;
  80. box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.1);
  81. border-radius: 10px;
  82. background-color: #fff;
  83. z-index: 1000;
  84. }
  85. </style>