| | |
| | | 发布时间:{{msg.createTime}} |
| | | </view> |
| | | </view> |
| | | <view v-html="msg.docContent"> |
| | | <view style="margin-top: 20rpx;" v-html="msg.docContent"> |
| | | |
| | | </view> |
| | | </view> |
| | |
| | | this.msg = val.data.data |
| | | this.msg.createTime = this.msg.createTime.slice(0, 10) |
| | | this.msg.docContent = decodeURIComponent(this.msg.docContent) |
| | | this.msg.docContent = this.msg.docContent.replace(/\<img/gi, '<img style="max-width:100%;height:auto;"') |
| | | console.log(this.msg.docContent) |
| | | getDicts('doc_type').then(val => { |
| | | console.log(this.msg.docType) |
| | |
| | | |
| | | </style> |
| | | <style scoped lang="scss"> |
| | | img{ |
| | | width: 100%; |
| | | } |
| | | .box{ |
| | | padding: 32rpx; |
| | | } |