app.vue 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. >img {
  52. width: 60px;
  53. height: 60px;
  54. margin-top: 10px;
  55. }
  56. >p {
  57. font-family: PingFang SC, PingFang SC;
  58. font-weight: 500;
  59. font-size: 14px;
  60. color: #666666;
  61. line-height: 16px;
  62. }
  63. }
  64. }
  65. .kefu1 {
  66. width: 70px;
  67. height: 70px;
  68. position: fixed;
  69. bottom: 0px;
  70. right: 220px;
  71. }
  72. .zhinengwenda {
  73. width: 360px;
  74. height: 562px;
  75. position: fixed;
  76. bottom: 85px;
  77. right: 220px;
  78. // border: 1px solid #CCCCCC;
  79. box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.1);
  80. border-radius: 10px;
  81. background-color: #fff;
  82. z-index: 1000;
  83. }
  84. </style>