a1300399510@qq.com 提交于 2023/04/04 -17:40:02

This commit is contained in:
XiaoMo 2023-04-04 17:40:11 +08:00
parent 91fdc85e65
commit 5ebec38704

View File

@ -101,7 +101,8 @@
</template> </template>
<div v-html="info.message" style="font-size: .36rem;line-height: .6rem;"></div> <div v-html="info.message" class="vHtmlMessage" style="">
</div>
</div> </div>
</div> </div>
@ -443,7 +444,13 @@ export default {
info['wechatText'] = info.wechat || '-' info['wechatText'] = info.wechat || '-'
const reg = new RegExp("\r\n","g")
info['message'] = info['message'].replaceAll(reg,'<br/>')
// info['message'] =
this.info = info this.info = info
console.log(this.info, "this.info");
console.log(this.info); console.log(this.info);
}) })
}, },
@ -768,7 +775,6 @@ export default {
.offer-content-box { .offer-content-box {
.offer-content-item { .offer-content-item {
line-height: .6rem; line-height: .6rem;
@ -794,6 +800,19 @@ export default {
} }
.vHtmlMessage {
font-size: .36rem;
line-height: .6rem;
/deep/ strong {
font-weight: bold;
}
/deep/ img {
max-width: 100%;
}
}
} }
} }