提交 418722b8 编写于 作者: DCloud_JSON's avatar DCloud_JSON

优化 解决消息文本不换行的问题

上级 d59b96e6
<template>
<view class="uni-im-rich-text"
:class="{'isFromSelf':isFromSelf, 'only1u': trBody.length === 0 &&webInfoList.length === 1 , isSingeImg}">
<template v-for="(item,index) in trBody" :index="index">
<template v-for="(item,index) in trBody" :key="index">
<template v-if="item.name == 'span'">
<text v-if="item.attrs && item.attrs.class == 'nickname'" class="text nickname"
:class="{pointer:canPrivateChat}"
......@@ -191,7 +191,7 @@
.uni-im-rich-text .text {
display: inline-flex;
word-wrap: break-word;
word-break: break-all;
cursor: text;
/* #ifdef H5 */
@media screen and (min-device-width:960px){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册