wangrong
2026-08-30 761e5c5fa871959f60e15c971c8d83f2b53d0af5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<script lang="ts" setup>
import dvAi from '@/assets/svg/dv-ai.svg'
import { ref } from 'vue'
const visible = ref(true)
</script>
<template>
  <el-popover
    :visible="visible"
    placement="bottom"
    popper-class="ai-popper-tips"
    :width="288"
    show-arrow
  >
    <div class="ai-popper-tips-content">
      <p class="constant">
        你好,我是 DataEase 智能客服<br />点击一下,开启高效解答模式~<br />&nbsp;
      </p>
    </div>
    <template #reference>
      <div class="ai-popper-tips-icon">
        <el-icon style="margin: 2px" class="ai-icon">
          <Icon name="dv-ai"><dvAi class="svg-icon" /></Icon>
        </el-icon>
      </div>
    </template>
  </el-popover>
</template>
 
<style lang="less">
.ai-popper-tips {
  z-index: 10001 !important;
  padding: 24px !important;
  box-shadow: none !important;
  border: 0px !important;
  background: var(--ed-color-primary) !important;
  .ed-popper__arrow::before {
    border: 1px solid var(--ed-color-primary) !important;
    background: var(--ed-color-primary) !important;
  }
}
.ai-popper-tips-content {
  color: rgba(255, 255, 255, 1);
  .title {
    font-family: var(--de-custom_font, 'PingFang');
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
  }
  .content {
    font-family: var(--de-custom_font, 'PingFang');
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    text-align: left;
  }
  .bottom {
    line-height: 22px;
    text-align: right;
    button {
      border: 0px !important;
      border-color: #ffffff !important;
      font-weight: 500;
      color: var(--ed-color-primary, rgba(51, 112, 255, 1)) !important;
    }
  }
}
 
.ai-popper-tips-icon {
  margin: 0 8px;
  z-index: 10003;
  border-radius: 50%;
  background: #ffffff;
  width: 28px;
  height: 28px;
}
</style>