index.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624
  1. <template>
  2. <div class="app-container">
  3. <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="120px">
  4. <el-form-item label="企微员工账号" prop="qwUserid" v-if="queryParams.type==2">
  5. <el-input
  6. v-model="queryParams.qwUserid"
  7. placeholder="请输入企微员工账号"
  8. clearable
  9. size="small"
  10. @keyup.enter.native="handleQuery"
  11. />
  12. </el-form-item>
  13. <el-form-item label="企微员工昵称" prop="qwUserName" v-if="queryParams.type==2">
  14. <el-input
  15. v-model="queryParams.qwUserName"
  16. placeholder="请输入企微员工昵称"
  17. clearable
  18. size="small"
  19. @keyup.enter.native="handleQuery"
  20. />
  21. </el-form-item>
  22. <el-form-item label="客服昵称" prop="qwUserName" v-if="queryParams.type==1">
  23. <el-input
  24. v-model="queryParams.qwUserName"
  25. placeholder="请输入客服昵称"
  26. clearable
  27. size="small"
  28. @keyup.enter.native="handleQuery"
  29. />
  30. </el-form-item>
  31. <el-form-item label="客户昵称" prop="externalUserName">
  32. <el-input
  33. v-model="queryParams.externalUserName"
  34. placeholder="请输入客户昵称"
  35. clearable
  36. size="small"
  37. @keyup.enter.native="handleQuery"
  38. />
  39. </el-form-item>
  40. <el-form-item label="发送类型" prop="sendType" >
  41. <el-select v-model="queryParams.sendType" placeholder="请选择发送类型" clearable size="small" @change="handleQuery">
  42. <el-option
  43. v-for="dict in sysQwSopType"
  44. :key="dict.dictValue"
  45. :label="dict.dictLabel"
  46. :value="dict.dictValue"
  47. />
  48. </el-select>
  49. </el-form-item>
  50. <el-form-item label="发送(成员)状态" prop="sendStatus">
  51. <el-select v-model="queryParams.sendStatus" placeholder="请选择发送(成员)状态" clearable size="small">
  52. <el-option
  53. v-for="dict in sysQwSopLogsStatus"
  54. :key="dict.dictValue"
  55. :label="dict.dictLabel"
  56. :value="dict.dictValue"
  57. />
  58. </el-select>
  59. </el-form-item>
  60. <el-form-item label="预计发送时间" prop="scheduleTime">
  61. <!-- <el-date-picker clearable size="small"-->
  62. <!-- v-model="queryParams.sendTime"-->
  63. <!-- type="datetime"-->
  64. <!-- value-format="yyyy-MM-dd HH:mm:ss"-->
  65. <!-- placeholder="选择预计发送时间">-->
  66. <!-- </el-date-picker>-->
  67. <el-date-picker
  68. clearable size="small"
  69. v-model="scheduleTime"
  70. type="datetimerange"
  71. range-separator="至"
  72. start-placeholder="开始日期"
  73. end-placeholder="结束日期"
  74. placeholder="选择预计发送时间"
  75. @change="handleScheduleTimeChange"
  76. >
  77. </el-date-picker>
  78. </el-form-item>
  79. <el-form-item label="接收(客户)状态" prop="receivingStatus">
  80. <el-select v-model="queryParams.receivingStatus" placeholder="请选择接收(客户)状态" clearable size="small">
  81. <el-option
  82. v-for="dict in groupMsgSendStatusOptions"
  83. :key="dict.dictValue"
  84. :label="dict.dictLabel"
  85. :value="dict.dictValue"
  86. />
  87. </el-select>
  88. </el-form-item>
  89. <el-form-item>
  90. <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
  91. <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
  92. </el-form-item>
  93. </el-form>
  94. <el-row :gutter="10" class="mb8">
  95. <el-col :span="1.5">
  96. <el-button
  97. type="warning"
  98. plain
  99. icon="el-icon-download"
  100. size="mini"
  101. :loading="exportLoading"
  102. @click="handleExport"
  103. v-hasPermi="['qw:sopLogs:export']"
  104. >导出</el-button>
  105. <el-button
  106. type="danger"
  107. plain
  108. icon="el-icon-delete"
  109. size="mini"
  110. :disabled="multiple"
  111. @click="handleDelete"
  112. v-hasPermi="['qw:sopLogs:remove']"
  113. >批量删除</el-button>
  114. <el-button
  115. type="success"
  116. plain
  117. icon="el-icon-edit"
  118. size="mini"
  119. :disabled="multiple"
  120. @click="handleEditCourse"
  121. v-hasPermi="['qw:sopLogs:editCourse']"
  122. >再次发送记录</el-button>
  123. </el-col>
  124. <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
  125. </el-row>
  126. <el-table v-loading="loading" :data="qwSopLogsList" @selection-change="handleSelectionChange">
  127. <el-table-column type="selection" width="55" align="center" />
  128. <el-table-column label="编号" align="center" prop="id" />
  129. <el-table-column label="发送类型" align="center" prop="sendType" width="80">
  130. <template slot-scope="scope">
  131. <dict-tag :options="sysQwSopType" :value="scope.row.sendType"/>
  132. </template>
  133. </el-table-column>
  134. <el-table-column label="企微成员账号" align="center" prop="qwUserid" />
  135. <el-table-column label="企微成员昵称" align="center" prop="qwUserName" v-if="queryParams.type==2" />
  136. <!-- <el-table-column label="系统后台昵称" align="center" prop="userName" />-->
  137. <el-table-column label="客户昵称" align="center" prop="externalUserName" />
  138. <el-table-column label="发送的消息" align="center" prop="contentJson" >
  139. <template slot-scope="scope">
  140. <el-button type="text" @click="showContentDialog(scope.row.contentJson)">
  141. 查看详情
  142. </el-button>
  143. </template>
  144. </el-table-column>
  145. <el-table-column label="成员状态" align="center" prop="sendStatus" >
  146. <template slot-scope="scope">
  147. <dict-tag :options="sysQwSopLogsStatus" :value="scope.row.sendStatus"/>
  148. </template>
  149. </el-table-column>
  150. <el-table-column label="预计发送时间" align="center" prop="sendTime" width="180"/>
  151. <el-table-column label="实际发送时间" align="center" prop="realSendTime" width="180"/>
  152. <!-- <el-table-column label="获取记录" align="center" prop="takeRecords" width="180">-->
  153. <!-- <template slot-scope="scope">-->
  154. <!-- <span v-if="scope.row.takeRecords == 0" :style="{ color: 'red' }" >未获取</span>-->
  155. <!-- <span v-else-if="scope.row.takeRecords == 1" :style="{ color: 'green' }" >已获取</span>-->
  156. <!-- <span v-else :style="{ color: 'gray' }" >未知状态</span>-->
  157. <!-- </template>-->
  158. <!-- </el-table-column>-->
  159. <el-table-column label="客户" align="center" prop="receivingStatus" >
  160. <template slot-scope="scope">
  161. <dict-tag :options="groupMsgSendStatusOptions" :value="scope.row.receivingStatus"/>
  162. </template>
  163. </el-table-column>
  164. <el-table-column label="生成时间" align="createTime" prop="createTime" width="180" />
  165. <el-table-column label="消息ID" align="center" prop="msgId" />
  166. <el-table-column label="备注" align="center" prop="remark" />
  167. <el-table-column label="APP备注" align="center" prop="appSendRemark" />
  168. </el-table>
  169. <el-dialog :visible.sync="contentDialog.isDialogVisible" title="消息详情" width="30%" append-to-body>
  170. <div>
  171. <span>课节:{{contentDialog.videoId}}</span>
  172. <div v-for="(item, index) in contentDialog.json || []" :key="index">
  173. <el-card class="box-card" style="margin-top: 2%">
  174. <div slot="header" class="clearfix" style="display: flex;justify-content: space-between;align-items: center;">
  175. <div>
  176. <span>类型:</span>
  177. <span v-if="item.contentType == 1">文本</span>
  178. <span v-if="item.contentType == 2">图片</span>
  179. <span v-if="item.contentType == 3">卡片</span>
  180. <span v-if="item.contentType == 4">小程序</span>
  181. <span v-if="item.contentType == 5">文件</span>
  182. <span v-if="item.contentType == 6">视频</span>
  183. <span v-if="item.contentType == 7">语音</span>
  184. <span v-if="item.contentType == 8">视频号</span>
  185. <span v-if="item.contentType == 9">APP</span>
  186. <span v-if="item.contentType == 11">APP文本</span>
  187. <span v-if="item.contentType == 12">APP语音</span>
  188. <span v-if="item.contentType == 13">注册</span>
  189. <span v-if="item.contentType == 14">福袋</span>
  190. <span v-if="item.contentType == 15">浏览器学习</span>
  191. </div>
  192. <div v-if="item.sendStatus">
  193. <span>发送状态:</span>
  194. <el-tag type="success" v-if="item.sendStatus == 1">发送成功</el-tag>
  195. <el-tag type="danger" v-if="item.sendStatus == 2">发送失败</el-tag>
  196. </div>
  197. </div>
  198. <div v-if="item.sendStatus && item.sendStatus == 2">发送失败原因:<span style="color: #ff4949">{{item.sendRemarks}}</span></div>
  199. <div v-if="item.contentType == 1" v-html="item.value"></div>
  200. <div v-if="item.contentType == 2">
  201. <el-image
  202. style="width: 100px; height: 100px"
  203. :src="item.imgUrl"
  204. fit="contain"
  205. @click.prevent="openImageViewer(item.imgUrl)" />
  206. </div>
  207. <div v-if="item.contentType == 3 || item.contentType == 9" class="message-style">
  208. <div
  209. style="background-color: white; padding: 10px; width: 100%"
  210. @click="openLink(item.linkUrl)">
  211. <span>{{ item.linkTitle }}</span>
  212. <div style="display: flex; justify-content: space-between; width: 100%">
  213. <span style="font-size: 13px; flex: 1">{{ item.linkDescribe }}</span>
  214. <!-- 点击图片时停止事件冒泡 -->
  215. <el-image
  216. style="width: 50px; height: 50px; flex-shrink: 0"
  217. :src="item.linkImageUrl"
  218. fit="contain"
  219. @click.stop="openImageViewer(item.linkImageUrl)" />
  220. </div>
  221. </div>
  222. </div>
  223. <div v-if="item.contentType == 4 || item.contentType == 15" class="message-style">
  224. <div style="display: flex; justify-content: space-between; width: 100%">
  225. <span style="font-size: 13px; flex: 1">{{ item.miniprogramTitle }}</span>
  226. <el-image
  227. style="width: 50px; height: 50px; flex-shrink: 0"
  228. :src="item.miniprogramPicUrl"
  229. fit="contain"
  230. @click.stop="openImageViewer(item.miniprogramPicUrl)" />
  231. </div>
  232. </div>
  233. <div v-if="item.contentType == 5" class="message-style">
  234. <el-link type="primary" :href="item.fileUrl" download style="padding: 10px">
  235. {{ item.fileUrl }}
  236. </el-link>
  237. </div>
  238. <div v-if="item.contentType == 6" class="message-style">
  239. <video
  240. :src="item.videoUrl"
  241. controls
  242. style="width: 200px; height: 100px">
  243. </video>
  244. </div>
  245. <div v-if="item.contentType == 7">
  246. <span>
  247. {{ item.value }}
  248. </span>
  249. <div v-if="!item.voiceUrl" style="margin-top: 3px" >
  250. <span style="color: red">无语音地址</span>
  251. </div>
  252. </div>
  253. <div v-if="item.contentType == 8" class="message-style">
  254. <el-card class="box-card" v-if="item.coverUrl">
  255. <el-form-item label="封面标题:" label-width="100px">
  256. <el-input v-model="item.nickname" style="width: 90%;margin-bottom: 1%" disabled/>
  257. </el-form-item>
  258. <el-form-item label="头像:" label-width="100px" >
  259. <el-image
  260. v-if="item.avatar != null"
  261. :src="item.avatar"
  262. :preview-src-list="[item.avatar]"
  263. :style="{ width: '50px', height: '50px' }"
  264. ></el-image>
  265. </el-form-item>
  266. <el-form-item label="封面:" label-width="100px" >
  267. <el-image
  268. v-if="item.coverUrl != null"
  269. :src="item.coverUrl"
  270. :preview-src-list="[item.coverUrl]"
  271. :style="{ width: '200px', height: '200px' }"
  272. ></el-image>
  273. </el-form-item>
  274. <el-form-item label="简介:" label-width="100px" >
  275. <el-input type="textarea" :rows="3" v-model="item.desc" style="width: 90%;margin-top: 1%;" disabled />
  276. </el-form-item>
  277. <el-form-item label="视频地址:" label-width="100px" style="margin-top: 1%" >
  278. <el-input v-model="item.url" style="width: 90%;" disabled />
  279. </el-form-item >
  280. </el-card>
  281. </div>
  282. </el-card>
  283. </div>
  284. </div>
  285. <span slot="footer" class="dialog-footer">
  286. <el-button @click="contentDialog.isDialogVisible = false">关闭</el-button>
  287. </span>
  288. </el-dialog>
  289. <!-- 大图预览对话框 -->
  290. <el-dialog
  291. :visible.sync="dialogVisible"
  292. :modal="false"
  293. width="500"
  294. append-to-body>
  295. <img
  296. :src="this.dialogImageUrl"
  297. style="display: block; max-width: 100%; margin: 0 auto"
  298. />
  299. </el-dialog>
  300. <pagination
  301. v-show="total>0"
  302. :total="total"
  303. :page.sync="queryParams.pageNum"
  304. :limit.sync="queryParams.pageSize"
  305. @pagination="getList"
  306. />
  307. </div>
  308. </template>
  309. <script>
  310. import {listQwSopLogs, exportQwSopLogs, listQwSopLogsList, delQwSopLogs, editCourseQwSopLogs} from '@/api/qw/sopLogs'
  311. import {delSopUserLogsInfo} from "@/api/qw/sopUserLogsInfo";
  312. export default {
  313. name: "sopLogsList",
  314. props:{
  315. rowDetailFrom:{},
  316. },
  317. watch:{
  318. rowDetailFrom:{
  319. handler(newVal){
  320. // 当formData变化时重新查询
  321. this.getList(newVal);
  322. },
  323. deep: true
  324. }
  325. },
  326. data() {
  327. return {
  328. //图片放大
  329. dialogVisible: false,
  330. dialogImageUrl:null,
  331. //时间选择
  332. scheduleTime: null,
  333. // 遮罩层
  334. loading: true,
  335. // 导出遮罩层
  336. exportLoading: false,
  337. // 选中数组
  338. ids: [],
  339. // 非单个禁用
  340. single: true,
  341. // 非多个禁用
  342. multiple: true,
  343. // 显示搜索条件
  344. showSearch: true,
  345. // 总条数
  346. total: 0,
  347. // 企业微信SOP 定时任务表格数据
  348. qwSopLogsList: [],
  349. //成员状态
  350. sysQwSopLogsStatus:[],
  351. //客户接收状态
  352. groupMsgSendStatusOptions:[],
  353. //企微SOP发送类型
  354. sysQwSopType: [],
  355. //发送的消息
  356. contentDialog:{
  357. isDialogVisible:false,
  358. json: [],
  359. videoId:null,
  360. },
  361. // 弹出层标题
  362. title: "",
  363. // 是否显示弹出层
  364. open: false,
  365. // 查询参数
  366. queryParams: {
  367. pageNum: 1,
  368. pageSize: 10,
  369. qwUserName: null,
  370. qwUserid: null,
  371. externalUserName: null,
  372. sendStatus: null,
  373. sendTime: null,
  374. corpId:null,
  375. receivingStatus: null,
  376. sendType: null,
  377. type:null,
  378. scheduleEndTime:null,
  379. scheduleStartTime:null,
  380. },
  381. // 表单参数
  382. form: {},
  383. // 表单校验
  384. rules: {
  385. }
  386. };
  387. },
  388. created() {
  389. this.getList(this.rowDetailFrom);
  390. //成员状态
  391. this.getDicts("sys_qw_sopLogs_status").then(response => {
  392. this.sysQwSopLogsStatus = response.data;
  393. });
  394. //客户接收状态
  395. this.getDicts("sys_qw_groupMsg_SendStatus").then(response => {
  396. this.groupMsgSendStatusOptions = response.data;
  397. });
  398. //发送消息类型
  399. this.getDicts("sys_qw_sop_course_type").then(response => {
  400. this.sysQwSopType = response.data;
  401. });
  402. },
  403. methods: {
  404. /** 查询企业微信SOP 定时任务列表 */
  405. getList(val) {
  406. this.queryParams.sopId = val.id || this.rowDetailFrom.id;
  407. this.queryParams.corpId= val.corpId || this.rowDetailFrom.corpId;
  408. this.queryParams.type= val.type || this.rowDetailFrom.type;
  409. this.queryParams.filterSopType=val.filterSopType || this.rowDetailFrom.filterSopType;
  410. this.loading = true;
  411. listQwSopLogsList(this.queryParams).then(response => {
  412. this.qwSopLogsList = response.rows;
  413. this.total = response.total;
  414. this.loading = false;
  415. });
  416. },
  417. handleScheduleTimeChange(val) {
  418. if (val) {
  419. this.queryParams.scheduleStartTime = this.formatDateTime(val[0]);
  420. this.queryParams.scheduleEndTime = this.formatDateTime(val[1]);
  421. } else {
  422. this.queryParams.scheduleStartTime = null;
  423. this.queryParams.scheduleEndTime = null;
  424. }
  425. },
  426. // 格式化日期为 yyyy-MM-dd HH:mm:ss 的北京时间
  427. formatDateTime(date) {
  428. if (!date) return null;
  429. // 创建国际化时间格式,指定为 Asia/Shanghai 时区
  430. const options = {
  431. timeZone: 'Asia/Shanghai',
  432. year: 'numeric',
  433. month: '2-digit',
  434. day: '2-digit',
  435. hour: '2-digit',
  436. minute: '2-digit',
  437. second: '2-digit',
  438. hour12: false, // 24小时制
  439. };
  440. // 获取格式化的日期字符串(如 2025-01-23, 16:00:00)
  441. const formattedDate = new Intl.DateTimeFormat('zh-CN', options).format(new Date(date));
  442. // 转换为 yyyy-MM-dd HH:mm:ss 格式
  443. const [datePart, timePart] = formattedDate.replace(',', '').split(' ');
  444. return `${datePart} ${timePart}`;
  445. },
  446. // 取消按钮
  447. cancel() {
  448. this.open = false;
  449. this.reset();
  450. },
  451. // 表单重置
  452. reset() {
  453. this.form = {
  454. id: null,
  455. qwUserName: null,
  456. externalUserName: null,
  457. logType: null,
  458. contentJson: null,
  459. sendStatus: null,
  460. sendTime: null,
  461. companyId: null,
  462. receivingStatus: null,
  463. msgId: null,
  464. sendType: null,
  465. sopId: null
  466. };
  467. this.resetForm("form");
  468. },
  469. openImageViewer(url) {
  470. // 打开大图预览对话框
  471. this.dialogImageUrl=url
  472. this.dialogVisible = true;
  473. },
  474. openLink(url){
  475. // 使用 window.open 打开链接
  476. window.open(url, '_blank');
  477. },
  478. //查看发送的消息体
  479. showContentDialog(contentJson) {
  480. // 解析 JSON 字符串为 JavaScript 对象
  481. // 替换非法换行符等控制字符
  482. const sanitizedJson = contentJson.replace(/[\u0000-\u001F\u007F]/g, '');
  483. const parsedData = JSON.parse(sanitizedJson);
  484. console.log(parsedData);
  485. this.contentDialog.json = parsedData.setting;
  486. this.contentDialog.videoId = parsedData.videoId;
  487. this.contentDialog.isDialogVisible = true;
  488. },
  489. /** 搜索按钮操作 */
  490. handleQuery() {
  491. this.queryParams.pageNum = 1;
  492. this.getList(this.rowDetailFrom);
  493. },
  494. /** 重置按钮操作 */
  495. resetQuery() {
  496. this.resetForm("queryForm");
  497. this.queryParams.scheduleStartTime=null;
  498. this.queryParams.scheduleEndTime=null;
  499. this.handleQuery();
  500. },
  501. // 多选框选中数据
  502. handleSelectionChange(selection) {
  503. this.ids = selection.map(item => item.id)
  504. this.single = selection.length!==1
  505. this.multiple = !selection.length
  506. },
  507. /** 删除按钮操作 */
  508. handleDelete(row) {
  509. const ids = row.id || this.ids;
  510. this.$confirm('是否确认删除【执行详情】编号为"【' + ids + '】"的数据项?', "警告", {
  511. confirmButtonText: "确定",
  512. cancelButtonText: "取消",
  513. type: "warning"
  514. }).then(function() {
  515. return delQwSopLogs(ids);
  516. }).then(() => {
  517. this.getList(this.rowDetailFrom);
  518. this.msgSuccess("删除成功");
  519. }).catch(() => {});
  520. },
  521. /**
  522. * 批量修改完课的发送
  523. */
  524. handleEditCourse(row){
  525. // 获取原始ids(确保是数组)
  526. let ids = row.id || this.ids;
  527. if (!Array.isArray(ids)) {
  528. ids = [ids];
  529. }
  530. // 过滤掉remark为'E级客户不发送'的项
  531. const filteredIds = ids.filter(id => {
  532. const item = this.qwSopLogsList.find(item => item.id === id);
  533. return item?.remark !== 'E级客户不发送';
  534. });
  535. // 如果没有可发送的记录
  536. if (filteredIds.length === 0) {
  537. this.msgWarning("没有可发送的记录(E级客户已自动排除)");
  538. return;
  539. }
  540. this.$confirm('确认要再次发送【执行详情】编号为"【' + filteredIds.join(',') + '】"的【完课】记录?', "警告", {
  541. confirmButtonText: "确定",
  542. cancelButtonText: "取消",
  543. type: "warning"
  544. }).then(function() {
  545. return editCourseQwSopLogs(filteredIds);
  546. }).then(() => {
  547. this.getList(this.rowDetailFrom);
  548. this.msgSuccess("已经 修改记录为 待发送~");
  549. }).catch(() => {});
  550. },
  551. /** 导出按钮操作 */
  552. handleExport() {
  553. const queryParams = this.queryParams;
  554. this.$confirm('是否确认导出所有企业微信自动化 定时任务数据项?', "警告", {
  555. confirmButtonText: "确定",
  556. cancelButtonText: "取消",
  557. type: "warning"
  558. }).then(() => {
  559. this.exportLoading = true;
  560. return exportQwSopLogs(queryParams);
  561. }).then(response => {
  562. this.download(response.msg);
  563. this.exportLoading = false;
  564. }).catch(() => {});
  565. }
  566. }
  567. };
  568. </script>
  569. <style scoped>
  570. .message-stayle{
  571. display: flex;
  572. justify-content: normal;
  573. align-items: center;
  574. margin-top: 10px;
  575. }
  576. .message-stayle .el-link {
  577. white-space: normal; /* 允许换行 */
  578. word-break: break-all; /* 单词中间断行 */
  579. overflow-wrap: break-word; /* 允许在单词内换行 */
  580. }
  581. .message-stayle span {
  582. word-break: break-all;
  583. }
  584. </style>