long
2023-03-03 9860e221460a0a4ac1903dad2c97160d0eed0e63
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
<template>
  <div class="pop-box">
    <!-- <pre>{{ data.content }}</pre> -->
    <div v-html="data.content" />
  </div>
</template>
 
<script>
export default {
  name: 'TextPop',
  props: {
    // 数据
    data: {
      type: Object,
      default: null
    },
    // 方向
    direction: {
      type: String,
      default: ''
    }
  },
  data() {
    return {
    }
  },
  watch: {
 
  },
  mounted() {
  },
  methods: {
  }
}
</script>
 
<style scoped>
.pop-box{
  background-color: #F1F1F1;
  padding: 10px;
  border-radius: 6px;
  word-wrap: break-word;
  max-width: 500px;
  line-height: 1.4;
  font-size: 26px;
}
</style>