a1300399510@qq.com 提交于 2023/04/04 -17:40:02
This commit is contained in:
parent
91fdc85e65
commit
5ebec38704
@ -101,7 +101,8 @@
|
||||
|
||||
</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>
|
||||
@ -443,7 +444,13 @@ export default {
|
||||
info['wechatText'] = info.wechat || '-'
|
||||
|
||||
|
||||
const reg = new RegExp("\r\n","g")
|
||||
info['message'] = info['message'].replaceAll(reg,'<br/>')
|
||||
// info['message'] =
|
||||
|
||||
this.info = info
|
||||
|
||||
console.log(this.info, "this.info");
|
||||
console.log(this.info);
|
||||
})
|
||||
},
|
||||
@ -768,7 +775,6 @@ export default {
|
||||
|
||||
.offer-content-box {
|
||||
|
||||
|
||||
.offer-content-item {
|
||||
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%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user