|
@@ -34,8 +34,8 @@ export default {
|
|
|
methods: {
|
|
|
getContent() {
|
|
|
let text1 = document.querySelector(".contentText");
|
|
|
- let str = JSON.parse(JSON.stringify(this.detailObj.content))
|
|
|
- let str1 =str.replace(`<img`,`<img style='width:100%;'`)
|
|
|
+ let str = JSON.parse(JSON.stringify(this.detailObj.content));
|
|
|
+ let str1 = str.replace(`<img`, `<img style='width:100%;height:100%;'`);
|
|
|
// .replace(`<p`,`<p style='text-indent:2em;min-height:48vh;'`)
|
|
|
text1.innerHTML = str1;
|
|
|
},
|
|
@@ -66,7 +66,6 @@ export default {
|
|
|
padding: 8px;
|
|
|
margin: 0;
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
.down {
|
|
|
margin-top: 40px;
|