From 9860e221460a0a4ac1903dad2c97160d0eed0e63 Mon Sep 17 00:00:00 2001
From: long <515897141@qq.com>
Date: 星期五, 03 三月 2023 10:59:42 +0800
Subject: [PATCH] 初始化

---
 src/components/ChatList/msg/textPop.vue |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 47 insertions(+), 0 deletions(-)

diff --git a/src/components/ChatList/msg/textPop.vue b/src/components/ChatList/msg/textPop.vue
new file mode 100644
index 0000000..0291ffb
--- /dev/null
+++ b/src/components/ChatList/msg/textPop.vue
@@ -0,0 +1,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>

--
Gitblit v1.8.0