<template> <van-overlay :show="show"> <view class="contact-us-wrapper"> <view class="contact-us"> <view class="contact-us-qrcode"> <image src="https://oss.starify.cn/prod/starify/up/0001018678/20241108/672da70d643d9.jpg?x-oss-process=image/resize,w_400" /> </view> <view class="contact-us-label-1">联系我们</view> <view class="contact-us-label-2">在线客服1v1实时回复</view> <view class="contact-us-service-list"> <view>参展咨询:邢女士,021-2020 5553</view> <view>论坛咨询:顾女士,021-2020 5691</view> <view>参观咨询:张女士,021-2020 5611</view> </view> <view class="contact-us-close" @click="onClickClose"> <van-icon name="close" /> </view> </view> </view> </van-overlay> </template> <script> import VanOverlay from '@/wxcomponents/vant/overlay/index' export default { options: { styleIsolation: 'shared' }, components: { VanOverlay }, props: { show: Boolean }, data() { return { } }, created() {}, methods: { onClickClose() { this.$emit('update:show', false) } } } </script> <style lang="scss"> .contact-us-wrapper{ @include display-flex-center; height: 100%; .contact-us{ @include display-flex-center; position: relative; flex-direction: column; width: 500rpx; height: 689rpx; background-color: $buttonPrimaryColor; border-radius: 15rpx 15rpx 15rpx 15rpx; color: #FFFFFF; } .contact-us-qrcode{ width: 279rpx; height: 279rpx; margin-top: 69rpx auto 0 auto; } .contact-us-label-1{ margin-top: 30rpx; font-size: $fontSize6; } .contact-us-label-2{ margin-top: 13rpx; font-size: $fontSize6; } .contact-us-service-list{ display: grid; grid-template-columns: 1fr; grid-row-gap: 10rpx; margin-top: 20rpx; font-size: $fontSize3; } .contact-us-close{ position: absolute; top: -70rpx; right: -70rpx; .van-icon-close{ font-size: 69rpx; cursor: pointer; } } } </style>