service.vue 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <template>
  2. <view class="service-container">
  3. <view class="service-title">在线客服</view>
  4. <view class="service-box">
  5. <image src="/static/logo.png" class="service-avatar" />
  6. <view class="service-welcome">您好,有任何问题可随时联系小鹅客服!</view>
  7. <button class="faq-btn">常见问题</button>
  8. <button class="contact-btn">联系客服</button>
  9. </view>
  10. </view>
  11. </template>
  12. <script>
  13. export default {}
  14. </script>
  15. <style lang="scss">
  16. .service-container {
  17. min-height: 100vh;
  18. background: #f7f8fa;
  19. padding-bottom: 120rpx;
  20. }
  21. .service-title {
  22. text-align: center;
  23. font-size: 36rpx;
  24. font-weight: bold;
  25. color: #222;
  26. padding: 48rpx 0 32rpx 0;
  27. }
  28. .service-box {
  29. background: #fff;
  30. border-radius: 20rpx;
  31. margin: 0 24rpx;
  32. box-shadow: 0 4rpx 16rpx rgba(0,0,0,0.04);
  33. display: flex;
  34. flex-direction: column;
  35. align-items: center;
  36. padding: 48rpx 24rpx 48rpx 24rpx;
  37. }
  38. .service-avatar {
  39. width: 100rpx;
  40. height: 100rpx;
  41. border-radius: 50%;
  42. margin-bottom: 24rpx;
  43. }
  44. .service-welcome {
  45. font-size: 28rpx;
  46. color: #555;
  47. margin-bottom: 32rpx;
  48. text-align: center;
  49. }
  50. .faq-btn {
  51. width: 80%;
  52. background: #f7f8fa;
  53. color: #409EFF;
  54. border-radius: 12rpx;
  55. font-size: 28rpx;
  56. margin-bottom: 18rpx;
  57. }
  58. .contact-btn {
  59. width: 80%;
  60. background: #409EFF;
  61. color: #fff;
  62. border-radius: 12rpx;
  63. font-size: 32rpx;
  64. }
  65. </style>