222
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<view class="detail_title" v-if="detailInfo.title">{{
|
||||
detailInfo.title
|
||||
}}</view>
|
||||
<slot name="richHeadImg"></slot>
|
||||
<slot name="richHeadImg" @click="handleClickRichHeadImg"></slot>
|
||||
<view class="rich_box" v-if="detailInfo.content">
|
||||
<rich-text
|
||||
:nodes="detailInfo.content | formatRichText"
|
||||
@@ -45,7 +45,10 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
...mapState(['userInfo']),
|
||||
}, filters: {
|
||||
},
|
||||
|
||||
|
||||
filters: {
|
||||
/**
|
||||
* 处理富文本里的图片宽度自适应
|
||||
* 1.去掉img标签里的style、width、height属性
|
||||
|
||||
Reference in New Issue
Block a user