动态笔记不换行

This commit is contained in:
lmj
2022-11-01 17:46:29 +08:00
parent 7cc7fd00e4
commit 6193557e0e
2 changed files with 6 additions and 3 deletions

View File

@@ -244,6 +244,7 @@
font-size: 24px;
font-family: JCHEadA;
color: #D9D9D9;
margin-right: 10px;
img{
vertical-align: top;
@@ -285,6 +286,8 @@
}
.portal-summary-text{ // 问答详情
font-size: 14px;
word-break:break-all;
word-wrap:break-word;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #666666;

View File

@@ -2,8 +2,8 @@
<div class="note-list">
<ul v-if="list.length > 0">
<li class="note-list-index" v-for="item in list" :key="item.id">
<p v-if="isDynamic" class="portal-summary-text" style="margin-bottom:18px">
<span v-if="!personal || isFollow">{{item.aname}}</span>{{item.cusInfo}}
<p v-if="isDynamic" style="word-break:break-all;word-wrap:break-word;margin-bottom:18px" class="portal-summary-text">
<span style="word-break:break-all;word-wrap:break-word;margin-bottom:18px" v-if="!personal || isFollow">{{item.aname}}</span>{{item.cusInfo}}
<span style="margin-left:28px">{{item.eventTime}}</span>
<span v-if="item.aid == userInfo.aid" class="follow-hide pointer" style="float:right">
<span v-if="item.hidden">已隐藏</span>
@@ -16,7 +16,7 @@
<span v-else @click="emitHide(item.id)"> <svg-icon style="margin-right: 10px;font-size:22px;padding-top: 4px;" icon-class="eyes"></svg-icon>隐藏 </span>
</span>
</h6>
<p class="note-text">
<p class="note-text" style="word-break:break-all;word-wrap:break-word;margin-bottom:18px">
{{item.info.content}}
</p>
<div>