long
2023-03-03 9860e221460a0a4ac1903dad2c97160d0eed0e63
提交 | 用户 | age
36e1de 1 <template>
L 2   <div class="pop-box">
3     <!-- <pre>{{ data.content }}</pre> -->
4     <div v-html="data.content" />
5   </div>
6 </template>
7
8 <script>
9 export default {
10   name: 'TextPop',
11   props: {
12     // 数据
13     data: {
14       type: Object,
15       default: null
16     },
17     // 方向
18     direction: {
19       type: String,
20       default: ''
21     }
22   },
23   data() {
24     return {
25     }
26   },
27   watch: {
28
29   },
30   mounted() {
31   },
32   methods: {
33   }
34 }
35 </script>
36
37 <style scoped>
38 .pop-box{
39   background-color: #F1F1F1;
40   padding: 10px;
41   border-radius: 6px;
42   word-wrap: break-word;
43   max-width: 500px;
44   line-height: 1.4;
45   font-size: 26px;
46 }
47 </style>