contactExpert.vue 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <template>
  2. <el-dialog
  3. v-model="props.dialogTableVisible"
  4. @close="emits('close')"
  5. :lock-scroll="false"
  6. :show-close="false"
  7. width="25%"
  8. >
  9. <div class="contact">
  10. <p class="title">产品专家</p>
  11. <p class="add">一对一高级产品专家服务,快速了解系统,获取解决方案</p>
  12. <img class="service-img" :src="configData.service_qr_code" alt="" />
  13. <p class="add">手机扫码添加微信</p>
  14. <p class="cha" @click="emits('close')">×</p>
  15. </div>
  16. </el-dialog>
  17. </template>
  18. <script setup lang="ts">
  19. import { ref, onMounted } from "vue";
  20. import { config } from "../../../api/config";
  21. const configData: any = ref({});
  22. const getInfo = () => {
  23. config({ module: "basic" }).then((res) => {
  24. configData.value = res.data;
  25. });
  26. };
  27. onMounted(() => {
  28. getInfo();
  29. });
  30. const props = defineProps({
  31. dialogTableVisible: {
  32. type: Boolean,
  33. default: false,
  34. },
  35. });
  36. const emits = defineEmits(["close"]);
  37. </script>
  38. <style scoped lang="less">
  39. .contact {
  40. display: flex;
  41. flex-direction: column;
  42. align-items: center;
  43. position: relative;
  44. .title {
  45. font-size: 20px;
  46. color: #333;
  47. font-weight: 600;
  48. margin-bottom: 12px;
  49. }
  50. .add {
  51. font-size: 14px;
  52. color: #333;
  53. }
  54. .service-img {
  55. width: 300px;
  56. height: 300px;
  57. margin-top: 22px;
  58. margin-bottom: 22px;
  59. }
  60. .cha {
  61. font-size: 30px;
  62. position: absolute;
  63. bottom: -60px;
  64. color: #fff;
  65. border-radius: 50%;
  66. border: 2px solid #fff;
  67. width: 24px;
  68. height: 24px;
  69. text-align: center;
  70. line-height: 20px;
  71. cursor: pointer;
  72. }
  73. }
  74. </style>