refactor(components): 优化客户服务中心组件

- 使用自定义 Modal组件替换 a-modal
- 调整内容布局,增加上下边距
- 简化模板结构,提高可读性
This commit is contained in:
2025-06-19 09:25:49 +08:00
parent f3d21e1f39
commit d19861d976

View File

@ -1,15 +1,12 @@
<template>
<a-modal v-bind="$attrs" >
<template #title>
扫描下面二维码联系客户
</template>
<div class="text-center">
<Modal title="扫描下面二维码联系客户" v-bind="$attrs">
<div class="text-center mt-16px mb-16px">
<img width="200" src="@/assets/customer-service.svg" alt="" />
</div>
</a-modal>
</Modal>
</template>
<script setup lang="ts">
import Modal from '@/components/modal.vue';
</script>
<style lang="less">
</style>