contact-us.vue 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <template>
  2. <van-overlay :show="show">
  3. <view class="contact-us-wrapper">
  4. <view class="contact-us">
  5. <view class="contact-us-qrcode">
  6. <image src="https://oss.starify.cn/prod/starify/up/0001018678/20241108/672da70d643d9.jpg?x-oss-process=image/resize,w_400" />
  7. </view>
  8. <view class="contact-us-label-1">联系我们</view>
  9. <view class="contact-us-label-2">在线客服1v1实时回复</view>
  10. <view class="contact-us-service-list">
  11. <view>参展咨询:邢女士,021-2020 5553</view>
  12. <view>论坛咨询:顾女士,021-2020 5691</view>
  13. <view>参观咨询:张女士,021-2020 5611</view>
  14. </view>
  15. <view class="contact-us-close" @click="onClickClose">
  16. <van-icon name="close" />
  17. </view>
  18. </view>
  19. </view>
  20. </van-overlay>
  21. </template>
  22. <script>
  23. import VanOverlay from '@/wxcomponents/vant/overlay/index'
  24. export default {
  25. options: {
  26. styleIsolation: 'shared'
  27. },
  28. components: {
  29. VanOverlay
  30. },
  31. props: {
  32. show: Boolean
  33. },
  34. data() {
  35. return {
  36. }
  37. },
  38. created() {},
  39. methods: {
  40. onClickClose() {
  41. this.$emit('update:show', false)
  42. }
  43. }
  44. }
  45. </script>
  46. <style lang="scss">
  47. .contact-us-wrapper{
  48. @include display-flex-center;
  49. height: 100%;
  50. .contact-us{
  51. @include display-flex-center;
  52. position: relative;
  53. flex-direction: column;
  54. width: 500rpx;
  55. height: 689rpx;
  56. background-color: $buttonPrimaryColor;
  57. border-radius: 15rpx 15rpx 15rpx 15rpx;
  58. color: #FFFFFF;
  59. }
  60. .contact-us-qrcode{
  61. width: 279rpx;
  62. height: 279rpx;
  63. margin-top: 69rpx auto 0 auto;
  64. }
  65. .contact-us-label-1{
  66. margin-top: 30rpx;
  67. font-size: $fontSize6;
  68. }
  69. .contact-us-label-2{
  70. margin-top: 13rpx;
  71. font-size: $fontSize6;
  72. }
  73. .contact-us-service-list{
  74. display: grid;
  75. grid-template-columns: 1fr;
  76. grid-row-gap: 10rpx;
  77. margin-top: 20rpx;
  78. font-size: $fontSize3;
  79. }
  80. .contact-us-close{
  81. position: absolute;
  82. top: -70rpx;
  83. right: -70rpx;
  84. .van-icon-close{
  85. font-size: 69rpx;
  86. cursor: pointer;
  87. }
  88. }
  89. }
  90. </style>