index.vue 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. <template>
  2. <s-layout>
  3. <view class="customer-service">
  4. <view class="title">联系客服</view>
  5. <view class="subtitle">我们随时为您服务</view>
  6. <view class="qrcode-container">
  7. <view class="qrcode-item">
  8. <view class="qrcode-wrapper">
  9. <image class="qrcode" src="/static/images/qrcode1.jpg" mode="aspectFit"></image>
  10. </view>
  11. <view class="desc">
  12. <text class="name">客服小美</text>
  13. <text class="tag">主营业务咨询</text>
  14. </view>
  15. </view>
  16. <view class="qrcode-item">
  17. <view class="qrcode-wrapper">
  18. <image class="qrcode" src="/static/images/qrcode2.jpg" mode="aspectFit"></image>
  19. </view>
  20. <view class="desc">
  21. <text class="name">客服小丽</text>
  22. <text class="tag">售后服务专员</text>
  23. </view>
  24. </view>
  25. </view>
  26. <view class="tips">
  27. <text class="tips-icon">💡</text>
  28. <text>扫描以上二维码添加客服微信</text>
  29. </view>
  30. <view class="contact-time">服务时间: 周一至周日 9:00-21:00</view>
  31. </view>
  32. </s-layout>
  33. </template>
  34. <script setup>
  35. </script>
  36. <style lang="scss" scoped>
  37. .customer-service {
  38. padding: 40rpx;
  39. background: linear-gradient(to bottom, #f8f9fa, #ffffff);
  40. // min-height: 100vh;
  41. .title {
  42. font-size: 44rpx;
  43. font-weight: bold;
  44. text-align: center;
  45. margin-bottom: 20rpx;
  46. color: #333;
  47. }
  48. .subtitle {
  49. font-size: 28rpx;
  50. color: #666;
  51. text-align: center;
  52. margin-bottom: 60rpx;
  53. }
  54. .qrcode-container {
  55. display: flex;
  56. justify-content: space-around;
  57. align-items: center;
  58. margin-bottom: 50rpx;
  59. .qrcode-item {
  60. text-align: center;
  61. .qrcode-wrapper {
  62. background: #fff;
  63. padding: 20rpx;
  64. border-radius: 20rpx;
  65. box-shadow: 0 10rpx 20rpx rgba(0, 0, 0, 0.05);
  66. margin-bottom: 30rpx;
  67. transition: all 0.3s ease;
  68. &:hover {
  69. transform: translateY(-5rpx);
  70. box-shadow: 0 15rpx 30rpx rgba(0, 0, 0, 0.1);
  71. }
  72. .qrcode {
  73. width: 280rpx;
  74. height: 280rpx;
  75. border-radius: 10rpx;
  76. }
  77. }
  78. .desc {
  79. display: flex;
  80. flex-direction: column;
  81. align-items: center;
  82. gap: 10rpx;
  83. .name {
  84. font-size: 32rpx;
  85. color: #333;
  86. font-weight: 500;
  87. }
  88. .tag {
  89. font-size: 24rpx;
  90. color: #666;
  91. background: #f5f6f7;
  92. padding: 6rpx 20rpx;
  93. border-radius: 20rpx;
  94. }
  95. }
  96. }
  97. }
  98. .tips {
  99. font-size: 28rpx;
  100. color: #666;
  101. text-align: center;
  102. margin-bottom: 30rpx;
  103. display: flex;
  104. align-items: center;
  105. justify-content: center;
  106. gap: 10rpx;
  107. .tips-icon {
  108. font-size: 32rpx;
  109. }
  110. }
  111. .contact-time {
  112. font-size: 26rpx;
  113. color: #999;
  114. text-align: center;
  115. padding: 20rpx;
  116. background: #f8f9fa;
  117. border-radius: 10rpx;
  118. }
  119. }
  120. </style>