Server.vue 698 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <template>
  2. <view>
  3. <view class="serve">
  4. <image class="w130 h130"
  5. src="/static/images/server.png"
  6. mode=""></image>
  7. <text class="text">官方客服</text>
  8. <button class="contact-btn" open-type="contact"></button>
  9. </view>
  10. </view>
  11. </template>
  12. <script>
  13. export default {
  14. name:"Server",
  15. data() {
  16. return {
  17. };
  18. }
  19. }
  20. </script>
  21. <style lang="scss" scoped>
  22. .serve{
  23. position: fixed;
  24. right: 20rpx;
  25. top: 80%;
  26. display: flex;
  27. flex-direction: column;
  28. align-items: center;
  29. z-index: 9;
  30. .text{
  31. margin-top: 10rpx;
  32. font-weight: 500;
  33. font-size: 24rpx;
  34. color: #333;
  35. background: rgba(255, 255, 255, 0.8);
  36. padding: 8rpx 16rpx;
  37. border-radius: 20rpx;
  38. }
  39. }
  40. </style>